Pull request #28 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1d882e5084bce49e87d24f320f28f6b9a242b71b+8ac18c8d40d5257925873e9513c65867e7192949 (f7e272d38da62150a6aecd5e6ea27921207112f9) 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-ssh8454991723019766340.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12222693715436527595.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-28/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-28/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10184271995130966468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-28/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10418237520508668304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1520757645272590651.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-28/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-28/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15454476062069694480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10342’ Running on prd-ubuntu20.04-docker-8c-8g-10350 in /w/workspace/edgexfoundry_device-uart_PR-28 [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-28 # 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/28/head:refs/remotes/origin/PR-28 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ac18c8d40d5257925873e9513c65867e7192949 into PR head commit 1d882e5084bce49e87d24f320f28f6b9a242b71b Merge succeeded, producing 1d882e5084bce49e87d24f320f28f6b9a242b71b Checking out Revision 1d882e5084bce49e87d24f320f28f6b9a242b71b (PR-28) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:18:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:18:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:18:25 ========================================================= 01:18:25 EdgeX Global Pipelines Version Info 01:18:25 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 1d882e5084bce49e87d24f320f28f6b9a242b71b # 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 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d882e5084bce49e87d24f320f28f6b9a242b71b # timeout=10 [Pipeline] sh 01:18:26 ------------------- 01:18:26 stable info: 01:18:26 ------------------- 01:18:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:18:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:18:26 Message: update stable to v1.0.254 01:18:27 ------------------- 01:18:27 experimental info: 01:18:27 ------------------- 01:18:27 Commited By: **** collab-it+edgex@linuxfoundation.org 01:18:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:18:27 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:18:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-28 [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-28 [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-28 [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d882e5084bce49e87d24f320f28f6b9a242b71b [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d882e5 [Pipeline] echo 01:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:28 provisioning config files... 01:18:28 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-28@tmp/config10741264324105150129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:29 ---> docker-login.sh 01:18:29 nexus3.edgexfoundry.org:10001 01:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:29 Configure a credential helper to remove this warning. See 01:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:29 01:18:29 Login Succeeded 01:18:29 nexus3.edgexfoundry.org:10002 01:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:29 Configure a credential helper to remove this warning. See 01:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:29 01:18:29 Login Succeeded 01:18:29 nexus3.edgexfoundry.org:10003 01:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:29 Configure a credential helper to remove this warning. See 01:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:29 01:18:29 Login Succeeded 01:18:29 nexus3.edgexfoundry.org:10004 01:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:30 Configure a credential helper to remove this warning. See 01:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:30 01:18:30 Login Succeeded 01:18:30 docker.io 01:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:30 Configure a credential helper to remove this warning. See 01:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:30 01:18:30 Login Succeeded 01:18:30 ---> docker-login.sh ends [Pipeline] } 01:18:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:18:31 + git rev-list -1 --merges 1d882e5084bce49e87d24f320f28f6b9a242b71b~1..1d882e5084bce49e87d24f320f28f6b9a242b71b [Pipeline] echo 01:18:31 -----------> git rev-list -1 --merges 1d882e5084bce49e87d24f320f28f6b9a242b71b~1..1d882e5084bce49e87d24f320f28f6b9a242b71b 1d882e5084bce49e87d24f320f28f6b9a242b71b [false] [Pipeline] sh 01:18:31 + git log --format=format:%s -1 1d882e5084bce49e87d24f320f28f6b9a242b71b [Pipeline] echo 01:18:31 ========================================================= 01:18:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:18:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:18:31 + git log --format=format:%s -1 1d882e5084bce49e87d24f320f28f6b9a242b71b [Pipeline] echo 01:18:31 [semverPrep] GIT_COMMIT: 1d882e5084bce49e87d24f320f28f6b9a242b71b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:18:32 [semverPrep] This is not a build commit. [Pipeline] sh 01:18:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:32 + grep -v github /etc/ssh/ssh_known_hosts 01:18:32 + [ -e /tmp/ssh_known_hosts ] 01:18:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:18:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:18:32 + sudo tee -a /etc/ssh/ssh_known_hosts 01:18:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:32 01:18:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:33 0.1.4: Pulling from edgex-devops/py-git-semver 01:18:33 b85a868b505f: Pulling fs layer 01:18:33 e2be974225ed: Pulling fs layer 01:18:33 339a4e72a1f5: Pulling fs layer 01:18:33 988bab9f4d93: Pulling fs layer 01:18:33 1469e6f7b9e6: Pulling fs layer 01:18:33 eaf3925da568: Pulling fs layer 01:18:33 bab4dde63d76: Pulling fs layer 01:18:33 bde34c3a00c8: Pulling fs layer 01:18:33 b352a97aabf1: Pulling fs layer 01:18:33 4872d77fe225: Pulling fs layer 01:18:33 5851b861e8e6: Pulling fs layer 01:18:33 bab4dde63d76: Waiting 01:18:33 bde34c3a00c8: Waiting 01:18:33 b352a97aabf1: Waiting 01:18:33 988bab9f4d93: Waiting 01:18:33 4872d77fe225: Waiting 01:18:33 1469e6f7b9e6: Waiting 01:18:33 eaf3925da568: Waiting 01:18:33 5851b861e8e6: Waiting 01:18:33 e2be974225ed: Verifying Checksum 01:18:33 e2be974225ed: Download complete 01:18:33 988bab9f4d93: Download complete 01:18:33 339a4e72a1f5: Verifying Checksum 01:18:33 339a4e72a1f5: Download complete 01:18:33 1469e6f7b9e6: Verifying Checksum 01:18:33 1469e6f7b9e6: Download complete 01:18:33 eaf3925da568: Verifying Checksum 01:18:33 eaf3925da568: Download complete 01:18:33 b352a97aabf1: Verifying Checksum 01:18:33 b352a97aabf1: Download complete 01:18:33 4872d77fe225: Verifying Checksum 01:18:33 4872d77fe225: Download complete 01:18:33 5851b861e8e6: Verifying Checksum 01:18:33 5851b861e8e6: Download complete 01:18:33 b85a868b505f: Verifying Checksum 01:18:33 b85a868b505f: Download complete 01:18:33 bab4dde63d76: Verifying Checksum 01:18:33 bab4dde63d76: Download complete 01:18:34 b85a868b505f: Pull complete 01:18:34 e2be974225ed: Pull complete 01:18:35 339a4e72a1f5: Pull complete 01:18:35 988bab9f4d93: Pull complete 01:18:35 1469e6f7b9e6: Pull complete 01:18:35 eaf3925da568: Pull complete 01:18:37 bab4dde63d76: Pull complete 01:18:37 bde34c3a00c8: Pull complete 01:18:37 b352a97aabf1: Pull complete 01:18:37 4872d77fe225: Pull complete 01:18:37 5851b861e8e6: Pull complete 01:18:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:38 prd-ubuntu20.04-docker-8c-8g-10350 does not seem to be running inside a container 01:18:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-28 -v /w/workspace/edgexfoundry_device-uart_PR-28:/w/workspace/edgexfoundry_device-uart_PR-28:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-28@tmp:/w/workspace/edgexfoundry_device-uart_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:18:41 $ docker top 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f -eo pid,comm 01:18:41 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). 01:18:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:41 [ssh-agent] Looking for ssh-agent implementation... 01:18:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:41 $ docker exec 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f ssh-agent 01:18:41 SSH_AUTH_SOCK=/tmp/ssh-z6YoHLh0O0jJ/agent.32 01:18:41 SSH_AGENT_PID=39 01:18:41 Running ssh-add (command line suppressed) 01:18:41 Identity added: /w/workspace/edgexfoundry_device-uart_PR-28@tmp/private_key_17584332848875711217.key (/w/workspace/edgexfoundry_device-uart_PR-28@tmp/private_key_17584332848875711217.key) 01:18:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:42 + git tag --points-at HEAD [Pipeline] } 01:18:42 $ docker exec --env ******** --env ******** 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f ssh-agent -k 01:18:42 unset SSH_AUTH_SOCK; 01:18:42 unset SSH_AGENT_PID; 01:18:42 echo Agent pid 39 killed; 01:18:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:18:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:42 [ssh-agent] Looking for ssh-agent implementation... 01:18:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:42 $ docker exec 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f ssh-agent 01:18:42 SSH_AUTH_SOCK=/tmp/ssh-OY7TMf1iTCtp/agent.71 01:18:42 SSH_AGENT_PID=77 01:18:42 Running ssh-add (command line suppressed) 01:18:42 Identity added: /w/workspace/edgexfoundry_device-uart_PR-28@tmp/private_key_2656063130616128375.key (/w/workspace/edgexfoundry_device-uart_PR-28@tmp/private_key_2656063130616128375.key) 01:18:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:43 + git semver init 01:18:43 2023-10-25 01:18:43,260 [run_init] DEBUG init version:0.0.0 force:False 01:18:43 2023-10-25 01:18:43,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-28/.semver 01:18:43 2023-10-25 01:18:43,262 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-28/.semver 01:18:43 2023-10-25 01:18:43,262 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-28/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-28, universal_newlines=False, shell=None, istream=None) 01:18:44 2023-10-25 01:18:44,261 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-28/.git/info/exclude 01:18:44 2023-10-25 01:18:44,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-28/.semver/PR-28 with force:False 01:18:44 2023-10-25 01:18:44,262 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-28/.semver/PR-28 01:18:44 2023-10-25 01:18:44,267 [execute] INFO git cat-file --batch-check 01:18:44 2023-10-25 01:18:44,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-28/.semver, universal_newlines=False, shell=None, istream=) 01:18:44 2023-10-25 01:18:44,275 [execute] INFO git cat-file --batch 01:18:44 2023-10-25 01:18:44,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-28/.semver, universal_newlines=False, shell=None, istream=) 01:18:44 2023-10-25 01:18:44,282 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-28/.semver/PR-28 01:18:44 0.0.0 [Pipeline] } 01:18:44 $ docker exec --env ******** --env ******** 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f ssh-agent -k 01:18:44 unset SSH_AUTH_SOCK; 01:18:44 unset SSH_AGENT_PID; 01:18:44 echo Agent pid 77 killed; 01:18:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:45 + git semver [Pipeline] } 01:18:45 $ docker stop --time=1 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f 01:18:46 $ docker rm -f --volumes 7f538d1133a8ec8f70e9c596801674199ea305cfa9eebb33951c407cc2a60f5f [Pipeline] // withDockerContainer [Pipeline] sh 01:18:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:18:47 Stashed 1 file(s) [Pipeline] echo 01:18:47 [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 01:18:48 provisioning config files... 01:18:48 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-28@tmp/config14975499123346188931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:48 ---> docker-login.sh 01:18:48 nexus3.edgexfoundry.org:10001 01:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:48 Configure a credential helper to remove this warning. See 01:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:48 01:18:48 Login Succeeded 01:18:48 nexus3.edgexfoundry.org:10002 01:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:48 Configure a credential helper to remove this warning. See 01:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:48 01:18:48 Login Succeeded 01:18:48 nexus3.edgexfoundry.org:10003 01:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:48 Configure a credential helper to remove this warning. See 01:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:48 01:18:48 Login Succeeded 01:18:48 nexus3.edgexfoundry.org:10004 01:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:48 Configure a credential helper to remove this warning. See 01:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:48 01:18:48 Login Succeeded 01:18:48 docker.io 01:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:48 Configure a credential helper to remove this warning. See 01:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:48 01:18:48 Login Succeeded 01:18:48 ---> docker-login.sh ends [Pipeline] } 01:18:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:49 ========================================================= 01:18:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:18:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:18:49 Sending build context to Docker daemon 11.18MB 01:18:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:18:49 Step 2/12 : FROM ${BASE} AS builder 01:18:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:18:49 7264a8db6415: Pulling fs layer 01:18:49 c4d48a809fc2: Pulling fs layer 01:18:49 4f1c88b9dad5: Pulling fs layer 01:18:49 ad3a456e5733: Pulling fs layer 01:18:49 33e27b845d1e: Pulling fs layer 01:18:49 c68163c4e522: Pulling fs layer 01:18:49 50da416c3ac9: Pulling fs layer 01:18:49 23d2d4c4bb30: Pulling fs layer 01:18:49 ad3a456e5733: Waiting 01:18:49 33e27b845d1e: Waiting 01:18:49 50da416c3ac9: Waiting 01:18:49 c68163c4e522: Waiting 01:18:49 23d2d4c4bb30: Waiting 01:18:50 c4d48a809fc2: Download complete 01:18:50 ad3a456e5733: Verifying Checksum 01:18:50 ad3a456e5733: Download complete 01:18:50 33e27b845d1e: Verifying Checksum 01:18:50 33e27b845d1e: Download complete 01:18:50 7264a8db6415: Verifying Checksum 01:18:50 7264a8db6415: Download complete 01:18:50 c68163c4e522: Verifying Checksum 01:18:50 c68163c4e522: Download complete 01:18:50 7264a8db6415: Pull complete 01:18:50 23d2d4c4bb30: Verifying Checksum 01:18:50 23d2d4c4bb30: Download complete 01:18:50 c4d48a809fc2: Pull complete 01:18:50 4f1c88b9dad5: Verifying Checksum 01:18:50 4f1c88b9dad5: Download complete 01:18:50 50da416c3ac9: Verifying Checksum 01:18:50 50da416c3ac9: Download complete 01:18:54 4f1c88b9dad5: Pull complete 01:18:54 ad3a456e5733: Pull complete 01:18:54 33e27b845d1e: Pull complete 01:18:54 c68163c4e522: Pull complete 01:18:56 50da416c3ac9: Pull complete 01:18:56 23d2d4c4bb30: Pull complete 01:18:56 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 01:18:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:18:56 ---> 0786185ac409 01:18:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:19:02 ---> Running in 3b5abf695f6b 01:19:02 Removing intermediate container 3b5abf695f6b 01:19:02 ---> 32d0d01d99e7 01:19:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:19:02 ---> Running in 1cc68e359523 01:19:02 Removing intermediate container 1cc68e359523 01:19:02 ---> eac251f773cb 01:19:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:19:02 ---> Running in 336f34322814 01:19:02 Removing intermediate container 336f34322814 01:19:02 ---> c52f432d7554 01:19:02 Step 6/12 : WORKDIR /device-uart 01:19:02 ---> Running in 7a7960e682c7 01:19:02 Removing intermediate container 7a7960e682c7 01:19:02 ---> 6aef824a7e28 01:19:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:02 ---> Running in 61c56182d5da 01:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:19:02 Still waiting to schedule task 01:19:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10346’ 01:19:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:19:03 (2/4) Installing libedit (20221030.3.1-r1) 01:19:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:19:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:19:03 Executing busybox-1.36.1-r2.trigger 01:19:03 OK: 268 MiB in 56 packages 01:19:04 Removing intermediate container 61c56182d5da 01:19:04 ---> db9abd7e32ca 01:19:04 Step 8/12 : COPY go.mod vendor* ./ 01:19:04 ---> 5390fa8433ee 01:19:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:04 ---> Running in 6d3f3548721f 01:20:00 Removing intermediate container 6d3f3548721f 01:20:00 ---> b34fd01dcaa5 01:20:00 Step 10/12 : COPY . . 01:20:00 ---> 2302eed5d09c 01:20:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:00 ---> Running in d0bd1a35dfc0 01:20:00 Removing intermediate container d0bd1a35dfc0 01:20:00 ---> 50df167ff2ea 01:20:00 Step 12/12 : RUN ${MAKE} 01:20:00 ---> Running in 94174cd80461 01:20:00 noop 01:20:00 Removing intermediate container 94174cd80461 01:20:00 ---> 456204239161 01:20:00 Successfully built 456204239161 01:20:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:00 + docker inspect -f . ci-base-image-x86_64 01:20:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:01 prd-ubuntu20.04-docker-8c-8g-10350 does not seem to be running inside a container 01:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-28 -v /w/workspace/edgexfoundry_device-uart_PR-28:/w/workspace/edgexfoundry_device-uart_PR-28:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-28@tmp:/w/workspace/edgexfoundry_device-uart_PR-28@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 ******** ci-base-image-x86_64 cat 01:20:01 $ docker top b66eb3076df33b343b3730cd983b019a126f6062b9c656ff56c19217d1dc2c0d -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:01 + go version 01:20:01 go version go1.21.0 linux/amd64 [Pipeline] } 01:20:01 $ docker stop --time=1 b66eb3076df33b343b3730cd983b019a126f6062b9c656ff56c19217d1dc2c0d 01:20:03 $ docker rm -f --volumes b66eb3076df33b343b3730cd983b019a126f6062b9c656ff56c19217d1dc2c0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:03 + docker inspect -f . ci-base-image-x86_64 01:20:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:04 prd-ubuntu20.04-docker-8c-8g-10350 does not seem to be running inside a container 01:20:04 $ 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-28 -v /w/workspace/edgexfoundry_device-uart_PR-28:/w/workspace/edgexfoundry_device-uart_PR-28:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-28@tmp:/w/workspace/edgexfoundry_device-uart_PR-28@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 ******** ci-base-image-x86_64 cat 01:20:04 $ docker top 072d7fd76386843352ba1259ad6b66c552aea50ce537f24db518a8330c6d8a25 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-28 [Pipeline] fileExists [Pipeline] sh 01:20:05 + make test 01:20:05 go test ./... -coverprofile=coverage.out 01:20:06 ? github.com/edgexfoundry/device-uart [no test files] 01:20:16 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:20:16 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:20:21 go vet ./... 01:20:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:20:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:20:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:20:24 $ docker stop --time=1 072d7fd76386843352ba1259ad6b66c552aea50ce537f24db518a8330c6d8a25 01:20:28 $ docker rm -f --volumes 072d7fd76386843352ba1259ad6b66c552aea50ce537f24db518a8330c6d8a25 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:20:29 + ls -al . 01:20:29 total 152 01:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:20 . 01:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:18 .. 01:20:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:18 .dockerignore 01:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:20 .git 01:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:18 .github 01:20:29 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:18 .gitignore 01:20:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:18 .golangci.yml 01:20:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:18 .semver 01:20:29 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:18 Attribution.txt 01:20:29 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:18 Dockerfile 01:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:18 GOVERNANCE.md 01:20:29 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:18 Jenkinsfile 01:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:18 LICENSE 01:20:29 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:18 Makefile 01:20:29 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:18 OWNERS.md 01:20:29 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:18 README.md 01:20:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:18 VERSION 01:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:18 bin 01:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:18 cmd 01:20:29 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:20 coverage.out 01:20:29 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 01:18 go.mod 01:20:29 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 01:18 go.sum 01:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:18 internal 01:20:29 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:30 + 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=1d882e5084bce49e87d24f320f28f6b9a242b71b --label arch=amd64 --label version=0.0.0 . 01:20:30 Sending build context to Docker daemon 11.18MB 01:20:30 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:20:30 Step 2/25 : FROM ${BASE} AS builder 01:20:30 ---> 456204239161 01:20:30 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:20:30 ---> Running in 2d7bc48e0c62 01:20:30 Removing intermediate container 2d7bc48e0c62 01:20:30 ---> bc690a557300 01:20:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:20:30 ---> Running in e9e61818850f 01:20:30 Removing intermediate container e9e61818850f 01:20:30 ---> 7409b737c75e 01:20:30 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:20:30 ---> Running in 314718d67003 01:20:30 Removing intermediate container 314718d67003 01:20:30 ---> 3ef6c5e2b71c 01:20:30 Step 6/25 : WORKDIR /device-uart 01:20:30 ---> Running in 7063e90014ab 01:20:30 Removing intermediate container 7063e90014ab 01:20:30 ---> 873584b08a2a 01:20:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:30 ---> Running in 5fab15820e39 01:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:20:31 OK: 268 MiB in 56 packages 01:20:31 Removing intermediate container 5fab15820e39 01:20:31 ---> 2a36786faf6d 01:20:31 Step 8/25 : COPY go.mod vendor* ./ 01:20:31 ---> 850713b89d25 01:20:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:31 ---> Running in 34071a3e5306 01:20:32 Removing intermediate container 34071a3e5306 01:20:32 ---> 22165d397f34 01:20:32 Step 10/25 : COPY . . 01:20:32 ---> 96134a76249a 01:20:32 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:32 ---> Running in 24cd8a78ab78 01:20:32 Removing intermediate container 24cd8a78ab78 01:20:32 ---> bb777ef9143e 01:20:32 Step 12/25 : RUN ${MAKE} 01:20:32 ---> Running in 6122e976a48f 01:20:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:20:51 Removing intermediate container 6122e976a48f 01:20:51 ---> 989cd035ff71 01:20:51 Step 13/25 : FROM alpine:3.18 01:20:51 3.18: Pulling from library/alpine 01:20:51 96526aa774ef: Pulling fs layer 01:20:52 96526aa774ef: Verifying Checksum 01:20:52 96526aa774ef: Download complete 01:20:52 96526aa774ef: Pull complete 01:20:52 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:20:52 Status: Downloaded newer image for alpine:3.18 01:20:52 ---> 8ca4688f4f35 01:20:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:20:52 ---> Running in 6770caf82ee8 01:20:52 Removing intermediate container 6770caf82ee8 01:20:52 ---> a808e4c9910a 01:20:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:20:52 ---> Running in a1eed1736c72 01:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:20:53 (1/1) Installing dumb-init (1.2.5-r2) 01:20:53 Executing busybox-1.36.1-r2.trigger 01:20:53 OK: 7 MiB in 16 packages 01:20:53 Removing intermediate container a1eed1736c72 01:20:53 ---> 52c1aab15f7a 01:20:53 Step 16/25 : WORKDIR / 01:20:53 ---> Running in e0d734a3efcc 01:20:53 Removing intermediate container e0d734a3efcc 01:20:53 ---> 9cc17795c7a5 01:20:53 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:20:53 ---> a8e8d2c7d38f 01:20:53 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:20:53 ---> eea39b17feec 01:20:53 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:20:55 ---> f5fae2fdf077 01:20:55 Step 20/25 : EXPOSE 59995 01:20:55 ---> Running in 05385728517f 01:20:55 Removing intermediate container 05385728517f 01:20:55 ---> 26911f17344d 01:20:55 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:20:55 ---> Running in 71c16cfd0b4c 01:20:55 Removing intermediate container 71c16cfd0b4c 01:20:55 ---> 5759dfd0110c 01:20:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:20:55 ---> Running in cfec6ea5da4f 01:20:55 Removing intermediate container cfec6ea5da4f 01:20:55 ---> e30ca43c3fd5 01:20:55 Step 23/25 : LABEL arch=amd64 01:20:55 ---> Running in 7d50f36d1804 01:20:55 Removing intermediate container 7d50f36d1804 01:20:55 ---> efeb19068d6f 01:20:55 Step 24/25 : LABEL git_sha=1d882e5084bce49e87d24f320f28f6b9a242b71b 01:20:55 ---> Running in c1b8c54b87a2 01:20:55 Removing intermediate container c1b8c54b87a2 01:20:55 ---> 28424eadb4f0 01:20:55 Step 25/25 : LABEL version=0.0.0 01:20:55 ---> Running in 545e3b5a3cbd 01:20:55 Removing intermediate container 545e3b5a3cbd 01:20:55 ---> f5b0b95d911b 01:20:55 [Warning] One or more build-args [ARCH] were not consumed 01:20:55 Successfully built f5b0b95d911b 01:20:55 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 01:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:56 01:20:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:56 latest: Pulling from edgex-lftools-log-publisher 01:20:56 5eb5b503b376: Pulling fs layer 01:20:56 5c69ac0246d0: Pulling fs layer 01:20:56 ec43610c2a17: Pulling fs layer 01:20:56 3a2ae6a8a46f: Pulling fs layer 01:20:56 33b1e0a273af: Pulling fs layer 01:20:56 3a2ae6a8a46f: Waiting 01:20:56 33b1e0a273af: Waiting 01:20:56 5d3b04190fa2: Pulling fs layer 01:20:56 2f39f015ded8: Pulling fs layer 01:20:56 5d3b04190fa2: Waiting 01:20:56 2f39f015ded8: Waiting 01:20:56 5c69ac0246d0: Verifying Checksum 01:20:56 5c69ac0246d0: Download complete 01:20:56 3a2ae6a8a46f: Download complete 01:20:57 33b1e0a273af: Verifying Checksum 01:20:57 33b1e0a273af: Download complete 01:20:57 5d3b04190fa2: Verifying Checksum 01:20:57 5d3b04190fa2: Download complete 01:20:57 ec43610c2a17: Verifying Checksum 01:20:57 ec43610c2a17: Download complete 01:20:57 5eb5b503b376: Verifying Checksum 01:20:57 5eb5b503b376: Download complete 01:20:57 2f39f015ded8: Download complete 01:20:58 5eb5b503b376: Pull complete 01:20:58 5c69ac0246d0: Pull complete 01:20:59 ec43610c2a17: Pull complete 01:20:59 3a2ae6a8a46f: Pull complete 01:20:59 33b1e0a273af: Pull complete 01:20:59 5d3b04190fa2: Pull complete 01:21:03 2f39f015ded8: Pull complete 01:21:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:03 prd-ubuntu20.04-docker-8c-8g-10350 does not seem to be running inside a container 01:21:03 $ 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-28 -v /w/workspace/edgexfoundry_device-uart_PR-28:/w/workspace/edgexfoundry_device-uart_PR-28:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-28@tmp:/w/workspace/edgexfoundry_device-uart_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:09 $ docker top b66c77f09341249b951290c884ce622e7ccf07198d436a35c084a6a19a2155aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> job-cost.sh 01:21:09 lf-activate-venv: SKIPPING 01:21:09 INFO: No Stack... 01:21:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:21:10 INFO: Archiving Costs [Pipeline] sh 01:21:10 + cut -d, -f6 01:21:10 + cat /w/workspace/edgexfoundry_device-uart_PR-28/archives/cost.csv [Pipeline] lock 01:21:10 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] 01:21:10 Resource [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] did not exist. Created. 01:21:10 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:21:11 + echo total: 0.2199999988079071 [Pipeline] stash 01:21:11 Stashed 1 file(s) [Pipeline] } 01:21:11 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:21:11 $ docker stop --time=1 b66c77f09341249b951290c884ce622e7ccf07198d436a35c084a6a19a2155aa 01:21:12 $ docker rm -f --volumes b66c77f09341249b951290c884ce622e7ccf07198d436a35c084a6a19a2155aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:21:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10353 in /w/workspace/edgexfoundry_device-uart_PR-28 [Pipeline] { [Pipeline] ws 01:21:46 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 01:21:46 The recommended git tool is: git 01:21:51 using credential edgex-jenkins-ssh 01:21:51 Cloning the remote Git repository 01:21:51 Cloning repository git@github.com:edgexfoundry/device-uart.git 01:21:51 > git init /w/workspace/device-uart/1 # timeout=10 01:21:52 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:21:52 > git --version # timeout=10 01:21:52 > git --version # 'git version 2.25.1' 01:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:54 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:21:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:56 Merging remotes/origin/main commit 8ac18c8d40d5257925873e9513c65867e7192949 into PR head commit 1d882e5084bce49e87d24f320f28f6b9a242b71b 01:21:55 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:21:56 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:21:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/28/head:refs/remotes/origin/PR-28 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:21:56 > git config core.sparsecheckout # timeout=10 01:21:56 Merge succeeded, producing 1d882e5084bce49e87d24f320f28f6b9a242b71b 01:21:56 Checking out Revision 1d882e5084bce49e87d24f320f28f6b9a242b71b (PR-28) 01:21:57 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 01:21:57 > git --version # timeout=10 01:21:57 > git --version # 'git version 2.25.1' 01:21:57 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:21:56 > git checkout -f 1d882e5084bce49e87d24f320f28f6b9a242b71b # timeout=10 01:21:56 > git remote # timeout=10 01:21:56 > git config --get remote.origin.url # timeout=10 01:21:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:56 > git merge 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 01:21:56 > git rev-parse HEAD^{commit} # timeout=10 01:21:56 > git config core.sparsecheckout # timeout=10 01:21:56 > git checkout -f 1d882e5084bce49e87d24f320f28f6b9a242b71b # timeout=10 01:21:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:21:58 % Total % Received % Xferd Average Speed Time Time Time Current 01:21:58 Dload Upload Total Spent Left Speed 01:21:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 01:21:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:21:59 + sudo tee /etc/docker/daemon.new 01:21:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:21:59 { 01:21:59 "registry-mirrors": [ 01:21:59 "https://nexus3.edgexfoundry.org:10001" 01:21:59 ], 01:21:59 "bip": "10.250.0.254/24", 01:21:59 "hosts": [ 01:21:59 "tcp://0.0.0.0:5555", 01:21:59 "unix:///var/run/docker.sock" 01:21:59 ], 01:21:59 "mtu": 1458, 01:21:59 "selinux-enabled": true, 01:21:59 "seccomp-profile": "/etc/docker/seccomp.json" 01:21:59 } [Pipeline] sh 01:21:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:22:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:18 provisioning config files... 01:22:18 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6840064842399017132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:18 ---> docker-login.sh 01:22:18 nexus3.edgexfoundry.org:10001 01:22:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:19 Configure a credential helper to remove this warning. See 01:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:19 01:22:19 Login Succeeded 01:22:19 nexus3.edgexfoundry.org:10002 01:22:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:19 Configure a credential helper to remove this warning. See 01:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:19 01:22:19 Login Succeeded 01:22:19 nexus3.edgexfoundry.org:10003 01:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:20 Configure a credential helper to remove this warning. See 01:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:20 01:22:20 Login Succeeded 01:22:20 nexus3.edgexfoundry.org:10004 01:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:20 Configure a credential helper to remove this warning. See 01:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:20 01:22:20 Login Succeeded 01:22:20 docker.io 01:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:21 Configure a credential helper to remove this warning. See 01:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:21 01:22:21 Login Succeeded 01:22:21 ---> docker-login.sh ends [Pipeline] } 01:22:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:21 ========================================================= 01:22:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:22:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:22:22 Sending build context to Docker daemon 5.642MB 01:22:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:22:22 Step 2/12 : FROM ${BASE} AS builder 01:22:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:22:22 9fda8d8052c6: Pulling fs layer 01:22:22 5d54e960e981: Pulling fs layer 01:22:22 c4a7e357bf2a: Pulling fs layer 01:22:22 f0e02332f6b5: Pulling fs layer 01:22:22 cefa15bbcfad: Pulling fs layer 01:22:22 17808c966233: Pulling fs layer 01:22:22 f4c1fc716caa: Pulling fs layer 01:22:22 f0e02332f6b5: Waiting 01:22:22 cefa15bbcfad: Waiting 01:22:22 17808c966233: Waiting 01:22:22 5d54e960e981: Verifying Checksum 01:22:22 5d54e960e981: Download complete 01:22:22 f0e02332f6b5: Download complete 01:22:22 cefa15bbcfad: Verifying Checksum 01:22:22 cefa15bbcfad: Download complete 01:22:23 9fda8d8052c6: Verifying Checksum 01:22:23 9fda8d8052c6: Download complete 01:22:23 f4c1fc716caa: Verifying Checksum 01:22:23 f4c1fc716caa: Download complete 01:22:24 9fda8d8052c6: Pull complete 01:22:24 5d54e960e981: Pull complete 01:22:24 c4a7e357bf2a: Verifying Checksum 01:22:24 c4a7e357bf2a: Download complete 01:22:25 17808c966233: Verifying Checksum 01:22:25 17808c966233: Download complete 01:22:38 c4a7e357bf2a: Pull complete 01:22:38 f0e02332f6b5: Pull complete 01:22:38 cefa15bbcfad: Pull complete 01:22:46 17808c966233: Pull complete 01:22:47 f4c1fc716caa: Pull complete 01:22:47 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 01:22:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:22:47 ---> ea914061e18c 01:22:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:22:49 ---> Running in 2507c573262e 01:22:49 Removing intermediate container 2507c573262e 01:22:49 ---> 9bc7841969ec 01:22:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:22:50 ---> Running in 7ca42e4726e2 01:22:50 Removing intermediate container 7ca42e4726e2 01:22:50 ---> 8a89f8d17a4f 01:22:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:22:50 ---> Running in 00cb204efd17 01:22:50 Removing intermediate container 00cb204efd17 01:22:50 ---> b4a3c6376f40 01:22:50 Step 6/12 : WORKDIR /device-uart 01:22:50 ---> Running in ea9fddee9491 01:22:51 Removing intermediate container ea9fddee9491 01:22:51 ---> 6436f673d106 01:22:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:51 ---> Running in 5bf437c929d9 01:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:22:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:22:53 (2/4) Installing libedit (20221030.3.1-r1) 01:22:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:22:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:22:54 Executing busybox-1.36.1-r2.trigger 01:22:54 OK: 270 MiB in 56 packages 01:22:55 Removing intermediate container 5bf437c929d9 01:22:55 ---> 62e2af6a8691 01:22:55 Step 8/12 : COPY go.mod vendor* ./ 01:22:55 ---> 5ac3f9823486 01:22:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:55 ---> Running in e2c6ddc30447 01:24:32 Removing intermediate container e2c6ddc30447 01:24:32 ---> 214ebc986947 01:24:32 Step 10/12 : COPY . . 01:24:32 ---> 31bdca93c57b 01:24:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:24:32 ---> Running in 781e441ff46d 01:24:32 Removing intermediate container 781e441ff46d 01:24:32 ---> 9f20a003e420 01:24:32 Step 12/12 : RUN ${MAKE} 01:24:32 ---> Running in c4b1d3b65755 01:24:32 noop 01:24:32 Removing intermediate container c4b1d3b65755 01:24:32 ---> c19086988333 01:24:32 Successfully built c19086988333 01:24:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:33 + docker inspect -f . ci-base-image-arm64 01:24:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:33 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 01:24:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat 01:24:34 $ docker top 81569f1e2707e8211bb7edb8d0c44b81a2ecccc401e598ca1a51235116fc9f20 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:35 + go version 01:24:35 go version go1.21.0 linux/arm64 [Pipeline] } 01:24:35 $ docker stop --time=1 81569f1e2707e8211bb7edb8d0c44b81a2ecccc401e598ca1a51235116fc9f20 01:24:37 $ docker rm -f --volumes 81569f1e2707e8211bb7edb8d0c44b81a2ecccc401e598ca1a51235116fc9f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:38 + docker inspect -f . ci-base-image-arm64 01:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:38 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 01:24:38 $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat 01:24:41 $ docker top 55178b19cc6f6d4f7c24c46189ea0ae6041e7b078dd4833b8f7643cbe6f1bdf9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:42 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 01:24:43 + make test 01:24:43 go test ./... -coverprofile=coverage.out 01:24:47 ? github.com/edgexfoundry/device-uart [no test files] 01:26:39 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:26:39 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:26:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:26:39 go vet ./... 01:27:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:01 ./bin/test-attribution-txt.sh [Pipeline] echo 01:27:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:27:02 $ docker stop --time=1 55178b19cc6f6d4f7c24c46189ea0ae6041e7b078dd4833b8f7643cbe6f1bdf9 01:27:04 $ docker rm -f --volumes 55178b19cc6f6d4f7c24c46189ea0ae6041e7b078dd4833b8f7643cbe6f1bdf9 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:05 Warning: overwriting stash ‘coverage-report’ 01:27:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:06 + ls -al . 01:27:06 total 148 01:27:06 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 01:24 . 01:27:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:21 .. 01:27:06 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:21 .dockerignore 01:27:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:21 .git 01:27:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 .github 01:27:06 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:21 .gitignore 01:27:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:21 .golangci.yml 01:27:06 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:21 Attribution.txt 01:27:06 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:21 Dockerfile 01:27:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:21 GOVERNANCE.md 01:27:06 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:21 Jenkinsfile 01:27:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:21 LICENSE 01:27:06 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:21 Makefile 01:27:06 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:21 OWNERS.md 01:27:06 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:21 README.md 01:27:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:18 VERSION 01:27:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:21 bin 01:27:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 cmd 01:27:06 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:24 coverage.out 01:27:06 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 01:21 go.mod 01:27:06 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 01:21 go.sum 01:27:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 internal 01:27:06 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:07 + 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=1d882e5084bce49e87d24f320f28f6b9a242b71b --label arch=arm64 --label version=0.0.0 . 01:27:07 Sending build context to Docker daemon 5.643MB 01:27:07 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:27:07 Step 2/25 : FROM ${BASE} AS builder 01:27:07 ---> c19086988333 01:27:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:07 ---> Running in b256266ba971 01:27:08 Removing intermediate container b256266ba971 01:27:08 ---> bb59bde84b9b 01:27:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:27:08 ---> Running in 61af8a77460b 01:27:08 Removing intermediate container 61af8a77460b 01:27:08 ---> 45622df036fa 01:27:08 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:27:08 ---> Running in 9c035428120b 01:27:09 Removing intermediate container 9c035428120b 01:27:09 ---> 169620d4caa8 01:27:09 Step 6/25 : WORKDIR /device-uart 01:27:09 ---> Running in bb62b17d6532 01:27:09 Removing intermediate container bb62b17d6532 01:27:09 ---> 3e1ad446fccb 01:27:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:09 ---> Running in 1f769f43df12 01:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:12 OK: 270 MiB in 56 packages 01:27:13 Removing intermediate container 1f769f43df12 01:27:13 ---> cfc9033f2dd7 01:27:13 Step 8/25 : COPY go.mod vendor* ./ 01:27:15 ---> 57b54d1f2818 01:27:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:15 ---> Running in c05ab7590810 01:27:18 Removing intermediate container c05ab7590810 01:27:18 ---> 9df5ff3c1e25 01:27:18 Step 10/25 : COPY . . 01:27:18 ---> 4283fe92ac28 01:27:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:19 ---> Running in b13aca815511 01:27:19 Removing intermediate container b13aca815511 01:27:19 ---> bee31c4e2b10 01:27:19 Step 12/25 : RUN ${MAKE} 01:27:19 ---> Running in 6e822621f9a3 01:27:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:29:27 Removing intermediate container 6e822621f9a3 01:29:27 ---> 08143e64cea7 01:29:27 Step 13/25 : FROM alpine:3.18 01:29:27 3.18: Pulling from library/alpine 01:29:27 579b34f0a95b: Pulling fs layer 01:29:27 579b34f0a95b: Verifying Checksum 01:29:27 579b34f0a95b: Download complete 01:29:27 579b34f0a95b: Pull complete 01:29:27 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:29:27 Status: Downloaded newer image for alpine:3.18 01:29:27 ---> 3cc203321400 01:29:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:29:27 ---> Running in ea0cd17df544 01:29:27 Removing intermediate container ea0cd17df544 01:29:27 ---> 6c691f797362 01:29:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:29:27 ---> Running in f33d68264cdc 01:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:29:27 (1/1) Installing dumb-init (1.2.5-r2) 01:29:27 Executing busybox-1.36.1-r2.trigger 01:29:27 OK: 8 MiB in 16 packages 01:29:28 Removing intermediate container f33d68264cdc 01:29:28 ---> 0bc3e01b8f3e 01:29:28 Step 16/25 : WORKDIR / 01:29:28 ---> Running in 91d6bb089776 01:29:28 Removing intermediate container 91d6bb089776 01:29:28 ---> 02414f35e186 01:29:28 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:29:29 ---> 9e0f34fcf3b1 01:29:29 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:29:30 ---> 0407a791c525 01:29:30 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:29:32 ---> b3c063ee3d58 01:29:32 Step 20/25 : EXPOSE 59995 01:29:32 ---> Running in 5d8bfc15a0cc 01:29:32 Removing intermediate container 5d8bfc15a0cc 01:29:32 ---> eae604e47d23 01:29:32 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:29:32 ---> Running in 0a2ebdfa3dc6 01:29:32 Removing intermediate container 0a2ebdfa3dc6 01:29:32 ---> 7dcfe6b4a2ff 01:29:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:29:32 ---> Running in 0f1ec19a616a 01:29:33 Removing intermediate container 0f1ec19a616a 01:29:33 ---> e5cc06109bfa 01:29:33 Step 23/25 : LABEL arch=arm64 01:29:33 ---> Running in 42da3c51913d 01:29:33 Removing intermediate container 42da3c51913d 01:29:33 ---> 048abed10d18 01:29:33 Step 24/25 : LABEL git_sha=1d882e5084bce49e87d24f320f28f6b9a242b71b 01:29:33 ---> Running in e970bb908b27 01:29:34 Removing intermediate container e970bb908b27 01:29:34 ---> 95c0d620ac8c 01:29:34 Step 25/25 : LABEL version=0.0.0 01:29:34 ---> Running in a94009311fc5 01:29:34 Removing intermediate container a94009311fc5 01:29:34 ---> dd9d1904be62 01:29:34 [Warning] One or more build-args [ARCH] were not consumed 01:29:34 Successfully built dd9d1904be62 01:29:34 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 01:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:35 01:29:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:36 arm64: Pulling from edgex-lftools-log-publisher 01:29:36 8998bd30e6a1: Pulling fs layer 01:29:36 04944245beec: Pulling fs layer 01:29:36 699f458cf7ca: Pulling fs layer 01:29:36 765212b225bb: Pulling fs layer 01:29:36 f23df028b6ca: Pulling fs layer 01:29:36 d65c8cfc05b1: Pulling fs layer 01:29:36 2437ff75d9bd: Pulling fs layer 01:29:36 765212b225bb: Waiting 01:29:36 f23df028b6ca: Waiting 01:29:36 d65c8cfc05b1: Waiting 01:29:36 2437ff75d9bd: Waiting 01:29:36 04944245beec: Verifying Checksum 01:29:36 04944245beec: Download complete 01:29:36 765212b225bb: Verifying Checksum 01:29:36 765212b225bb: Download complete 01:29:36 f23df028b6ca: Verifying Checksum 01:29:36 f23df028b6ca: Download complete 01:29:36 d65c8cfc05b1: Verifying Checksum 01:29:36 d65c8cfc05b1: Download complete 01:29:36 699f458cf7ca: Verifying Checksum 01:29:36 699f458cf7ca: Download complete 01:29:37 8998bd30e6a1: Verifying Checksum 01:29:37 8998bd30e6a1: Download complete 01:29:40 2437ff75d9bd: Verifying Checksum 01:29:40 2437ff75d9bd: Download complete 01:29:42 8998bd30e6a1: Pull complete 01:29:42 04944245beec: Pull complete 01:29:44 699f458cf7ca: Pull complete 01:29:45 765212b225bb: Pull complete 01:29:49 f23df028b6ca: Pull complete 01:29:49 d65c8cfc05b1: Pull complete 01:30:07 2437ff75d9bd: Pull complete 01:30:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:08 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 01:30:08 $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:30:10 $ docker top f4162cb953e12c8232d427f98f81b8c4e34cd2e62e64f0ebf7c428f4ff93fa0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:11 ---> job-cost.sh 01:30:11 lf-activate-venv: SKIPPING 01:30:11 INFO: No Stack... 01:30:11 INFO: Retrieving Pricing Info for: v3-standard-4 01:30:12 INFO: Archiving Costs [Pipeline] sh 01:30:13 + cat /w/workspace/device-uart/1/archives/cost.csv 01:30:13 + cut -d, -f6 [Pipeline] lock 01:30:13 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] 01:30:13 Resource [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] did not exist. Created. 01:30:13 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:30:14 /w/workspace/device-uart/1@tmp/durable-22c2b3e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:30:15 + echo total: 0.10999999940395355 [Pipeline] stash 01:30:15 Warning: overwriting stash ‘stack-cost’ 01:30:15 Stashed 1 file(s) [Pipeline] } 01:30:15 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-28-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:30:15 $ docker stop --time=1 f4162cb953e12c8232d427f98f81b8c4e34cd2e62e64f0ebf7c428f4ff93fa0d 01:30:17 $ docker rm -f --volumes f4162cb953e12c8232d427f98f81b8c4e34cd2e62e64f0ebf7c428f4ff93fa0d [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 01:30:18 provisioning config files... 01:30:18 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-28@tmp/config206290082424415418tmp [Pipeline] { [Pipeline] sh 01:30:19 + set +x 01:30:19 + curl -s https://codecov.io/bash 01:30:19 + bash -s -- 01:30:19 01:30:19 _____ _ 01:30:19 / ____| | | 01:30:19 | | ___ __| | ___ ___ _____ __ 01:30:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:30:19 | |___| (_) | (_| | __/ (_| (_) \ V / 01:30:19 \_____\___/ \__,_|\___|\___\___/ \_/ 01:30:19 Bash-1.0.6 01:30:19 01:30:19 01:30:19 ==> git version 2.25.1 found 01:30:19 ==> 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 01:30:19 Release-Date: 2020-01-08 01:30:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:30:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:30:19 ==> Jenkins CI detected. 01:30:19 current dir:  /w/workspace/edgexfoundry_device-uart_PR-28 01:30:19 project root: . 01:30:19 --> token set from env 01:30:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:30:19 ==> Running gcov in . (disable via -X gcov) 01:30:19 ==> Python coveragepy not found 01:30:19 ==> Searching for coverage reports in: 01:30:19 + . 01:30:19 -> Found 1 reports 01:30:19 ==> Detecting git/mercurial file structure 01:30:19 ==> Reading reports 01:30:19 + ./coverage.out bytes=10 01:30:19 ==> Appending adjustments 01:30:19 https://docs.codecov.io/docs/fixing-reports 01:30:19 + Found adjustments 01:30:19 ==> Gzipping contents 01:30:19 4.0K /tmp/codecov.U9yHyc.gz 01:30:19 ==> Uploading reports 01:30:19 url: https://codecov.io 01:30:19 query: branch=PR-28&commit=1d882e5084bce49e87d24f320f28f6b9a242b71b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-28%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=28&job=&cmd_args= 01:30:19 -> Pinging Codecov 01:30:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-28&commit=1d882e5084bce49e87d24f320f28f6b9a242b71b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-28%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=28&job=&cmd_args= 01:30:19 -> Uploading to 01:30:19 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/1d882e5084bce49e87d24f320f28f6b9a242b71b/43e5217b-122f-4ad4-81f4-db9572ae59e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T013019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94bf0786e43ca9e3e53c86dff760ab1db52976a214189b43f9fa11a7b9bd077e 01:30:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:19 Dload Upload Total Spent Left Speed 01:30:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1518 --:--:-- --:--:-- --:--:-- 1515 01:30:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/1d882e5084bce49e87d24f320f28f6b9a242b71b [Pipeline] } 01:30:20 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 01:30:21 + [ -d /w/workspace/edgexfoundry_device-uart_PR-28/archives ] 01:30:21 + ls -al /w/workspace/edgexfoundry_device-uart_PR-28/archives 01:30:21 total 16 01:30:21 drwxr-xr-x 3 root root 4096 Oct 25 01:21 . 01:30:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:21 .. 01:30:21 drwxr-xr-x 2 root root 4096 Oct 25 01:21 cost 01:30:21 -rw-r--r-- 1 root root 82 Oct 25 01:21 cost.csv 01:30:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-28/archives 01:30:21 + ls -al /w/workspace/edgexfoundry_device-uart_PR-28/archives 01:30:21 total 16 01:30:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:21 . 01:30:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:21 .. 01:30:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:21 cost 01:30:21 -rw-r--r-- 1 jenkins jenkins 82 Oct 25 01:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:30:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:30:23 ---> package-listing.sh 01:30:23 ++ facter osfamily 01:30:23 ++ tr '[:upper:]' '[:lower:]' 01:30:23 + OS_FAMILY=debian 01:30:23 + workspace=/w/workspace/edgexfoundry_device-uart_PR-28 01:30:23 + START_PACKAGES=/tmp/packages_start.txt 01:30:23 + END_PACKAGES=/tmp/packages_end.txt 01:30:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:30:23 + PACKAGES=/tmp/packages_start.txt 01:30:23 + '[' /w/workspace/edgexfoundry_device-uart_PR-28 ']' 01:30:23 + PACKAGES=/tmp/packages_end.txt 01:30:23 + case "${OS_FAMILY}" in 01:30:23 + dpkg -l 01:30:23 + grep '^ii' 01:30:23 + '[' -f /tmp/packages_start.txt ']' 01:30:23 + '[' -f /tmp/packages_end.txt ']' 01:30:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:30:23 + '[' /w/workspace/edgexfoundry_device-uart_PR-28 ']' 01:30:23 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-28/archives/ 01:30:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-28/archives/ [Pipeline] echo 01:30:23 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-28/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:30:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:24 prd-ubuntu20.04-docker-8c-8g-10350 does not seem to be running inside a container 01:30:24 $ 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-28/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-28 -v /w/workspace/edgexfoundry_device-uart_PR-28:/w/workspace/edgexfoundry_device-uart_PR-28:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-28@tmp:/w/workspace/edgexfoundry_device-uart_PR-28@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:30:24 $ docker top e86093e88265017c5d3849327cada90832dc6287e51d0e27e81c1e04e0ca1da4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:25 + touch /tmp/pre-build-complete [Pipeline] sh 01:30:25 + mkdir -p /var/log/sysstat [Pipeline] sh 01:30:25 + ls /var/log/sa-host 01:30:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:25 provisioning config files... 01:30:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-28@tmp/config14498169683692264375tmp [Pipeline] { [Pipeline] echo 01:30:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:30:26 ---> create-netrc.sh [Pipeline] } 01:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:30:26 ---> python-tools-install.sh [Pipeline] echo 01:30:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:30:27 ---> sudo-logs.sh 01:30:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:30:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:30:27 ---> job-cost.sh 01:30:27 lf-activate-venv: SKIPPING 01:30:27 DEBUG: total: 0.2199999988079071 01:30:27 INFO: Retrieving Stack Cost... 01:30:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:30:28 INFO: Archiving Costs [Pipeline] echo 01:30:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:30:28 ---> logs-deploy.sh 01:30:28 lf-activate-venv: SKIPPING 01:30:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-28/1 01:30:28 INFO: archiving workspace using pattern(s): 01:30:29 Archives upload complete. 01:30:29 INFO: archiving logs to Nexus