Pull request #17 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 lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from 961b04c484ae7ee32964ea9c521ab6f71bf778fb+912115ba39df5d7e09033252c264c743a8c85b42 (c370c46494fbec545f8c34839f31e14b09733371) 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-ssh4069964822507474596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1843147040576783892.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-17/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-17/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3701867151159614679.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6118828447046058164.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-17/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-17/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10788299073054272941.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-950 in /w/workspace/edgexfoundry_device-uart_PR-17 [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-17 # 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/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit 961b04c484ae7ee32964ea9c521ab6f71bf778fb Merge succeeded, producing 961b04c484ae7ee32964ea9c521ab6f71bf778fb Checking out Revision 961b04c484ae7ee32964ea9c521ab6f71bf778fb (PR-17) > git config core.sparsecheckout # timeout=10 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # 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 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 Commit message: "fix: Removed modules no longer used from Attribution.txt" > git rev-list --no-walk 2b43ba120907d28d254fceb2e80a063f0a71faeb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:00:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:00:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:00:41 ========================================================= 15:00:41 EdgeX Global Pipelines Version Info 15:00:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:00:42 ------------------- 15:00:42 stable info: 15:00:42 ------------------- 15:00:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:00:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:00:42 Message: update stable to v1.0.250 15:00:43 ------------------- 15:00:43 experimental info: 15:00:43 ------------------- 15:00:43 Commited By: **** collab-it+edgex@linuxfoundation.org 15:00:43 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:00:43 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-17 [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-17 [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-17 [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 961b04c484ae7ee32964ea9c521ab6f71bf778fb [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 961b04c [Pipeline] echo 15:00:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:43 provisioning config files... 15:00:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config2407091026865874125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:44 ---> docker-login.sh 15:00:44 nexus3.edgexfoundry.org:10001 15:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:44 Configure a credential helper to remove this warning. See 15:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:44 15:00:44 Login Succeeded 15:00:44 nexus3.edgexfoundry.org:10002 15:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:44 Configure a credential helper to remove this warning. See 15:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:44 15:00:44 Login Succeeded 15:00:44 nexus3.edgexfoundry.org:10003 15:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:44 Configure a credential helper to remove this warning. See 15:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:44 15:00:44 Login Succeeded 15:00:44 nexus3.edgexfoundry.org:10004 15:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:45 Configure a credential helper to remove this warning. See 15:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:45 15:00:45 Login Succeeded 15:00:45 docker.io 15:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:45 Configure a credential helper to remove this warning. See 15:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:45 15:00:45 Login Succeeded 15:00:45 ---> docker-login.sh ends [Pipeline] } 15:00:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:00:45 + git rev-list -1 --merges 961b04c484ae7ee32964ea9c521ab6f71bf778fb~1..961b04c484ae7ee32964ea9c521ab6f71bf778fb [Pipeline] echo 15:00:45 -----------> git rev-list -1 --merges 961b04c484ae7ee32964ea9c521ab6f71bf778fb~1..961b04c484ae7ee32964ea9c521ab6f71bf778fb 961b04c484ae7ee32964ea9c521ab6f71bf778fb [false] [Pipeline] sh 15:00:46 + git log --format=format:%s -1 961b04c484ae7ee32964ea9c521ab6f71bf778fb [Pipeline] echo 15:00:46 ========================================================= 15:00:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:00:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:00:46 + git log --format=format:%s -1 961b04c484ae7ee32964ea9c521ab6f71bf778fb [Pipeline] echo 15:00:46 [semverPrep] GIT_COMMIT: 961b04c484ae7ee32964ea9c521ab6f71bf778fb, Commit Message: fix: Removed modules no longer used from Attribution.txt [Pipeline] echo 15:00:46 [semverPrep] This is not a build commit. [Pipeline] sh 15:00:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:00:46 + grep -v github /etc/ssh/ssh_known_hosts 15:00:46 + [ -e /tmp/ssh_known_hosts ] 15:00:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:00:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:00:46 + sudo tee -a /etc/ssh/ssh_known_hosts 15:00:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:47 15:00:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:47 0.1.4: Pulling from edgex-devops/py-git-semver 15:00:47 b85a868b505f: Pulling fs layer 15:00:47 e2be974225ed: Pulling fs layer 15:00:47 339a4e72a1f5: Pulling fs layer 15:00:47 988bab9f4d93: Pulling fs layer 15:00:47 1469e6f7b9e6: Pulling fs layer 15:00:47 eaf3925da568: Pulling fs layer 15:00:47 bab4dde63d76: Pulling fs layer 15:00:47 bde34c3a00c8: Pulling fs layer 15:00:47 b352a97aabf1: Pulling fs layer 15:00:47 4872d77fe225: Pulling fs layer 15:00:47 5851b861e8e6: Pulling fs layer 15:00:47 eaf3925da568: Waiting 15:00:47 bab4dde63d76: Waiting 15:00:47 5851b861e8e6: Waiting 15:00:47 bde34c3a00c8: Waiting 15:00:47 b352a97aabf1: Waiting 15:00:47 4872d77fe225: Waiting 15:00:47 988bab9f4d93: Waiting 15:00:47 1469e6f7b9e6: Waiting 15:00:47 e2be974225ed: Download complete 15:00:47 988bab9f4d93: Download complete 15:00:47 1469e6f7b9e6: Verifying Checksum 15:00:47 1469e6f7b9e6: Download complete 15:00:47 eaf3925da568: Verifying Checksum 15:00:47 eaf3925da568: Download complete 15:00:47 339a4e72a1f5: Verifying Checksum 15:00:47 339a4e72a1f5: Download complete 15:00:47 bde34c3a00c8: Download complete 15:00:47 b352a97aabf1: Verifying Checksum 15:00:47 b352a97aabf1: Download complete 15:00:47 4872d77fe225: Verifying Checksum 15:00:47 4872d77fe225: Download complete 15:00:47 5851b861e8e6: Download complete 15:00:47 b85a868b505f: Verifying Checksum 15:00:47 b85a868b505f: Download complete 15:00:48 bab4dde63d76: Verifying Checksum 15:00:48 bab4dde63d76: Download complete 15:00:48 b85a868b505f: Pull complete 15:00:48 e2be974225ed: Pull complete 15:00:49 339a4e72a1f5: Pull complete 15:00:49 988bab9f4d93: Pull complete 15:00:49 1469e6f7b9e6: Pull complete 15:00:49 eaf3925da568: Pull complete 15:00:51 bab4dde63d76: Pull complete 15:00:51 bde34c3a00c8: Pull complete 15:00:51 b352a97aabf1: Pull complete 15:00:51 4872d77fe225: Pull complete 15:00:51 5851b861e8e6: Pull complete 15:00:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:00:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:52 prd-ubuntu20.04-docker-8c-8g-950 does not seem to be running inside a container 15:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:00:54 $ docker top 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 -eo pid,comm 15:00:55 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). 15:00:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:00:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:55 [ssh-agent] Looking for ssh-agent implementation... 15:00:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:55 $ docker exec 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 ssh-agent 15:00:55 SSH_AUTH_SOCK=/tmp/ssh-sLJQ46sq6Plj/agent.32 15:00:55 SSH_AGENT_PID=39 15:00:55 Running ssh-add (command line suppressed) 15:00:55 Identity added: /w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_14027751561606281758.key (/w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_14027751561606281758.key) 15:00:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:55 + git tag --points-at HEAD [Pipeline] } 15:00:55 $ docker exec --env ******** --env ******** 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 ssh-agent -k 15:00:55 unset SSH_AUTH_SOCK; 15:00:55 unset SSH_AGENT_PID; 15:00:55 echo Agent pid 39 killed; 15:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:00:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:55 [ssh-agent] Looking for ssh-agent implementation... 15:00:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:56 $ docker exec 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 ssh-agent 15:00:56 SSH_AUTH_SOCK=/tmp/ssh-7NwAcVW1NWfP/agent.72 15:00:56 SSH_AGENT_PID=79 15:00:56 Running ssh-add (command line suppressed) 15:00:56 Identity added: /w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_10011156826528100383.key (/w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_10011156826528100383.key) 15:00:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:56 + git semver init 15:00:56 2023-07-12 15:00:56,718 [run_init] DEBUG init version:0.0.0 force:False 15:00:56 2023-07-12 15:00:56,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-17/.semver 15:00:56 2023-07-12 15:00:56,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-17/.semver 15:00:56 2023-07-12 15:00:56,719 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-17/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17, universal_newlines=False, shell=None, istream=None) 15:00:57 2023-07-12 15:00:57,552 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-17/.git/info/exclude 15:00:57 2023-07-12 15:00:57,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 with force:False 15:00:57 2023-07-12 15:00:57,553 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 15:00:57 2023-07-12 15:00:57,557 [execute] INFO git cat-file --batch-check 15:00:57 2023-07-12 15:00:57,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17/.semver, universal_newlines=False, shell=None, istream=) 15:00:57 2023-07-12 15:00:57,563 [execute] INFO git cat-file --batch 15:00:57 2023-07-12 15:00:57,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17/.semver, universal_newlines=False, shell=None, istream=) 15:00:57 2023-07-12 15:00:57,569 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 15:00:57 0.0.0 [Pipeline] } 15:00:57 $ docker exec --env ******** --env ******** 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 ssh-agent -k 15:00:57 unset SSH_AUTH_SOCK; 15:00:57 unset SSH_AGENT_PID; 15:00:57 echo Agent pid 79 killed; 15:00:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:00:58 + git semver [Pipeline] } 15:00:58 $ docker stop --time=1 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 15:00:59 $ docker rm -f --volumes 12265f4741e326ff882bfdb4e973c4a55e4da53d91a8f54d3a3f4d7ceebf4095 [Pipeline] // withDockerContainer [Pipeline] sh 15:01:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:01:00 Stashed 1 file(s) [Pipeline] echo 15:01:00 [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 15:01:00 provisioning config files... 15:01:00 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config13405042929463348590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:00 ---> docker-login.sh 15:01:00 nexus3.edgexfoundry.org:10001 15:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:00 Configure a credential helper to remove this warning. See 15:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:00 15:01:00 Login Succeeded 15:01:00 nexus3.edgexfoundry.org:10002 15:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:00 Configure a credential helper to remove this warning. See 15:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:00 15:01:00 Login Succeeded 15:01:00 nexus3.edgexfoundry.org:10003 15:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:01 Configure a credential helper to remove this warning. See 15:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:01 15:01:01 Login Succeeded 15:01:01 nexus3.edgexfoundry.org:10004 15:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:01 Configure a credential helper to remove this warning. See 15:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:01 15:01:01 Login Succeeded 15:01:01 docker.io 15:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:01 Configure a credential helper to remove this warning. See 15:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:01 15:01:01 Login Succeeded 15:01:01 ---> docker-login.sh ends [Pipeline] } 15:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:01 ========================================================= 15:01:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:01:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:01 + 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 . 15:01:01 Sending build context to Docker daemon 11.09MB 15:01:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:01:01 Step 2/12 : FROM ${BASE} AS builder 15:01:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:01:01 f56be85fc22e: Pulling fs layer 15:01:01 85791d961cd3: Pulling fs layer 15:01:01 d694b5ae8c79: Pulling fs layer 15:01:01 9f32a84ed3da: Pulling fs layer 15:01:01 4d19c01a9841: Pulling fs layer 15:01:01 9325e15d5711: Pulling fs layer 15:01:01 556b6ee489ea: Pulling fs layer 15:01:01 c5a4b2cf53e6: Pulling fs layer 15:01:01 9f32a84ed3da: Waiting 15:01:01 4d19c01a9841: Waiting 15:01:01 9325e15d5711: Waiting 15:01:01 556b6ee489ea: Waiting 15:01:01 c5a4b2cf53e6: Waiting 15:01:01 85791d961cd3: Verifying Checksum 15:01:01 85791d961cd3: Download complete 15:01:01 9f32a84ed3da: Verifying Checksum 15:01:01 9f32a84ed3da: Download complete 15:01:01 4d19c01a9841: Download complete 15:01:02 f56be85fc22e: Verifying Checksum 15:01:02 f56be85fc22e: Download complete 15:01:02 9325e15d5711: Verifying Checksum 15:01:02 9325e15d5711: Download complete 15:01:02 f56be85fc22e: Pull complete 15:01:02 85791d961cd3: Pull complete 15:01:02 c5a4b2cf53e6: Verifying Checksum 15:01:02 c5a4b2cf53e6: Download complete 15:01:02 d694b5ae8c79: Verifying Checksum 15:01:02 d694b5ae8c79: Download complete 15:01:03 556b6ee489ea: Verifying Checksum 15:01:03 556b6ee489ea: Download complete 15:01:06 d694b5ae8c79: Pull complete 15:01:06 9f32a84ed3da: Pull complete 15:01:06 4d19c01a9841: Pull complete 15:01:06 9325e15d5711: Pull complete 15:01:08 556b6ee489ea: Pull complete 15:01:09 c5a4b2cf53e6: Pull complete 15:01:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:01:09 ---> c4be618373d6 15:01:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:01:14 ---> Running in 7d3ed287fcbc 15:01:14 Removing intermediate container 7d3ed287fcbc 15:01:14 ---> d605e49b354f 15:01:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:01:14 ---> Running in 2e68eb583e7c 15:01:14 Removing intermediate container 2e68eb583e7c 15:01:14 ---> db2eaaed8839 15:01:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:01:14 ---> Running in d608933a84af 15:01:14 Removing intermediate container d608933a84af 15:01:14 ---> 2e89970e0841 15:01:14 Step 6/12 : WORKDIR /device-uart 15:01:14 ---> Running in 70b2a726bdf5 15:01:14 Removing intermediate container 70b2a726bdf5 15:01:14 ---> 033475e29f6c 15:01:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:01:14 ---> Running in 71619ec7af57 15:01:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:01:15 Still waiting to schedule task 15:01:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:01:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:01:15 (2/4) Installing libedit (20221030.3.1-r0) 15:01:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:01:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:01:15 Executing busybox-1.35.0-r29.trigger 15:01:15 OK: 269 MiB in 57 packages 15:01:16 Removing intermediate container 71619ec7af57 15:01:16 ---> a9f0cd93cbf7 15:01:16 Step 8/12 : COPY go.mod vendor* ./ 15:01:16 ---> af8de08615ae 15:01:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:01:16 ---> Running in 422daaa5af73 15:02:02 Removing intermediate container 422daaa5af73 15:02:02 ---> a4f33c9e0088 15:02:02 Step 10/12 : COPY . . 15:02:02 ---> ae47ae84c031 15:02:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:02:02 ---> Running in e3e800fa15bc 15:02:02 Removing intermediate container e3e800fa15bc 15:02:02 ---> b2e711e35edf 15:02:02 Step 12/12 : RUN ${MAKE} 15:02:02 ---> Running in f8af54957680 15:02:02 noop 15:02:02 Removing intermediate container f8af54957680 15:02:02 ---> 39b7988118e2 15:02:02 Successfully built 39b7988118e2 15:02:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:03 + docker inspect -f . ci-base-image-x86_64 15:02:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:03 prd-ubuntu20.04-docker-8c-8g-950 does not seem to be running inside a container 15:02:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** ci-base-image-x86_64 cat 15:02:03 $ docker top 14ffc715fe42945abc9ef3f196f80be81bbc1f7cba4fa409fb55b997ba66b0f1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:04 + go version 15:02:04 go version go1.20.2 linux/amd64 [Pipeline] } 15:02:04 $ docker stop --time=1 14ffc715fe42945abc9ef3f196f80be81bbc1f7cba4fa409fb55b997ba66b0f1 15:02:05 $ docker rm -f --volumes 14ffc715fe42945abc9ef3f196f80be81bbc1f7cba4fa409fb55b997ba66b0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:05 + docker inspect -f . ci-base-image-x86_64 15:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:05 prd-ubuntu20.04-docker-8c-8g-950 does not seem to be running inside a container 15:02:05 $ 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-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** ci-base-image-x86_64 cat 15:02:06 $ docker top c7ac8592ef124559f284f9270c0ceaca478874f41c0b6df1916d026f57ccb9d3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-17 [Pipeline] fileExists [Pipeline] sh 15:02:06 + make test 15:02:06 go test ./... -coverprofile=coverage.out 15:02:12 ? github.com/edgexfoundry/device-uart [no test files] 15:02:22 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:02:22 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:02:27 go vet ./... 15:02:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:02:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:02:31 ./bin/test-attribution-txt.sh [Pipeline] echo 15:02:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:02:31 $ docker stop --time=1 c7ac8592ef124559f284f9270c0ceaca478874f41c0b6df1916d026f57ccb9d3 15:02:35 $ docker rm -f --volumes c7ac8592ef124559f284f9270c0ceaca478874f41c0b6df1916d026f57ccb9d3 [Pipeline] // withDockerContainer [Pipeline] sh 15:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:02:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:02:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:02:36 + ls -al . 15:02:36 total 140 15:02:36 drwxrwxr-x 7 jenkins jenkins 4096 Jul 12 15:02 . 15:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 15:00 .. 15:02:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 15:00 .dockerignore 15:02:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 15:00 .git 15:02:36 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 15:00 .gitignore 15:02:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 15:00 .golangci.yml 15:02:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 15:00 .semver 15:02:36 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 12 15:00 Attribution.txt 15:02:36 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 12 15:00 Dockerfile 15:02:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 15:00 GOVERNANCE.md 15:02:36 -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 15:00 Jenkinsfile 15:02:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 15:00 LICENSE 15:02:36 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 12 15:00 Makefile 15:02:36 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 15:00 OWNERS.md 15:02:36 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 12 15:00 README.md 15:02:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 15:01 VERSION 15:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 15:00 bin 15:02:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 15:00 cmd 15:02:36 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 15:02 coverage.out 15:02:36 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 12 15:00 go.mod 15:02:36 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 12 15:00 go.sum 15:02:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 15:00 internal 15:02:36 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 15:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:36 + 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=961b04c484ae7ee32964ea9c521ab6f71bf778fb --label arch=amd64 --label version=0.0.0 . 15:02:36 Sending build context to Docker daemon 11.09MB 15:02:36 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:02:36 Step 2/25 : FROM ${BASE} AS builder 15:02:36 ---> 39b7988118e2 15:02:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:02:36 ---> Running in 219bd5976b1e 15:02:36 Removing intermediate container 219bd5976b1e 15:02:36 ---> 04ef445e8fd9 15:02:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:02:36 ---> Running in 2ae25feea692 15:02:36 Removing intermediate container 2ae25feea692 15:02:36 ---> cab47169aba6 15:02:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:02:36 ---> Running in 40d4a7cfe102 15:02:37 Removing intermediate container 40d4a7cfe102 15:02:37 ---> e3bab443d71e 15:02:37 Step 6/25 : WORKDIR /device-uart 15:02:37 ---> Running in 523645aaa75b 15:02:37 Removing intermediate container 523645aaa75b 15:02:37 ---> c2ed0264df22 15:02:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:02:37 ---> Running in 3f6e225ae43a 15:02:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:02:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:02:37 OK: 269 MiB in 57 packages 15:02:38 Removing intermediate container 3f6e225ae43a 15:02:38 ---> 1fa87340e504 15:02:38 Step 8/25 : COPY go.mod vendor* ./ 15:02:38 ---> ceec0db6f835 15:02:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:38 ---> Running in d5bd6158139c 15:02:39 Removing intermediate container d5bd6158139c 15:02:39 ---> 0043bd236efb 15:02:39 Step 10/25 : COPY . . 15:02:39 ---> e03af13ac30d 15:02:39 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:02:39 ---> Running in 3730b02da25c 15:02:39 Removing intermediate container 3730b02da25c 15:02:39 ---> 77bf01c46991 15:02:39 Step 12/25 : RUN ${MAKE} 15:02:39 ---> Running in 9f18bb69b118 15:02:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 15:02:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-951 in /w/workspace/edgexfoundry_device-uart_PR-17 [Pipeline] { [Pipeline] ws 15:02:49 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 15:02:49 The recommended git tool is: git 15:02:54 using credential edgex-jenkins-ssh 15:02:54 Cloning the remote Git repository 15:02:54 Cloning repository git@github.com:edgexfoundry/device-uart.git 15:02:54 > git init /w/workspace/device-uart/2 # timeout=10 15:02:54 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:02:54 > git --version # timeout=10 15:02:54 > git --version # 'git version 2.25.1' 15:02:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:02:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:02:56 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:02:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:02:56 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:02:56 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:02:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:02:57 Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit 961b04c484ae7ee32964ea9c521ab6f71bf778fb 15:02:57 Merge succeeded, producing 961b04c484ae7ee32964ea9c521ab6f71bf778fb 15:02:57 Checking out Revision 961b04c484ae7ee32964ea9c521ab6f71bf778fb (PR-17) 15:02:57 > git config core.sparsecheckout # timeout=10 15:02:57 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 15:02:57 > git remote # timeout=10 15:02:57 > git config --get remote.origin.url # timeout=10 15:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:02:57 > git merge 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 15:02:57 > git rev-parse HEAD^{commit} # timeout=10 15:02:57 > git config core.sparsecheckout # timeout=10 15:02:57 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 15:03:01 Commit message: "fix: Removed modules no longer used from Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:03:01 Removing intermediate container 9f18bb69b118 15:03:01 ---> 1ccfd2e15f99 15:03:01 Step 13/25 : FROM alpine:3.17 15:03:01 3.17: Pulling from library/alpine 15:03:01 4db1b89c0bd1: Pulling fs layer 15:03:01 4db1b89c0bd1: Verifying Checksum 15:03:01 4db1b89c0bd1: Download complete 15:03:01 4db1b89c0bd1: Pull complete 15:03:01 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:03:01 Status: Downloaded newer image for alpine:3.17 15:03:01 ---> 1f73a9d63274 15:03:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:03:01 ---> Running in bca3d5ebd328 15:03:01 Removing intermediate container bca3d5ebd328 15:03:01 ---> cb4b3327752f 15:03:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:03:01 ---> Running in 3b0cc0aefcf0 15:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:03:01 (1/1) Installing dumb-init (1.2.5-r2) 15:03:01 Executing busybox-1.35.0-r29.trigger 15:03:01 OK: 7 MiB in 16 packages 15:03:01 Removing intermediate container 3b0cc0aefcf0 15:03:01 ---> 740d1f159aa2 15:03:01 Step 16/25 : WORKDIR / 15:03:01 ---> Running in c7f13ea6179d 15:03:01 Removing intermediate container c7f13ea6179d 15:03:01 ---> 7d94ebf9390f 15:03:01 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 15:03:01 ---> b1f260f10bbe 15:03:01 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 15:03:01 ---> 21a61108207d 15:03:01 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 15:03:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:03:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:03:02 Dload Upload Total Spent Left Speed 15:03:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71234 0 --:--:-- --:--:-- --:--:-- 71234 15:03:02 ---> 0c3229df3d24 15:03:02 Step 20/25 : EXPOSE 59995 15:03:02 ---> Running in 5330ecd37ea2 15:03:02 Removing intermediate container 5330ecd37ea2 15:03:02 ---> 025eb7320f26 15:03:02 Step 21/25 : ENTRYPOINT ["/device-uart"] 15:03:02 ---> Running in 919212e9010c 15:03:02 Removing intermediate container 919212e9010c 15:03:02 ---> 2b06d7875baa 15:03:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:03:02 ---> Running in e4560657d961 15:03:02 Removing intermediate container e4560657d961 15:03:02 ---> 79fbd0bca0f0 15:03:02 Step 23/25 : LABEL arch=amd64 [Pipeline] sh 15:03:02 ---> Running in cd8268253fd9 15:03:02 Removing intermediate container cd8268253fd9 15:03:02 ---> 76a63274d308 15:03:02 Step 24/25 : LABEL git_sha=961b04c484ae7ee32964ea9c521ab6f71bf778fb 15:03:02 ---> Running in 2e79830a5a48 15:03:02 Removing intermediate container 2e79830a5a48 15:03:02 ---> b4efd2e5aa3e 15:03:02 Step 25/25 : LABEL version=0.0.0 15:03:02 ---> Running in d1568ba34c40 15:03:02 Removing intermediate container d1568ba34c40 15:03:02 ---> 0d26ab5f1832 15:03:02 [Warning] One or more build-args [ARCH] were not consumed 15:03:02 Successfully built 0d26ab5f1832 15:03:02 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 15:03:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:03 15:03:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:03 + sudo tee /etc/docker/daemon.new 15:03:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:03:03 { 15:03:03 "registry-mirrors": [ 15:03:03 "https://nexus3.edgexfoundry.org:10001" 15:03:03 ], 15:03:03 "bip": "10.250.0.254/24", 15:03:03 "hosts": [ 15:03:03 "tcp://0.0.0.0:5555", 15:03:03 "unix:///var/run/docker.sock" 15:03:03 ], 15:03:03 "mtu": 1458, 15:03:03 "selinux-enabled": true, 15:03:03 "seccomp-profile": "/etc/docker/seccomp.json" 15:03:03 } [Pipeline] sh 15:03:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:03 latest: Pulling from edgex-lftools-log-publisher 15:03:03 5eb5b503b376: Pulling fs layer 15:03:03 5c69ac0246d0: Pulling fs layer 15:03:03 ec43610c2a17: Pulling fs layer 15:03:03 3a2ae6a8a46f: Pulling fs layer 15:03:03 33b1e0a273af: Pulling fs layer 15:03:03 5d3b04190fa2: Pulling fs layer 15:03:03 2f39f015ded8: Pulling fs layer 15:03:03 33b1e0a273af: Waiting 15:03:03 5d3b04190fa2: Waiting 15:03:03 2f39f015ded8: Waiting 15:03:03 3a2ae6a8a46f: Waiting 15:03:03 5c69ac0246d0: Verifying Checksum 15:03:03 5c69ac0246d0: Download complete 15:03:03 3a2ae6a8a46f: Download complete 15:03:03 33b1e0a273af: Verifying Checksum 15:03:03 33b1e0a273af: Download complete 15:03:03 5d3b04190fa2: Verifying Checksum 15:03:03 5d3b04190fa2: Download complete 15:03:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:03:03 ec43610c2a17: Verifying Checksum 15:03:03 ec43610c2a17: Download complete 15:03:03 5eb5b503b376: Verifying Checksum 15:03:03 5eb5b503b376: Download complete 15:03:04 + sudo service docker restart 15:03:05 5eb5b503b376: Pull complete 15:03:05 5c69ac0246d0: Pull complete 15:03:05 ec43610c2a17: Pull complete 15:03:05 3a2ae6a8a46f: Pull complete 15:03:05 33b1e0a273af: Pull complete 15:03:05 5d3b04190fa2: Pull complete 15:03:09 2f39f015ded8: Pull complete 15:03:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:09 prd-ubuntu20.04-docker-8c-8g-950 does not seem to be running inside a container 15:03:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:03:14 $ docker top b9611c4f3b588ec14bb67ac13b264a87c1040c57318d55c29faee513a2baf8e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:14 ---> job-cost.sh 15:03:14 lf-activate-venv: SKIPPING 15:03:14 INFO: No Stack... 15:03:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:03:15 INFO: Archiving Costs [Pipeline] sh 15:03:15 + cat /w/workspace/edgexfoundry_device-uart_PR-17/archives/cost.csv 15:03:15 + cut -d, -f6 [Pipeline] lock 15:03:15 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] 15:03:15 Resource [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] did not exist. Created. 15:03:15 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:03:16 + echo total: 0.2199999988079071 [Pipeline] stash 15:03:16 Stashed 1 file(s) [Pipeline] } 15:03:16 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:03:16 $ docker stop --time=1 b9611c4f3b588ec14bb67ac13b264a87c1040c57318d55c29faee513a2baf8e1 15:03:17 $ docker rm -f --volumes b9611c4f3b588ec14bb67ac13b264a87c1040c57318d55c29faee513a2baf8e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:22 provisioning config files... 15:03:22 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config12227408326434064764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:22 ---> docker-login.sh 15:03:22 nexus3.edgexfoundry.org:10001 15:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:23 Configure a credential helper to remove this warning. See 15:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:23 15:03:23 Login Succeeded 15:03:23 nexus3.edgexfoundry.org:10002 15:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:23 Configure a credential helper to remove this warning. See 15:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:23 15:03:23 Login Succeeded 15:03:23 nexus3.edgexfoundry.org:10003 15:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:23 Configure a credential helper to remove this warning. See 15:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:23 15:03:23 Login Succeeded 15:03:23 nexus3.edgexfoundry.org:10004 15:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:24 Configure a credential helper to remove this warning. See 15:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:24 15:03:24 Login Succeeded 15:03:24 docker.io 15:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:24 Configure a credential helper to remove this warning. See 15:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:24 15:03:24 Login Succeeded 15:03:24 ---> docker-login.sh ends [Pipeline] } 15:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:25 ========================================================= 15:03:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:03:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:25 + 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 . 15:03:25 Sending build context to Docker daemon 5.597MB 15:03:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:03:25 Step 2/12 : FROM ${BASE} AS builder 15:03:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:03:25 c41833b44d91: Pulling fs layer 15:03:25 ed15518f5707: Pulling fs layer 15:03:25 feae8fd75edb: Pulling fs layer 15:03:25 242c74f7c9fa: Pulling fs layer 15:03:25 3cdef696dda3: Pulling fs layer 15:03:25 2ced38df9373: Pulling fs layer 15:03:25 58f1dce35555: Pulling fs layer 15:03:25 242c74f7c9fa: Waiting 15:03:25 3cdef696dda3: Waiting 15:03:25 2ced38df9373: Waiting 15:03:25 58f1dce35555: Waiting 15:03:25 ed15518f5707: Verifying Checksum 15:03:25 ed15518f5707: Download complete 15:03:25 242c74f7c9fa: Verifying Checksum 15:03:25 242c74f7c9fa: Download complete 15:03:25 3cdef696dda3: Verifying Checksum 15:03:25 3cdef696dda3: Download complete 15:03:25 c41833b44d91: Verifying Checksum 15:03:26 c41833b44d91: Pull complete 15:03:27 58f1dce35555: Verifying Checksum 15:03:27 58f1dce35555: Download complete 15:03:27 ed15518f5707: Pull complete 15:03:28 feae8fd75edb: Verifying Checksum 15:03:28 feae8fd75edb: Download complete 15:03:28 2ced38df9373: Verifying Checksum 15:03:28 2ced38df9373: Download complete 15:03:40 feae8fd75edb: Pull complete 15:03:40 242c74f7c9fa: Pull complete 15:03:40 3cdef696dda3: Pull complete 15:03:47 2ced38df9373: Pull complete 15:03:49 58f1dce35555: Pull complete 15:03:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:03:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:03:49 ---> fadd8f120f05 15:03:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:03:51 ---> Running in 3b34233de095 15:03:51 Removing intermediate container 3b34233de095 15:03:51 ---> 5df744113053 15:03:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:03:51 ---> Running in 45348e99ef50 15:03:51 Removing intermediate container 45348e99ef50 15:03:51 ---> 8ca7a1e613d9 15:03:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:03:51 ---> Running in fdcd8990a1de 15:03:52 Removing intermediate container fdcd8990a1de 15:03:52 ---> 5c02fa9abb88 15:03:52 Step 6/12 : WORKDIR /device-uart 15:03:52 ---> Running in 5db24908016c 15:03:52 Removing intermediate container 5db24908016c 15:03:52 ---> 885896bc7fb9 15:03:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:03:52 ---> Running in 0badb1edebf3 15:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:03:55 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:03:55 (2/4) Installing libedit (20221030.3.1-r0) 15:03:55 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:03:55 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:03:55 Executing busybox-1.35.0-r29.trigger 15:03:55 OK: 268 MiB in 57 packages 15:03:56 Removing intermediate container 0badb1edebf3 15:03:56 ---> b814bc542431 15:03:56 Step 8/12 : COPY go.mod vendor* ./ 15:03:56 ---> 5c8c853e6da5 15:03:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:56 ---> Running in cc0da887ca57 15:05:04 Removing intermediate container cc0da887ca57 15:05:04 ---> cf52237ad5e9 15:05:04 Step 10/12 : COPY . . 15:05:04 ---> 9102ecc76d68 15:05:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:05:04 ---> Running in 149af67dc463 15:05:04 Removing intermediate container 149af67dc463 15:05:04 ---> 49abf023b00a 15:05:04 Step 12/12 : RUN ${MAKE} 15:05:04 ---> Running in df77cb279e35 15:05:04 noop 15:05:04 Removing intermediate container df77cb279e35 15:05:04 ---> 4770593fdfb4 15:05:04 Successfully built 4770593fdfb4 15:05:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:05 + docker inspect -f . ci-base-image-arm64 15:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:05 prd-ubuntu20.04-docker-arm64-4c-16g-951 does not seem to be running inside a container 15:05:05 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:05:06 $ docker top 94494fe826ae44a943669f70cc1a580d314fa1cb7cb0e7de1d9c1f96b82a6cd1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:07 + go version 15:05:07 go version go1.20.2 linux/arm64 [Pipeline] } 15:05:07 $ docker stop --time=1 94494fe826ae44a943669f70cc1a580d314fa1cb7cb0e7de1d9c1f96b82a6cd1 15:05:09 $ docker rm -f --volumes 94494fe826ae44a943669f70cc1a580d314fa1cb7cb0e7de1d9c1f96b82a6cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:09 + docker inspect -f . ci-base-image-arm64 15:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:09 prd-ubuntu20.04-docker-arm64-4c-16g-951 does not seem to be running inside a container 15:05:09 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:05:11 $ docker top d1712efa3aba35f9d278c889b89680d95d2316a0094be7377cf12c5a8d7d61ef -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:11 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 15:05:12 + make test 15:05:12 go test ./... -coverprofile=coverage.out 15:05:44 ? github.com/edgexfoundry/device-uart [no test files] 15:07:21 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:07:21 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:07:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:07:21 go vet ./... 15:07:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:07:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:07:47 ./bin/test-attribution-txt.sh [Pipeline] echo 15:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:07:47 $ docker stop --time=1 d1712efa3aba35f9d278c889b89680d95d2316a0094be7377cf12c5a8d7d61ef 15:07:51 $ docker rm -f --volumes d1712efa3aba35f9d278c889b89680d95d2316a0094be7377cf12c5a8d7d61ef [Pipeline] // withDockerContainer [Pipeline] sh 15:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:07:52 Warning: overwriting stash ‘coverage-report’ 15:07:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:07:53 + ls -al . 15:07:53 total 136 15:07:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 15:05 . 15:07:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 15:02 .. 15:07:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 15:02 .dockerignore 15:07:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 15:02 .git 15:07:53 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 15:02 .gitignore 15:07:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 15:02 .golangci.yml 15:07:53 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 12 15:02 Attribution.txt 15:07:53 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 12 15:02 Dockerfile 15:07:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 15:02 GOVERNANCE.md 15:07:53 -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 15:02 Jenkinsfile 15:07:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 15:02 LICENSE 15:07:53 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 12 15:02 Makefile 15:07:53 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 15:02 OWNERS.md 15:07:53 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 12 15:02 README.md 15:07:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 15:01 VERSION 15:07:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 15:02 bin 15:07:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 15:02 cmd 15:07:53 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 15:05 coverage.out 15:07:53 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 12 15:02 go.mod 15:07:53 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 12 15:02 go.sum 15:07:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 15:02 internal 15:07:53 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 15:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:54 + 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=961b04c484ae7ee32964ea9c521ab6f71bf778fb --label arch=arm64 --label version=0.0.0 . 15:07:54 Sending build context to Docker daemon 5.598MB 15:07:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:07:54 Step 2/25 : FROM ${BASE} AS builder 15:07:54 ---> 4770593fdfb4 15:07:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:07:54 ---> Running in d2bb3349e932 15:07:54 Removing intermediate container d2bb3349e932 15:07:54 ---> c59fd99df6b9 15:07:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:07:55 ---> Running in 58dd24d92f15 15:07:55 Removing intermediate container 58dd24d92f15 15:07:55 ---> cdc580be3197 15:07:55 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:07:55 ---> Running in 20924b5c20dc 15:07:55 Removing intermediate container 20924b5c20dc 15:07:55 ---> 643416267226 15:07:55 Step 6/25 : WORKDIR /device-uart 15:07:55 ---> Running in d6d7cbfa4ff5 15:07:55 Removing intermediate container d6d7cbfa4ff5 15:07:55 ---> 7f879da28929 15:07:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:07:55 ---> Running in 954a15b8ae02 15:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:07:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:07:58 OK: 268 MiB in 57 packages 15:07:59 Removing intermediate container 954a15b8ae02 15:07:59 ---> 04a0c98c9f80 15:07:59 Step 8/25 : COPY go.mod vendor* ./ 15:07:59 ---> d479045b02dd 15:07:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:59 ---> Running in f74bc279537f 15:08:04 Removing intermediate container f74bc279537f 15:08:04 ---> 39158fae501b 15:08:04 Step 10/25 : COPY . . 15:08:05 ---> 36753f615c30 15:08:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:08:05 ---> Running in a50f4ae9eabe 15:08:05 Removing intermediate container a50f4ae9eabe 15:08:05 ---> 2a6fb283ca43 15:08:05 Step 12/25 : RUN ${MAKE} 15:08:05 ---> Running in c9a19cc08893 15:08:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 15:10:13 Removing intermediate container c9a19cc08893 15:10:13 ---> 98ea2fa8f0f6 15:10:13 Step 13/25 : FROM alpine:3.17 15:10:13 3.17: Pulling from library/alpine 15:10:13 edb6bdbacee9: Pulling fs layer 15:10:13 edb6bdbacee9: Verifying Checksum 15:10:13 edb6bdbacee9: Download complete 15:10:13 edb6bdbacee9: Pull complete 15:10:13 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:10:13 Status: Downloaded newer image for alpine:3.17 15:10:13 ---> 779605e5fbc0 15:10:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:10:13 ---> Running in 33859b740933 15:10:13 Removing intermediate container 33859b740933 15:10:13 ---> 5afbe125220c 15:10:13 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:10:13 ---> Running in 6028cd0ab2a5 15:10:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:10:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:10:13 (1/1) Installing dumb-init (1.2.5-r2) 15:10:13 Executing busybox-1.35.0-r29.trigger 15:10:13 OK: 8 MiB in 16 packages 15:10:13 Removing intermediate container 6028cd0ab2a5 15:10:13 ---> f0be96e22765 15:10:13 Step 16/25 : WORKDIR / 15:10:13 ---> Running in 2cc5375932c5 15:10:13 Removing intermediate container 2cc5375932c5 15:10:13 ---> 0a7f7802344c 15:10:13 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 15:10:13 ---> 829cec35364a 15:10:13 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 15:10:13 ---> 0de08cd325b0 15:10:13 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 15:10:13 ---> faa709cc96da 15:10:13 Step 20/25 : EXPOSE 59995 15:10:13 ---> Running in a084e4a19651 15:10:13 Removing intermediate container a084e4a19651 15:10:13 ---> 1b15598e380f 15:10:13 Step 21/25 : ENTRYPOINT ["/device-uart"] 15:10:13 ---> Running in a15cc0d8baa2 15:10:13 Removing intermediate container a15cc0d8baa2 15:10:13 ---> 4b933972bd05 15:10:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:10:13 ---> Running in 81725505f926 15:10:13 Removing intermediate container 81725505f926 15:10:13 ---> 31aaa0409223 15:10:13 Step 23/25 : LABEL arch=arm64 15:10:13 ---> Running in dfba0d1d12fa 15:10:13 Removing intermediate container dfba0d1d12fa 15:10:13 ---> c78b23140e6f 15:10:13 Step 24/25 : LABEL git_sha=961b04c484ae7ee32964ea9c521ab6f71bf778fb 15:10:13 ---> Running in 7ba1bcd7e4d5 15:10:13 Removing intermediate container 7ba1bcd7e4d5 15:10:13 ---> 62e11e4896a0 15:10:13 Step 25/25 : LABEL version=0.0.0 15:10:13 ---> Running in fd625bbac481 15:10:13 Removing intermediate container fd625bbac481 15:10:13 ---> 9b35e419fca2 15:10:13 [Warning] One or more build-args [ARCH] were not consumed 15:10:13 Successfully built 9b35e419fca2 15:10:13 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 15:10:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:10:14 15:10:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:10:14 arm64: Pulling from edgex-lftools-log-publisher 15:10:14 8998bd30e6a1: Pulling fs layer 15:10:14 04944245beec: Pulling fs layer 15:10:14 699f458cf7ca: Pulling fs layer 15:10:14 765212b225bb: Pulling fs layer 15:10:14 f23df028b6ca: Pulling fs layer 15:10:14 d65c8cfc05b1: Pulling fs layer 15:10:14 2437ff75d9bd: Pulling fs layer 15:10:14 765212b225bb: Waiting 15:10:14 f23df028b6ca: Waiting 15:10:14 d65c8cfc05b1: Waiting 15:10:14 2437ff75d9bd: Waiting 15:10:14 04944245beec: Verifying Checksum 15:10:14 04944245beec: Download complete 15:10:14 f23df028b6ca: Verifying Checksum 15:10:14 f23df028b6ca: Download complete 15:10:14 d65c8cfc05b1: Verifying Checksum 15:10:14 d65c8cfc05b1: Download complete 15:10:14 699f458cf7ca: Verifying Checksum 15:10:14 699f458cf7ca: Download complete 15:10:15 8998bd30e6a1: Download complete 15:10:17 2437ff75d9bd: Verifying Checksum 15:10:17 2437ff75d9bd: Download complete 15:10:19 8998bd30e6a1: Pull complete 15:10:19 04944245beec: Pull complete 15:10:20 699f458cf7ca: Pull complete 15:10:20 765212b225bb: Pull complete 15:10:21 f23df028b6ca: Pull complete 15:10:21 d65c8cfc05b1: Pull complete 15:10:36 2437ff75d9bd: Pull complete 15:10:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:10:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:37 prd-ubuntu20.04-docker-arm64-4c-16g-951 does not seem to be running inside a container 15:10:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:10:39 $ docker top ca9f77f1ab9f7c335770b682333cb002960edc3d9bb1ed445f0f6155bcacacb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:40 ---> job-cost.sh 15:10:40 lf-activate-venv: SKIPPING 15:10:40 INFO: No Stack... 15:10:40 INFO: Retrieving Pricing Info for: v3-standard-4 15:10:41 INFO: Archiving Costs [Pipeline] sh 15:10:41 + cat /w/workspace/device-uart/2/archives/cost.csv 15:10:41 + cut -d, -f6 [Pipeline] lock 15:10:42 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] 15:10:42 Resource [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] did not exist. Created. 15:10:42 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:10:42 /w/workspace/device-uart/2@tmp/durable-af525914/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:10:42 + echo total: 0.10999999940395355 [Pipeline] stash 15:10:42 Warning: overwriting stash ‘stack-cost’ 15:10:42 Stashed 1 file(s) [Pipeline] } 15:10:42 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-17-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:10:42 $ docker stop --time=1 ca9f77f1ab9f7c335770b682333cb002960edc3d9bb1ed445f0f6155bcacacb8 15:10:44 $ docker rm -f --volumes ca9f77f1ab9f7c335770b682333cb002960edc3d9bb1ed445f0f6155bcacacb8 [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 15:10:44 provisioning config files... 15:10:44 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config6089361107608863901tmp [Pipeline] { [Pipeline] sh 15:10:45 + set +x 15:10:45 + curl -s https://codecov.io/bash 15:10:45 + bash -s -- 15:10:45 15:10:45 _____ _ 15:10:45 / ____| | | 15:10:45 | | ___ __| | ___ ___ _____ __ 15:10:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:10:45 | |___| (_) | (_| | __/ (_| (_) \ V / 15:10:45 \_____\___/ \__,_|\___|\___\___/ \_/ 15:10:45 Bash-1.0.6 15:10:45 15:10:45 15:10:45 ==> git version 2.25.1 found 15:10:45 ==> 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 15:10:45 Release-Date: 2020-01-08 15:10:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:10:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:10:45 ==> Jenkins CI detected. 15:10:45 current dir:  /w/workspace/edgexfoundry_device-uart_PR-17 15:10:45 project root: . 15:10:45 --> token set from env 15:10:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:10:45 ==> Running gcov in . (disable via -X gcov) 15:10:45 ==> Python coveragepy not found 15:10:45 ==> Searching for coverage reports in: 15:10:45 + . 15:10:45 -> Found 1 reports 15:10:45 ==> Detecting git/mercurial file structure 15:10:45 ==> Reading reports 15:10:45 + ./coverage.out bytes=10 15:10:45 ==> Appending adjustments 15:10:45 https://docs.codecov.io/docs/fixing-reports 15:10:45 + Found adjustments 15:10:45 ==> Gzipping contents 15:10:45 4.0K /tmp/codecov.c9X3gu.gz 15:10:45 ==> Uploading reports 15:10:45 url: https://codecov.io 15:10:45 query: branch=PR-17&commit=961b04c484ae7ee32964ea9c521ab6f71bf778fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-17%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=17&job=&cmd_args= 15:10:45 -> Pinging Codecov 15:10:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-17&commit=961b04c484ae7ee32964ea9c521ab6f71bf778fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-17%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=17&job=&cmd_args= 15:10:45 -> Uploading to 15:10:45 https://storage.googleapis.com/codecov/v4/raw/2023-07-12/B9AA6E0BBD74AE3A32605C7A7C664919/961b04c484ae7ee32964ea9c521ab6f71bf778fb/a54a2a46-962a-4e9f-9068-879d63283730.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230712T151045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e512f806037f271c8774304d5cbf52c5fcab2270c06e4b97cf4759ec7f708a02 15:10:45 % Total % Received % Xferd Average Speed Time Time Time Current 15:10:45 Dload Upload Total Spent Left Speed 15:10:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 536 0 0 100 536 0 2720 --:--:-- --:--:-- --:--:-- 2720 15:10:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/961b04c484ae7ee32964ea9c521ab6f71bf778fb [Pipeline] } 15:10:45 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 15:10:46 + [ -d /w/workspace/edgexfoundry_device-uart_PR-17/archives ] 15:10:46 + ls -al /w/workspace/edgexfoundry_device-uart_PR-17/archives 15:10:46 total 16 15:10:46 drwxr-xr-x 3 root root 4096 Jul 12 15:03 . 15:10:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 15:03 .. 15:10:46 drwxr-xr-x 2 root root 4096 Jul 12 15:03 cost 15:10:46 -rw-r--r-- 1 root root 82 Jul 12 15:03 cost.csv 15:10:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-17/archives 15:10:46 + ls -al /w/workspace/edgexfoundry_device-uart_PR-17/archives 15:10:46 total 16 15:10:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 15:03 . 15:10:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 15:03 .. 15:10:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 15:03 cost 15:10:46 -rw-r--r-- 1 jenkins jenkins 82 Jul 12 15:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:10:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:10:47 ---> package-listing.sh 15:10:47 ++ facter osfamily 15:10:47 ++ tr '[:upper:]' '[:lower:]' 15:10:47 + OS_FAMILY=debian 15:10:47 + workspace=/w/workspace/edgexfoundry_device-uart_PR-17 15:10:47 + START_PACKAGES=/tmp/packages_start.txt 15:10:47 + END_PACKAGES=/tmp/packages_end.txt 15:10:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:10:47 + PACKAGES=/tmp/packages_start.txt 15:10:47 + '[' /w/workspace/edgexfoundry_device-uart_PR-17 ']' 15:10:47 + PACKAGES=/tmp/packages_end.txt 15:10:47 + case "${OS_FAMILY}" in 15:10:47 + dpkg -l 15:10:47 + grep '^ii' 15:10:47 + '[' -f /tmp/packages_start.txt ']' 15:10:47 + '[' -f /tmp/packages_end.txt ']' 15:10:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:10:47 + '[' /w/workspace/edgexfoundry_device-uart_PR-17 ']' 15:10:47 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-17/archives/ 15:10:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-17/archives/ [Pipeline] echo 15:10:48 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-17/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:10:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:48 prd-ubuntu20.04-docker-8c-8g-950 does not seem to be running inside a container 15:10:48 $ 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-17/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-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 15:10:49 $ docker top 2001c63cb694c41e98533502534d20926130403ebfc0afa4282c844f07db22bc -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:49 + touch /tmp/pre-build-complete [Pipeline] sh 15:10:49 + mkdir -p /var/log/sysstat [Pipeline] sh 15:10:50 + ls /var/log/sa-host 15:10:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:50 provisioning config files... 15:10:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config4139936097574378511tmp [Pipeline] { [Pipeline] echo 15:10:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:10:50 ---> create-netrc.sh [Pipeline] } 15:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:10:50 ---> python-tools-install.sh [Pipeline] echo 15:10:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:10:51 ---> sudo-logs.sh 15:10:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:10:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:10:51 ---> job-cost.sh 15:10:51 lf-activate-venv: SKIPPING 15:10:51 DEBUG: total: 0.2199999988079071 15:10:51 INFO: Retrieving Stack Cost... 15:10:52 INFO: Retrieving Pricing Info for: v3-standard-8 15:10:52 INFO: Archiving Costs [Pipeline] echo 15:10:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:10:52 ---> logs-deploy.sh 15:10:52 lf-activate-venv: SKIPPING 15:10:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-17/2 15:10:52 INFO: archiving workspace using pattern(s): 15:10:53 Archives upload complete. 15:10:53 INFO: archiving logs to Nexus