Pull request #26 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from 591fe365cb0d0d49483bd116b5c6838462170107+0197f7477711c065f24c514fa051c7e38d133d4f (c0edea4674b49d23fe9ad26353b69d58e77c71b9) 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-ssh18411346936870869539.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-ssh7652405288616305307.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-26/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-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8696791842519623589.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-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10235410698060994629.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-ssh11143052187542678734.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-26/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-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17899498638198027842.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10333 in /w/workspace/edgexfoundry_device-uart_PR-26 [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-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0197f7477711c065f24c514fa051c7e38d133d4f into PR head commit 591fe365cb0d0d49483bd116b5c6838462170107 Merge succeeded, producing 591fe365cb0d0d49483bd116b5c6838462170107 Checking out Revision 591fe365cb0d0d49483bd116b5c6838462170107 (PR-26) > git config core.sparsecheckout # timeout=10 > git checkout -f 591fe365cb0d0d49483bd116b5c6838462170107 # 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 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 591fe365cb0d0d49483bd116b5c6838462170107 # timeout=10 Commit message: "build: Add missing .github files" 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 23:35:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:35:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:35:47 ========================================================= 23:35:47 EdgeX Global Pipelines Version Info 23:35:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:35:48 ------------------- 23:35:48 stable info: 23:35:48 ------------------- 23:35:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:35:48 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:35:48 Message: update stable to v1.0.254 23:35:48 ------------------- 23:35:48 experimental info: 23:35:48 ------------------- 23:35:48 Commited By: **** collab-it+edgex@linuxfoundation.org 23:35:48 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:35:48 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:35:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 591fe365cb0d0d49483bd116b5c6838462170107 [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 591fe36 [Pipeline] echo 23:35:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:50 provisioning config files... 23:35:50 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config4122922482523231600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:50 ---> docker-login.sh 23:35:50 nexus3.edgexfoundry.org:10001 23:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:51 Configure a credential helper to remove this warning. See 23:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:51 23:35:51 Login Succeeded 23:35:51 nexus3.edgexfoundry.org:10002 23:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:51 Configure a credential helper to remove this warning. See 23:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:51 23:35:51 Login Succeeded 23:35:51 nexus3.edgexfoundry.org:10003 23:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:51 Configure a credential helper to remove this warning. See 23:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:51 23:35:51 Login Succeeded 23:35:51 nexus3.edgexfoundry.org:10004 23:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:51 Configure a credential helper to remove this warning. See 23:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:51 23:35:51 Login Succeeded 23:35:51 docker.io 23:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:51 Configure a credential helper to remove this warning. See 23:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:51 23:35:51 Login Succeeded 23:35:51 ---> docker-login.sh ends [Pipeline] } 23:35:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:35:52 + git rev-list -1 --merges 591fe365cb0d0d49483bd116b5c6838462170107~1..591fe365cb0d0d49483bd116b5c6838462170107 [Pipeline] echo 23:35:52 -----------> git rev-list -1 --merges 591fe365cb0d0d49483bd116b5c6838462170107~1..591fe365cb0d0d49483bd116b5c6838462170107 591fe365cb0d0d49483bd116b5c6838462170107 [false] [Pipeline] sh 23:35:52 + git log --format=format:%s -1 591fe365cb0d0d49483bd116b5c6838462170107 [Pipeline] echo 23:35:52 ========================================================= 23:35:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:35:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:35:53 + git log --format=format:%s -1 591fe365cb0d0d49483bd116b5c6838462170107 [Pipeline] echo 23:35:53 [semverPrep] GIT_COMMIT: 591fe365cb0d0d49483bd116b5c6838462170107, Commit Message: build: Add missing .github files [Pipeline] echo 23:35:53 [semverPrep] This is not a build commit. [Pipeline] sh 23:35:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:35:53 + grep -v github /etc/ssh/ssh_known_hosts 23:35:53 + [ -e /tmp/ssh_known_hosts ] 23:35:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:35:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:35:53 + sudo tee -a /etc/ssh/ssh_known_hosts 23:35:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:35:54 23:35:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:35:54 0.1.4: Pulling from edgex-devops/py-git-semver 23:35:54 b85a868b505f: Pulling fs layer 23:35:54 e2be974225ed: Pulling fs layer 23:35:54 339a4e72a1f5: Pulling fs layer 23:35:54 988bab9f4d93: Pulling fs layer 23:35:54 1469e6f7b9e6: Pulling fs layer 23:35:54 eaf3925da568: Pulling fs layer 23:35:54 bab4dde63d76: Pulling fs layer 23:35:54 bde34c3a00c8: Pulling fs layer 23:35:54 b352a97aabf1: Pulling fs layer 23:35:54 4872d77fe225: Pulling fs layer 23:35:54 5851b861e8e6: Pulling fs layer 23:35:54 bde34c3a00c8: Waiting 23:35:54 bab4dde63d76: Waiting 23:35:54 1469e6f7b9e6: Waiting 23:35:54 b352a97aabf1: Waiting 23:35:54 5851b861e8e6: Waiting 23:35:54 4872d77fe225: Waiting 23:35:54 988bab9f4d93: Waiting 23:35:54 e2be974225ed: Verifying Checksum 23:35:54 e2be974225ed: Download complete 23:35:54 988bab9f4d93: Verifying Checksum 23:35:54 988bab9f4d93: Download complete 23:35:54 1469e6f7b9e6: Verifying Checksum 23:35:54 1469e6f7b9e6: Download complete 23:35:54 eaf3925da568: Download complete 23:35:54 339a4e72a1f5: Verifying Checksum 23:35:54 339a4e72a1f5: Download complete 23:35:54 bde34c3a00c8: Verifying Checksum 23:35:54 bde34c3a00c8: Download complete 23:35:54 b352a97aabf1: Download complete 23:35:54 b85a868b505f: Download complete 23:35:55 bab4dde63d76: Verifying Checksum 23:35:55 bab4dde63d76: Download complete 23:35:56 b85a868b505f: Pull complete 23:35:56 e2be974225ed: Pull complete 23:35:56 339a4e72a1f5: Pull complete 23:35:56 988bab9f4d93: Pull complete 23:35:57 1469e6f7b9e6: Pull complete 23:35:57 eaf3925da568: Pull complete 23:35:59 bab4dde63d76: Pull complete 23:35:59 bde34c3a00c8: Pull complete 23:35:59 b352a97aabf1: Pull complete 23:35:59 4872d77fe225: Pull complete 23:35:59 5851b861e8e6: Pull complete 23:35:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:35:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:59 prd-ubuntu20.04-docker-8c-8g-10333 does not seem to be running inside a container 23:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@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-devops/py-git-semver:0.1.4 cat 23:36:02 $ docker top 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c -eo pid,comm 23:36:02 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). 23:36:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:36:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:02 [ssh-agent] Looking for ssh-agent implementation... 23:36:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:02 $ docker exec 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c ssh-agent 23:36:02 SSH_AUTH_SOCK=/tmp/ssh-25ljD5dzM5N0/agent.33 23:36:02 SSH_AGENT_PID=39 23:36:02 Running ssh-add (command line suppressed) 23:36:03 Identity added: /w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_11267063047813444203.key (/w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_11267063047813444203.key) 23:36:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:03 + git tag --points-at HEAD [Pipeline] } 23:36:03 $ docker exec --env ******** --env ******** 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c ssh-agent -k 23:36:03 unset SSH_AUTH_SOCK; 23:36:03 unset SSH_AGENT_PID; 23:36:03 echo Agent pid 39 killed; 23:36:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:36:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:03 [ssh-agent] Looking for ssh-agent implementation... 23:36:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:03 $ docker exec 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c ssh-agent 23:36:03 SSH_AUTH_SOCK=/tmp/ssh-u9aa3kn1DEsD/agent.71 23:36:03 SSH_AGENT_PID=77 23:36:03 Running ssh-add (command line suppressed) 23:36:03 Identity added: /w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_14227551342037023427.key (/w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_14227551342037023427.key) 23:36:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:04 + git semver init 23:36:04 2023-10-24 23:36:04,491 [run_init] DEBUG init version:0.0.0 force:False 23:36:04 2023-10-24 23:36:04,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-26/.semver 23:36:04 2023-10-24 23:36:04,492 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-26/.semver 23:36:04 2023-10-24 23:36:04,492 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-26/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26, universal_newlines=False, shell=None, istream=None) 23:36:05 2023-10-24 23:36:05,474 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-26/.git/info/exclude 23:36:05 2023-10-24 23:36:05,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 with force:False 23:36:05 2023-10-24 23:36:05,474 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 23:36:05 2023-10-24 23:36:05,478 [execute] INFO git cat-file --batch-check 23:36:05 2023-10-24 23:36:05,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26/.semver, universal_newlines=False, shell=None, istream=) 23:36:05 2023-10-24 23:36:05,486 [execute] INFO git cat-file --batch 23:36:05 2023-10-24 23:36:05,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26/.semver, universal_newlines=False, shell=None, istream=) 23:36:05 2023-10-24 23:36:05,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 23:36:05 0.0.0 [Pipeline] } 23:36:05 $ docker exec --env ******** --env ******** 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c ssh-agent -k 23:36:05 unset SSH_AUTH_SOCK; 23:36:05 unset SSH_AGENT_PID; 23:36:05 echo Agent pid 77 killed; 23:36:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:36:06 + git semver [Pipeline] } 23:36:06 $ docker stop --time=1 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c 23:36:07 $ docker rm -f --volumes 6a4934ba184c48716d18b772dd7642b8b1742403f4513a804279f65644c6220c [Pipeline] // withDockerContainer [Pipeline] sh 23:36:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:36:08 Stashed 1 file(s) [Pipeline] echo 23:36:08 [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 23:36:08 provisioning config files... 23:36:08 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config13674702410106215589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:09 ---> docker-login.sh 23:36:09 nexus3.edgexfoundry.org:10001 23:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:09 Configure a credential helper to remove this warning. See 23:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:09 23:36:09 Login Succeeded 23:36:09 nexus3.edgexfoundry.org:10002 23:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:09 Configure a credential helper to remove this warning. See 23:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:09 23:36:09 Login Succeeded 23:36:09 nexus3.edgexfoundry.org:10003 23:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:09 Configure a credential helper to remove this warning. See 23:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:09 23:36:09 Login Succeeded 23:36:09 nexus3.edgexfoundry.org:10004 23:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:09 Configure a credential helper to remove this warning. See 23:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:09 23:36:09 Login Succeeded 23:36:09 docker.io 23:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:10 Configure a credential helper to remove this warning. See 23:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:10 23:36:10 Login Succeeded 23:36:10 ---> docker-login.sh ends [Pipeline] } 23:36:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:36:10 ========================================================= 23:36:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:36:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:10 + 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 . 23:36:10 Sending build context to Docker daemon 11.15MB 23:36:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:36:10 Step 2/12 : FROM ${BASE} AS builder 23:36:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:36:10 7264a8db6415: Pulling fs layer 23:36:10 c4d48a809fc2: Pulling fs layer 23:36:10 4f1c88b9dad5: Pulling fs layer 23:36:10 ad3a456e5733: Pulling fs layer 23:36:10 33e27b845d1e: Pulling fs layer 23:36:10 c68163c4e522: Pulling fs layer 23:36:10 50da416c3ac9: Pulling fs layer 23:36:10 23d2d4c4bb30: Pulling fs layer 23:36:10 c68163c4e522: Waiting 23:36:10 50da416c3ac9: Waiting 23:36:10 23d2d4c4bb30: Waiting 23:36:10 ad3a456e5733: Waiting 23:36:10 33e27b845d1e: Waiting 23:36:10 c4d48a809fc2: Download complete 23:36:11 ad3a456e5733: Verifying Checksum 23:36:11 ad3a456e5733: Download complete 23:36:11 33e27b845d1e: Verifying Checksum 23:36:11 33e27b845d1e: Download complete 23:36:11 7264a8db6415: Verifying Checksum 23:36:11 7264a8db6415: Download complete 23:36:11 c68163c4e522: Verifying Checksum 23:36:11 c68163c4e522: Download complete 23:36:11 7264a8db6415: Pull complete 23:36:11 c4d48a809fc2: Pull complete 23:36:11 23d2d4c4bb30: Download complete 23:36:11 4f1c88b9dad5: Verifying Checksum 23:36:11 4f1c88b9dad5: Download complete 23:36:11 50da416c3ac9: Verifying Checksum 23:36:11 50da416c3ac9: Download complete 23:36:15 4f1c88b9dad5: Pull complete 23:36:15 ad3a456e5733: Pull complete 23:36:15 33e27b845d1e: Pull complete 23:36:15 c68163c4e522: Pull complete 23:36:17 50da416c3ac9: Pull complete 23:36:17 23d2d4c4bb30: Pull complete 23:36:17 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:36:17 ---> 0786185ac409 23:36:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:36:21 ---> Running in 1d00132e4fc5 23:36:21 Removing intermediate container 1d00132e4fc5 23:36:21 ---> 0d479d0015e6 23:36:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:36:21 ---> Running in f6321d08b6ea 23:36:21 Removing intermediate container f6321d08b6ea 23:36:21 ---> 364b9eea560e 23:36:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:36:21 ---> Running in f682f3f8449f 23:36:21 Removing intermediate container f682f3f8449f 23:36:21 ---> 8ce7d4fd7c7b 23:36:21 Step 6/12 : WORKDIR /device-uart 23:36:21 ---> Running in 9fb4f1b2ee50 23:36:21 Removing intermediate container 9fb4f1b2ee50 23:36:21 ---> fbdd65921eb7 23:36:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:21 ---> Running in fee6715075f0 23:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:36:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:36:22 (2/4) Installing libedit (20221030.3.1-r1) 23:36:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:36:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:36:22 Executing busybox-1.36.1-r2.trigger 23:36:22 OK: 268 MiB in 56 packages 23:36:23 Removing intermediate container fee6715075f0 23:36:23 ---> 0139ed381522 23:36:23 Step 8/12 : COPY go.mod vendor* ./ 23:36:23 ---> c96e42f9bf9e 23:36:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:23 ---> Running in 0465fb686c6b 23:36:23 Still waiting to schedule task 23:36:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:37:19 Removing intermediate container 0465fb686c6b 23:37:19 ---> b31db42d93d2 23:37:19 Step 10/12 : COPY . . 23:37:19 ---> 7b0f3fc2eee8 23:37:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:19 ---> Running in 37483715114f 23:37:19 Removing intermediate container 37483715114f 23:37:19 ---> 1c45da3ac857 23:37:19 Step 12/12 : RUN ${MAKE} 23:37:19 ---> Running in ee687547fc74 23:37:19 noop 23:37:19 Removing intermediate container ee687547fc74 23:37:19 ---> 64a5d0272e5b 23:37:19 Successfully built 64a5d0272e5b 23:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:19 + docker inspect -f . ci-base-image-x86_64 23:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:20 prd-ubuntu20.04-docker-8c-8g-10333 does not seem to be running inside a container 23:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:20 $ docker top 41ba5abf5c43e2c9684f51930dc8a564822277fa8ce2ff805298431caf08814e -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:20 + go version 23:37:20 go version go1.21.0 linux/amd64 [Pipeline] } 23:37:20 $ docker stop --time=1 41ba5abf5c43e2c9684f51930dc8a564822277fa8ce2ff805298431caf08814e 23:37:22 $ docker rm -f --volumes 41ba5abf5c43e2c9684f51930dc8a564822277fa8ce2ff805298431caf08814e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:22 + docker inspect -f . ci-base-image-x86_64 23:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:23 prd-ubuntu20.04-docker-8c-8g-10333 does not seem to be running inside a container 23:37:23 $ 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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:23 $ docker top 5e866622a3d52bff8d9e9dda111fbe7c35043a2890f8dd80be4a402b7a0b8aef -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-26 [Pipeline] fileExists [Pipeline] sh 23:37:24 + make test 23:37:24 go test ./... -coverprofile=coverage.out 23:37:25 ? github.com/edgexfoundry/device-uart [no test files] 23:37:35 ? github.com/edgexfoundry/device-uart/cmd [no test files] 23:37:35 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 23:37:42 go vet ./... 23:37:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:45 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:45 $ docker stop --time=1 5e866622a3d52bff8d9e9dda111fbe7c35043a2890f8dd80be4a402b7a0b8aef 23:37:48 $ docker rm -f --volumes 5e866622a3d52bff8d9e9dda111fbe7c35043a2890f8dd80be4a402b7a0b8aef [Pipeline] // withDockerContainer [Pipeline] sh 23:37:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:37:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:49 + ls -al . 23:37:49 total 148 23:37:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:37 . 23:37:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:35 .. 23:37:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 23:35 .dockerignore 23:37:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:37 .git 23:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:35 .github 23:37:49 -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 23:35 .gitignore 23:37:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:35 .golangci.yml 23:37:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:36 .semver 23:37:49 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 24 23:35 Attribution.txt 23:37:49 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 24 23:35 Dockerfile 23:37:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:35 GOVERNANCE.md 23:37:49 -rw-rw-r-- 1 jenkins jenkins 675 Oct 24 23:35 Jenkinsfile 23:37:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:35 LICENSE 23:37:49 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 24 23:35 Makefile 23:37:49 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 23:35 OWNERS.md 23:37:49 -rw-rw-r-- 1 jenkins jenkins 7340 Oct 24 23:35 README.md 23:37:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:36 VERSION 23:37:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:35 bin 23:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:35 cmd 23:37:49 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 23:37 coverage.out 23:37:49 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 24 23:35 go.mod 23:37:49 -rw-rw-r-- 1 jenkins jenkins 33980 Oct 24 23:35 go.sum 23:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:35 internal 23:37:49 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 23:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:50 + 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=591fe365cb0d0d49483bd116b5c6838462170107 --label arch=amd64 --label version=0.0.0 . 23:37:50 Sending build context to Docker daemon 11.15MB 23:37:50 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:37:50 Step 2/25 : FROM ${BASE} AS builder 23:37:50 ---> 64a5d0272e5b 23:37:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:37:50 ---> Running in d238a9d8e892 23:37:50 Removing intermediate container d238a9d8e892 23:37:50 ---> e6f920e883cc 23:37:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:37:50 ---> Running in 9418f8a6fe58 23:37:50 Removing intermediate container 9418f8a6fe58 23:37:50 ---> 3457384b2a9f 23:37:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:37:50 ---> Running in 42447657986a 23:37:50 Removing intermediate container 42447657986a 23:37:50 ---> 7cd2d9ceba42 23:37:50 Step 6/25 : WORKDIR /device-uart 23:37:50 ---> Running in aad2e0a8f3eb 23:37:50 Removing intermediate container aad2e0a8f3eb 23:37:50 ---> f2c0dfcf141a 23:37:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:51 ---> Running in e2c55362a587 23:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:37:51 OK: 268 MiB in 56 packages 23:37:52 Removing intermediate container e2c55362a587 23:37:52 ---> 44f64bb4d765 23:37:52 Step 8/25 : COPY go.mod vendor* ./ 23:37:52 ---> d480847319e4 23:37:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:52 ---> Running in a6c08388f41b 23:37:52 Removing intermediate container a6c08388f41b 23:37:52 ---> 34bc593fa614 23:37:52 Step 10/25 : COPY . . 23:37:53 ---> 0b4e0fb633c1 23:37:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:53 ---> Running in e3927ee24d59 23:37:53 Removing intermediate container e3927ee24d59 23:37:53 ---> ad1f4838ff4c 23:37:53 Step 12/25 : RUN ${MAKE} 23:37:53 ---> Running in bac4f51b5b49 23:37:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 23:38:11 Removing intermediate container bac4f51b5b49 23:38:11 ---> 82ff7db7ae71 23:38:11 Step 13/25 : FROM alpine:3.18 23:38:12 3.18: Pulling from library/alpine 23:38:12 96526aa774ef: Pulling fs layer 23:38:12 96526aa774ef: Verifying Checksum 23:38:12 96526aa774ef: Download complete 23:38:12 96526aa774ef: Pull complete 23:38:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:38:12 Status: Downloaded newer image for alpine:3.18 23:38:12 ---> 8ca4688f4f35 23:38:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:38:13 ---> Running in c58b12da5718 23:38:13 Removing intermediate container c58b12da5718 23:38:13 ---> 79413ac3202b 23:38:13 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:38:13 ---> Running in 4997583bdddd 23:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:38:14 (1/1) Installing dumb-init (1.2.5-r2) 23:38:14 Executing busybox-1.36.1-r2.trigger 23:38:14 OK: 7 MiB in 16 packages 23:38:14 Removing intermediate container 4997583bdddd 23:38:14 ---> 9f641712f962 23:38:14 Step 16/25 : WORKDIR / 23:38:14 ---> Running in 913a99169a39 23:38:14 Removing intermediate container 913a99169a39 23:38:14 ---> 3e6b668c434a 23:38:14 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 23:38:14 ---> b10a9c0e835f 23:38:14 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 23:38:15 ---> 16e4a69bbb12 23:38:15 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 23:38:15 ---> 3486f225942f 23:38:15 Step 20/25 : EXPOSE 59995 23:38:15 ---> Running in 4cb9202a4292 23:38:15 Removing intermediate container 4cb9202a4292 23:38:15 ---> b3695f128e62 23:38:15 Step 21/25 : ENTRYPOINT ["/device-uart"] 23:38:15 ---> Running in a9087678d9a7 23:38:15 Removing intermediate container a9087678d9a7 23:38:15 ---> ffb1922d484f 23:38:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:38:15 ---> Running in 1921b35e5550 23:38:15 Removing intermediate container 1921b35e5550 23:38:15 ---> cec30c163021 23:38:15 Step 23/25 : LABEL arch=amd64 23:38:15 ---> Running in 588c5bd65bd7 23:38:16 Removing intermediate container 588c5bd65bd7 23:38:16 ---> 10a0b81d7152 23:38:16 Step 24/25 : LABEL git_sha=591fe365cb0d0d49483bd116b5c6838462170107 23:38:16 ---> Running in d997aa5fa194 23:38:16 Removing intermediate container d997aa5fa194 23:38:16 ---> 8ffac6bc2d14 23:38:16 Step 25/25 : LABEL version=0.0.0 23:38:16 ---> Running in ffbc4f4e3776 23:38:16 Removing intermediate container ffbc4f4e3776 23:38:16 ---> bedafaeb439b 23:38:16 [Warning] One or more build-args [ARCH] were not consumed 23:38:16 Successfully built bedafaeb439b 23:38:16 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 23:38:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:17 23:38:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:17 latest: Pulling from edgex-lftools-log-publisher 23:38:17 5eb5b503b376: Pulling fs layer 23:38:17 5c69ac0246d0: Pulling fs layer 23:38:17 ec43610c2a17: Pulling fs layer 23:38:17 3a2ae6a8a46f: Pulling fs layer 23:38:17 33b1e0a273af: Pulling fs layer 23:38:17 5d3b04190fa2: Pulling fs layer 23:38:17 2f39f015ded8: Pulling fs layer 23:38:17 3a2ae6a8a46f: Waiting 23:38:17 33b1e0a273af: Waiting 23:38:17 2f39f015ded8: Waiting 23:38:17 5d3b04190fa2: Waiting 23:38:17 5c69ac0246d0: Verifying Checksum 23:38:17 5c69ac0246d0: Download complete 23:38:17 3a2ae6a8a46f: Verifying Checksum 23:38:17 3a2ae6a8a46f: Download complete 23:38:17 33b1e0a273af: Verifying Checksum 23:38:17 33b1e0a273af: Download complete 23:38:17 ec43610c2a17: Download complete 23:38:17 5d3b04190fa2: Verifying Checksum 23:38:17 5d3b04190fa2: Download complete 23:38:17 5eb5b503b376: Verifying Checksum 23:38:17 5eb5b503b376: Download complete 23:38:18 2f39f015ded8: Download complete 23:38:19 5eb5b503b376: Pull complete 23:38:19 5c69ac0246d0: Pull complete 23:38:19 ec43610c2a17: Pull complete 23:38:19 3a2ae6a8a46f: Pull complete 23:38:20 33b1e0a273af: Pull complete 23:38:20 5d3b04190fa2: Pull complete 23:38:24 2f39f015ded8: Pull complete 23:38:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:24 prd-ubuntu20.04-docker-8c-8g-10333 does not seem to be running inside a container 23:38:24 $ 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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:38:27 $ docker top 9f5494e36234b9cbbaef49691a5b2209a7268f460d32f9b346e87b75d1294b8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:28 ---> job-cost.sh 23:38:28 lf-activate-venv: SKIPPING 23:38:28 INFO: No Stack... 23:38:28 INFO: Retrieving Pricing Info for: v3-standard-8 23:38:28 INFO: Archiving Costs [Pipeline] sh 23:38:28 + cat /w/workspace/edgexfoundry_device-uart_PR-26/archives/cost.csv 23:38:28 + cut -d, -f6 [Pipeline] lock 23:38:29 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] 23:38:29 Resource [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] did not exist. Created. 23:38:29 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:38:29 + echo total: 0.2199999988079071 [Pipeline] stash 23:38:29 Stashed 1 file(s) [Pipeline] } 23:38:29 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:38:29 $ docker stop --time=1 9f5494e36234b9cbbaef49691a5b2209a7268f460d32f9b346e87b75d1294b8b 23:38:30 $ docker rm -f --volumes 9f5494e36234b9cbbaef49691a5b2209a7268f460d32f9b346e87b75d1294b8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:40:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10334 in /w/workspace/edgexfoundry_device-uart_PR-26 [Pipeline] { [Pipeline] ws 23:40:35 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 23:40:35 The recommended git tool is: git 23:40:41 using credential edgex-jenkins-ssh 23:40:41 Cloning the remote Git repository 23:40:41 Cloning repository git@github.com:edgexfoundry/device-uart.git 23:40:41 > git init /w/workspace/device-uart/1 # timeout=10 23:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 23:40:41 > git --version # timeout=10 23:40:41 > git --version # 'git version 2.25.1' 23:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 23:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:44 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 23:40:44 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 23:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:47 Merging remotes/origin/main commit 0197f7477711c065f24c514fa051c7e38d133d4f into PR head commit 591fe365cb0d0d49483bd116b5c6838462170107 23:40:47 > git config core.sparsecheckout # timeout=10 23:40:47 > git checkout -f 591fe365cb0d0d49483bd116b5c6838462170107 # timeout=10 23:40:47 Merge succeeded, producing 591fe365cb0d0d49483bd116b5c6838462170107 23:40:47 Checking out Revision 591fe365cb0d0d49483bd116b5c6838462170107 (PR-26) 23:40:47 > git remote # timeout=10 23:40:47 > git config --get remote.origin.url # timeout=10 23:40:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:47 > git merge 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 23:40:47 > git rev-parse HEAD^{commit} # timeout=10 23:40:47 > git config core.sparsecheckout # timeout=10 23:40:47 > git checkout -f 591fe365cb0d0d49483bd116b5c6838462170107 # timeout=10 23:40:51 Commit message: "build: Add missing .github files" 23:40:51 > git --version # timeout=10 23:40:51 > git --version # 'git version 2.25.1' 23:40:51 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:40:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:52 Dload Upload Total Spent Left Speed 23:40:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 23:40:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:40:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:40:53 + sudo tee /etc/docker/daemon.new 23:40:53 { 23:40:53 "registry-mirrors": [ 23:40:53 "https://nexus3.edgexfoundry.org:10001" 23:40:53 ], 23:40:53 "bip": "10.250.0.254/24", 23:40:53 "hosts": [ 23:40:53 "tcp://0.0.0.0:5555", 23:40:53 "unix:///var/run/docker.sock" 23:40:53 ], 23:40:53 "mtu": 1458, 23:40:53 "selinux-enabled": true, 23:40:53 "seccomp-profile": "/etc/docker/seccomp.json" 23:40:53 } [Pipeline] sh 23:40:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:40:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:17 provisioning config files... 23:41:17 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1221018638816587123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:18 ---> docker-login.sh 23:41:18 nexus3.edgexfoundry.org:10001 23:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:18 Configure a credential helper to remove this warning. See 23:41:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:18 23:41:18 Login Succeeded 23:41:18 nexus3.edgexfoundry.org:10002 23:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:19 Configure a credential helper to remove this warning. See 23:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:19 23:41:19 Login Succeeded 23:41:19 nexus3.edgexfoundry.org:10003 23:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:19 Configure a credential helper to remove this warning. See 23:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:19 23:41:19 Login Succeeded 23:41:19 nexus3.edgexfoundry.org:10004 23:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:20 Configure a credential helper to remove this warning. See 23:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:20 23:41:20 Login Succeeded 23:41:20 docker.io 23:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:20 Configure a credential helper to remove this warning. See 23:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:20 23:41:20 Login Succeeded 23:41:20 ---> docker-login.sh ends [Pipeline] } 23:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:21 ========================================================= 23:41:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:41:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:21 + 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 . 23:41:22 Sending build context to Docker daemon 5.628MB 23:41:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:41:22 Step 2/12 : FROM ${BASE} AS builder 23:41:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:22 9fda8d8052c6: Pulling fs layer 23:41:22 5d54e960e981: Pulling fs layer 23:41:22 c4a7e357bf2a: Pulling fs layer 23:41:22 f0e02332f6b5: Pulling fs layer 23:41:22 cefa15bbcfad: Pulling fs layer 23:41:22 17808c966233: Pulling fs layer 23:41:22 f4c1fc716caa: Pulling fs layer 23:41:22 cefa15bbcfad: Waiting 23:41:22 17808c966233: Waiting 23:41:22 f4c1fc716caa: Waiting 23:41:22 f0e02332f6b5: Waiting 23:41:22 5d54e960e981: Verifying Checksum 23:41:22 5d54e960e981: Download complete 23:41:22 f0e02332f6b5: Verifying Checksum 23:41:22 f0e02332f6b5: Download complete 23:41:22 cefa15bbcfad: Download complete 23:41:22 9fda8d8052c6: Download complete 23:41:22 f4c1fc716caa: Verifying Checksum 23:41:22 f4c1fc716caa: Download complete 23:41:23 9fda8d8052c6: Pull complete 23:41:23 5d54e960e981: Pull complete 23:41:24 c4a7e357bf2a: Verifying Checksum 23:41:24 c4a7e357bf2a: Download complete 23:41:24 17808c966233: Download complete 23:41:37 c4a7e357bf2a: Pull complete 23:41:37 f0e02332f6b5: Pull complete 23:41:37 cefa15bbcfad: Pull complete 23:41:44 17808c966233: Pull complete 23:41:45 f4c1fc716caa: Pull complete 23:41:45 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:41:45 ---> ea914061e18c 23:41:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:41:47 ---> Running in 8a6ed9d7dfa5 23:41:47 Removing intermediate container 8a6ed9d7dfa5 23:41:47 ---> 90888a2c04ec 23:41:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:41:47 ---> Running in 067822f48eeb 23:41:48 Removing intermediate container 067822f48eeb 23:41:48 ---> a2be5abde924 23:41:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:41:48 ---> Running in 72534ab16f3e 23:41:48 Removing intermediate container 72534ab16f3e 23:41:48 ---> 45a068afc6d7 23:41:48 Step 6/12 : WORKDIR /device-uart 23:41:48 ---> Running in f40025bb0c53 23:41:48 Removing intermediate container f40025bb0c53 23:41:48 ---> df9735ea703a 23:41:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:48 ---> Running in 0f3e6d8bf1a7 23:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:41:51 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:41:51 (2/4) Installing libedit (20221030.3.1-r1) 23:41:51 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:41:51 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:41:51 Executing busybox-1.36.1-r2.trigger 23:41:51 OK: 270 MiB in 56 packages 23:41:55 Removing intermediate container 0f3e6d8bf1a7 23:41:55 ---> 5614e2daa151 23:41:55 Step 8/12 : COPY go.mod vendor* ./ 23:41:56 ---> e40ba24984ed 23:41:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:56 ---> Running in 4b8722c90bc1 23:43:33 Removing intermediate container 4b8722c90bc1 23:43:33 ---> c4f76b2ddc62 23:43:33 Step 10/12 : COPY . . 23:43:33 ---> cd1dcd623da8 23:43:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:33 ---> Running in 070988ca1446 23:43:33 Removing intermediate container 070988ca1446 23:43:33 ---> 2165cba5137f 23:43:33 Step 12/12 : RUN ${MAKE} 23:43:33 ---> Running in 2013905b69c9 23:43:33 noop 23:43:33 Removing intermediate container 2013905b69c9 23:43:33 ---> d21036d40eba 23:43:33 Successfully built d21036d40eba 23:43:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:33 + docker inspect -f . ci-base-image-arm64 23:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:33 prd-ubuntu20.04-docker-arm64-4c-16g-10334 does not seem to be running inside a container 23:43: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:35 $ docker top db62c7a13c66628507094c8e7ed58f896275535c085beaae9f4c108450173311 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:36 + go version 23:43:36 go version go1.21.0 linux/arm64 [Pipeline] } 23:43:36 $ docker stop --time=1 db62c7a13c66628507094c8e7ed58f896275535c085beaae9f4c108450173311 23:43:37 $ docker rm -f --volumes db62c7a13c66628507094c8e7ed58f896275535c085beaae9f4c108450173311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:38 + docker inspect -f . ci-base-image-arm64 23:43:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:38 prd-ubuntu20.04-docker-arm64-4c-16g-10334 does not seem to be running inside a container 23:43: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:40 $ docker top 54436f3fad4473843a7bab57f4eeddb2d4096d2a0e7e2aa32db32b9fc7698338 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:41 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 23:43:41 + make test 23:43:41 go test ./... -coverprofile=coverage.out 23:43:47 ? github.com/edgexfoundry/device-uart [no test files] 23:45:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 23:45:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 23:45:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:45:24 go vet ./... 23:45:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:36 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:37 $ docker stop --time=1 54436f3fad4473843a7bab57f4eeddb2d4096d2a0e7e2aa32db32b9fc7698338 23:45:39 $ docker rm -f --volumes 54436f3fad4473843a7bab57f4eeddb2d4096d2a0e7e2aa32db32b9fc7698338 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:40 Warning: overwriting stash ‘coverage-report’ 23:45:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:42 + ls -al . 23:45:42 total 144 23:45:42 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 23:43 . 23:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:40 .. 23:45:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 23:40 .dockerignore 23:45:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:40 .git 23:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:40 .github 23:45:42 -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 23:40 .gitignore 23:45:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:40 .golangci.yml 23:45:42 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 24 23:40 Attribution.txt 23:45:42 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 24 23:40 Dockerfile 23:45:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:40 GOVERNANCE.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 675 Oct 24 23:40 Jenkinsfile 23:45:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:40 LICENSE 23:45:42 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 24 23:40 Makefile 23:45:42 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 23:40 OWNERS.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 7340 Oct 24 23:40 README.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:36 VERSION 23:45:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:40 bin 23:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:40 cmd 23:45:42 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 23:43 coverage.out 23:45:42 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 24 23:40 go.mod 23:45:42 -rw-rw-r-- 1 jenkins jenkins 33980 Oct 24 23:40 go.sum 23:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:40 internal 23:45:42 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 23:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:42 + 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=591fe365cb0d0d49483bd116b5c6838462170107 --label arch=arm64 --label version=0.0.0 . 23:45:42 Sending build context to Docker daemon 5.629MB 23:45:42 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:45:42 Step 2/25 : FROM ${BASE} AS builder 23:45:42 ---> d21036d40eba 23:45:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:45:43 ---> Running in 79b0c78e053b 23:45:43 Removing intermediate container 79b0c78e053b 23:45:43 ---> 91bb60cf4cea 23:45:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:45:43 ---> Running in 81e7cb974c4a 23:45:43 Removing intermediate container 81e7cb974c4a 23:45:43 ---> 39b890c65a2a 23:45:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:45:43 ---> Running in 2cd43aa42bb3 23:45:44 Removing intermediate container 2cd43aa42bb3 23:45:44 ---> d818ab14f42b 23:45:44 Step 6/25 : WORKDIR /device-uart 23:45:44 ---> Running in 4de1d7e531b5 23:45:44 Removing intermediate container 4de1d7e531b5 23:45:44 ---> d4ad8c283334 23:45:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:44 ---> Running in a75c0f931733 23:45:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:45:47 OK: 270 MiB in 56 packages 23:45:48 Removing intermediate container a75c0f931733 23:45:48 ---> 26a17d0743bd 23:45:48 Step 8/25 : COPY go.mod vendor* ./ 23:45:52 ---> 5e91bb3328bb 23:45:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:52 ---> Running in ff233bf64f87 23:45:54 Removing intermediate container ff233bf64f87 23:45:54 ---> d499cff2b8dd 23:45:54 Step 10/25 : COPY . . 23:45:55 ---> b7134297a8d3 23:45:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:55 ---> Running in bf9dc9457125 23:45:55 Removing intermediate container bf9dc9457125 23:45:55 ---> 3a1be5ab9c7b 23:45:55 Step 12/25 : RUN ${MAKE} 23:45:55 ---> Running in d0f74205088e 23:45:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 23:47:48 Removing intermediate container d0f74205088e 23:47:48 ---> c9d721c5d781 23:47:48 Step 13/25 : FROM alpine:3.18 23:47:48 3.18: Pulling from library/alpine 23:47:48 579b34f0a95b: Pulling fs layer 23:47:48 579b34f0a95b: Verifying Checksum 23:47:48 579b34f0a95b: Download complete 23:47:48 579b34f0a95b: Pull complete 23:47:48 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:47:48 Status: Downloaded newer image for alpine:3.18 23:47:48 ---> 3cc203321400 23:47:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:47:48 ---> Running in 4f1a41be31d0 23:47:48 Removing intermediate container 4f1a41be31d0 23:47:48 ---> 370041a6461a 23:47:48 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:47:48 ---> Running in a35e82a883f6 23:47:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:47:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:47:48 (1/1) Installing dumb-init (1.2.5-r2) 23:47:48 Executing busybox-1.36.1-r2.trigger 23:47:48 OK: 8 MiB in 16 packages 23:47:48 Removing intermediate container a35e82a883f6 23:47:48 ---> 2b08c4ed57ad 23:47:48 Step 16/25 : WORKDIR / 23:47:48 ---> Running in 4336491565ef 23:47:48 Removing intermediate container 4336491565ef 23:47:48 ---> 2b90bcb569cd 23:47:48 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 23:47:48 ---> f0fc6077de94 23:47:48 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 23:47:48 ---> fe0f6367740b 23:47:48 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 23:47:50 ---> 64e3c426deff 23:47:50 Step 20/25 : EXPOSE 59995 23:47:50 ---> Running in 59be844289a3 23:47:50 Removing intermediate container 59be844289a3 23:47:50 ---> bd72cf85f622 23:47:50 Step 21/25 : ENTRYPOINT ["/device-uart"] 23:47:50 ---> Running in 2f9abd3cd822 23:47:50 Removing intermediate container 2f9abd3cd822 23:47:50 ---> 85644d7f3a6d 23:47:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:47:50 ---> Running in 741e2c735581 23:47:51 Removing intermediate container 741e2c735581 23:47:51 ---> 01ebbb31d09d 23:47:51 Step 23/25 : LABEL arch=arm64 23:47:51 ---> Running in f21db2511730 23:47:51 Removing intermediate container f21db2511730 23:47:51 ---> 4f5179d46263 23:47:51 Step 24/25 : LABEL git_sha=591fe365cb0d0d49483bd116b5c6838462170107 23:47:51 ---> Running in c3254d1db470 23:47:51 Removing intermediate container c3254d1db470 23:47:51 ---> 2796253756c3 23:47:51 Step 25/25 : LABEL version=0.0.0 23:47:52 ---> Running in e9eabc358f83 23:47:52 Removing intermediate container e9eabc358f83 23:47:52 ---> 7c2f39c59a51 23:47:52 [Warning] One or more build-args [ARCH] were not consumed 23:47:52 Successfully built 7c2f39c59a51 23:47:52 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 23:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:53 23:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:53 arm64: Pulling from edgex-lftools-log-publisher 23:47:53 8998bd30e6a1: Pulling fs layer 23:47:53 04944245beec: Pulling fs layer 23:47:53 699f458cf7ca: Pulling fs layer 23:47:53 765212b225bb: Pulling fs layer 23:47:53 f23df028b6ca: Pulling fs layer 23:47:53 d65c8cfc05b1: Pulling fs layer 23:47:53 2437ff75d9bd: Pulling fs layer 23:47:53 f23df028b6ca: Waiting 23:47:53 d65c8cfc05b1: Waiting 23:47:53 2437ff75d9bd: Waiting 23:47:53 765212b225bb: Waiting 23:47:53 04944245beec: Verifying Checksum 23:47:53 04944245beec: Download complete 23:47:53 765212b225bb: Download complete 23:47:53 f23df028b6ca: Verifying Checksum 23:47:53 f23df028b6ca: Download complete 23:47:53 d65c8cfc05b1: Verifying Checksum 23:47:53 d65c8cfc05b1: Download complete 23:47:54 699f458cf7ca: Verifying Checksum 23:47:54 699f458cf7ca: Download complete 23:47:54 8998bd30e6a1: Verifying Checksum 23:47:54 8998bd30e6a1: Download complete 23:47:57 2437ff75d9bd: Verifying Checksum 23:47:57 2437ff75d9bd: Download complete 23:47:59 8998bd30e6a1: Pull complete 23:47:59 04944245beec: Pull complete 23:48:01 699f458cf7ca: Pull complete 23:48:01 765212b225bb: Pull complete 23:48:02 f23df028b6ca: Pull complete 23:48:02 d65c8cfc05b1: Pull complete 23:48:20 2437ff75d9bd: Pull complete 23:48:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:48:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:21 prd-ubuntu20.04-docker-arm64-4c-16g-10334 does not seem to be running inside a container 23:48:21 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:48:23 $ docker top a43c1b7735f434efb3c31502ed76b8e76f675f7656827a9c86dfadb65b3fefaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:24 ---> job-cost.sh 23:48:24 lf-activate-venv: SKIPPING 23:48:24 INFO: No Stack... 23:48:24 INFO: Retrieving Pricing Info for: v3-standard-4 23:48:25 INFO: Archiving Costs [Pipeline] sh 23:48:26 + cat /w/workspace/device-uart/1/archives/cost.csv 23:48:26 + cut -d, -f6 [Pipeline] lock 23:48:26 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] 23:48:26 Resource [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] did not exist. Created. 23:48:26 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:27 /w/workspace/device-uart/1@tmp/durable-5813541d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:48:27 + echo total: 0.10999999940395355 [Pipeline] stash 23:48:27 Warning: overwriting stash ‘stack-cost’ 23:48:28 Stashed 1 file(s) [Pipeline] } 23:48:28 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:28 $ docker stop --time=1 a43c1b7735f434efb3c31502ed76b8e76f675f7656827a9c86dfadb65b3fefaf 23:48:29 $ docker rm -f --volumes a43c1b7735f434efb3c31502ed76b8e76f675f7656827a9c86dfadb65b3fefaf [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 23:48:30 provisioning config files... 23:48:30 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config17267640927051933230tmp [Pipeline] { [Pipeline] sh 23:48:30 + set +x 23:48:30 + curl+ -s https://codecov.io/bash 23:48:30 bash -s -- 23:48:30 23:48:30 _____ _ 23:48:30 / ____| | | 23:48:30 | | ___ __| | ___ ___ _____ __ 23:48:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:48:30 | |___| (_) | (_| | __/ (_| (_) \ V / 23:48:30 \_____\___/ \__,_|\___|\___\___/ \_/ 23:48:30 Bash-1.0.6 23:48:30 23:48:30 23:48:30 ==> git version 2.25.1 found 23:48:30 ==> 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 23:48:30 Release-Date: 2020-01-08 23:48:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:48:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:48:30 ==> Jenkins CI detected. 23:48:30 current dir:  /w/workspace/edgexfoundry_device-uart_PR-26 23:48:30 project root: . 23:48:30 --> token set from env 23:48:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:48:30 ==> Running gcov in . (disable via -X gcov) 23:48:30 ==> Python coveragepy not found 23:48:30 ==> Searching for coverage reports in: 23:48:30 + . 23:48:30 -> Found 1 reports 23:48:30 ==> Detecting git/mercurial file structure 23:48:31 ==> Reading reports 23:48:31 + ./coverage.out bytes=10 23:48:31 ==> Appending adjustments 23:48:31 https://docs.codecov.io/docs/fixing-reports 23:48:31 + Found adjustments 23:48:31 ==> Gzipping contents 23:48:31 4.0K /tmp/codecov.OM1XXf.gz 23:48:31 ==> Uploading reports 23:48:31 url: https://codecov.io 23:48:31 query: branch=PR-26&commit=591fe365cb0d0d49483bd116b5c6838462170107&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=26&job=&cmd_args= 23:48:31 -> Pinging Codecov 23:48:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-26&commit=591fe365cb0d0d49483bd116b5c6838462170107&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=26&job=&cmd_args= 23:48:31 -> Uploading to 23:48:31 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/B9AA6E0BBD74AE3A32605C7A7C664919/591fe365cb0d0d49483bd116b5c6838462170107/5dbdae74-e25b-4a18-8599-697b1b1e1040.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T234831Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1131372c237b3c06aa1c05eed7dc0db229cc51ff2606a6b4349ebe99710ce07 23:48:31 % Total % Received % Xferd Average Speed Time Time Time Current 23:48:31 Dload Upload Total Spent Left Speed 23:48:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1800 --:--:-- --:--:-- --:--:-- 1794 100 603 0 0 100 603 0 1800 --:--:-- --:--:-- --:--:-- 1794 23:48:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/591fe365cb0d0d49483bd116b5c6838462170107 [Pipeline] } 23:48:31 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 23:48:33 + [ -d /w/workspace/edgexfoundry_device-uart_PR-26/archives ] 23:48:33 + ls -al /w/workspace/edgexfoundry_device-uart_PR-26/archives 23:48:33 total 16 23:48:33 drwxr-xr-x 3 root root 4096 Oct 24 23:38 . 23:48:33 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:38 .. 23:48:33 drwxr-xr-x 2 root root 4096 Oct 24 23:38 cost 23:48:33 -rw-r--r-- 1 root root 82 Oct 24 23:38 cost.csv 23:48:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-26/archives 23:48:33 + ls -al /w/workspace/edgexfoundry_device-uart_PR-26/archives 23:48:33 total 16 23:48:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:38 . 23:48:33 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:38 .. 23:48:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 23:38 cost 23:48:33 -rw-r--r-- 1 jenkins jenkins 82 Oct 24 23:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:34 ---> package-listing.sh 23:48:34 ++ facter osfamily 23:48:34 ++ tr '[:upper:]' '[:lower:]' 23:48:35 + OS_FAMILY=debian 23:48:35 + workspace=/w/workspace/edgexfoundry_device-uart_PR-26 23:48:35 + START_PACKAGES=/tmp/packages_start.txt 23:48:35 + END_PACKAGES=/tmp/packages_end.txt 23:48:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:35 + PACKAGES=/tmp/packages_start.txt 23:48:35 + '[' /w/workspace/edgexfoundry_device-uart_PR-26 ']' 23:48:35 + PACKAGES=/tmp/packages_end.txt 23:48:35 + case "${OS_FAMILY}" in 23:48:35 + dpkg -l 23:48:35 + grep '^ii' 23:48:35 + '[' -f /tmp/packages_start.txt ']' 23:48:35 + '[' -f /tmp/packages_end.txt ']' 23:48:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:35 + '[' /w/workspace/edgexfoundry_device-uart_PR-26 ']' 23:48:35 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-26/archives/ 23:48:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-26/archives/ [Pipeline] echo 23:48:35 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:36 prd-ubuntu20.04-docker-8c-8g-10333 does not seem to be running inside a container 23:48:36 $ 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-26/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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:48:36 $ docker top 1a42b880ee51f9a496bec9268d99eb88a90859aa51889462d691c0a4dbf67441 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:36 + touch /tmp/pre-build-complete [Pipeline] sh 23:48:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:48:37 + ls /var/log/sa-host 23:48:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:37 provisioning config files... 23:48:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config16334772723372894956tmp [Pipeline] { [Pipeline] echo 23:48:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:48:37 ---> create-netrc.sh [Pipeline] } 23:48:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:48:38 ---> python-tools-install.sh [Pipeline] echo 23:48:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:48:38 ---> sudo-logs.sh 23:48:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:48:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:48:39 ---> job-cost.sh 23:48:39 lf-activate-venv: SKIPPING 23:48:39 DEBUG: total: 0.2199999988079071 23:48:39 INFO: Retrieving Stack Cost... 23:48:39 INFO: Retrieving Pricing Info for: v3-standard-8 23:48:40 INFO: Archiving Costs [Pipeline] echo 23:48:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:48:40 ---> logs-deploy.sh 23:48:40 lf-activate-venv: SKIPPING 23:48:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-26/1 23:48:40 INFO: archiving workspace using pattern(s): 23:48:41 Archives upload complete. 23:48:41 INFO: archiving logs to Nexus