Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 56a8503eef07c46f22bc765105e6cf123a2f1194 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-ssh16189066312728004336.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4652082979782157901.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8386913289016364447.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13765648882823903626.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5222539965600934479.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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-9082’ Running on prd-ubuntu20.04-docker-8c-8g-9087 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 56a8503eef07c46f22bc765105e6cf123a2f1194 (main) Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" > git config core.sparsecheckout # timeout=10 > git checkout -f 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 > git rev-list --no-walk d844151a1f42fb40cd3b012691e92cd9aabaf4b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:51:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:51:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:51:30 ========================================================= 02:51:30 EdgeX Global Pipelines Version Info 02:51:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:51:31 ------------------- 02:51:31 stable info: 02:51:31 ------------------- 02:51:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:51:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:51:31 Message: update stable to v1.0.258 02:51:31 ------------------- 02:51:31 experimental info: 02:51:31 ------------------- 02:51:31 Commited By: **** collab-it+edgex@linuxfoundation.org 02:51:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:51:31 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:51:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 02:51:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a8503 [Pipeline] echo 02:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:33 provisioning config files... 02:51:33 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1199268304846097310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:33 ---> ****-login.sh 02:51:33 nexus3.edgexfoundry.org:10001 02:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:33 Configure a credential helper to remove this warning. See 02:51:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:33 02:51:33 Login Succeeded 02:51:33 nexus3.edgexfoundry.org:10002 02:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:33 Configure a credential helper to remove this warning. See 02:51:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:33 02:51:33 Login Succeeded 02:51:33 nexus3.edgexfoundry.org:10003 02:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:34 Configure a credential helper to remove this warning. See 02:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:34 02:51:34 Login Succeeded 02:51:34 nexus3.edgexfoundry.org:10004 02:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:34 Configure a credential helper to remove this warning. See 02:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:34 02:51:34 Login Succeeded 02:51:34 ****.io 02:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:34 Configure a credential helper to remove this warning. See 02:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:34 02:51:34 Login Succeeded 02:51:34 ---> ****-login.sh ends [Pipeline] } 02:51:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:51:34 + git rev-list -1 --merges 56a8503eef07c46f22bc765105e6cf123a2f1194~1..56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 02:51:34 -----------> git rev-list -1 --merges 56a8503eef07c46f22bc765105e6cf123a2f1194~1..56a8503eef07c46f22bc765105e6cf123a2f1194 56a8503eef07c46f22bc765105e6cf123a2f1194 02:51:34 56a8503eef07c46f22bc765105e6cf123a2f1194 [false] [Pipeline] sh 02:51:35 + git log --format=format:%s -1 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 02:51:35 ========================================================= 02:51:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:51:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:35 + git log --format=format:%s -1 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 02:51:35 [semverPrep] GIT_COMMIT: 56a8503eef07c46f22bc765105e6cf123a2f1194, Commit Message: Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0 [Pipeline] echo 02:51:35 [semverPrep] This is not a build commit. [Pipeline] sh 02:51:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:51:36 + grep -v github /etc/ssh/ssh_known_hosts 02:51:36 + [ -e /tmp/ssh_known_hosts ] 02:51:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:51:36 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:51:36 sudo tee -a /etc/ssh/ssh_known_hosts 02:51:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:36 02:51:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:36 0.1.4: Pulling from edgex-devops/py-git-semver 02:51:36 b85a868b505f: Pulling fs layer 02:51:36 e2be974225ed: Pulling fs layer 02:51:36 339a4e72a1f5: Pulling fs layer 02:51:36 988bab9f4d93: Pulling fs layer 02:51:36 1469e6f7b9e6: Pulling fs layer 02:51:36 eaf3925da568: Pulling fs layer 02:51:36 bab4dde63d76: Pulling fs layer 02:51:36 bde34c3a00c8: Pulling fs layer 02:51:36 b352a97aabf1: Pulling fs layer 02:51:36 4872d77fe225: Pulling fs layer 02:51:36 5851b861e8e6: Pulling fs layer 02:51:36 bab4dde63d76: Waiting 02:51:36 bde34c3a00c8: Waiting 02:51:36 b352a97aabf1: Waiting 02:51:36 4872d77fe225: Waiting 02:51:36 5851b861e8e6: Waiting 02:51:36 988bab9f4d93: Waiting 02:51:36 eaf3925da568: Waiting 02:51:36 1469e6f7b9e6: Waiting 02:51:36 e2be974225ed: Download complete 02:51:36 988bab9f4d93: Verifying Checksum 02:51:36 988bab9f4d93: Download complete 02:51:36 1469e6f7b9e6: Verifying Checksum 02:51:36 1469e6f7b9e6: Download complete 02:51:37 eaf3925da568: Verifying Checksum 02:51:37 eaf3925da568: Download complete 02:51:37 339a4e72a1f5: Verifying Checksum 02:51:37 339a4e72a1f5: Download complete 02:51:37 bde34c3a00c8: Verifying Checksum 02:51:37 bde34c3a00c8: Download complete 02:51:37 b352a97aabf1: Download complete 02:51:37 4872d77fe225: Verifying Checksum 02:51:37 4872d77fe225: Download complete 02:51:37 5851b861e8e6: Verifying Checksum 02:51:37 5851b861e8e6: Download complete 02:51:37 b85a868b505f: Verifying Checksum 02:51:37 b85a868b505f: Download complete 02:51:37 bab4dde63d76: Verifying Checksum 02:51:37 bab4dde63d76: Download complete 02:51:38 b85a868b505f: Pull complete 02:51:38 e2be974225ed: Pull complete 02:51:39 339a4e72a1f5: Pull complete 02:51:39 988bab9f4d93: Pull complete 02:51:39 1469e6f7b9e6: Pull complete 02:51:39 eaf3925da568: Pull complete 02:51:41 bab4dde63d76: Pull complete 02:51:41 bde34c3a00c8: Pull complete 02:51:41 b352a97aabf1: Pull complete 02:51:41 4872d77fe225: Pull complete 02:51:41 5851b861e8e6: Pull complete 02:51:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:41 prd-ubuntu20.04-docker-8c-8g-9087 does not seem to be running inside a container 02:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:51:46 $ docker top fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 -eo pid,comm 02:51:46 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). 02:51:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:51:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:51:46 [ssh-agent] Looking for ssh-agent implementation... 02:51:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:51:46 $ docker exec fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 ssh-agent 02:51:46 SSH_AUTH_SOCK=/tmp/ssh-RUeoTUhfQPTM/agent.32 02:51:46 SSH_AGENT_PID=38 02:51:46 Running ssh-add (command line suppressed) 02:51:46 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11707773122191160952.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11707773122191160952.key) 02:51:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:51:47 + git tag --points-at HEAD [Pipeline] } 02:51:47 $ docker exec --env ******** --env ******** fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 ssh-agent -k 02:51:47 unset SSH_AUTH_SOCK; 02:51:47 unset SSH_AGENT_PID; 02:51:47 echo Agent pid 38 killed; 02:51:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:51:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:51:47 [ssh-agent] Looking for ssh-agent implementation... 02:51:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:51:47 $ docker exec fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 ssh-agent 02:51:47 SSH_AUTH_SOCK=/tmp/ssh-tXzFcLg3TvZ5/agent.70 02:51:47 SSH_AGENT_PID=76 02:51:47 Running ssh-add (command line suppressed) 02:51:47 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10209985986005460525.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10209985986005460525.key) 02:51:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:51:47 + git semver init 02:51:48 2023-11-29 02:51:48,100 [run_init] DEBUG init version:0.0.0 force:False 02:51:48 2023-11-29 02:51:48,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 02:51:48 2023-11-29 02:51:48,101 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 02:51:48 2023-11-29 02:51:48,101 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:51:50 2023-11-29 02:51:49,800 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 02:51:50 2023-11-29 02:51:49,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 02:51:50 2023-11-29 02:51:49,801 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:51:50 2023-11-29 02:51:49,801 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:51:50 3.0.1-dev.14 [Pipeline] } 02:51:50 $ docker exec --env ******** --env ******** fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 ssh-agent -k 02:51:50 unset SSH_AUTH_SOCK; 02:51:50 unset SSH_AGENT_PID; 02:51:50 echo Agent pid 76 killed; 02:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:51:50 + git semver [Pipeline] } 02:51:50 $ docker stop --time=1 fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 02:51:52 $ docker rm -f --volumes fc31fc3e8825eaddffa0e1ea4871fa3220d21c5150accd92fe4b1782643676f5 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:51:52 Stashed 1 file(s) [Pipeline] echo 02:51:52 [edgeXSemver]: initialized semver on version 3.0.1-dev.14 [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 02:51:53 provisioning config files... 02:51:53 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9001627714024507443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:53 ---> ****-login.sh 02:51:53 nexus3.edgexfoundry.org:10001 02:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:53 Configure a credential helper to remove this warning. See 02:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:53 02:51:53 Login Succeeded 02:51:53 nexus3.edgexfoundry.org:10002 02:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:53 Configure a credential helper to remove this warning. See 02:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:53 02:51:53 Login Succeeded 02:51:53 nexus3.edgexfoundry.org:10003 02:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:53 Configure a credential helper to remove this warning. See 02:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:53 02:51:53 Login Succeeded 02:51:53 nexus3.edgexfoundry.org:10004 02:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:53 Configure a credential helper to remove this warning. See 02:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:53 02:51:53 Login Succeeded 02:51:53 ****.io 02:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:54 Configure a credential helper to remove this warning. See 02:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:54 02:51:54 Login Succeeded 02:51:54 ---> ****-login.sh ends [Pipeline] } 02:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:51:54 ========================================================= 02:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:51:54 Sending build context to Docker daemon 23.03MB 02:51:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:51:54 Step 2/12 : FROM ${BASE} AS builder 02:51:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:51:55 7264a8db6415: Pulling fs layer 02:51:55 c4d48a809fc2: Pulling fs layer 02:51:55 4f1c88b9dad5: Pulling fs layer 02:51:55 ad3a456e5733: Pulling fs layer 02:51:55 69c7f0334f64: Pulling fs layer 02:51:55 1f1c1a5573a3: Pulling fs layer 02:51:55 ce7588e14bc9: Pulling fs layer 02:51:55 b5e4710f87ac: Pulling fs layer 02:51:55 ad3a456e5733: Waiting 02:51:55 69c7f0334f64: Waiting 02:51:55 1f1c1a5573a3: Waiting 02:51:55 ce7588e14bc9: Waiting 02:51:55 b5e4710f87ac: Waiting 02:51:55 c4d48a809fc2: Verifying Checksum 02:51:55 c4d48a809fc2: Download complete 02:51:55 ad3a456e5733: Verifying Checksum 02:51:55 ad3a456e5733: Download complete 02:51:55 69c7f0334f64: Verifying Checksum 02:51:55 69c7f0334f64: Download complete 02:51:55 7264a8db6415: Verifying Checksum 02:51:55 7264a8db6415: Download complete 02:51:55 1f1c1a5573a3: Verifying Checksum 02:51:55 1f1c1a5573a3: Download complete 02:51:55 7264a8db6415: Pull complete 02:51:55 b5e4710f87ac: Verifying Checksum 02:51:55 b5e4710f87ac: Download complete 02:51:55 c4d48a809fc2: Pull complete 02:51:55 4f1c88b9dad5: Verifying Checksum 02:51:55 4f1c88b9dad5: Download complete 02:51:56 ce7588e14bc9: Verifying Checksum 02:51:56 ce7588e14bc9: Download complete 02:52:00 4f1c88b9dad5: Pull complete 02:52:00 ad3a456e5733: Pull complete 02:52:00 69c7f0334f64: Pull complete 02:52:00 1f1c1a5573a3: Pull complete 02:52:03 ce7588e14bc9: Pull complete 02:52:03 b5e4710f87ac: Pull complete 02:52:04 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:52:04 ---> 88b5674ff536 02:52:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:52:08 Still waiting to schedule task 02:52:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9086’ is offline 02:52:10 ---> Running in 93837147f30d 02:52:10 Removing intermediate container 93837147f30d 02:52:10 ---> 02225c8e79fe 02:52:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:52:10 ---> Running in 704a009e9096 02:52:10 Removing intermediate container 704a009e9096 02:52:10 ---> 59596c777573 02:52:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:52:10 ---> Running in 8eee53914759 02:52:10 Removing intermediate container 8eee53914759 02:52:10 ---> 23efcdc919c0 02:52:10 Step 6/12 : WORKDIR /device-uart 02:52:10 ---> Running in fb47cafc9675 02:52:10 Removing intermediate container fb47cafc9675 02:52:10 ---> b954261883a8 02:52:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:10 ---> Running in 0c31311a0317 02:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:52:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:52:11 (2/4) Installing libedit (20221030.3.1-r1) 02:52:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:52:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:52:11 Executing busybox-1.36.1-r5.trigger 02:52:11 OK: 268 MiB in 56 packages 02:52:12 Removing intermediate container 0c31311a0317 02:52:12 ---> 670eaf3a147c 02:52:12 Step 8/12 : COPY go.mod vendor* ./ 02:52:12 ---> 079034cbdbe4 02:52:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:52:12 ---> Running in b8da12438b47 02:52:51 Removing intermediate container b8da12438b47 02:52:51 ---> 9e7441ac38b2 02:52:51 Step 10/12 : COPY . . 02:52:51 ---> 2877fa4e1f06 02:52:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:52:51 ---> Running in bf4010d20621 02:52:51 Removing intermediate container bf4010d20621 02:52:51 ---> ae3fddae747e 02:52:51 Step 12/12 : RUN ${MAKE} 02:52:51 ---> Running in 47acb4725eef 02:52:51 noop 02:52:52 Removing intermediate container 47acb4725eef 02:52:52 ---> 4e5ec2dc73c4 02:52:52 Successfully built 4e5ec2dc73c4 02:52:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:52 + docker inspect -f . ci-base-image-x86_64 02:52:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:52 prd-ubuntu20.04-docker-8c-8g-9087 does not seem to be running inside a container 02:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:53 $ docker top 3c906811cf0b312e2355dc83c29ff4480cfc09374b1caa95508fbb4afabd3920 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:53 + go version 02:52:53 go version go1.21.0 linux/amd64 [Pipeline] } 02:52:53 $ docker stop --time=1 3c906811cf0b312e2355dc83c29ff4480cfc09374b1caa95508fbb4afabd3920 02:52:55 $ docker rm -f --volumes 3c906811cf0b312e2355dc83c29ff4480cfc09374b1caa95508fbb4afabd3920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:56 + docker inspect -f . ci-base-image-x86_64 02:52:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:56 prd-ubuntu20.04-docker-8c-8g-9087 does not seem to be running inside a container 02:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:57 $ docker top 4cb29cc835424014edd16eeb131c75fbeb27a83db3ec89c8db1e9a2bdc5a0a6a -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 02:52:58 + make test 02:52:58 go test ./... -coverprofile=coverage.out 02:52:59 ? github.com/edgexfoundry/device-uart [no test files] 02:53:09 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:53:09 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:53:18 go vet ./... 02:53:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:21 ./bin/test-attribution-txt.sh [Pipeline] echo 02:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:53:21 $ docker stop --time=1 4cb29cc835424014edd16eeb131c75fbeb27a83db3ec89c8db1e9a2bdc5a0a6a 02:53:25 $ docker rm -f --volumes 4cb29cc835424014edd16eeb131c75fbeb27a83db3ec89c8db1e9a2bdc5a0a6a [Pipeline] // withDockerContainer [Pipeline] sh 02:53:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:53:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:26 + ls -al . 02:53:26 total 156 02:53:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 02:52 . 02:53:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 02:51 .. 02:53:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 02:51 .dockerignore 02:53:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 02:53 .git 02:53:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:51 .github 02:53:26 -rw-rw-r-- 1 jenkins jenkins 343 Nov 29 02:51 .gitignore 02:53:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 02:51 .golangci.yml 02:53:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 02:51 .semver 02:53:26 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 29 02:51 Attribution.txt 02:53:26 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 29 02:51 CHANGELOG.md 02:53:26 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 29 02:51 Dockerfile 02:53:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 02:51 GOVERNANCE.md 02:53:26 -rw-rw-r-- 1 jenkins jenkins 675 Nov 29 02:51 Jenkinsfile 02:53:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 02:51 LICENSE 02:53:26 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 29 02:51 Makefile 02:53:26 -rw-rw-r-- 1 jenkins jenkins 617 Nov 29 02:51 OWNERS.md 02:53:26 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 29 02:51 README.md 02:53:26 -rw-rw-r-- 1 jenkins jenkins 12 Nov 29 02:51 VERSION 02:53:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 02:51 bin 02:53:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:51 cmd 02:53:26 -rw-r--r-- 1 jenkins jenkins 10 Nov 29 02:52 coverage.out 02:53:26 -rw-rw-r-- 1 jenkins jenkins 3716 Nov 29 02:51 go.mod 02:53:26 -rw-rw-r-- 1 jenkins jenkins 35303 Nov 29 02:51 go.sum 02:53:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:51 internal 02:53:26 -rw-rw-r-- 1 jenkins jenkins 209 Nov 29 02:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:27 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 --label arch=amd64 --label version=3.0.1-dev.14 . 02:53:27 Sending build context to Docker daemon 23.03MB 02:53:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:53:27 Step 2/26 : FROM ${BASE} AS builder 02:53:27 ---> 4e5ec2dc73c4 02:53:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:27 ---> Running in 15588b1b2a68 02:53:28 Removing intermediate container 15588b1b2a68 02:53:28 ---> 25f9a3a5f96c 02:53:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:53:28 ---> Running in 66df985ece8a 02:53:28 Removing intermediate container 66df985ece8a 02:53:28 ---> 5c66ebf7d021 02:53:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:53:28 ---> Running in 71739bf72703 02:53:28 Removing intermediate container 71739bf72703 02:53:28 ---> b5a2f1031438 02:53:28 Step 6/26 : WORKDIR /device-uart 02:53:28 ---> Running in c5c5cf4b45d2 02:53:29 Removing intermediate container c5c5cf4b45d2 02:53:29 ---> ad60c21c89ef 02:53:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:29 ---> Running in 939dfd4bbd3e 02:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:29 OK: 268 MiB in 56 packages 02:53:30 Removing intermediate container 939dfd4bbd3e 02:53:30 ---> 22bd0a750b94 02:53:30 Step 8/26 : COPY go.mod vendor* ./ 02:53:30 ---> 2699e78a5f5f 02:53:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:30 ---> Running in 1dd969a6aa55 02:53:30 Removing intermediate container 1dd969a6aa55 02:53:30 ---> 8ff2626d12a4 02:53:30 Step 10/26 : COPY . . 02:53:31 ---> e37310f03c6e 02:53:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:31 ---> Running in d1ae00c454e1 02:53:31 Removing intermediate container d1ae00c454e1 02:53:31 ---> a09ac1bb794a 02:53:31 Step 12/26 : RUN ${MAKE} 02:53:31 ---> Running in 7e5214d92de1 02:53:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:53:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9089 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 02:53:38 Running in /w/workspace/device-uart/20 [Pipeline] { [Pipeline] checkout 02:53:38 The recommended git tool is: git 02:53:43 using credential edgex-jenkins-ssh 02:53:43 Cloning the remote Git repository 02:53:43 Cloning repository git@github.com:edgexfoundry/device-uart.git 02:53:43 > git init /w/workspace/device-uart/20 # timeout=10 02:53:43 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 02:53:43 > git --version # timeout=10 02:53:43 > git --version # 'git version 2.25.1' 02:53:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:53:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 02:53:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:49 Avoid second fetch 02:53:49 Checking out Revision 56a8503eef07c46f22bc765105e6cf123a2f1194 (main) 02:53:49 Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" 02:53:49 > git config core.sparsecheckout # timeout=10 02:53:49 > git checkout -f 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:53:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:51 Dload Upload Total Spent Left Speed 02:53:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 92569 100 12682 100 12682 0 0 92569 0 --:--:-- --:--:-- --:--:-- 91898 [Pipeline] sh 02:53:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:53:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:53:51 + sudo tee /etc/docker/daemon.new 02:53:51 { 02:53:51 "registry-mirrors": [ 02:53:51 "https://nexus3.edgexfoundry.org:10001" 02:53:51 ], 02:53:51 "bip": "10.250.0.254/24", 02:53:51 "hosts": [ 02:53:51 "tcp://0.0.0.0:5555", 02:53:51 "unix:///var/run/docker.sock" 02:53:51 ], 02:53:51 "mtu": 1458, 02:53:51 "selinux-enabled": true, 02:53:51 "seccomp-profile": "/etc/docker/seccomp.json" 02:53:51 } [Pipeline] sh 02:53:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:53:52 + sudo service docker restart 02:53:58 Removing intermediate container 7e5214d92de1 02:53:58 ---> 37da24750ccb 02:53:58 Step 13/26 : FROM alpine:3.18 02:53:58 3.18: Pulling from library/alpine 02:53:58 96526aa774ef: Pulling fs layer 02:53:58 96526aa774ef: Verifying Checksum 02:53:58 96526aa774ef: Download complete 02:53:58 96526aa774ef: Pull complete 02:53:58 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:53:58 Status: Downloaded newer image for alpine:3.18 02:53:58 ---> 8ca4688f4f35 02:53:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:53:58 ---> Running in ec1c7219bab5 02:53:58 Removing intermediate container ec1c7219bab5 02:53:58 ---> 458146db164a 02:53:58 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:53:58 ---> Running in 6ee46e590309 02:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:58 (1/1) Installing dumb-init (1.2.5-r2) 02:53:58 Executing busybox-1.36.1-r2.trigger 02:53:58 OK: 7 MiB in 16 packages 02:53:58 Removing intermediate container 6ee46e590309 02:53:58 ---> 580a8d54c274 02:53:58 Step 16/26 : RUN apk --no-cache upgrade 02:53:58 ---> Running in b854125f0e23 02:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:58 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 02:53:58 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 02:53:58 Executing busybox-1.36.1-r5.post-upgrade 02:53:58 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 02:53:58 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 02:53:58 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 02:53:58 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 02:53:58 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 02:53:58 Executing busybox-1.36.1-r5.trigger 02:53:58 OK: 7 MiB in 16 packages 02:53:58 Removing intermediate container b854125f0e23 02:53:58 ---> 98e7d4155e4b 02:53:58 Step 17/26 : WORKDIR / 02:53:58 ---> Running in 6d9f6b6f0967 02:53:58 Removing intermediate container 6d9f6b6f0967 02:53:58 ---> 85b67e6200a7 02:53:58 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 02:53:58 ---> 25367d25b0dc 02:53:58 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 02:53:58 ---> f1d2c2ba23b4 02:53:58 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 02:53:59 ---> e27f1f39b862 02:53:59 Step 21/26 : EXPOSE 59995 02:53:59 ---> Running in 1231dccbb5d9 02:53:59 Removing intermediate container 1231dccbb5d9 02:53:59 ---> 6cc8a771112a 02:53:59 Step 22/26 : ENTRYPOINT ["/device-uart"] 02:53:59 ---> Running in 33691ab1eb01 02:53:59 Removing intermediate container 33691ab1eb01 02:53:59 ---> 389c9a847a2e 02:53:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:53:59 ---> Running in 0fb067e5f894 02:53:59 Removing intermediate container 0fb067e5f894 02:53:59 ---> 56eb9f1fe726 02:53:59 Step 24/26 : LABEL arch=amd64 02:53:59 ---> Running in bba452a6fc38 02:53:59 Removing intermediate container bba452a6fc38 02:53:59 ---> bedbd2445587 02:53:59 Step 25/26 : LABEL git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 02:53:59 ---> Running in f45135f6843a 02:53:59 Removing intermediate container f45135f6843a 02:53:59 ---> 68ec8946cccf 02:53:59 Step 26/26 : LABEL version=3.0.1-dev.14 02:53:59 ---> Running in 868e5312ac1e 02:53:59 Removing intermediate container 868e5312ac1e 02:53:59 ---> a2db346c39cf 02:53:59 [Warning] One or more build-args [ARCH] were not consumed 02:53:59 Successfully built a2db346c39cf 02:53:59 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:00 provisioning config files... 02:54:00 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15603409971196515631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:00 ---> ****-login.sh 02:54:00 nexus3.edgexfoundry.org:10001 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 nexus3.edgexfoundry.org:10002 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 nexus3.edgexfoundry.org:10003 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 nexus3.edgexfoundry.org:10004 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 ****.io 02:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:01 Configure a credential helper to remove this warning. See 02:54:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:01 02:54:01 Login Succeeded 02:54:01 ---> ****-login.sh ends [Pipeline] } 02:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:54:01 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 02:54:01 56a8503eef07c46f22bc765105e6cf123a2f1194 02:54:01 latest 02:54:01 3.0.1-dev.14 02:54:01 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 02:54:01 main 02:54:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:01 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 02:54:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:54:02 13ceb731e07d: Preparing 02:54:02 73394cabd0ff: Preparing 02:54:02 9471401c96f6: Preparing 02:54:02 bd506343e919: Preparing 02:54:02 0acfe297c615: Preparing 02:54:02 cc2447e1835a: Preparing 02:54:02 cc2447e1835a: Waiting 02:54:02 0acfe297c615: Pushed 02:54:02 73394cabd0ff: Pushed 02:54:02 9471401c96f6: Pushed 02:54:02 cc2447e1835a: Layer already exists 02:54:03 bd506343e919: Pushed 02:54:05 13ceb731e07d: Pushed 02:54:05 56a8503eef07c46f22bc765105e6cf123a2f1194: digest: sha256:d6380f8bbaa210802a862b5b831e5943b0c3a1e3ebdc1932ad3b24e4fe25c984 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:05 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:06 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 02:54:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:54:06 13ceb731e07d: Preparing 02:54:06 73394cabd0ff: Preparing 02:54:06 9471401c96f6: Preparing 02:54:06 bd506343e919: Preparing 02:54:06 0acfe297c615: Preparing 02:54:06 cc2447e1835a: Preparing 02:54:06 cc2447e1835a: Waiting 02:54:06 73394cabd0ff: Layer already exists 02:54:06 13ceb731e07d: Layer already exists 02:54:06 bd506343e919: Layer already exists 02:54:06 0acfe297c615: Layer already exists 02:54:06 9471401c96f6: Layer already exists 02:54:06 cc2447e1835a: Layer already exists 02:54:06 latest: digest: sha256:d6380f8bbaa210802a862b5b831e5943b0c3a1e3ebdc1932ad3b24e4fe25c984 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:06 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:07 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 02:54:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:54:07 13ceb731e07d: Preparing 02:54:07 73394cabd0ff: Preparing 02:54:07 9471401c96f6: Preparing 02:54:07 bd506343e919: Preparing 02:54:07 0acfe297c615: Preparing 02:54:07 cc2447e1835a: Preparing 02:54:07 cc2447e1835a: Waiting 02:54:07 9471401c96f6: Layer already exists 02:54:07 73394cabd0ff: Layer already exists 02:54:07 13ceb731e07d: Layer already exists 02:54:07 0acfe297c615: Layer already exists 02:54:07 bd506343e919: Layer already exists 02:54:07 cc2447e1835a: Layer already exists 02:54:07 3.0.1-dev.14: digest: sha256:d6380f8bbaa210802a862b5b831e5943b0c3a1e3ebdc1932ad3b24e4fe25c984 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:07 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:08 + docker push nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 02:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:54:08 13ceb731e07d: Preparing 02:54:08 73394cabd0ff: Preparing 02:54:08 9471401c96f6: Preparing 02:54:08 bd506343e919: Preparing 02:54:08 0acfe297c615: Preparing 02:54:08 cc2447e1835a: Preparing 02:54:08 cc2447e1835a: Waiting 02:54:08 0acfe297c615: Layer already exists 02:54:08 9471401c96f6: Layer already exists 02:54:08 13ceb731e07d: Layer already exists 02:54:08 73394cabd0ff: Layer already exists 02:54:08 bd506343e919: Layer already exists 02:54:08 cc2447e1835a: Layer already exists 02:54:08 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14: digest: sha256:d6380f8bbaa210802a862b5b831e5943b0c3a1e3ebdc1932ad3b24e4fe25c984 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:08 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:08 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 02:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:54:08 13ceb731e07d: Preparing 02:54:08 73394cabd0ff: Preparing 02:54:08 9471401c96f6: Preparing 02:54:08 bd506343e919: Preparing 02:54:08 0acfe297c615: Preparing 02:54:08 cc2447e1835a: Preparing 02:54:08 cc2447e1835a: Waiting 02:54:08 73394cabd0ff: Layer already exists 02:54:08 13ceb731e07d: Layer already exists 02:54:08 0acfe297c615: Layer already exists 02:54:08 9471401c96f6: Layer already exists 02:54:08 bd506343e919: Layer already exists 02:54:08 cc2447e1835a: Layer already exists 02:54:08 main: digest: sha256:d6380f8bbaa210802a862b5b831e5943b0c3a1e3ebdc1932ad3b24e4fe25c984 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:09 ===================================================== [Pipeline] echo 02:54:09 taggedImages: 02:54:09 - nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 02:54:09 - nexus3.edgexfoundry.org:10004/device-uart:latest 02:54:09 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 02:54:09 - nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 02:54:09 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:09 02:54:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:10 latest: Pulling from edgex-lftools-log-publisher 02:54:10 5eb5b503b376: Pulling fs layer 02:54:10 5c69ac0246d0: Pulling fs layer 02:54:10 ec43610c2a17: Pulling fs layer 02:54:10 3a2ae6a8a46f: Pulling fs layer 02:54:10 33b1e0a273af: Pulling fs layer 02:54:10 5d3b04190fa2: Pulling fs layer 02:54:10 2f39f015ded8: Pulling fs layer 02:54:10 3a2ae6a8a46f: Waiting 02:54:10 33b1e0a273af: Waiting 02:54:10 2f39f015ded8: Waiting 02:54:10 5d3b04190fa2: Waiting 02:54:10 5c69ac0246d0: Verifying Checksum 02:54:10 5c69ac0246d0: Download complete 02:54:10 3a2ae6a8a46f: Verifying Checksum 02:54:10 3a2ae6a8a46f: Download complete 02:54:10 33b1e0a273af: Verifying Checksum 02:54:10 33b1e0a273af: Download complete 02:54:10 5d3b04190fa2: Verifying Checksum 02:54:10 5d3b04190fa2: Download complete 02:54:10 ec43610c2a17: Verifying Checksum 02:54:10 ec43610c2a17: Download complete 02:54:10 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:10 provisioning config files... 02:54:10 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/20@tmp/config17267234617209054078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:11 2f39f015ded8: Verifying Checksum 02:54:11 2f39f015ded8: Download complete 02:54:11 ---> ****-login.sh 02:54:11 nexus3.edgexfoundry.org:10001 02:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:11 5eb5b503b376: Pull complete 02:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:11 Configure a credential helper to remove this warning. See 02:54:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:11 02:54:11 Login Succeeded 02:54:11 nexus3.edgexfoundry.org:10002 02:54:11 5c69ac0246d0: Pull complete 02:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:12 Configure a credential helper to remove this warning. See 02:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:12 02:54:12 Login Succeeded 02:54:12 nexus3.edgexfoundry.org:10003 02:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:12 ec43610c2a17: Pull complete 02:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:12 Configure a credential helper to remove this warning. See 02:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:12 02:54:12 Login Succeeded 02:54:12 nexus3.edgexfoundry.org:10004 02:54:12 3a2ae6a8a46f: Pull complete 02:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:12 Configure a credential helper to remove this warning. See 02:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:12 02:54:12 Login Succeeded 02:54:12 ****.io 02:54:12 33b1e0a273af: Pull complete 02:54:12 5d3b04190fa2: Pull complete 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 ---> ****-login.sh ends [Pipeline] } 02:54:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:54:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:54:13 ========================================================= 02:54:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:54:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:54:14 Sending build context to Docker daemon 11.57MB 02:54:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:54:14 Step 2/12 : FROM ${BASE} AS builder 02:54:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:54:17 9fda8d8052c6: Pulling fs layer 02:54:17 5d54e960e981: Pulling fs layer 02:54:17 c4a7e357bf2a: Pulling fs layer 02:54:17 f0e02332f6b5: Pulling fs layer 02:54:17 872ee5b61b7b: Pulling fs layer 02:54:17 0c6a40ed1a82: Pulling fs layer 02:54:17 94ae7d8d031c: Pulling fs layer 02:54:17 872ee5b61b7b: Waiting 02:54:17 0c6a40ed1a82: Waiting 02:54:17 94ae7d8d031c: Waiting 02:54:17 f0e02332f6b5: Waiting 02:54:17 5d54e960e981: Verifying Checksum 02:54:17 5d54e960e981: Download complete 02:54:17 f0e02332f6b5: Verifying Checksum 02:54:17 f0e02332f6b5: Download complete 02:54:17 872ee5b61b7b: Download complete 02:54:17 9fda8d8052c6: Download complete 02:54:17 94ae7d8d031c: Verifying Checksum 02:54:17 94ae7d8d031c: Download complete 02:54:18 2f39f015ded8: Pull complete 02:54:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:18 prd-ubuntu20.04-docker-8c-8g-9087 does not seem to be running inside a container 02:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:54:18 9fda8d8052c6: Pull complete 02:54:19 5d54e960e981: Pull complete 02:54:19 c4a7e357bf2a: Verifying Checksum 02:54:19 c4a7e357bf2a: Download complete 02:54:20 0c6a40ed1a82: Verifying Checksum 02:54:20 0c6a40ed1a82: Download complete 02:54:23 $ docker top d7c880768012bf334becbf75977087edcdcab6f548b5cda22cd50bab604d38a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:23 ---> job-cost.sh 02:54:23 lf-activate-venv: SKIPPING 02:54:23 INFO: No Stack... 02:54:23 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:24 INFO: Archiving Costs [Pipeline] sh 02:54:24 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 02:54:24 + cut -d, -f6 [Pipeline] lock 02:54:24 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-20-stack-cost] 02:54:24 Resource [jenkins-edgexfoundry-device-uart-main-20-stack-cost] did not exist. Created. 02:54:24 Lock acquired on [jenkins-edgexfoundry-device-uart-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:24 + echo total: 0.2199999988079071 [Pipeline] stash 02:54:24 Stashed 1 file(s) [Pipeline] } 02:54:24 Lock released on resource [jenkins-edgexfoundry-device-uart-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:24 $ docker stop --time=1 d7c880768012bf334becbf75977087edcdcab6f548b5cda22cd50bab604d38a3 02:54:26 $ docker rm -f --volumes d7c880768012bf334becbf75977087edcdcab6f548b5cda22cd50bab604d38a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:32 c4a7e357bf2a: Pull complete 02:54:32 f0e02332f6b5: Pull complete 02:54:32 872ee5b61b7b: Pull complete 02:54:40 0c6a40ed1a82: Pull complete 02:54:42 94ae7d8d031c: Pull complete 02:54:42 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:54:42 ---> 86de565de09d 02:54:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:54:43 ---> Running in e8ec83d82c67 02:54:43 Removing intermediate container e8ec83d82c67 02:54:43 ---> a89e0eee2301 02:54:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:54:43 ---> Running in 6a1268fa49e0 02:54:44 Removing intermediate container 6a1268fa49e0 02:54:44 ---> ed3b46876c0a 02:54:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:54:44 ---> Running in 1e6139af5672 02:54:44 Removing intermediate container 1e6139af5672 02:54:44 ---> af4a6a700339 02:54:44 Step 6/12 : WORKDIR /device-uart 02:54:44 ---> Running in 046403cc6540 02:54:44 Removing intermediate container 046403cc6540 02:54:44 ---> 2effb4e8a59a 02:54:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:44 ---> Running in da7f33a08daf 02:54:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:54:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:54:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:54:47 (2/4) Installing libedit (20221030.3.1-r1) 02:54:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:54:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:54:47 Executing busybox-1.36.1-r5.trigger 02:54:47 OK: 271 MiB in 56 packages 02:54:48 Removing intermediate container da7f33a08daf 02:54:48 ---> b9f897767438 02:54:48 Step 8/12 : COPY go.mod vendor* ./ 02:54:49 ---> ed4874c2ce0f 02:54:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:49 ---> Running in 67ab81d82948 02:56:10 Removing intermediate container 67ab81d82948 02:56:10 ---> d8a055a2672d 02:56:10 Step 10/12 : COPY . . 02:56:10 ---> cb1120252834 02:56:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:56:10 ---> Running in 8be2a103efb8 02:56:10 Removing intermediate container 8be2a103efb8 02:56:10 ---> 83ffb24c2465 02:56:10 Step 12/12 : RUN ${MAKE} 02:56:10 ---> Running in 22bfd399c43a 02:56:10 noop 02:56:10 Removing intermediate container 22bfd399c43a 02:56:10 ---> 4e8818b75699 02:56:10 Successfully built 4e8818b75699 02:56:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:11 + docker inspect -f . ci-base-image-arm64 02:56:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:11 prd-ubuntu20.04-docker-arm64-4c-16g-9089 does not seem to be running inside a container 02:56:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/20 -v /w/workspace/device-uart/20:/w/workspace/device-uart/20:rw,z -v /w/workspace/device-uart/20@tmp:/w/workspace/device-uart/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 ******** ci-base-image-arm64 cat 02:56:13 $ docker top 41e128b0c36579c63a18a9412a47d992bc70e885cad988fd341a2436cf0ddc71 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:14 + go version 02:56:14 go version go1.21.0 linux/arm64 [Pipeline] } 02:56:14 $ docker stop --time=1 41e128b0c36579c63a18a9412a47d992bc70e885cad988fd341a2436cf0ddc71 02:56:15 $ docker rm -f --volumes 41e128b0c36579c63a18a9412a47d992bc70e885cad988fd341a2436cf0ddc71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:16 + docker inspect -f . ci-base-image-arm64 02:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:17 prd-ubuntu20.04-docker-arm64-4c-16g-9089 does not seem to be running inside a container 02:56:17 $ 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/20 -v /w/workspace/device-uart/20:/w/workspace/device-uart/20:rw,z -v /w/workspace/device-uart/20@tmp:/w/workspace/device-uart/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 ******** ci-base-image-arm64 cat 02:56:18 $ docker top d2894be35da1a123fb098800a394dd8868e6bbf13662c1128f347972f1bc6940 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:19 + git config --global --add safe.directory /w/workspace/device-uart/20 [Pipeline] fileExists [Pipeline] sh 02:56:19 + make test 02:56:19 go test ./... -coverprofile=coverage.out 02:56:26 ? github.com/edgexfoundry/device-uart [no test files] 02:57:47 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:57:47 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:57:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:57:47 go vet ./... 02:58:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:58:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:58:13 ./bin/test-attribution-txt.sh [Pipeline] echo 02:58:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:58:13 $ docker stop --time=1 d2894be35da1a123fb098800a394dd8868e6bbf13662c1128f347972f1bc6940 02:58:18 $ docker rm -f --volumes d2894be35da1a123fb098800a394dd8868e6bbf13662c1128f347972f1bc6940 [Pipeline] // withDockerContainer [Pipeline] sh 02:58:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:58:19 Warning: overwriting stash ‘coverage-report’ 02:58:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:58:21 + ls -al . 02:58:21 total 152 02:58:21 drwxrwxr-x 7 jenkins jenkins 4096 Nov 29 02:56 . 02:58:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 02:53 .. 02:58:21 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 02:53 .dockerignore 02:58:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 02:53 .git 02:58:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:53 .github 02:58:21 -rw-rw-r-- 1 jenkins jenkins 343 Nov 29 02:53 .gitignore 02:58:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 02:53 .golangci.yml 02:58:21 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 29 02:53 Attribution.txt 02:58:21 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 29 02:53 CHANGELOG.md 02:58:21 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 29 02:53 Dockerfile 02:58:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 02:53 GOVERNANCE.md 02:58:21 -rw-rw-r-- 1 jenkins jenkins 675 Nov 29 02:53 Jenkinsfile 02:58:21 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 02:53 LICENSE 02:58:21 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 29 02:53 Makefile 02:58:21 -rw-rw-r-- 1 jenkins jenkins 617 Nov 29 02:53 OWNERS.md 02:58:21 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 29 02:53 README.md 02:58:21 -rw-rw-r-- 1 jenkins jenkins 12 Nov 29 02:51 VERSION 02:58:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 02:53 bin 02:58:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:53 cmd 02:58:21 -rw-r--r-- 1 jenkins jenkins 10 Nov 29 02:56 coverage.out 02:58:21 -rw-rw-r-- 1 jenkins jenkins 3716 Nov 29 02:53 go.mod 02:58:21 -rw-rw-r-- 1 jenkins jenkins 35303 Nov 29 02:53 go.sum 02:58:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:53 internal 02:58:21 -rw-rw-r-- 1 jenkins jenkins 209 Nov 29 02:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:21 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 --label arch=arm64 --label version=3.0.1-dev.14 . 02:58:23 Sending build context to Docker daemon 11.57MB 02:58:23 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:58:23 Step 2/26 : FROM ${BASE} AS builder 02:58:23 ---> 4e8818b75699 02:58:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:58:23 ---> Running in 96b8cb762d4e 02:58:24 Removing intermediate container 96b8cb762d4e 02:58:24 ---> cb7119bbaa6d 02:58:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:58:24 ---> Running in 4ec88e6fa09e 02:58:25 Removing intermediate container 4ec88e6fa09e 02:58:25 ---> e6661aedc240 02:58:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:58:25 ---> Running in fcb50fa71709 02:58:26 Removing intermediate container fcb50fa71709 02:58:26 ---> 7117ed06d20b 02:58:26 Step 6/26 : WORKDIR /device-uart 02:58:26 ---> Running in cb2d330b1b76 02:58:26 Removing intermediate container cb2d330b1b76 02:58:26 ---> 63e487ebd5d6 02:58:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:58:26 ---> Running in f760f9e9d95a 02:58:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:29 OK: 271 MiB in 56 packages 02:58:32 Removing intermediate container f760f9e9d95a 02:58:32 ---> d5d28558a6f9 02:58:32 Step 8/26 : COPY go.mod vendor* ./ 02:58:33 ---> 46458b92d7c5 02:58:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:58:33 ---> Running in 1b5141ab54c1 02:58:35 Removing intermediate container 1b5141ab54c1 02:58:35 ---> ad4be4af3a58 02:58:35 Step 10/26 : COPY . . 02:58:36 ---> dfa85cd946f2 02:58:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:58:36 ---> Running in 3f684436d9cc 02:58:37 Removing intermediate container 3f684436d9cc 02:58:37 ---> 6b278a00e25b 02:58:37 Step 12/26 : RUN ${MAKE} 02:58:37 ---> Running in ee1c53f735d6 02:58:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:00:31 Removing intermediate container ee1c53f735d6 03:00:31 ---> 011585d1a720 03:00:31 Step 13/26 : FROM alpine:3.18 03:00:31 3.18: Pulling from library/alpine 03:00:31 579b34f0a95b: Pulling fs layer 03:00:31 579b34f0a95b: Verifying Checksum 03:00:31 579b34f0a95b: Download complete 03:00:31 579b34f0a95b: Pull complete 03:00:31 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:00:31 Status: Downloaded newer image for alpine:3.18 03:00:31 ---> 3cc203321400 03:00:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:00:31 ---> Running in 9c66b5af70b6 03:00:31 Removing intermediate container 9c66b5af70b6 03:00:31 ---> 5f0f8232dc4a 03:00:31 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:00:31 ---> Running in d653506aea0e 03:00:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:00:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:00:32 (1/1) Installing dumb-init (1.2.5-r2) 03:00:32 Executing busybox-1.36.1-r2.trigger 03:00:32 OK: 8 MiB in 16 packages 03:00:33 Removing intermediate container d653506aea0e 03:00:33 ---> 8826fd22bce7 03:00:33 Step 16/26 : RUN apk --no-cache upgrade 03:00:33 ---> Running in 5f1478abb8dc 03:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:00:35 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 03:00:35 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 03:00:35 Executing busybox-1.36.1-r5.post-upgrade 03:00:35 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 03:00:35 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 03:00:35 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 03:00:36 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 03:00:36 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 03:00:36 Executing busybox-1.36.1-r5.trigger 03:00:36 OK: 8 MiB in 16 packages 03:00:40 Removing intermediate container 5f1478abb8dc 03:00:40 ---> e33f85373ba6 03:00:40 Step 17/26 : WORKDIR / 03:00:40 ---> Running in 1181efc65898 03:00:40 Removing intermediate container 1181efc65898 03:00:40 ---> 8e3e37e9269d 03:00:40 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 03:00:41 ---> daf6fd91cca8 03:00:41 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 03:00:41 ---> d50d8721553f 03:00:41 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 03:00:44 ---> 5140d3342ab0 03:00:44 Step 21/26 : EXPOSE 59995 03:00:44 ---> Running in 28d999b00a9b 03:00:44 Removing intermediate container 28d999b00a9b 03:00:44 ---> 1d74f4f00c92 03:00:44 Step 22/26 : ENTRYPOINT ["/device-uart"] 03:00:44 ---> Running in 403ee5c7b822 03:00:44 Removing intermediate container 403ee5c7b822 03:00:44 ---> ab82c1246293 03:00:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:00:44 ---> Running in ed73c5ea7acc 03:00:44 Removing intermediate container ed73c5ea7acc 03:00:44 ---> a950dddcca1c 03:00:44 Step 24/26 : LABEL arch=arm64 03:00:45 ---> Running in dbbb00fd5515 03:00:45 Removing intermediate container dbbb00fd5515 03:00:45 ---> 9be45a3364b9 03:00:45 Step 25/26 : LABEL git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 03:00:45 ---> Running in 3cdb9e04dc05 03:00:45 Removing intermediate container 3cdb9e04dc05 03:00:45 ---> 5f93b00365ca 03:00:45 Step 26/26 : LABEL version=3.0.1-dev.14 03:00:45 ---> Running in 9ebd3de28132 03:00:45 Removing intermediate container 9ebd3de28132 03:00:45 ---> 80798b129f02 03:00:45 [Warning] One or more build-args [ARCH] were not consumed 03:00:45 Successfully built 80798b129f02 03:00:46 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:46 provisioning config files... 03:00:46 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/20@tmp/config12664852879237080628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:48 ---> ****-login.sh 03:00:48 nexus3.edgexfoundry.org:10001 03:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:49 Configure a credential helper to remove this warning. See 03:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:49 03:00:49 Login Succeeded 03:00:49 nexus3.edgexfoundry.org:10002 03:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:49 Configure a credential helper to remove this warning. See 03:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:49 03:00:49 Login Succeeded 03:00:49 nexus3.edgexfoundry.org:10003 03:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:49 Configure a credential helper to remove this warning. See 03:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:49 03:00:49 Login Succeeded 03:00:49 nexus3.edgexfoundry.org:10004 03:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:52 Configure a credential helper to remove this warning. See 03:00:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:52 03:00:52 Login Succeeded 03:00:52 ****.io 03:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:53 Configure a credential helper to remove this warning. See 03:00:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:53 03:00:53 Login Succeeded 03:00:53 ---> ****-login.sh ends [Pipeline] } 03:00:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:00:53 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 03:00:53 56a8503eef07c46f22bc765105e6cf123a2f1194 03:00:53 latest 03:00:53 3.0.1-dev.14 03:00:53 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 03:00:53 main 03:00:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:54 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:54 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194 03:00:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:00:54 ebd4eeaae937: Preparing 03:00:54 21fb1f16a030: Preparing 03:00:54 7b94781376f6: Preparing 03:00:54 47374a58dfaf: Preparing 03:00:54 f8d6681f9349: Preparing 03:00:54 5f4d9fc4d98d: Preparing 03:00:54 5f4d9fc4d98d: Waiting 03:02:31 21fb1f16a030: Retrying in 5 seconds 03:02:31 ebd4eeaae937: Retrying in 5 seconds 03:02:31 47374a58dfaf: Retrying in 5 seconds 03:02:31 f8d6681f9349: Retrying in 5 seconds 03:02:31 7b94781376f6: Retrying in 5 seconds 03:02:31 21fb1f16a030: Retrying in 4 seconds 03:02:31 ebd4eeaae937: Retrying in 4 seconds 03:02:31 47374a58dfaf: Retrying in 4 seconds 03:02:31 f8d6681f9349: Retrying in 4 seconds 03:02:31 7b94781376f6: Retrying in 4 seconds 03:02:31 21fb1f16a030: Retrying in 3 seconds 03:02:31 ebd4eeaae937: Retrying in 3 seconds 03:02:31 47374a58dfaf: Retrying in 3 seconds 03:02:31 f8d6681f9349: Retrying in 3 seconds 03:02:31 7b94781376f6: Retrying in 3 seconds 03:02:31 21fb1f16a030: Retrying in 2 seconds 03:02:31 ebd4eeaae937: Retrying in 2 seconds 03:02:31 47374a58dfaf: Retrying in 2 seconds 03:02:31 f8d6681f9349: Retrying in 2 seconds 03:02:31 7b94781376f6: Retrying in 2 seconds 03:02:31 21fb1f16a030: Retrying in 1 second 03:02:31 ebd4eeaae937: Retrying in 1 second 03:02:31 47374a58dfaf: Retrying in 1 second 03:02:31 f8d6681f9349: Retrying in 1 second 03:02:31 7b94781376f6: Retrying in 1 second 03:04:08 47374a58dfaf: Retrying in 10 seconds 03:04:08 ebd4eeaae937: Retrying in 10 seconds 03:04:08 21fb1f16a030: Retrying in 10 seconds 03:04:08 f8d6681f9349: Retrying in 10 seconds 03:04:08 7b94781376f6: Retrying in 10 seconds 03:04:08 21fb1f16a030: Retrying in 9 seconds 03:04:08 47374a58dfaf: Retrying in 9 seconds 03:04:08 f8d6681f9349: Retrying in 9 seconds 03:04:08 7b94781376f6: Retrying in 9 seconds 03:04:08 ebd4eeaae937: Retrying in 9 seconds 03:04:08 21fb1f16a030: Retrying in 8 seconds 03:04:08 47374a58dfaf: Retrying in 8 seconds 03:04:08 ebd4eeaae937: Retrying in 8 seconds 03:04:08 f8d6681f9349: Retrying in 8 seconds 03:04:08 7b94781376f6: Retrying in 8 seconds 03:04:08 ebd4eeaae937: Retrying in 7 seconds 03:04:08 21fb1f16a030: Retrying in 7 seconds 03:04:08 47374a58dfaf: Retrying in 7 seconds 03:04:08 f8d6681f9349: Retrying in 7 seconds 03:04:08 7b94781376f6: Retrying in 7 seconds 03:04:08 ebd4eeaae937: Retrying in 6 seconds 03:04:08 21fb1f16a030: Retrying in 6 seconds 03:04:08 47374a58dfaf: Retrying in 6 seconds 03:04:08 f8d6681f9349: Retrying in 6 seconds 03:04:08 7b94781376f6: Retrying in 6 seconds 03:04:08 21fb1f16a030: Retrying in 5 seconds 03:04:08 ebd4eeaae937: Retrying in 5 seconds 03:04:08 47374a58dfaf: Retrying in 5 seconds 03:04:08 f8d6681f9349: Retrying in 5 seconds 03:04:08 7b94781376f6: Retrying in 5 seconds 03:04:08 ebd4eeaae937: Retrying in 4 seconds 03:04:08 47374a58dfaf: Retrying in 4 seconds 03:04:08 f8d6681f9349: Retrying in 4 seconds 03:04:08 21fb1f16a030: Retrying in 4 seconds 03:04:08 7b94781376f6: Retrying in 4 seconds 03:04:08 21fb1f16a030: Retrying in 3 seconds 03:04:08 f8d6681f9349: Retrying in 3 seconds 03:04:08 ebd4eeaae937: Retrying in 3 seconds 03:04:08 47374a58dfaf: Retrying in 3 seconds 03:04:08 7b94781376f6: Retrying in 3 seconds 03:04:08 47374a58dfaf: Retrying in 2 seconds 03:04:08 ebd4eeaae937: Retrying in 2 seconds 03:04:08 21fb1f16a030: Retrying in 2 seconds 03:04:08 f8d6681f9349: Retrying in 2 seconds 03:04:08 7b94781376f6: Retrying in 2 seconds 03:04:09 21fb1f16a030: Retrying in 1 second 03:04:09 ebd4eeaae937: Retrying in 1 second 03:04:09 47374a58dfaf: Retrying in 1 second 03:04:09 7b94781376f6: Retrying in 1 second 03:04:09 f8d6681f9349: Retrying in 1 second 03:05:45 47374a58dfaf: Retrying in 15 seconds 03:05:45 f8d6681f9349: Retrying in 15 seconds 03:05:45 21fb1f16a030: Retrying in 15 seconds 03:05:45 7b94781376f6: Retrying in 15 seconds 03:05:45 ebd4eeaae937: Retrying in 15 seconds 03:05:45 f8d6681f9349: Retrying in 14 seconds 03:05:45 47374a58dfaf: Retrying in 14 seconds 03:05:45 7b94781376f6: Retrying in 14 seconds 03:05:45 21fb1f16a030: Retrying in 14 seconds 03:05:45 ebd4eeaae937: Retrying in 14 seconds 03:05:45 f8d6681f9349: Retrying in 13 seconds 03:05:45 21fb1f16a030: Retrying in 13 seconds 03:05:45 ebd4eeaae937: Retrying in 13 seconds 03:05:45 7b94781376f6: Retrying in 13 seconds 03:05:45 47374a58dfaf: Retrying in 13 seconds 03:05:45 47374a58dfaf: Retrying in 12 seconds 03:05:45 f8d6681f9349: Retrying in 12 seconds 03:05:45 ebd4eeaae937: Retrying in 12 seconds 03:05:45 21fb1f16a030: Retrying in 12 seconds 03:05:45 7b94781376f6: Retrying in 12 seconds 03:05:45 47374a58dfaf: Retrying in 11 seconds 03:05:45 f8d6681f9349: Retrying in 11 seconds 03:05:45 ebd4eeaae937: Retrying in 11 seconds 03:05:45 7b94781376f6: Retrying in 11 seconds 03:05:45 21fb1f16a030: Retrying in 11 seconds 03:05:45 f8d6681f9349: Retrying in 10 seconds 03:05:45 21fb1f16a030: Retrying in 10 seconds 03:05:45 47374a58dfaf: Retrying in 10 seconds 03:05:45 ebd4eeaae937: Retrying in 10 seconds 03:05:45 7b94781376f6: Retrying in 10 seconds 03:05:45 21fb1f16a030: Retrying in 9 seconds 03:05:45 47374a58dfaf: Retrying in 9 seconds 03:05:45 7b94781376f6: Retrying in 9 seconds 03:05:45 f8d6681f9349: Retrying in 9 seconds 03:05:45 ebd4eeaae937: Retrying in 9 seconds 03:05:46 f8d6681f9349: Retrying in 8 seconds 03:05:46 47374a58dfaf: Retrying in 8 seconds 03:05:46 ebd4eeaae937: Retrying in 8 seconds 03:05:46 21fb1f16a030: Retrying in 8 seconds 03:05:46 7b94781376f6: Retrying in 8 seconds 03:05:47 f8d6681f9349: Retrying in 7 seconds 03:05:47 47374a58dfaf: Retrying in 7 seconds 03:05:47 ebd4eeaae937: Retrying in 7 seconds 03:05:47 21fb1f16a030: Retrying in 7 seconds 03:05:47 7b94781376f6: Retrying in 7 seconds 03:05:48 f8d6681f9349: Retrying in 6 seconds 03:05:48 47374a58dfaf: Retrying in 6 seconds 03:05:48 ebd4eeaae937: Retrying in 6 seconds 03:05:48 21fb1f16a030: Retrying in 6 seconds 03:05:48 7b94781376f6: Retrying in 6 seconds 03:05:49 f8d6681f9349: Retrying in 5 seconds 03:05:49 47374a58dfaf: Retrying in 5 seconds 03:05:49 ebd4eeaae937: Retrying in 5 seconds 03:05:49 21fb1f16a030: Retrying in 5 seconds 03:05:49 7b94781376f6: Retrying in 5 seconds 03:05:51 47374a58dfaf: Retrying in 4 seconds 03:05:51 f8d6681f9349: Retrying in 4 seconds 03:05:51 7b94781376f6: Retrying in 4 seconds 03:05:51 21fb1f16a030: Retrying in 4 seconds 03:05:51 ebd4eeaae937: Retrying in 4 seconds 03:05:51 f8d6681f9349: Retrying in 3 seconds 03:05:51 47374a58dfaf: Retrying in 3 seconds 03:05:51 ebd4eeaae937: Retrying in 3 seconds 03:05:51 7b94781376f6: Retrying in 3 seconds 03:05:51 21fb1f16a030: Retrying in 3 seconds 03:05:53 47374a58dfaf: Retrying in 2 seconds 03:05:53 f8d6681f9349: Retrying in 2 seconds 03:05:53 ebd4eeaae937: Retrying in 2 seconds 03:05:53 21fb1f16a030: Retrying in 2 seconds 03:05:53 7b94781376f6: Retrying in 2 seconds 03:05:53 f8d6681f9349: Retrying in 1 second 03:05:53 47374a58dfaf: Retrying in 1 second 03:05:53 7b94781376f6: Retrying in 1 second 03:05:53 ebd4eeaae937: Retrying in 1 second 03:05:53 21fb1f16a030: Retrying in 1 second 03:07:30 f8d6681f9349: Retrying in 20 seconds 03:07:30 47374a58dfaf: Retrying in 20 seconds 03:07:30 ebd4eeaae937: Retrying in 20 seconds 03:07:30 21fb1f16a030: Retrying in 20 seconds 03:07:30 7b94781376f6: Retrying in 20 seconds 03:07:30 f8d6681f9349: Retrying in 19 seconds 03:07:30 47374a58dfaf: Retrying in 19 seconds 03:07:30 ebd4eeaae937: Retrying in 19 seconds 03:07:30 21fb1f16a030: Retrying in 19 seconds 03:07:30 7b94781376f6: Retrying in 19 seconds 03:07:30 f8d6681f9349: Retrying in 18 seconds 03:07:30 ebd4eeaae937: Retrying in 18 seconds 03:07:30 47374a58dfaf: Retrying in 18 seconds 03:07:30 21fb1f16a030: Retrying in 18 seconds 03:07:30 7b94781376f6: Retrying in 18 seconds 03:07:30 f8d6681f9349: Retrying in 17 seconds 03:07:30 47374a58dfaf: Retrying in 17 seconds 03:07:30 ebd4eeaae937: Retrying in 17 seconds 03:07:30 21fb1f16a030: Retrying in 17 seconds 03:07:30 7b94781376f6: Retrying in 17 seconds 03:07:30 f8d6681f9349: Retrying in 16 seconds 03:07:30 ebd4eeaae937: Retrying in 16 seconds 03:07:30 47374a58dfaf: Retrying in 16 seconds 03:07:30 21fb1f16a030: Retrying in 16 seconds 03:07:30 7b94781376f6: Retrying in 16 seconds 03:07:30 f8d6681f9349: Retrying in 15 seconds 03:07:30 47374a58dfaf: Retrying in 15 seconds 03:07:30 ebd4eeaae937: Retrying in 15 seconds 03:07:30 21fb1f16a030: Retrying in 15 seconds 03:07:30 7b94781376f6: Retrying in 15 seconds 03:07:30 f8d6681f9349: Retrying in 14 seconds 03:07:30 47374a58dfaf: Retrying in 14 seconds 03:07:30 ebd4eeaae937: Retrying in 14 seconds 03:07:30 21fb1f16a030: Retrying in 14 seconds 03:07:30 7b94781376f6: Retrying in 14 seconds 03:07:32 f8d6681f9349: Retrying in 13 seconds 03:07:32 47374a58dfaf: Retrying in 13 seconds 03:07:32 ebd4eeaae937: Retrying in 13 seconds 03:07:32 21fb1f16a030: Retrying in 13 seconds 03:07:32 7b94781376f6: Retrying in 13 seconds 03:07:32 f8d6681f9349: Retrying in 12 seconds 03:07:32 47374a58dfaf: Retrying in 12 seconds 03:07:32 ebd4eeaae937: Retrying in 12 seconds 03:07:32 21fb1f16a030: Retrying in 12 seconds 03:07:32 7b94781376f6: Retrying in 12 seconds 03:07:34 f8d6681f9349: Retrying in 11 seconds 03:07:34 ebd4eeaae937: Retrying in 11 seconds 03:07:34 47374a58dfaf: Retrying in 11 seconds 03:07:34 21fb1f16a030: Retrying in 11 seconds 03:07:34 7b94781376f6: Retrying in 11 seconds 03:07:35 f8d6681f9349: Retrying in 10 seconds 03:07:35 47374a58dfaf: Retrying in 10 seconds 03:07:35 ebd4eeaae937: Retrying in 10 seconds 03:07:35 21fb1f16a030: Retrying in 10 seconds 03:07:35 7b94781376f6: Retrying in 10 seconds 03:07:36 f8d6681f9349: Retrying in 9 seconds 03:07:36 47374a58dfaf: Retrying in 9 seconds 03:07:36 ebd4eeaae937: Retrying in 9 seconds 03:07:36 21fb1f16a030: Retrying in 9 seconds 03:07:36 7b94781376f6: Retrying in 9 seconds 03:07:37 f8d6681f9349: Retrying in 8 seconds 03:07:37 47374a58dfaf: Retrying in 8 seconds 03:07:37 ebd4eeaae937: Retrying in 8 seconds 03:07:37 21fb1f16a030: Retrying in 8 seconds 03:07:37 7b94781376f6: Retrying in 8 seconds 03:07:38 f8d6681f9349: Retrying in 7 seconds 03:07:38 47374a58dfaf: Retrying in 7 seconds 03:07:38 ebd4eeaae937: Retrying in 7 seconds 03:07:38 21fb1f16a030: Retrying in 7 seconds 03:07:38 7b94781376f6: Retrying in 7 seconds 03:07:39 f8d6681f9349: Retrying in 6 seconds 03:07:39 ebd4eeaae937: Retrying in 6 seconds 03:07:39 47374a58dfaf: Retrying in 6 seconds 03:07:39 21fb1f16a030: Retrying in 6 seconds 03:07:39 7b94781376f6: Retrying in 6 seconds 03:07:40 f8d6681f9349: Retrying in 5 seconds 03:07:40 47374a58dfaf: Retrying in 5 seconds 03:07:40 ebd4eeaae937: Retrying in 5 seconds 03:07:40 21fb1f16a030: Retrying in 5 seconds 03:07:40 7b94781376f6: Retrying in 5 seconds 03:07:41 f8d6681f9349: Retrying in 4 seconds 03:07:41 ebd4eeaae937: Retrying in 4 seconds 03:07:41 47374a58dfaf: Retrying in 4 seconds 03:07:41 21fb1f16a030: Retrying in 4 seconds 03:07:41 7b94781376f6: Retrying in 4 seconds 03:07:41 f8d6681f9349: Retrying in 3 seconds 03:07:41 47374a58dfaf: Retrying in 3 seconds 03:07:41 ebd4eeaae937: Retrying in 3 seconds 03:07:41 21fb1f16a030: Retrying in 3 seconds 03:07:41 7b94781376f6: Retrying in 3 seconds 03:07:43 f8d6681f9349: Retrying in 2 seconds 03:07:43 47374a58dfaf: Retrying in 2 seconds 03:07:43 ebd4eeaae937: Retrying in 2 seconds 03:07:43 21fb1f16a030: Retrying in 2 seconds 03:07:43 7b94781376f6: Retrying in 2 seconds 03:07:43 f8d6681f9349: Retrying in 1 second 03:07:43 47374a58dfaf: Retrying in 1 second 03:07:43 ebd4eeaae937: Retrying in 1 second 03:07:43 21fb1f16a030: Retrying in 1 second 03:07:43 7b94781376f6: Retrying in 1 second 03:09:20 received unexpected HTTP status: 504 Gateway Time-out [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:21 03:09:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:21 arm64: Pulling from edgex-lftools-log-publisher 03:09:21 8998bd30e6a1: Pulling fs layer 03:09:21 04944245beec: Pulling fs layer 03:09:21 699f458cf7ca: Pulling fs layer 03:09:21 765212b225bb: Pulling fs layer 03:09:21 f23df028b6ca: Pulling fs layer 03:09:21 d65c8cfc05b1: Pulling fs layer 03:09:21 2437ff75d9bd: Pulling fs layer 03:09:21 765212b225bb: Waiting 03:09:21 f23df028b6ca: Waiting 03:09:21 d65c8cfc05b1: Waiting 03:09:21 2437ff75d9bd: Waiting 03:09:22 04944245beec: Verifying Checksum 03:09:22 04944245beec: Download complete 03:09:22 765212b225bb: Verifying Checksum 03:09:22 765212b225bb: Download complete 03:09:22 f23df028b6ca: Verifying Checksum 03:09:22 f23df028b6ca: Download complete 03:09:22 d65c8cfc05b1: Verifying Checksum 03:09:22 d65c8cfc05b1: Download complete 03:09:22 699f458cf7ca: Verifying Checksum 03:09:22 699f458cf7ca: Download complete 03:09:22 8998bd30e6a1: Verifying Checksum 03:09:22 8998bd30e6a1: Download complete 03:09:25 2437ff75d9bd: Verifying Checksum 03:09:25 2437ff75d9bd: Download complete 03:09:27 8998bd30e6a1: Pull complete 03:09:28 04944245beec: Pull complete 03:09:30 699f458cf7ca: Pull complete 03:09:30 765212b225bb: Pull complete 03:09:31 f23df028b6ca: Pull complete 03:09:31 d65c8cfc05b1: Pull complete 03:09:49 2437ff75d9bd: Pull complete 03:09:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:50 prd-ubuntu20.04-docker-arm64-4c-16g-9089 does not seem to be running inside a container 03:09:50 $ 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/20 -v /w/workspace/device-uart/20:/w/workspace/device-uart/20:rw,z -v /w/workspace/device-uart/20@tmp:/w/workspace/device-uart/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:09:52 $ docker top 8b0c400be92106e594bb32bbad035375cf13c969a8200851e1f89e751c52d964 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:52 ---> job-cost.sh 03:09:53 lf-activate-venv: SKIPPING 03:09:53 INFO: No Stack... 03:09:53 INFO: Retrieving Pricing Info for: v3-standard-4 03:09:54 INFO: Archiving Costs [Pipeline] sh 03:09:55 + cat /w/workspace/device-uart/20/archives/cost.csv 03:09:55 + cut -d, -f6 [Pipeline] lock 03:09:55 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-20-stack-cost] 03:09:55 Resource [jenkins-edgexfoundry-device-uart-main-20-stack-cost] did not exist. Created. 03:09:55 Lock acquired on [jenkins-edgexfoundry-device-uart-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:56 /w/workspace/device-uart/20@tmp/durable-1c212327/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:09:56 + echo total: 0.10999999940395355 [Pipeline] stash 03:09:56 Warning: overwriting stash ‘stack-cost’ 03:09:56 Stashed 1 file(s) [Pipeline] } 03:09:56 Lock released on resource [jenkins-edgexfoundry-device-uart-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:57 $ docker stop --time=1 8b0c400be92106e594bb32bbad035375cf13c969a8200851e1f89e751c52d964 03:09:58 $ docker rm -f --volumes 8b0c400be92106e594bb32bbad035375cf13c969a8200851e1f89e751c52d964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:09:59 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 03:10:01 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 03:10:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:10:01 total 16 03:10:01 drwxr-xr-x 3 root root 4096 Nov 29 02:54 . 03:10:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 02:54 .. 03:10:01 drwxr-xr-x 2 root root 4096 Nov 29 02:54 cost 03:10:01 -rw-r--r-- 1 root root 82 Nov 29 02:54 cost.csv 03:10:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 03:10:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:10:01 total 16 03:10:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 02:54 . 03:10:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 02:54 .. 03:10:01 drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 02:54 cost 03:10:01 -rw-r--r-- 1 jenkins jenkins 82 Nov 29 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:10:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:02 ---> package-listing.sh 03:10:02 ++ facter osfamily 03:10:02 ++ tr '[:upper:]' '[:lower:]' 03:10:03 + OS_FAMILY=debian 03:10:03 + workspace=/w/workspace/edgexfoundry_device-uart_main 03:10:03 + START_PACKAGES=/tmp/packages_start.txt 03:10:03 + END_PACKAGES=/tmp/packages_end.txt 03:10:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:03 + PACKAGES=/tmp/packages_start.txt 03:10:03 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:10:03 + PACKAGES=/tmp/packages_end.txt 03:10:03 + case "${OS_FAMILY}" in 03:10:03 + dpkg -l 03:10:03 + grep '^ii' 03:10:03 + '[' -f /tmp/packages_start.txt ']' 03:10:03 + '[' -f /tmp/packages_end.txt ']' 03:10:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:10:03 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:10:03 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 03:10:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 03:10:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:10:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:04 prd-ubuntu20.04-docker-8c-8g-9087 does not seem to be running inside a container 03:10:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:10:04 $ docker top 3e057fe83ad0dfc4d09af63c60c7ef1a5a910409fcdfef291c73ebe31679e1e9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:10:05 + mkdir -p /var/log/sysstat [Pipeline] sh 03:10:05 + ls /var/log/sa-host 03:10:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:05 provisioning config files... 03:10:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9396487463480345877tmp [Pipeline] { [Pipeline] echo 03:10:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:10:06 ---> create-netrc.sh [Pipeline] } 03:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:10:06 ---> python-tools-install.sh [Pipeline] echo 03:10:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:10:06 ---> sudo-logs.sh 03:10:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:10:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:10:07 ---> job-cost.sh 03:10:07 lf-activate-venv: SKIPPING 03:10:07 DEBUG: total: 0.2199999988079071 03:10:07 INFO: Retrieving Stack Cost... 03:10:07 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:08 INFO: Archiving Costs [Pipeline] echo 03:10:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:10:08 ---> logs-deploy.sh 03:10:08 lf-activate-venv: SKIPPING 03:10:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/20 03:10:08 INFO: archiving workspace using pattern(s): 03:10:09 Archives upload complete. 03:10:09 INFO: archiving logs to Nexus