Pull request #23 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-uart Obtained Jenkinsfile from c383605551135fb1a268e141f6497e4e39ec718f+5a7611fe9d2266d68c2062e26c6ab482e9781192 (34ac3aeff788f17425773ed756d0b11a41b46e65) 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-ssh14184646734681874645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh954157010772989473.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7424114056465093568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh11083011345819943666.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10506241507902112444.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4531 in /w/workspace/edgexfoundry_device-uart_PR-23 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-23 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a7611fe9d2266d68c2062e26c6ab482e9781192 into PR head commit c383605551135fb1a268e141f6497e4e39ec718f Merge succeeded, producing c383605551135fb1a268e141f6497e4e39ec718f Checking out Revision c383605551135fb1a268e141f6497e4e39ec718f (PR-23) > git config core.sparsecheckout # timeout=10 > git checkout -f c383605551135fb1a268e141f6497e4e39ec718f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c383605551135fb1a268e141f6497e4e39ec718f # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk c326cc8d27c660318425c8bc19f04539a118581c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:41:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:41:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:41:36 ========================================================= 07:41:36 EdgeX Global Pipelines Version Info 07:41:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:41:37 ------------------- 07:41:37 stable info: 07:41:37 ------------------- 07:41:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:41:37 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:41:37 Message: update stable to v1.0.253 07:41:38 ------------------- 07:41:38 experimental info: 07:41:38 ------------------- 07:41:38 Commited By: **** collab-it+edgex@linuxfoundation.org 07:41:38 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:41:38 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c383605551135fb1a268e141f6497e4e39ec718f [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c383605 [Pipeline] echo 07:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:38 provisioning config files... 07:41:38 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config12150961968918524572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:39 ---> docker-login.sh 07:41:39 nexus3.edgexfoundry.org:10001 07:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:39 Configure a credential helper to remove this warning. See 07:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:39 07:41:39 Login Succeeded 07:41:39 nexus3.edgexfoundry.org:10002 07:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:39 Configure a credential helper to remove this warning. See 07:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:39 07:41:39 Login Succeeded 07:41:39 nexus3.edgexfoundry.org:10003 07:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:39 Configure a credential helper to remove this warning. See 07:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:39 07:41:39 Login Succeeded 07:41:39 nexus3.edgexfoundry.org:10004 07:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:39 Configure a credential helper to remove this warning. See 07:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:39 07:41:39 Login Succeeded 07:41:39 docker.io 07:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:40 Configure a credential helper to remove this warning. See 07:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:40 07:41:40 Login Succeeded 07:41:40 ---> docker-login.sh ends [Pipeline] } 07:41:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:41:40 + git rev-list -1 --merges c383605551135fb1a268e141f6497e4e39ec718f~1..c383605551135fb1a268e141f6497e4e39ec718f [Pipeline] echo 07:41:40 -----------> git rev-list -1 --merges c383605551135fb1a268e141f6497e4e39ec718f~1..c383605551135fb1a268e141f6497e4e39ec718f c383605551135fb1a268e141f6497e4e39ec718f [false] [Pipeline] sh 07:41:40 + git log --format=format:%s -1 c383605551135fb1a268e141f6497e4e39ec718f [Pipeline] echo 07:41:40 ========================================================= 07:41:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:41:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:41 + git log --format=format:%s -1 c383605551135fb1a268e141f6497e4e39ec718f [Pipeline] echo 07:41:41 [semverPrep] GIT_COMMIT: c383605551135fb1a268e141f6497e4e39ec718f, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:41:41 [semverPrep] This is not a build commit. [Pipeline] sh 07:41:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:41:41 + grep -v github /etc/ssh/ssh_known_hosts 07:41:41 + [ -e /tmp/ssh_known_hosts ] 07:41:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:41:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:41:41 + sudo tee -a /etc/ssh/ssh_known_hosts 07:41:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:41 07:41:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:42 0.1.4: Pulling from edgex-devops/py-git-semver 07:41:42 b85a868b505f: Pulling fs layer 07:41:42 e2be974225ed: Pulling fs layer 07:41:42 339a4e72a1f5: Pulling fs layer 07:41:42 988bab9f4d93: Pulling fs layer 07:41:42 1469e6f7b9e6: Pulling fs layer 07:41:42 eaf3925da568: Pulling fs layer 07:41:42 bab4dde63d76: Pulling fs layer 07:41:42 bde34c3a00c8: Pulling fs layer 07:41:42 b352a97aabf1: Pulling fs layer 07:41:42 4872d77fe225: Pulling fs layer 07:41:42 5851b861e8e6: Pulling fs layer 07:41:42 bab4dde63d76: Waiting 07:41:42 bde34c3a00c8: Waiting 07:41:42 b352a97aabf1: Waiting 07:41:42 4872d77fe225: Waiting 07:41:42 5851b861e8e6: Waiting 07:41:42 988bab9f4d93: Waiting 07:41:42 1469e6f7b9e6: Waiting 07:41:42 eaf3925da568: Waiting 07:41:42 e2be974225ed: Verifying Checksum 07:41:42 e2be974225ed: Download complete 07:41:42 988bab9f4d93: Download complete 07:41:42 1469e6f7b9e6: Download complete 07:41:42 eaf3925da568: Download complete 07:41:42 339a4e72a1f5: Verifying Checksum 07:41:42 339a4e72a1f5: Download complete 07:41:42 b352a97aabf1: Verifying Checksum 07:41:42 b352a97aabf1: Download complete 07:41:42 4872d77fe225: Verifying Checksum 07:41:42 4872d77fe225: Download complete 07:41:42 5851b861e8e6: Verifying Checksum 07:41:42 5851b861e8e6: Download complete 07:41:42 b85a868b505f: Verifying Checksum 07:41:42 b85a868b505f: Download complete 07:41:42 bab4dde63d76: Verifying Checksum 07:41:42 bab4dde63d76: Download complete 07:41:43 b85a868b505f: Pull complete 07:41:43 e2be974225ed: Pull complete 07:41:44 339a4e72a1f5: Pull complete 07:41:44 988bab9f4d93: Pull complete 07:41:44 1469e6f7b9e6: Pull complete 07:41:44 eaf3925da568: Pull complete 07:41:46 bab4dde63d76: Pull complete 07:41:46 bde34c3a00c8: Pull complete 07:41:46 b352a97aabf1: Pull complete 07:41:46 4872d77fe225: Pull complete 07:41:47 5851b861e8e6: Pull complete 07:41:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:47 prd-ubuntu20.04-docker-8c-8g-4531 does not seem to be running inside a container 07:41:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:41:49 $ docker top 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 -eo pid,comm 07:41:49 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). 07:41:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:49 [ssh-agent] Looking for ssh-agent implementation... 07:41:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:49 $ docker exec 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 ssh-agent 07:41:50 SSH_AUTH_SOCK=/tmp/ssh-EsFHvbUop9A3/agent.33 07:41:50 SSH_AGENT_PID=39 07:41:50 Running ssh-add (command line suppressed) 07:41:50 Identity added: /w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_17738285577017929715.key (/w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_17738285577017929715.key) 07:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:50 + git tag --points-at HEAD [Pipeline] } 07:41:50 $ docker exec --env ******** --env ******** 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 ssh-agent -k 07:41:50 unset SSH_AUTH_SOCK; 07:41:50 unset SSH_AGENT_PID; 07:41:50 echo Agent pid 39 killed; 07:41:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:50 [ssh-agent] Looking for ssh-agent implementation... 07:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:50 $ docker exec 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 ssh-agent 07:41:50 SSH_AUTH_SOCK=/tmp/ssh-pOduduND2aA1/agent.71 07:41:50 SSH_AGENT_PID=78 07:41:50 Running ssh-add (command line suppressed) 07:41:50 Identity added: /w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_5525767498196502853.key (/w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_5525767498196502853.key) 07:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:51 + git semver init 07:41:51 2023-08-25 07:41:51,450 [run_init] DEBUG init version:0.0.0 force:False 07:41:51 2023-08-25 07:41:51,450 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-23/.semver 07:41:51 2023-08-25 07:41:51,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-23/.semver 07:41:51 2023-08-25 07:41:51,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-23/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23, universal_newlines=False, shell=None, istream=None) 07:41:52 2023-08-25 07:41:52,290 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-23/.git/info/exclude 07:41:52 2023-08-25 07:41:52,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 with force:False 07:41:52 2023-08-25 07:41:52,291 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 07:41:52 2023-08-25 07:41:52,295 [execute] INFO git cat-file --batch-check 07:41:52 2023-08-25 07:41:52,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23/.semver, universal_newlines=False, shell=None, istream=) 07:41:52 2023-08-25 07:41:52,303 [execute] INFO git cat-file --batch 07:41:52 2023-08-25 07:41:52,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23/.semver, universal_newlines=False, shell=None, istream=) 07:41:52 2023-08-25 07:41:52,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 07:41:52 0.0.0 [Pipeline] } 07:41:52 $ docker exec --env ******** --env ******** 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 ssh-agent -k 07:41:52 unset SSH_AUTH_SOCK; 07:41:52 unset SSH_AGENT_PID; 07:41:52 echo Agent pid 78 killed; 07:41:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:52 + git semver [Pipeline] } 07:41:53 $ docker stop --time=1 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 07:41:54 $ docker rm -f --volumes 9e9ef991009c52ba889d27ce0adc12d2e06b418a814c44810934fc700277a867 [Pipeline] // withDockerContainer [Pipeline] sh 07:41:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:41:55 Stashed 1 file(s) [Pipeline] echo 07:41:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:55 provisioning config files... 07:41:55 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config2598520449182894017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:55 ---> docker-login.sh 07:41:55 nexus3.edgexfoundry.org:10001 07:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:55 Configure a credential helper to remove this warning. See 07:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:55 07:41:55 Login Succeeded 07:41:55 nexus3.edgexfoundry.org:10002 07:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:55 Configure a credential helper to remove this warning. See 07:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:55 07:41:55 Login Succeeded 07:41:55 nexus3.edgexfoundry.org:10003 07:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:55 Configure a credential helper to remove this warning. See 07:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:55 07:41:55 Login Succeeded 07:41:55 nexus3.edgexfoundry.org:10004 07:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:56 Configure a credential helper to remove this warning. See 07:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:56 07:41:56 Login Succeeded 07:41:56 docker.io 07:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:56 Configure a credential helper to remove this warning. See 07:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:56 07:41:56 Login Succeeded 07:41:56 ---> docker-login.sh ends [Pipeline] } 07:41:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:56 ========================================================= 07:41:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:41:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:41:56 Sending build context to Docker daemon 11.13MB 07:41:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:41:56 Step 2/12 : FROM ${BASE} AS builder 07:41:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:41:56 4db1b89c0bd1: Pulling fs layer 07:41:56 6911f1a30b25: Pulling fs layer 07:41:56 e194b8c5c2a9: Pulling fs layer 07:41:56 6863d3e3a2b1: Pulling fs layer 07:41:56 ec0bb842ea78: Pulling fs layer 07:41:56 40a00589a448: Pulling fs layer 07:41:56 6c08303d61cc: Pulling fs layer 07:41:56 798269fcf238: Pulling fs layer 07:41:56 6863d3e3a2b1: Waiting 07:41:56 ec0bb842ea78: Waiting 07:41:56 40a00589a448: Waiting 07:41:56 6c08303d61cc: Waiting 07:41:56 798269fcf238: Waiting 07:41:56 6911f1a30b25: Download complete 07:41:56 6863d3e3a2b1: Verifying Checksum 07:41:56 6863d3e3a2b1: Download complete 07:41:57 ec0bb842ea78: Verifying Checksum 07:41:57 ec0bb842ea78: Download complete 07:41:57 4db1b89c0bd1: Download complete 07:41:57 40a00589a448: Verifying Checksum 07:41:57 40a00589a448: Download complete 07:41:57 4db1b89c0bd1: Pull complete 07:41:57 6911f1a30b25: Pull complete 07:41:57 798269fcf238: Verifying Checksum 07:41:57 798269fcf238: Download complete 07:41:57 e194b8c5c2a9: Verifying Checksum 07:41:57 e194b8c5c2a9: Download complete 07:41:58 6c08303d61cc: Verifying Checksum 07:41:58 6c08303d61cc: Download complete 07:42:01 e194b8c5c2a9: Pull complete 07:42:01 6863d3e3a2b1: Pull complete 07:42:01 ec0bb842ea78: Pull complete 07:42:01 40a00589a448: Pull complete 07:42:04 6c08303d61cc: Pull complete 07:42:05 798269fcf238: Pull complete 07:42:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:42:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:42:05 ---> ec979cd7f677 07:42:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:42:10 Still waiting to schedule task 07:42:10 ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:42:10 ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:42:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4532’ is offline 07:42:11 ---> Running in 231e79ea3d81 07:42:11 Removing intermediate container 231e79ea3d81 07:42:11 ---> 3715583df5fb 07:42:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:42:11 ---> Running in 038f686f25da 07:42:11 Removing intermediate container 038f686f25da 07:42:11 ---> df8f2e633919 07:42:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:42:11 ---> Running in e111966282c0 07:42:12 Removing intermediate container e111966282c0 07:42:12 ---> f886c4634d15 07:42:12 Step 6/12 : WORKDIR /device-uart 07:42:12 ---> Running in 53e0f98d3c59 07:42:12 Removing intermediate container 53e0f98d3c59 07:42:12 ---> 02c41d5f31e5 07:42:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:12 ---> Running in ca4bc17a79d8 07:42:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:42:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:42:12 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:42:12 (2/4) Installing libedit (20221030.3.1-r0) 07:42:12 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:42:12 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:42:12 Executing busybox-1.35.0-r29.trigger 07:42:12 OK: 269 MiB in 57 packages 07:42:13 Removing intermediate container ca4bc17a79d8 07:42:13 ---> 225cf214c703 07:42:13 Step 8/12 : COPY go.mod vendor* ./ 07:42:13 ---> 8491b7a7382e 07:42:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:13 ---> Running in e2179d75e153 07:42:45 Removing intermediate container e2179d75e153 07:42:45 ---> 6f4cec1fd0c2 07:42:45 Step 10/12 : COPY . . 07:42:45 ---> ef3171b89617 07:42:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:42:45 ---> Running in 646d073b12fa 07:42:45 Removing intermediate container 646d073b12fa 07:42:45 ---> 71b1eba3194b 07:42:45 Step 12/12 : RUN ${MAKE} 07:42:45 ---> Running in 03e628e90fc9 07:42:45 noop 07:42:45 Removing intermediate container 03e628e90fc9 07:42:45 ---> a045e20bd4a6 07:42:45 Successfully built a045e20bd4a6 07:42:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:46 + docker inspect -f . ci-base-image-x86_64 07:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:46 prd-ubuntu20.04-docker-8c-8g-4531 does not seem to be running inside a container 07:42:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:42:46 $ docker top 366f054ea34bc63cd28ec4c776512bff533ee6e8627af6408113d3d1affefabc -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:47 + go version 07:42:47 go version go1.20.6 linux/amd64 [Pipeline] } 07:42:47 $ docker stop --time=1 366f054ea34bc63cd28ec4c776512bff533ee6e8627af6408113d3d1affefabc 07:42:48 $ docker rm -f --volumes 366f054ea34bc63cd28ec4c776512bff533ee6e8627af6408113d3d1affefabc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:48 + docker inspect -f . ci-base-image-x86_64 07:42:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:48 prd-ubuntu20.04-docker-8c-8g-4531 does not seem to be running inside a container 07:42:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:42:49 $ docker top 3eaccb4e7cf11c5b978c20b918e15672e889628c8bd326035691732d6b67d68b -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-23 [Pipeline] fileExists [Pipeline] sh 07:42:49 + make test 07:42:49 go test ./... -coverprofile=coverage.out 07:42:55 ? github.com/edgexfoundry/device-uart [no test files] 07:43:05 ? github.com/edgexfoundry/device-uart/cmd [no test files] 07:43:05 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 07:43:11 go vet ./... 07:43:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:14 ./bin/test-attribution-txt.sh [Pipeline] echo 07:43:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:43:14 $ docker stop --time=1 3eaccb4e7cf11c5b978c20b918e15672e889628c8bd326035691732d6b67d68b 07:43:18 $ docker rm -f --volumes 3eaccb4e7cf11c5b978c20b918e15672e889628c8bd326035691732d6b67d68b [Pipeline] // withDockerContainer [Pipeline] sh 07:43:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:43:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:19 + ls -al . 07:43:19 total 144 07:43:19 drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 07:42 . 07:43:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:41 .. 07:43:19 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:41 .dockerignore 07:43:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:41 .git 07:43:19 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 07:41 .gitignore 07:43:19 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:41 .golangci.yml 07:43:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:41 .semver 07:43:19 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 07:41 Attribution.txt 07:43:19 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 07:41 Dockerfile 07:43:19 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:41 GOVERNANCE.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 07:41 Jenkinsfile 07:43:19 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:41 LICENSE 07:43:19 -rw-rw-r-- 1 jenkins jenkins 1893 Aug 25 07:41 Makefile 07:43:19 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 07:41 OWNERS.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 07:41 README.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:41 VERSION 07:43:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:41 bin 07:43:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:41 cmd 07:43:19 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 07:42 coverage.out 07:43:19 -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 07:41 go.mod 07:43:19 -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 07:41 go.sum 07:43:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:41 internal 07:43:19 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:19 + 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=c383605551135fb1a268e141f6497e4e39ec718f --label arch=amd64 --label version=0.0.0 . 07:43:19 Sending build context to Docker daemon 11.13MB 07:43:19 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:43:19 Step 2/25 : FROM ${BASE} AS builder 07:43:19 ---> a045e20bd4a6 07:43:19 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:43:19 ---> Running in 8971482c0526 07:43:20 Removing intermediate container 8971482c0526 07:43:20 ---> b9728bdf562d 07:43:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:43:20 ---> Running in 39283b2d9992 07:43:20 Removing intermediate container 39283b2d9992 07:43:20 ---> b9ca19975d85 07:43:20 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:43:20 ---> Running in 5c5d08cca33c 07:43:20 Removing intermediate container 5c5d08cca33c 07:43:20 ---> 76edf0ae9f0b 07:43:20 Step 6/25 : WORKDIR /device-uart 07:43:20 ---> Running in 1e387b8be026 07:43:20 Removing intermediate container 1e387b8be026 07:43:20 ---> bb6d36735b3e 07:43:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:43:20 ---> Running in 9349cfd7dda6 07:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:43:21 OK: 269 MiB in 57 packages 07:43:21 Removing intermediate container 9349cfd7dda6 07:43:21 ---> 47d9060f498c 07:43:21 Step 8/25 : COPY go.mod vendor* ./ 07:43:21 ---> 2da308044298 07:43:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:21 ---> Running in e99424ee151b 07:43:22 Removing intermediate container e99424ee151b 07:43:22 ---> e83f9a7764e5 07:43:22 Step 10/25 : COPY . . 07:43:22 ---> 628c62bae487 07:43:22 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:22 ---> Running in b726da8703e9 07:43:22 Removing intermediate container b726da8703e9 07:43:22 ---> 20963e84abf8 07:43:22 Step 12/25 : RUN ${MAKE} 07:43:22 ---> Running in 4a7e9270f540 07:43:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 07:43:44 Removing intermediate container 4a7e9270f540 07:43:44 ---> 27eda0e78627 07:43:44 Step 13/25 : FROM alpine:3.17 07:43:44 3.17: Pulling from library/alpine 07:43:44 9398808236ff: Pulling fs layer 07:43:44 9398808236ff: Verifying Checksum 07:43:44 9398808236ff: Download complete 07:43:44 9398808236ff: Pull complete 07:43:44 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:43:44 Status: Downloaded newer image for alpine:3.17 07:43:44 ---> 1e0b8b5322fc 07:43:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:43:44 ---> Running in cc11468f0a90 07:43:44 Removing intermediate container cc11468f0a90 07:43:44 ---> 7f7034202534 07:43:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:43:44 ---> Running in 6abb87074baf 07:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:43:45 (1/1) Installing dumb-init (1.2.5-r2) 07:43:45 Executing busybox-1.35.0-r29.trigger 07:43:45 OK: 7 MiB in 16 packages 07:43:45 Removing intermediate container 6abb87074baf 07:43:45 ---> d31fc34b82f8 07:43:45 Step 16/25 : WORKDIR / 07:43:45 ---> Running in a8225f8a1dd0 07:43:45 Removing intermediate container a8225f8a1dd0 07:43:45 ---> 63dff959d697 07:43:45 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 07:43:46 ---> 59b8a65c1f98 07:43:46 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 07:43:46 ---> 3d7b358dc482 07:43:46 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 07:43:47 ---> a8aa17abf25d 07:43:47 Step 20/25 : EXPOSE 59995 07:43:47 ---> Running in ba7239296b5c 07:43:47 Removing intermediate container ba7239296b5c 07:43:47 ---> a92936dbc82e 07:43:47 Step 21/25 : ENTRYPOINT ["/device-uart"] 07:43:47 ---> Running in a858b4ea0f30 07:43:47 Removing intermediate container a858b4ea0f30 07:43:47 ---> 4d0e5f9b247a 07:43:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:43:47 ---> Running in ce2fb871527a 07:43:47 Removing intermediate container ce2fb871527a 07:43:47 ---> d975ef0d3a1f 07:43:47 Step 23/25 : LABEL arch=amd64 07:43:47 ---> Running in d3b598a74e08 07:43:47 Removing intermediate container d3b598a74e08 07:43:47 ---> c19a79db8afc 07:43:47 Step 24/25 : LABEL git_sha=c383605551135fb1a268e141f6497e4e39ec718f 07:43:47 ---> Running in 992969955ea5 07:43:47 Removing intermediate container 992969955ea5 07:43:47 ---> 44ecefc5e49b 07:43:47 Step 25/25 : LABEL version=0.0.0 07:43:47 ---> Running in d295cdef9519 07:43:47 Removing intermediate container d295cdef9519 07:43:47 ---> e19744d0beaf 07:43:47 [Warning] One or more build-args [ARCH] were not consumed 07:43:47 Successfully built e19744d0beaf 07:43:47 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:48 07:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:48 latest: Pulling from edgex-lftools-log-publisher 07:43:48 5eb5b503b376: Pulling fs layer 07:43:48 5c69ac0246d0: Pulling fs layer 07:43:48 ec43610c2a17: Pulling fs layer 07:43:48 3a2ae6a8a46f: Pulling fs layer 07:43:48 33b1e0a273af: Pulling fs layer 07:43:48 5d3b04190fa2: Pulling fs layer 07:43:48 2f39f015ded8: Pulling fs layer 07:43:48 3a2ae6a8a46f: Waiting 07:43:48 33b1e0a273af: Waiting 07:43:48 5d3b04190fa2: Waiting 07:43:48 2f39f015ded8: Waiting 07:43:48 5c69ac0246d0: Verifying Checksum 07:43:48 5c69ac0246d0: Download complete 07:43:48 3a2ae6a8a46f: Download complete 07:43:48 33b1e0a273af: Verifying Checksum 07:43:48 33b1e0a273af: Download complete 07:43:48 5d3b04190fa2: Verifying Checksum 07:43:48 5d3b04190fa2: Download complete 07:43:48 ec43610c2a17: Verifying Checksum 07:43:48 ec43610c2a17: Download complete 07:43:48 5eb5b503b376: Verifying Checksum 07:43:48 5eb5b503b376: Download complete 07:43:49 2f39f015ded8: Download complete 07:43:49 5eb5b503b376: Pull complete 07:43:50 5c69ac0246d0: Pull complete 07:43:50 ec43610c2a17: Pull complete 07:43:50 3a2ae6a8a46f: Pull complete 07:43:50 33b1e0a273af: Pull complete 07:43:50 5d3b04190fa2: Pull complete 07:43:54 2f39f015ded8: Pull complete 07:43:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:43:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:54 prd-ubuntu20.04-docker-8c-8g-4531 does not seem to be running inside a container 07:43:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:43:58 $ docker top b7222a679cf0921af842b1e362ca82f931897c38c436f3b2822e05714e92b678 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:58 ---> job-cost.sh 07:43:58 lf-activate-venv: SKIPPING 07:43:58 INFO: No Stack... 07:43:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:43:59 INFO: Archiving Costs [Pipeline] sh 07:43:59 + cat /w/workspace/edgexfoundry_device-uart_PR-23/archives/cost.csv 07:43:59 + cut -d, -f6 [Pipeline] lock 07:43:59 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] 07:43:59 Resource [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] did not exist. Created. 07:43:59 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:44:00 + echo total: 0.2199999988079071 [Pipeline] stash 07:44:00 Stashed 1 file(s) [Pipeline] } 07:44:00 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:44:00 $ docker stop --time=1 b7222a679cf0921af842b1e362ca82f931897c38c436f3b2822e05714e92b678 07:44:01 $ docker rm -f --volumes b7222a679cf0921af842b1e362ca82f931897c38c436f3b2822e05714e92b678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:46:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4533 in /w/workspace/edgexfoundry_device-uart_PR-23 [Pipeline] { [Pipeline] ws 07:46:49 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 07:46:49 The recommended git tool is: git 07:46:56 using credential edgex-jenkins-ssh 07:46:56 Cloning the remote Git repository 07:46:56 Cloning repository git@github.com:edgexfoundry/device-uart.git 07:46:56 > git init /w/workspace/device-uart/2 # timeout=10 07:46:56 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 07:46:56 > git --version # timeout=10 07:46:57 > git --version # 'git version 2.25.1' 07:46:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 07:46:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:00 Merging remotes/origin/main commit 5a7611fe9d2266d68c2062e26c6ab482e9781192 into PR head commit c383605551135fb1a268e141f6497e4e39ec718f 07:46:59 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 07:46:59 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 07:46:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:47:00 > git config core.sparsecheckout # timeout=10 07:47:00 Merge succeeded, producing c383605551135fb1a268e141f6497e4e39ec718f 07:47:00 Checking out Revision c383605551135fb1a268e141f6497e4e39ec718f (PR-23) 07:47:00 > git checkout -f c383605551135fb1a268e141f6497e4e39ec718f # timeout=10 07:47:00 > git remote # timeout=10 07:47:00 > git config --get remote.origin.url # timeout=10 07:47:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:00 > git merge 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 07:47:00 > git rev-parse HEAD^{commit} # timeout=10 07:47:00 > git config core.sparsecheckout # timeout=10 07:47:00 > git checkout -f c383605551135fb1a268e141f6497e4e39ec718f # timeout=10 07:47:04 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:47:05 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:05 Dload Upload Total Spent Left Speed 07:47:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 07:47:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:47:06 + sudo tee /etc/docker/daemon.new 07:47:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:47:06 { 07:47:06 "registry-mirrors": [ 07:47:06 "https://nexus3.edgexfoundry.org:10001" 07:47:06 ], 07:47:06 "bip": "10.250.0.254/24", 07:47:06 "hosts": [ 07:47:06 "tcp://0.0.0.0:5555", 07:47:06 "unix:///var/run/docker.sock" 07:47:06 ], 07:47:06 "mtu": 1458, 07:47:06 "selinux-enabled": true, 07:47:06 "seccomp-profile": "/etc/docker/seccomp.json" 07:47:06 } [Pipeline] sh 07:47:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:47:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:25 provisioning config files... 07:47:25 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config10942821580520408305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:25 ---> docker-login.sh 07:47:25 nexus3.edgexfoundry.org:10001 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 nexus3.edgexfoundry.org:10002 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 nexus3.edgexfoundry.org:10003 07:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:27 Configure a credential helper to remove this warning. See 07:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:27 07:47:27 Login Succeeded 07:47:27 nexus3.edgexfoundry.org:10004 07:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:27 Configure a credential helper to remove this warning. See 07:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:27 07:47:27 Login Succeeded 07:47:27 docker.io 07:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:28 Configure a credential helper to remove this warning. See 07:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:28 07:47:28 Login Succeeded 07:47:28 ---> docker-login.sh ends [Pipeline] } 07:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:28 ========================================================= 07:47:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:47:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:47:29 Sending build context to Docker daemon 5.614MB 07:47:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:47:29 Step 2/12 : FROM ${BASE} AS builder 07:47:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:47:29 edb6bdbacee9: Pulling fs layer 07:47:29 5f9638ab2659: Pulling fs layer 07:47:29 8d51d6327a98: Pulling fs layer 07:47:29 8b374f2dd631: Pulling fs layer 07:47:29 ec14aa9079de: Pulling fs layer 07:47:29 2f466654f4bb: Pulling fs layer 07:47:29 554e91adad29: Pulling fs layer 07:47:29 8b374f2dd631: Waiting 07:47:29 ec14aa9079de: Waiting 07:47:29 2f466654f4bb: Waiting 07:47:29 554e91adad29: Waiting 07:47:29 5f9638ab2659: Verifying Checksum 07:47:29 5f9638ab2659: Download complete 07:47:29 8b374f2dd631: Verifying Checksum 07:47:29 8b374f2dd631: Download complete 07:47:29 ec14aa9079de: Verifying Checksum 07:47:29 ec14aa9079de: Download complete 07:47:29 edb6bdbacee9: Verifying Checksum 07:47:29 edb6bdbacee9: Download complete 07:47:30 edb6bdbacee9: Pull complete 07:47:31 554e91adad29: Verifying Checksum 07:47:31 554e91adad29: Download complete 07:47:31 5f9638ab2659: Pull complete 07:47:32 8d51d6327a98: Verifying Checksum 07:47:32 8d51d6327a98: Download complete 07:47:32 2f466654f4bb: Verifying Checksum 07:47:32 2f466654f4bb: Download complete 07:47:44 8d51d6327a98: Pull complete 07:47:44 8b374f2dd631: Pull complete 07:47:44 ec14aa9079de: Pull complete 07:47:51 2f466654f4bb: Pull complete 07:47:54 554e91adad29: Pull complete 07:47:54 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:47:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:47:54 ---> 1e15ea492957 07:47:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:47:56 ---> Running in da6c9b2b5919 07:47:56 Removing intermediate container da6c9b2b5919 07:47:56 ---> 78ffd4783a5d 07:47:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:47:56 ---> Running in eef4e40d3fb4 07:47:56 Removing intermediate container eef4e40d3fb4 07:47:56 ---> 93e52f7d83ea 07:47:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:47:56 ---> Running in 26bd10e9c3eb 07:47:57 Removing intermediate container 26bd10e9c3eb 07:47:57 ---> 66f5075d7773 07:47:57 Step 6/12 : WORKDIR /device-uart 07:47:57 ---> Running in 5e1ca86f5d7d 07:47:57 Removing intermediate container 5e1ca86f5d7d 07:47:57 ---> 8daf7b6cf62f 07:47:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:47:58 ---> Running in 280c4c0cc304 07:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:48:00 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:48:00 (2/4) Installing libedit (20221030.3.1-r0) 07:48:00 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:48:00 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:48:00 Executing busybox-1.35.0-r29.trigger 07:48:00 OK: 268 MiB in 57 packages 07:48:02 Removing intermediate container 280c4c0cc304 07:48:02 ---> 2660ed2e6ecb 07:48:02 Step 8/12 : COPY go.mod vendor* ./ 07:48:02 ---> 8e61c0ea1552 07:48:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:02 ---> Running in b92d3059ea7d 07:49:10 Removing intermediate container b92d3059ea7d 07:49:10 ---> 5ae4dfd93667 07:49:10 Step 10/12 : COPY . . 07:49:10 ---> 2bc4ff59db65 07:49:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:49:10 ---> Running in 2175d738e330 07:49:10 Removing intermediate container 2175d738e330 07:49:10 ---> c47271774102 07:49:10 Step 12/12 : RUN ${MAKE} 07:49:10 ---> Running in b3e8e3d6692a 07:49:10 noop 07:49:10 Removing intermediate container b3e8e3d6692a 07:49:10 ---> 02f77ab99f84 07:49:10 Successfully built 02f77ab99f84 07:49:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:10 + docker inspect -f . ci-base-image-arm64 07:49:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:11 prd-ubuntu20.04-docker-arm64-4c-16g-4533 does not seem to be running inside a container 07:49:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:49:12 $ docker top b1d9541081821cabd257504c96ce38b9e1c0f83c2af50546de1fc545dce9dd0b -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:13 + go version 07:49:13 go version go1.20.6 linux/arm64 [Pipeline] } 07:49:13 $ docker stop --time=1 b1d9541081821cabd257504c96ce38b9e1c0f83c2af50546de1fc545dce9dd0b 07:49:14 $ docker rm -f --volumes b1d9541081821cabd257504c96ce38b9e1c0f83c2af50546de1fc545dce9dd0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:15 + docker inspect -f . ci-base-image-arm64 07:49:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:15 prd-ubuntu20.04-docker-arm64-4c-16g-4533 does not seem to be running inside a container 07:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:49:16 $ docker top 16c7114acc7068aa17e6d880700dc9e706b62a46c5eb7730eeac4c8d52cf54a6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:17 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 07:49:18 + make test 07:49:18 go test ./... -coverprofile=coverage.out 07:49:56 ? github.com/edgexfoundry/device-uart [no test files] 07:52:18 ? github.com/edgexfoundry/device-uart/cmd [no test files] 07:52:18 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 07:52:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:52:18 go vet ./... 07:52:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:52:36 $ docker stop --time=1 16c7114acc7068aa17e6d880700dc9e706b62a46c5eb7730eeac4c8d52cf54a6 07:52:38 $ docker rm -f --volumes 16c7114acc7068aa17e6d880700dc9e706b62a46c5eb7730eeac4c8d52cf54a6 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:39 Warning: overwriting stash ‘coverage-report’ 07:52:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:41 + ls -al . 07:52:41 total 140 07:52:41 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 07:49 . 07:52:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:46 .. 07:52:41 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:47 .dockerignore 07:52:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:47 .git 07:52:41 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 07:47 .gitignore 07:52:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:47 .golangci.yml 07:52:41 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 07:47 Attribution.txt 07:52:41 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 07:47 Dockerfile 07:52:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:47 GOVERNANCE.md 07:52:41 -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 07:47 Jenkinsfile 07:52:41 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:47 LICENSE 07:52:41 -rw-rw-r-- 1 jenkins jenkins 1893 Aug 25 07:47 Makefile 07:52:41 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 07:47 OWNERS.md 07:52:41 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 07:47 README.md 07:52:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:41 VERSION 07:52:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:47 bin 07:52:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:47 cmd 07:52:41 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 07:49 coverage.out 07:52:41 -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 07:47 go.mod 07:52:41 -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 07:47 go.sum 07:52:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:47 internal 07:52:41 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:41 + 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=c383605551135fb1a268e141f6497e4e39ec718f --label arch=arm64 --label version=0.0.0 . 07:52:41 Sending build context to Docker daemon 5.615MB 07:52:41 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:52:41 Step 2/25 : FROM ${BASE} AS builder 07:52:41 ---> 02f77ab99f84 07:52:41 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:52:41 ---> Running in a106fcf3fb95 07:52:41 Removing intermediate container a106fcf3fb95 07:52:41 ---> 297094e48504 07:52:41 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:52:42 ---> Running in 063add37f5b3 07:52:42 Removing intermediate container 063add37f5b3 07:52:42 ---> e5835f865ebe 07:52:42 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:52:42 ---> Running in e953e4f8890a 07:52:42 Removing intermediate container e953e4f8890a 07:52:42 ---> 25f7500b45bb 07:52:42 Step 6/25 : WORKDIR /device-uart 07:52:42 ---> Running in 8d7d17e51b3a 07:52:43 Removing intermediate container 8d7d17e51b3a 07:52:43 ---> 64adc424abc0 07:52:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:52:43 ---> Running in 4e6631580b2e 07:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:52:45 OK: 268 MiB in 57 packages 07:52:46 Removing intermediate container 4e6631580b2e 07:52:46 ---> 99f21034cee0 07:52:46 Step 8/25 : COPY go.mod vendor* ./ 07:52:47 ---> c2e6ca4eab3a 07:52:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:47 ---> Running in 973bc3710af3 07:52:49 Removing intermediate container 973bc3710af3 07:52:49 ---> eeed2c5cdb79 07:52:49 Step 10/25 : COPY . . 07:52:50 ---> 00c0f2d13733 07:52:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:50 ---> Running in d52ce4b2e4b5 07:52:50 Removing intermediate container d52ce4b2e4b5 07:52:50 ---> b840b726c309 07:52:50 Step 12/25 : RUN ${MAKE} 07:52:50 ---> Running in 5634cc8faf31 07:52:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 07:55:28 Removing intermediate container 5634cc8faf31 07:55:28 ---> bef0c7dc2201 07:55:28 Step 13/25 : FROM alpine:3.17 07:55:28 3.17: Pulling from library/alpine 07:55:28 4060ece20d7a: Pulling fs layer 07:55:28 4060ece20d7a: Verifying Checksum 07:55:28 4060ece20d7a: Download complete 07:55:28 4060ece20d7a: Pull complete 07:55:28 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:55:28 Status: Downloaded newer image for alpine:3.17 07:55:28 ---> 8650cd65339b 07:55:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:55:28 ---> Running in 300b107352bc 07:55:28 Removing intermediate container 300b107352bc 07:55:28 ---> f61027e50a85 07:55:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:55:28 ---> Running in 01dc82e444dc 07:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:55:29 (1/1) Installing dumb-init (1.2.5-r2) 07:55:29 Executing busybox-1.35.0-r29.trigger 07:55:29 OK: 8 MiB in 16 packages 07:55:30 Removing intermediate container 01dc82e444dc 07:55:30 ---> 6e02b5e7f65f 07:55:30 Step 16/25 : WORKDIR / 07:55:30 ---> Running in 730f70099d90 07:55:30 Removing intermediate container 730f70099d90 07:55:30 ---> 5cf9d35aa6c8 07:55:30 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 07:55:31 ---> 3abf77843165 07:55:31 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 07:55:31 ---> 20f4a648115e 07:55:31 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 07:55:33 ---> 274a07aec793 07:55:33 Step 20/25 : EXPOSE 59995 07:55:33 ---> Running in d6bca4950ccc 07:55:33 Removing intermediate container d6bca4950ccc 07:55:33 ---> e7cd7eeb1c5c 07:55:33 Step 21/25 : ENTRYPOINT ["/device-uart"] 07:55:33 ---> Running in 7389f4750580 07:55:34 Removing intermediate container 7389f4750580 07:55:34 ---> 23cc0343f979 07:55:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:55:34 ---> Running in 6f3651105986 07:55:34 Removing intermediate container 6f3651105986 07:55:34 ---> a7ad1f452336 07:55:34 Step 23/25 : LABEL arch=arm64 07:55:34 ---> Running in 8a1fa50e91c5 07:55:35 Removing intermediate container 8a1fa50e91c5 07:55:35 ---> f3f442576507 07:55:35 Step 24/25 : LABEL git_sha=c383605551135fb1a268e141f6497e4e39ec718f 07:55:35 ---> Running in fb576fd52cf6 07:55:35 Removing intermediate container fb576fd52cf6 07:55:35 ---> 2832ef4a4968 07:55:35 Step 25/25 : LABEL version=0.0.0 07:55:35 ---> Running in 8d650c2b34a4 07:55:35 Removing intermediate container 8d650c2b34a4 07:55:35 ---> 63bdf8c8058b 07:55:35 [Warning] One or more build-args [ARCH] were not consumed 07:55:35 Successfully built 63bdf8c8058b 07:55:35 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:36 07:55:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:36 arm64: Pulling from edgex-lftools-log-publisher 07:55:36 8998bd30e6a1: Pulling fs layer 07:55:36 04944245beec: Pulling fs layer 07:55:36 699f458cf7ca: Pulling fs layer 07:55:36 765212b225bb: Pulling fs layer 07:55:36 f23df028b6ca: Pulling fs layer 07:55:36 d65c8cfc05b1: Pulling fs layer 07:55:36 2437ff75d9bd: Pulling fs layer 07:55:36 f23df028b6ca: Waiting 07:55:36 d65c8cfc05b1: Waiting 07:55:36 2437ff75d9bd: Waiting 07:55:36 765212b225bb: Waiting 07:55:36 04944245beec: Verifying Checksum 07:55:36 04944245beec: Download complete 07:55:36 765212b225bb: Verifying Checksum 07:55:36 765212b225bb: Download complete 07:55:36 f23df028b6ca: Verifying Checksum 07:55:36 f23df028b6ca: Download complete 07:55:37 d65c8cfc05b1: Verifying Checksum 07:55:37 d65c8cfc05b1: Download complete 07:55:37 699f458cf7ca: Verifying Checksum 07:55:37 699f458cf7ca: Download complete 07:55:37 8998bd30e6a1: Verifying Checksum 07:55:37 8998bd30e6a1: Download complete 07:55:40 2437ff75d9bd: Verifying Checksum 07:55:40 2437ff75d9bd: Download complete 07:55:41 8998bd30e6a1: Pull complete 07:55:43 04944245beec: Pull complete 07:55:45 699f458cf7ca: Pull complete 07:55:45 765212b225bb: Pull complete 07:55:46 f23df028b6ca: Pull complete 07:55:46 d65c8cfc05b1: Pull complete 07:56:01 2437ff75d9bd: Pull complete 07:56:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:01 prd-ubuntu20.04-docker-arm64-4c-16g-4533 does not seem to be running inside a container 07:56:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:56:04 $ docker top 47df5329bfa6ba34ba78add37e794f7a47a477808b017a7308b8a9b90012093c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:05 ---> job-cost.sh 07:56:05 lf-activate-venv: SKIPPING 07:56:05 INFO: No Stack... 07:56:05 INFO: Retrieving Pricing Info for: v3-standard-4 07:56:06 INFO: Archiving Costs [Pipeline] sh 07:56:07 + + cat /w/workspace/device-uart/2/archives/cost.csv 07:56:07 cut -d, -f6 [Pipeline] lock 07:56:07 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] 07:56:07 Resource [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] did not exist. Created. 07:56:07 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:07 /w/workspace/device-uart/2@tmp/durable-3fb49b44/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:56:08 + echo total: 0.10999999940395355 [Pipeline] stash 07:56:08 Warning: overwriting stash ‘stack-cost’ 07:56:08 Stashed 1 file(s) [Pipeline] } 07:56:08 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-23-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:08 $ docker stop --time=1 47df5329bfa6ba34ba78add37e794f7a47a477808b017a7308b8a9b90012093c 07:56:10 $ docker rm -f --volumes 47df5329bfa6ba34ba78add37e794f7a47a477808b017a7308b8a9b90012093c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:56:10 provisioning config files... 07:56:10 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config2400018391451308089tmp [Pipeline] { [Pipeline] sh 07:56:10 + set +x 07:56:10 + + curl -sbash https://codecov.io/bash -s 07:56:10 -- 07:56:10 07:56:10 _____ _ 07:56:10 / ____| | | 07:56:10 | | ___ __| | ___ ___ _____ __ 07:56:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:10 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:10 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:10 Bash-1.0.6 07:56:10 07:56:10 07:56:10 ==> git version 2.25.1 found 07:56:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:56:10 Release-Date: 2020-01-08 07:56:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:56:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:56:10 ==> Jenkins CI detected. 07:56:10 current dir:  /w/workspace/edgexfoundry_device-uart_PR-23 07:56:10 project root: . 07:56:10 --> token set from env 07:56:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:56:10 ==> Running gcov in . (disable via -X gcov) 07:56:10 ==> Python coveragepy not found 07:56:10 ==> Searching for coverage reports in: 07:56:10 + . 07:56:10 -> Found 1 reports 07:56:10 ==> Detecting git/mercurial file structure 07:56:10 ==> Reading reports 07:56:10 + ./coverage.out bytes=10 07:56:10 ==> Appending adjustments 07:56:10 https://docs.codecov.io/docs/fixing-reports 07:56:11 + Found adjustments 07:56:11 ==> Gzipping contents 07:56:11 4.0K /tmp/codecov.VpyRQi.gz 07:56:11 ==> Uploading reports 07:56:11 url: https://codecov.io 07:56:11 query: branch=PR-23&commit=c383605551135fb1a268e141f6497e4e39ec718f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-23%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=23&job=&cmd_args= 07:56:11 -> Pinging Codecov 07:56:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-23&commit=c383605551135fb1a268e141f6497e4e39ec718f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-23%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=23&job=&cmd_args= 07:56:11 -> Uploading to 07:56:11 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/B9AA6E0BBD74AE3A32605C7A7C664919/c383605551135fb1a268e141f6497e4e39ec718f/df328f9c-1110-4bc2-ab00-d70824542165.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T075611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54044e0be6cfb272f15fe0960f409afbe3431f0641a65cf670abeadf4a96f5b8 07:56:11 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:11 Dload Upload Total Spent Left Speed 07:56:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3224 --:--:-- --:--:-- --:--:-- 3224 07:56:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c383605551135fb1a268e141f6497e4e39ec718f [Pipeline] } 07:56:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:56:12 + [ -d /w/workspace/edgexfoundry_device-uart_PR-23/archives ] 07:56:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-23/archives 07:56:12 total 16 07:56:12 drwxr-xr-x 3 root root 4096 Aug 25 07:43 . 07:56:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:43 .. 07:56:12 drwxr-xr-x 2 root root 4096 Aug 25 07:43 cost 07:56:12 -rw-r--r-- 1 root root 82 Aug 25 07:43 cost.csv 07:56:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-23/archives 07:56:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-23/archives 07:56:12 total 16 07:56:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:43 . 07:56:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:43 .. 07:56:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:43 cost 07:56:12 -rw-r--r-- 1 jenkins jenkins 82 Aug 25 07:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:56:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:13 ---> package-listing.sh 07:56:13 ++ tr '[:upper:]' '[:lower:]' 07:56:13 ++ facter osfamily 07:56:14 + OS_FAMILY=debian 07:56:14 + workspace=/w/workspace/edgexfoundry_device-uart_PR-23 07:56:14 + START_PACKAGES=/tmp/packages_start.txt 07:56:14 + END_PACKAGES=/tmp/packages_end.txt 07:56:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:14 + PACKAGES=/tmp/packages_start.txt 07:56:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-23 ']' 07:56:14 + PACKAGES=/tmp/packages_end.txt 07:56:14 + case "${OS_FAMILY}" in 07:56:14 + dpkg -l 07:56:14 + grep '^ii' 07:56:14 + '[' -f /tmp/packages_start.txt ']' 07:56:14 + '[' -f /tmp/packages_end.txt ']' 07:56:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:56:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-23 ']' 07:56:14 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-23/archives/ 07:56:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-23/archives/ [Pipeline] echo 07:56:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:56:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:15 prd-ubuntu20.04-docker-8c-8g-4531 does not seem to be running inside a container 07:56:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:56:15 $ docker top 93bb636114a90197993319c335119775317e71c5b2973fa54e1efb65a581486b -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:16 + touch /tmp/pre-build-complete [Pipeline] sh 07:56:16 + mkdir -p /var/log/sysstat [Pipeline] sh 07:56:16 + ls /var/log/sa-host 07:56:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:16 provisioning config files... 07:56:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config2895905003382282019tmp [Pipeline] { [Pipeline] echo 07:56:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:56:17 ---> create-netrc.sh [Pipeline] } 07:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:56:17 ---> python-tools-install.sh [Pipeline] echo 07:56:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:56:17 ---> sudo-logs.sh 07:56:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:56:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:56:18 ---> job-cost.sh 07:56:18 lf-activate-venv: SKIPPING 07:56:18 DEBUG: total: 0.2199999988079071 07:56:18 INFO: Retrieving Stack Cost... 07:56:18 INFO: Retrieving Pricing Info for: v3-standard-8 07:56:18 INFO: Archiving Costs [Pipeline] echo 07:56:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:56:19 ---> logs-deploy.sh 07:56:19 lf-activate-venv: SKIPPING 07:56:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-23/2 07:56:19 INFO: archiving workspace using pattern(s): 07:56:20 Archives upload complete. 07:56:20 INFO: archiving logs to Nexus