Pull request #27 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12ecf8512318b4065414e0873c60477618136c15+8ac18c8d40d5257925873e9513c65867e7192949 (00807f3fd9d10e274506a1e0cdcf1f88608f75c8) 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-ssh9011218477066449041.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-ssh5668450270044640141.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-27/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-27/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10153611216617856777.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-27/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13867906739713548452.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-ssh9848772492769149941.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-27/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-27/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5346013914380909116.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10342’ Running on prd-ubuntu20.04-docker-8c-8g-10349 in /w/workspace/edgexfoundry_device-uart_PR-27 [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-27 # 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/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ac18c8d40d5257925873e9513c65867e7192949 into PR head commit 12ecf8512318b4065414e0873c60477618136c15 Merge succeeded, producing 12ecf8512318b4065414e0873c60477618136c15 Checking out Revision 12ecf8512318b4065414e0873c60477618136c15 (PR-27) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:17:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:17:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 12ecf8512318b4065414e0873c60477618136c15 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12ecf8512318b4065414e0873c60477618136c15 # timeout=10 [Pipeline] echo 01:17:44 ========================================================= 01:17:44 EdgeX Global Pipelines Version Info 01:17:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:17:45 ------------------- 01:17:45 stable info: 01:17:45 ------------------- 01:17:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:17:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:17:45 Message: update stable to v1.0.254 01:17:45 ------------------- 01:17:45 experimental info: 01:17:45 ------------------- 01:17:45 Commited By: **** collab-it+edgex@linuxfoundation.org 01:17:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:17:45 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12ecf8512318b4065414e0873c60477618136c15 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12ecf85 [Pipeline] echo 01:17:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:47 provisioning config files... 01:17:47 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-27@tmp/config17453091325827270424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:48 ---> docker-login.sh 01:17:48 nexus3.edgexfoundry.org:10001 01:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:48 Configure a credential helper to remove this warning. See 01:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:48 01:17:48 Login Succeeded 01:17:48 nexus3.edgexfoundry.org:10002 01:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:48 Configure a credential helper to remove this warning. See 01:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:48 01:17:48 Login Succeeded 01:17:48 nexus3.edgexfoundry.org:10003 01:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:48 Configure a credential helper to remove this warning. See 01:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:48 01:17:48 Login Succeeded 01:17:48 nexus3.edgexfoundry.org:10004 01:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:48 Configure a credential helper to remove this warning. See 01:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:48 01:17:48 Login Succeeded 01:17:48 docker.io 01:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:48 Configure a credential helper to remove this warning. See 01:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:48 01:17:48 Login Succeeded 01:17:48 ---> docker-login.sh ends [Pipeline] } 01:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:17:49 + git rev-list -1 --merges 12ecf8512318b4065414e0873c60477618136c15~1..12ecf8512318b4065414e0873c60477618136c15 [Pipeline] echo 01:17:49 -----------> git rev-list -1 --merges 12ecf8512318b4065414e0873c60477618136c15~1..12ecf8512318b4065414e0873c60477618136c15 12ecf8512318b4065414e0873c60477618136c15 [false] [Pipeline] sh 01:17:49 + git log --format=format:%s -1 12ecf8512318b4065414e0873c60477618136c15 [Pipeline] echo 01:17:49 ========================================================= 01:17:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:17:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:50 + git log --format=format:%s -1 12ecf8512318b4065414e0873c60477618136c15 [Pipeline] echo 01:17:50 [semverPrep] GIT_COMMIT: 12ecf8512318b4065414e0873c60477618136c15, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 01:17:50 [semverPrep] This is not a build commit. [Pipeline] sh 01:17:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:17:50 + grep -v github /etc/ssh/ssh_known_hosts 01:17:50 + [ -e /tmp/ssh_known_hosts ] 01:17:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:17:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:17:50 + sudo tee -a /etc/ssh/ssh_known_hosts 01:17:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:17:51 01:17:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:17:51 0.1.4: Pulling from edgex-devops/py-git-semver 01:17:51 b85a868b505f: Pulling fs layer 01:17:51 e2be974225ed: Pulling fs layer 01:17:51 339a4e72a1f5: Pulling fs layer 01:17:51 988bab9f4d93: Pulling fs layer 01:17:51 1469e6f7b9e6: Pulling fs layer 01:17:51 eaf3925da568: Pulling fs layer 01:17:51 bab4dde63d76: Pulling fs layer 01:17:51 bde34c3a00c8: Pulling fs layer 01:17:51 b352a97aabf1: Pulling fs layer 01:17:51 4872d77fe225: Pulling fs layer 01:17:51 5851b861e8e6: Pulling fs layer 01:17:51 988bab9f4d93: Waiting 01:17:51 1469e6f7b9e6: Waiting 01:17:51 eaf3925da568: Waiting 01:17:51 bab4dde63d76: Waiting 01:17:51 b352a97aabf1: Waiting 01:17:51 bde34c3a00c8: Waiting 01:17:51 4872d77fe225: Waiting 01:17:51 e2be974225ed: Verifying Checksum 01:17:51 e2be974225ed: Download complete 01:17:51 988bab9f4d93: Verifying Checksum 01:17:51 988bab9f4d93: Download complete 01:17:51 1469e6f7b9e6: Verifying Checksum 01:17:51 1469e6f7b9e6: Download complete 01:17:51 eaf3925da568: Verifying Checksum 01:17:51 eaf3925da568: Download complete 01:17:51 339a4e72a1f5: Verifying Checksum 01:17:51 339a4e72a1f5: Download complete 01:17:51 bde34c3a00c8: Verifying Checksum 01:17:51 bde34c3a00c8: Download complete 01:17:51 b352a97aabf1: Download complete 01:17:51 4872d77fe225: Verifying Checksum 01:17:51 4872d77fe225: Download complete 01:17:51 5851b861e8e6: Download complete 01:17:51 b85a868b505f: Verifying Checksum 01:17:51 b85a868b505f: Download complete 01:17:52 bab4dde63d76: Verifying Checksum 01:17:52 bab4dde63d76: Download complete 01:17:53 b85a868b505f: Pull complete 01:17:53 e2be974225ed: Pull complete 01:17:53 339a4e72a1f5: Pull complete 01:17:53 988bab9f4d93: Pull complete 01:17:53 1469e6f7b9e6: Pull complete 01:17:53 eaf3925da568: Pull complete 01:17:55 bab4dde63d76: Pull complete 01:17:55 bde34c3a00c8: Pull complete 01:17:55 b352a97aabf1: Pull complete 01:17:55 4872d77fe225: Pull complete 01:17:56 5851b861e8e6: Pull complete 01:17:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:17:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:56 prd-ubuntu20.04-docker-8c-8g-10349 does not seem to be running inside a container 01:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-27 -v /w/workspace/edgexfoundry_device-uart_PR-27:/w/workspace/edgexfoundry_device-uart_PR-27:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-27@tmp:/w/workspace/edgexfoundry_device-uart_PR-27@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:17:59 $ docker top d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 -eo pid,comm 01:17:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:17:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:00 [ssh-agent] Looking for ssh-agent implementation... 01:18:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:00 $ docker exec d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 ssh-agent 01:18:00 SSH_AUTH_SOCK=/tmp/ssh-FSkn8kFvxnnU/agent.31 01:18:00 SSH_AGENT_PID=37 01:18:00 Running ssh-add (command line suppressed) 01:18:00 Identity added: /w/workspace/edgexfoundry_device-uart_PR-27@tmp/private_key_9992669928285697056.key (/w/workspace/edgexfoundry_device-uart_PR-27@tmp/private_key_9992669928285697056.key) 01:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:00 + git tag --points-at HEAD [Pipeline] } 01:18:00 $ docker exec --env ******** --env ******** d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 ssh-agent -k 01:18:00 unset SSH_AUTH_SOCK; 01:18:00 unset SSH_AGENT_PID; 01:18:00 echo Agent pid 37 killed; 01:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:18:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:01 [ssh-agent] Looking for ssh-agent implementation... 01:18:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:01 $ docker exec d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 ssh-agent 01:18:01 SSH_AUTH_SOCK=/tmp/ssh-xNF9Y6MBuAgl/agent.69 01:18:01 SSH_AGENT_PID=75 01:18:01 Running ssh-add (command line suppressed) 01:18:01 Identity added: /w/workspace/edgexfoundry_device-uart_PR-27@tmp/private_key_16586070461581550408.key (/w/workspace/edgexfoundry_device-uart_PR-27@tmp/private_key_16586070461581550408.key) 01:18:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:01 + git semver init 01:18:01 2023-10-25 01:18:01,854 [run_init] DEBUG init version:0.0.0 force:False 01:18:01 2023-10-25 01:18:01,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-27/.semver 01:18:01 2023-10-25 01:18:01,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-27/.semver 01:18:01 2023-10-25 01:18:01,856 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-27/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-27, universal_newlines=False, shell=None, istream=None) 01:18:02 2023-10-25 01:18:02,769 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-27/.git/info/exclude 01:18:02 2023-10-25 01:18:02,769 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-27/.semver/PR-27 with force:False 01:18:02 2023-10-25 01:18:02,770 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-27/.semver/PR-27 01:18:02 2023-10-25 01:18:02,774 [execute] INFO git cat-file --batch-check 01:18:02 2023-10-25 01:18:02,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-27/.semver, universal_newlines=False, shell=None, istream=) 01:18:02 2023-10-25 01:18:02,780 [execute] INFO git cat-file --batch 01:18:02 2023-10-25 01:18:02,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-27/.semver, universal_newlines=False, shell=None, istream=) 01:18:02 2023-10-25 01:18:02,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-27/.semver/PR-27 01:18:02 0.0.0 [Pipeline] } 01:18:02 $ docker exec --env ******** --env ******** d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 ssh-agent -k 01:18:03 unset SSH_AUTH_SOCK; 01:18:03 unset SSH_AGENT_PID; 01:18:03 echo Agent pid 75 killed; 01:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:03 + git semver [Pipeline] } 01:18:03 $ docker stop --time=1 d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 01:18:05 $ docker rm -f --volumes d7e0ee6222d10c480c62dff685cd51a19bce7cbf4b7461bd84fdd4fab1bccd53 [Pipeline] // withDockerContainer [Pipeline] sh 01:18:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:18:05 Stashed 1 file(s) [Pipeline] echo 01:18:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:06 provisioning config files... 01:18:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-27@tmp/config6170935509395446412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:06 ---> docker-login.sh 01:18:06 nexus3.edgexfoundry.org:10001 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:06 Configure a credential helper to remove this warning. See 01:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:06 01:18:06 Login Succeeded 01:18:06 nexus3.edgexfoundry.org:10002 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:06 Configure a credential helper to remove this warning. See 01:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:06 01:18:06 Login Succeeded 01:18:06 nexus3.edgexfoundry.org:10003 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:06 Configure a credential helper to remove this warning. See 01:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:06 01:18:06 Login Succeeded 01:18:06 nexus3.edgexfoundry.org:10004 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:06 Configure a credential helper to remove this warning. See 01:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:06 01:18:06 Login Succeeded 01:18:06 docker.io 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:07 Configure a credential helper to remove this warning. See 01:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:07 01:18:07 Login Succeeded 01:18:07 ---> docker-login.sh ends [Pipeline] } 01:18:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:07 ========================================================= 01:18:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:18:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:18:07 Sending build context to Docker daemon 11.18MB 01:18:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:18:07 Step 2/12 : FROM ${BASE} AS builder 01:18:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:18:07 7264a8db6415: Pulling fs layer 01:18:07 c4d48a809fc2: Pulling fs layer 01:18:07 4f1c88b9dad5: Pulling fs layer 01:18:07 ad3a456e5733: Pulling fs layer 01:18:07 33e27b845d1e: Pulling fs layer 01:18:07 c68163c4e522: Pulling fs layer 01:18:07 50da416c3ac9: Pulling fs layer 01:18:07 23d2d4c4bb30: Pulling fs layer 01:18:07 ad3a456e5733: Waiting 01:18:07 33e27b845d1e: Waiting 01:18:07 50da416c3ac9: Waiting 01:18:07 c4d48a809fc2: Verifying Checksum 01:18:07 c4d48a809fc2: Download complete 01:18:07 ad3a456e5733: Verifying Checksum 01:18:07 ad3a456e5733: Download complete 01:18:08 33e27b845d1e: Verifying Checksum 01:18:08 33e27b845d1e: Download complete 01:18:08 7264a8db6415: Verifying Checksum 01:18:08 7264a8db6415: Download complete 01:18:08 c68163c4e522: Verifying Checksum 01:18:08 c68163c4e522: Download complete 01:18:08 7264a8db6415: Pull complete 01:18:08 23d2d4c4bb30: Verifying Checksum 01:18:08 23d2d4c4bb30: Download complete 01:18:08 c4d48a809fc2: Pull complete 01:18:08 4f1c88b9dad5: Download complete 01:18:09 50da416c3ac9: Verifying Checksum 01:18:09 50da416c3ac9: Download complete 01:18:11 4f1c88b9dad5: Pull complete 01:18:11 ad3a456e5733: Pull complete 01:18:11 33e27b845d1e: Pull complete 01:18:11 c68163c4e522: Pull complete 01:18:14 50da416c3ac9: Pull complete 01:18:14 23d2d4c4bb30: Pull complete 01:18:14 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 01:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:18:14 ---> 0786185ac409 01:18:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:18:19 ---> Running in 924911de0aca 01:18:19 Removing intermediate container 924911de0aca 01:18:19 ---> 1f818e0ec533 01:18:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:18:19 ---> Running in fd9cb96552ce 01:18:19 Removing intermediate container fd9cb96552ce 01:18:19 ---> 80fafbc2262d 01:18:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:18:19 ---> Running in cdd90251b208 01:18:19 Removing intermediate container cdd90251b208 01:18:19 ---> f69a87f23b8e 01:18:19 Step 6/12 : WORKDIR /device-uart 01:18:19 ---> Running in 4b5064ac5957 01:18:19 Removing intermediate container 4b5064ac5957 01:18:19 ---> da77597c2e2a 01:18:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:18:19 ---> Running in ef3101bfdd7c 01:18:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:18:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:18:20 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:18:20 (2/4) Installing libedit (20221030.3.1-r1) 01:18:20 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:18:20 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:18:20 Executing busybox-1.36.1-r2.trigger 01:18:20 OK: 268 MiB in 56 packages 01:18:21 Still waiting to schedule task 01:18:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10346’ 01:18:21 Removing intermediate container ef3101bfdd7c 01:18:21 ---> d04cf59ebfd1 01:18:21 Step 8/12 : COPY go.mod vendor* ./ 01:18:21 ---> 57c27dca7f3a 01:18:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:21 ---> Running in 87df04b6b47d 01:19:17 Removing intermediate container 87df04b6b47d 01:19:17 ---> f6b5f778cb1e 01:19:17 Step 10/12 : COPY . . 01:19:17 ---> 3a7c89183258 01:19:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:19:17 ---> Running in 9055ddcca8aa 01:19:17 Removing intermediate container 9055ddcca8aa 01:19:17 ---> 0e7342b1c3c2 01:19:17 Step 12/12 : RUN ${MAKE} 01:19:17 ---> Running in 7673aec9f06e 01:19:17 noop 01:19:17 Removing intermediate container 7673aec9f06e 01:19:17 ---> ad46b116fc7d 01:19:17 Successfully built ad46b116fc7d 01:19:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:18 + docker inspect -f . ci-base-image-x86_64 01:19:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:18 prd-ubuntu20.04-docker-8c-8g-10349 does not seem to be running inside a container 01:19:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-27 -v /w/workspace/edgexfoundry_device-uart_PR-27:/w/workspace/edgexfoundry_device-uart_PR-27:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-27@tmp:/w/workspace/edgexfoundry_device-uart_PR-27@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 ******** ci-base-image-x86_64 cat 01:19:18 $ docker top 6eee83602cf37f27e7a708440f5524073461ec0a42c66dcb91de01277d79c3ad -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:19 + go version 01:19:19 go version go1.21.0 linux/amd64 [Pipeline] } 01:19:19 $ docker stop --time=1 6eee83602cf37f27e7a708440f5524073461ec0a42c66dcb91de01277d79c3ad 01:19:20 $ docker rm -f --volumes 6eee83602cf37f27e7a708440f5524073461ec0a42c66dcb91de01277d79c3ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:21 + docker inspect -f . ci-base-image-x86_64 01:19:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:21 prd-ubuntu20.04-docker-8c-8g-10349 does not seem to be running inside a container 01:19:21 $ 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-27 -v /w/workspace/edgexfoundry_device-uart_PR-27:/w/workspace/edgexfoundry_device-uart_PR-27:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-27@tmp:/w/workspace/edgexfoundry_device-uart_PR-27@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 ******** ci-base-image-x86_64 cat 01:19:21 $ docker top f0a1ffcc870390e7db0e5e170c88e58d0cc9bd0c67a5396c5076c5df0e6d34bc -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-27 [Pipeline] fileExists [Pipeline] sh 01:19:22 + make test 01:19:22 go test ./... -coverprofile=coverage.out 01:19:23 ? github.com/edgexfoundry/device-uart [no test files] 01:19:33 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:19:33 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:19:37 go vet ./... 01:19:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:19:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:19:41 ./bin/test-attribution-txt.sh [Pipeline] echo 01:19:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:19:41 $ docker stop --time=1 f0a1ffcc870390e7db0e5e170c88e58d0cc9bd0c67a5396c5076c5df0e6d34bc 01:19:45 $ docker rm -f --volumes f0a1ffcc870390e7db0e5e170c88e58d0cc9bd0c67a5396c5076c5df0e6d34bc [Pipeline] // withDockerContainer [Pipeline] sh 01:19:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:19:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:19:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:19:46 + ls -al . 01:19:46 total 152 01:19:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:19 . 01:19:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:17 .. 01:19:46 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:17 .dockerignore 01:19:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:19 .git 01:19:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 .github 01:19:46 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:17 .gitignore 01:19:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:17 .golangci.yml 01:19:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:18 .semver 01:19:46 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:17 Attribution.txt 01:19:46 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:17 Dockerfile 01:19:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:17 GOVERNANCE.md 01:19:46 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:17 Jenkinsfile 01:19:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:17 LICENSE 01:19:46 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:17 Makefile 01:19:46 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:17 OWNERS.md 01:19:46 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:17 README.md 01:19:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:18 VERSION 01:19:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:17 bin 01:19:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 cmd 01:19:46 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:19 coverage.out 01:19:46 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 25 01:17 go.mod 01:19:46 -rw-rw-r-- 1 jenkins jenkins 35840 Oct 25 01:17 go.sum 01:19:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 internal 01:19:46 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:47 + 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=12ecf8512318b4065414e0873c60477618136c15 --label arch=amd64 --label version=0.0.0 . 01:19:47 Sending build context to Docker daemon 11.18MB 01:19:47 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:19:47 Step 2/25 : FROM ${BASE} AS builder 01:19:47 ---> ad46b116fc7d 01:19:47 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:19:47 ---> Running in cb0b2a3c1ee7 01:19:47 Removing intermediate container cb0b2a3c1ee7 01:19:47 ---> 3fbf54f0d7a0 01:19:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:19:47 ---> Running in a565d3de3d33 01:19:47 Removing intermediate container a565d3de3d33 01:19:47 ---> b97e400fda17 01:19:47 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:19:47 ---> Running in cf66fab0ccca 01:19:47 Removing intermediate container cf66fab0ccca 01:19:47 ---> 3bf53c748ef1 01:19:47 Step 6/25 : WORKDIR /device-uart 01:19:47 ---> Running in 6103d2c6722e 01:19:47 Removing intermediate container 6103d2c6722e 01:19:47 ---> 412665ec537a 01:19:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:47 ---> Running in 70461028d768 01:19:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:19:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:19:48 OK: 268 MiB in 56 packages 01:19:48 Removing intermediate container 70461028d768 01:19:48 ---> 2e679f62fb58 01:19:48 Step 8/25 : COPY go.mod vendor* ./ 01:19:49 ---> 70409f153a82 01:19:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:49 ---> Running in cee6f631e9ee 01:19:49 Removing intermediate container cee6f631e9ee 01:19:49 ---> 3a63a283091e 01:19:49 Step 10/25 : COPY . . 01:19:50 ---> f256023009e4 01:19:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:19:50 ---> Running in e623dd0e31e4 01:19:50 Removing intermediate container e623dd0e31e4 01:19:50 ---> fbd04422a707 01:19:50 Step 12/25 : RUN ${MAKE} 01:19:50 ---> Running in f5819abffd68 01:19:50 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 01:20:12 Removing intermediate container f5819abffd68 01:20:12 ---> 9aebf1e4ec93 01:20:12 Step 13/25 : FROM alpine:3.18 01:20:12 3.18: Pulling from library/alpine 01:20:12 96526aa774ef: Pulling fs layer 01:20:12 96526aa774ef: Verifying Checksum 01:20:12 96526aa774ef: Download complete 01:20:12 96526aa774ef: Pull complete 01:20:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:20:12 Status: Downloaded newer image for alpine:3.18 01:20:12 ---> 8ca4688f4f35 01:20:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:20:12 ---> Running in aa787334a6d6 01:20:12 Removing intermediate container aa787334a6d6 01:20:12 ---> a5fc57d59c29 01:20:12 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:20:12 ---> Running in af4088c1810e 01:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:20:12 (1/1) Installing dumb-init (1.2.5-r2) 01:20:12 Executing busybox-1.36.1-r2.trigger 01:20:12 OK: 7 MiB in 16 packages 01:20:12 Removing intermediate container af4088c1810e 01:20:12 ---> d49343c7e3d8 01:20:12 Step 16/25 : WORKDIR / 01:20:12 ---> Running in 855b8248f01f 01:20:12 Removing intermediate container 855b8248f01f 01:20:12 ---> f583566395ca 01:20:12 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:20:13 ---> 20eddfa4b104 01:20:13 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:20:13 ---> 0901daba4a48 01:20:13 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:20:14 ---> 999cee98049f 01:20:14 Step 20/25 : EXPOSE 59995 01:20:14 ---> Running in 8d91a3f7a258 01:20:14 Removing intermediate container 8d91a3f7a258 01:20:14 ---> 1d8ff2af3b2d 01:20:14 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:20:14 ---> Running in ecf83bd923d0 01:20:14 Removing intermediate container ecf83bd923d0 01:20:14 ---> 1b2312731b07 01:20:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:20:14 ---> Running in 8932f83da767 01:20:14 Removing intermediate container 8932f83da767 01:20:14 ---> f6073c897c58 01:20:14 Step 23/25 : LABEL arch=amd64 01:20:14 ---> Running in 889a3b283803 01:20:14 Removing intermediate container 889a3b283803 01:20:14 ---> 571cd381ed0f 01:20:14 Step 24/25 : LABEL git_sha=12ecf8512318b4065414e0873c60477618136c15 01:20:14 ---> Running in b6fe8ca9aba5 01:20:14 Removing intermediate container b6fe8ca9aba5 01:20:14 ---> bc7699f1e8df 01:20:14 Step 25/25 : LABEL version=0.0.0 01:20:14 ---> Running in 5aba57fc31e4 01:20:14 Removing intermediate container 5aba57fc31e4 01:20:14 ---> 9534e31b7ce5 01:20:14 [Warning] One or more build-args [ARCH] were not consumed 01:20:14 Successfully built 9534e31b7ce5 01:20:14 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:15 01:20:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:15 latest: Pulling from edgex-lftools-log-publisher 01:20:15 5eb5b503b376: Pulling fs layer 01:20:15 5c69ac0246d0: Pulling fs layer 01:20:15 ec43610c2a17: Pulling fs layer 01:20:15 3a2ae6a8a46f: Pulling fs layer 01:20:15 33b1e0a273af: Pulling fs layer 01:20:15 5d3b04190fa2: Pulling fs layer 01:20:15 2f39f015ded8: Pulling fs layer 01:20:15 33b1e0a273af: Waiting 01:20:15 5d3b04190fa2: Waiting 01:20:15 2f39f015ded8: Waiting 01:20:15 5c69ac0246d0: Download complete 01:20:15 3a2ae6a8a46f: Verifying Checksum 01:20:15 3a2ae6a8a46f: Download complete 01:20:15 33b1e0a273af: Verifying Checksum 01:20:15 33b1e0a273af: Download complete 01:20:15 ec43610c2a17: Verifying Checksum 01:20:15 ec43610c2a17: Download complete 01:20:15 5d3b04190fa2: Verifying Checksum 01:20:15 5d3b04190fa2: Download complete 01:20:16 5eb5b503b376: Verifying Checksum 01:20:16 5eb5b503b376: Download complete 01:20:16 2f39f015ded8: Download complete 01:20:17 5eb5b503b376: Pull complete 01:20:17 5c69ac0246d0: Pull complete 01:20:17 ec43610c2a17: Pull complete 01:20:17 3a2ae6a8a46f: Pull complete 01:20:17 33b1e0a273af: Pull complete 01:20:18 5d3b04190fa2: Pull complete 01:20:22 2f39f015ded8: Pull complete 01:20:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:22 prd-ubuntu20.04-docker-8c-8g-10349 does not seem to be running inside a container 01:20:22 $ 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-27 -v /w/workspace/edgexfoundry_device-uart_PR-27:/w/workspace/edgexfoundry_device-uart_PR-27:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-27@tmp:/w/workspace/edgexfoundry_device-uart_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:20:28 $ docker top d72a234d1d9400fa782aa34eb7b875efeb85aad44696d0cadaec18b3acb14bc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:28 ---> job-cost.sh 01:20:28 lf-activate-venv: SKIPPING 01:20:28 INFO: No Stack... 01:20:28 INFO: Retrieving Pricing Info for: v3-standard-8 01:20:29 INFO: Archiving Costs [Pipeline] sh 01:20:29 + + catcut /w/workspace/edgexfoundry_device-uart_PR-27/archives/cost.csv -d, 01:20:29 -f6 [Pipeline] lock 01:20:29 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] 01:20:29 Resource [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] did not exist. Created. 01:20:29 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:20:29 + echo total: 0.2199999988079071 [Pipeline] stash 01:20:29 Stashed 1 file(s) [Pipeline] } 01:20:29 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:20:29 $ docker stop --time=1 d72a234d1d9400fa782aa34eb7b875efeb85aad44696d0cadaec18b3acb14bc4 01:20:31 $ docker rm -f --volumes d72a234d1d9400fa782aa34eb7b875efeb85aad44696d0cadaec18b3acb14bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:21:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10352 in /w/workspace/edgexfoundry_device-uart_PR-27 [Pipeline] { [Pipeline] ws 01:21:27 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 01:21:27 The recommended git tool is: git 01:21:33 using credential edgex-jenkins-ssh 01:21:33 Cloning the remote Git repository 01:21:33 Cloning repository git@github.com:edgexfoundry/device-uart.git 01:21:33 > git init /w/workspace/device-uart/1 # timeout=10 01:21:34 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:21:34 > git --version # timeout=10 01:21:34 > git --version # 'git version 2.25.1' 01:21:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:35 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:21:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:37 Merging remotes/origin/main commit 8ac18c8d40d5257925873e9513c65867e7192949 into PR head commit 12ecf8512318b4065414e0873c60477618136c15 01:21:37 Merge succeeded, producing 12ecf8512318b4065414e0873c60477618136c15 01:21:37 Checking out Revision 12ecf8512318b4065414e0873c60477618136c15 (PR-27) 01:21:36 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:21:36 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:21:37 > git config core.sparsecheckout # timeout=10 01:21:37 > git checkout -f 12ecf8512318b4065414e0873c60477618136c15 # timeout=10 01:21:37 > git remote # timeout=10 01:21:37 > git config --get remote.origin.url # timeout=10 01:21:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:37 > git merge 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 01:21:37 > git rev-parse HEAD^{commit} # timeout=10 01:21:37 > git config core.sparsecheckout # timeout=10 01:21:37 > git checkout -f 12ecf8512318b4065414e0873c60477618136c15 # timeout=10 01:21:37 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" 01:21:37 > git --version # timeout=10 01:21:38 > git --version # 'git version 2.25.1' 01:21:38 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:21:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:21:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:21:39 Dload Upload Total Spent Left Speed 01:21:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 01:21:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:21:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:21:40 + sudo tee /etc/docker/daemon.new 01:21:40 { 01:21:40 "registry-mirrors": [ 01:21:40 "https://nexus3.edgexfoundry.org:10001" 01:21:40 ], 01:21:40 "bip": "10.250.0.254/24", 01:21:40 "hosts": [ 01:21:40 "tcp://0.0.0.0:5555", 01:21:40 "unix:///var/run/docker.sock" 01:21:40 ], 01:21:40 "mtu": 1458, 01:21:40 "selinux-enabled": true, 01:21:40 "seccomp-profile": "/etc/docker/seccomp.json" 01:21:40 } [Pipeline] sh 01:21:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:21:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:59 provisioning config files... 01:21:59 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config5948826859808297100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:59 ---> docker-login.sh 01:21:59 nexus3.edgexfoundry.org:10001 01:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:00 Configure a credential helper to remove this warning. See 01:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:00 01:22:00 Login Succeeded 01:22:00 nexus3.edgexfoundry.org:10002 01:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:00 Configure a credential helper to remove this warning. See 01:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:00 01:22:00 Login Succeeded 01:22:00 nexus3.edgexfoundry.org:10003 01:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:01 Configure a credential helper to remove this warning. See 01:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:01 01:22:01 Login Succeeded 01:22:01 nexus3.edgexfoundry.org:10004 01:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:01 Configure a credential helper to remove this warning. See 01:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:01 01:22:01 Login Succeeded 01:22:01 docker.io 01:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 ---> docker-login.sh ends [Pipeline] } 01:22:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:02 ========================================================= 01:22:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:22:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:22:03 Sending build context to Docker daemon 5.642MB 01:22:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:22:03 Step 2/12 : FROM ${BASE} AS builder 01:22:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:22:03 9fda8d8052c6: Pulling fs layer 01:22:03 5d54e960e981: Pulling fs layer 01:22:03 c4a7e357bf2a: Pulling fs layer 01:22:03 f0e02332f6b5: Pulling fs layer 01:22:03 cefa15bbcfad: Pulling fs layer 01:22:03 17808c966233: Pulling fs layer 01:22:03 f4c1fc716caa: Pulling fs layer 01:22:03 cefa15bbcfad: Waiting 01:22:03 17808c966233: Waiting 01:22:03 f4c1fc716caa: Waiting 01:22:03 5d54e960e981: Verifying Checksum 01:22:03 5d54e960e981: Download complete 01:22:03 f0e02332f6b5: Verifying Checksum 01:22:03 f0e02332f6b5: Download complete 01:22:03 cefa15bbcfad: Verifying Checksum 01:22:03 cefa15bbcfad: Download complete 01:22:03 9fda8d8052c6: Verifying Checksum 01:22:03 9fda8d8052c6: Download complete 01:22:04 f4c1fc716caa: Verifying Checksum 01:22:04 f4c1fc716caa: Download complete 01:22:05 9fda8d8052c6: Pull complete 01:22:05 5d54e960e981: Pull complete 01:22:05 c4a7e357bf2a: Verifying Checksum 01:22:05 c4a7e357bf2a: Download complete 01:22:06 17808c966233: Download complete 01:22:19 c4a7e357bf2a: Pull complete 01:22:19 f0e02332f6b5: Pull complete 01:22:19 cefa15bbcfad: Pull complete 01:22:29 17808c966233: Pull complete 01:22:30 f4c1fc716caa: Pull complete 01:22:30 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 01:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:22:30 ---> ea914061e18c 01:22:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:22:33 ---> Running in 5e6a8a3bc2c8 01:22:33 Removing intermediate container 5e6a8a3bc2c8 01:22:33 ---> 2d87bf4f78bf 01:22:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:22:33 ---> Running in 646baaaa6d1f 01:22:33 Removing intermediate container 646baaaa6d1f 01:22:33 ---> 8b3f42c8c22b 01:22:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:22:33 ---> Running in beeb2a71fd35 01:22:33 Removing intermediate container beeb2a71fd35 01:22:33 ---> 504d16d91144 01:22:33 Step 6/12 : WORKDIR /device-uart 01:22:34 ---> Running in 5a3ddc5e24a8 01:22:34 Removing intermediate container 5a3ddc5e24a8 01:22:34 ---> b53b21bbd6fa 01:22:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:34 ---> Running in a6f1b48802c9 01:22:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:22:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:22:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:22:37 (2/4) Installing libedit (20221030.3.1-r1) 01:22:37 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:22:37 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:22:37 Executing busybox-1.36.1-r2.trigger 01:22:37 OK: 270 MiB in 56 packages 01:22:38 Removing intermediate container a6f1b48802c9 01:22:38 ---> ba672bbb745c 01:22:38 Step 8/12 : COPY go.mod vendor* ./ 01:22:39 ---> c7c3ca2744c6 01:22:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:39 ---> Running in abbf2fa9d1e4 01:24:16 Removing intermediate container abbf2fa9d1e4 01:24:16 ---> 4317b7f3337d 01:24:16 Step 10/12 : COPY . . 01:24:16 ---> f3162d10f25b 01:24:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:24:16 ---> Running in 7e856e26378b 01:24:16 Removing intermediate container 7e856e26378b 01:24:16 ---> 0ca706e09ca5 01:24:16 Step 12/12 : RUN ${MAKE} 01:24:16 ---> Running in 7d4ebe41f416 01:24:16 noop 01:24:16 Removing intermediate container 7d4ebe41f416 01:24:16 ---> 851a056dc8af 01:24:16 Successfully built 851a056dc8af 01:24:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:17 + docker inspect -f . ci-base-image-arm64 01:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:17 prd-ubuntu20.04-docker-arm64-4c-16g-10352 does not seem to be running inside a container 01:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:24:19 $ docker top 29070c71736f53e92cc656a074e4b538b01a46e01702ad75e138deae95931a1e -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:19 + go version 01:24:19 go version go1.21.0 linux/arm64 [Pipeline] } 01:24:19 $ docker stop --time=1 29070c71736f53e92cc656a074e4b538b01a46e01702ad75e138deae95931a1e 01:24:21 $ docker rm -f --volumes 29070c71736f53e92cc656a074e4b538b01a46e01702ad75e138deae95931a1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:22 + docker inspect -f . ci-base-image-arm64 01:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:22 prd-ubuntu20.04-docker-arm64-4c-16g-10352 does not seem to be running inside a container 01:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:24:24 $ docker top 64813a3f0cc00b27a184b8b9ce93163ee5efa5302663f439860b6b736e24de03 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:25 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 01:24:25 + make test 01:24:25 go test ./... -coverprofile=coverage.out 01:24:32 ? github.com/edgexfoundry/device-uart [no test files] 01:26:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:26:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:26:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:26:24 go vet ./... 01:26:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:56 ./bin/test-attribution-txt.sh [Pipeline] echo 01:26:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:26:56 $ docker stop --time=1 64813a3f0cc00b27a184b8b9ce93163ee5efa5302663f439860b6b736e24de03 01:27:01 $ docker rm -f --volumes 64813a3f0cc00b27a184b8b9ce93163ee5efa5302663f439860b6b736e24de03 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:03 Warning: overwriting stash ‘coverage-report’ 01:27:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:04 + ls -al . 01:27:04 total 148 01:27:04 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 01:24 . 01:27:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:21 .. 01:27:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:21 .dockerignore 01:27:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:21 .git 01:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 .github 01:27:04 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:21 .gitignore 01:27:04 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:21 .golangci.yml 01:27:04 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:21 Attribution.txt 01:27:04 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:21 Dockerfile 01:27:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:21 GOVERNANCE.md 01:27:04 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:21 Jenkinsfile 01:27:04 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:21 LICENSE 01:27:04 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:21 Makefile 01:27:04 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:21 OWNERS.md 01:27:04 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:21 README.md 01:27:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:18 VERSION 01:27:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:21 bin 01:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 cmd 01:27:04 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:24 coverage.out 01:27:04 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 25 01:21 go.mod 01:27:04 -rw-rw-r-- 1 jenkins jenkins 35840 Oct 25 01:21 go.sum 01:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:21 internal 01:27:04 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:04 + 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=12ecf8512318b4065414e0873c60477618136c15 --label arch=arm64 --label version=0.0.0 . 01:27:05 Sending build context to Docker daemon 5.643MB 01:27:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:27:05 Step 2/25 : FROM ${BASE} AS builder 01:27:05 ---> 851a056dc8af 01:27:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:05 ---> Running in 260cea2b076c 01:27:05 Removing intermediate container 260cea2b076c 01:27:05 ---> 00ee3e9ca1a2 01:27:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:27:05 ---> Running in b094790e0838 01:27:06 Removing intermediate container b094790e0838 01:27:06 ---> addf6882c598 01:27:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:27:06 ---> Running in 9c280407c789 01:27:06 Removing intermediate container 9c280407c789 01:27:06 ---> 8e13027002d2 01:27:06 Step 6/25 : WORKDIR /device-uart 01:27:06 ---> Running in af83c19fa1b9 01:27:07 Removing intermediate container af83c19fa1b9 01:27:07 ---> 690b28c62fab 01:27:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:07 ---> Running in 0c40c57be3ac 01:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:10 OK: 270 MiB in 56 packages 01:27:11 Removing intermediate container 0c40c57be3ac 01:27:11 ---> 8b866922c18a 01:27:11 Step 8/25 : COPY go.mod vendor* ./ 01:27:11 ---> 23577dc5c4f7 01:27:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:11 ---> Running in 879bf556a793 01:27:16 Removing intermediate container 879bf556a793 01:27:16 ---> ef8908f33945 01:27:16 Step 10/25 : COPY . . 01:27:16 ---> 5c00844f9ab4 01:27:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:17 ---> Running in fffd59d49841 01:27:17 Removing intermediate container fffd59d49841 01:27:17 ---> e17cb457b7bf 01:27:17 Step 12/25 : RUN ${MAKE} 01:27:17 ---> Running in 45fd645e6d9a 01:27:18 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 01:29:25 Removing intermediate container 45fd645e6d9a 01:29:25 ---> b5d186c69365 01:29:25 Step 13/25 : FROM alpine:3.18 01:29:25 3.18: Pulling from library/alpine 01:29:25 579b34f0a95b: Pulling fs layer 01:29:25 579b34f0a95b: Verifying Checksum 01:29:25 579b34f0a95b: Download complete 01:29:25 579b34f0a95b: Pull complete 01:29:25 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:29:25 Status: Downloaded newer image for alpine:3.18 01:29:25 ---> 3cc203321400 01:29:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:29:25 ---> Running in fe5bddccfe28 01:29:25 Removing intermediate container fe5bddccfe28 01:29:25 ---> 4b6a1e6b857d 01:29:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:29:25 ---> Running in 7f85eaa61238 01:29:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:29:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:29:25 (1/1) Installing dumb-init (1.2.5-r2) 01:29:25 Executing busybox-1.36.1-r2.trigger 01:29:25 OK: 8 MiB in 16 packages 01:29:25 Removing intermediate container 7f85eaa61238 01:29:25 ---> b85d0285557f 01:29:25 Step 16/25 : WORKDIR / 01:29:25 ---> Running in dabd0964939c 01:29:25 Removing intermediate container dabd0964939c 01:29:25 ---> b147d10b5eae 01:29:25 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:29:25 ---> 0b7dab20e4da 01:29:25 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:29:25 ---> 9bb4eac2259c 01:29:25 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:29:26 ---> bf4e5e2ade63 01:29:26 Step 20/25 : EXPOSE 59995 01:29:26 ---> Running in 374478b32f85 01:29:26 Removing intermediate container 374478b32f85 01:29:26 ---> 4f80e361d5b6 01:29:26 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:29:26 ---> Running in bd61a3810a0d 01:29:26 Removing intermediate container bd61a3810a0d 01:29:26 ---> 9947f92a48b3 01:29:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:29:26 ---> Running in 5219ec50589b 01:29:27 Removing intermediate container 5219ec50589b 01:29:27 ---> c47f6f739a84 01:29:27 Step 23/25 : LABEL arch=arm64 01:29:27 ---> Running in afb32f0e786f 01:29:27 Removing intermediate container afb32f0e786f 01:29:27 ---> a699b7ea23d2 01:29:27 Step 24/25 : LABEL git_sha=12ecf8512318b4065414e0873c60477618136c15 01:29:27 ---> Running in 28b744ba9516 01:29:28 Removing intermediate container 28b744ba9516 01:29:28 ---> 317d25395f49 01:29:28 Step 25/25 : LABEL version=0.0.0 01:29:28 ---> Running in 72f1c2151a84 01:29:28 Removing intermediate container 72f1c2151a84 01:29:28 ---> a07d516035fb 01:29:28 [Warning] One or more build-args [ARCH] were not consumed 01:29:28 Successfully built a07d516035fb 01:29:28 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:29 01:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:30 arm64: Pulling from edgex-lftools-log-publisher 01:29:30 8998bd30e6a1: Pulling fs layer 01:29:30 04944245beec: Pulling fs layer 01:29:30 699f458cf7ca: Pulling fs layer 01:29:30 765212b225bb: Pulling fs layer 01:29:30 f23df028b6ca: Pulling fs layer 01:29:30 d65c8cfc05b1: Pulling fs layer 01:29:30 2437ff75d9bd: Pulling fs layer 01:29:30 f23df028b6ca: Waiting 01:29:30 d65c8cfc05b1: Waiting 01:29:30 2437ff75d9bd: Waiting 01:29:30 765212b225bb: Waiting 01:29:30 04944245beec: Verifying Checksum 01:29:30 04944245beec: Download complete 01:29:30 765212b225bb: Verifying Checksum 01:29:30 765212b225bb: Download complete 01:29:30 f23df028b6ca: Verifying Checksum 01:29:30 f23df028b6ca: Download complete 01:29:30 d65c8cfc05b1: Download complete 01:29:30 699f458cf7ca: Verifying Checksum 01:29:30 699f458cf7ca: Download complete 01:29:30 8998bd30e6a1: Verifying Checksum 01:29:30 8998bd30e6a1: Download complete 01:29:33 2437ff75d9bd: Verifying Checksum 01:29:33 2437ff75d9bd: Download complete 01:29:36 8998bd30e6a1: Pull complete 01:29:36 04944245beec: Pull complete 01:29:38 699f458cf7ca: Pull complete 01:29:38 765212b225bb: Pull complete 01:29:39 f23df028b6ca: Pull complete 01:29:39 d65c8cfc05b1: Pull complete 01:29:58 2437ff75d9bd: Pull complete 01:29:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:29:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:58 prd-ubuntu20.04-docker-arm64-4c-16g-10352 does not seem to be running inside a container 01:29:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:30:01 $ docker top ce3ebb2d9356555878c95a1faee0e5e7819f03c0a917fba2c3e4a186d406ea88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:02 ---> job-cost.sh 01:30:02 lf-activate-venv: SKIPPING 01:30:02 INFO: No Stack... 01:30:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:30:04 INFO: Archiving Costs [Pipeline] sh 01:30:04 + cut -d, -f6+ cat /w/workspace/device-uart/1/archives/cost.csv 01:30:04 [Pipeline] lock 01:30:04 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] 01:30:04 Resource [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] did not exist. Created. 01:30:04 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:30:05 /w/workspace/device-uart/1@tmp/durable-ea8ba3aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:30:05 + echo total: 0.10999999940395355 [Pipeline] stash 01:30:05 Warning: overwriting stash ‘stack-cost’ 01:30:06 Stashed 1 file(s) [Pipeline] } 01:30:06 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:30:06 $ docker stop --time=1 ce3ebb2d9356555878c95a1faee0e5e7819f03c0a917fba2c3e4a186d406ea88 01:30:07 $ docker rm -f --volumes ce3ebb2d9356555878c95a1faee0e5e7819f03c0a917fba2c3e4a186d406ea88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:30:08 provisioning config files... 01:30:08 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-27@tmp/config8802045010935663590tmp [Pipeline] { [Pipeline] sh 01:30:09 + set +x 01:30:09 + curl -s https://codecov.io/bash 01:30:09 + bash -s -- 01:30:09 01:30:09 _____ _ 01:30:09 / ____| | | 01:30:09 | | ___ __| | ___ ___ _____ __ 01:30:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:30:09 | |___| (_) | (_| | __/ (_| (_) \ V / 01:30:09 \_____\___/ \__,_|\___|\___\___/ \_/ 01:30:09 Bash-1.0.6 01:30:09 01:30:09 01:30:09 ==> git version 2.25.1 found 01:30:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:30:09 Release-Date: 2020-01-08 01:30:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:30:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:30:09 ==> Jenkins CI detected. 01:30:09 current dir:  /w/workspace/edgexfoundry_device-uart_PR-27 01:30:09 project root: . 01:30:09 --> token set from env 01:30:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:30:09 ==> Running gcov in . (disable via -X gcov) 01:30:09 ==> Python coveragepy not found 01:30:09 ==> Searching for coverage reports in: 01:30:09 + . 01:30:09 -> Found 1 reports 01:30:09 ==> Detecting git/mercurial file structure 01:30:09 ==> Reading reports 01:30:09 + ./coverage.out bytes=10 01:30:09 ==> Appending adjustments 01:30:09 https://docs.codecov.io/docs/fixing-reports 01:30:09 + Found adjustments 01:30:09 ==> Gzipping contents 01:30:09 4.0K /tmp/codecov.Tlhvxy.gz 01:30:09 ==> Uploading reports 01:30:09 url: https://codecov.io 01:30:09 query: branch=PR-27&commit=12ecf8512318b4065414e0873c60477618136c15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=27&job=&cmd_args= 01:30:09 -> Pinging Codecov 01:30:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-27&commit=12ecf8512318b4065414e0873c60477618136c15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=27&job=&cmd_args= 01:30:09 -> Uploading to 01:30:09 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/12ecf8512318b4065414e0873c60477618136c15/6de26d6f-6e14-4afc-ace3-3fd4cc1d2910.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T013009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c4e2eed53d84b9e7abd355f10dc599a7f6b8ea3a6ee1126aa1eda3af382f055 01:30:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:09 Dload Upload Total Spent Left Speed 01:30:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2970 --:--:-- --:--:-- --:--:-- 2955 100 603 0 0 100 603 0 2065 --:--:-- --:--:-- --:--:-- 2058 01:30:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/12ecf8512318b4065414e0873c60477618136c15 [Pipeline] } 01:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:30:11 + [ -d /w/workspace/edgexfoundry_device-uart_PR-27/archives ] 01:30:11 + ls -al /w/workspace/edgexfoundry_device-uart_PR-27/archives 01:30:11 total 16 01:30:11 drwxr-xr-x 3 root root 4096 Oct 25 01:20 . 01:30:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:20 .. 01:30:11 drwxr-xr-x 2 root root 4096 Oct 25 01:20 cost 01:30:11 -rw-r--r-- 1 root root 82 Oct 25 01:20 cost.csv 01:30:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-27/archives 01:30:11 + ls -al /w/workspace/edgexfoundry_device-uart_PR-27/archives 01:30:11 total 16 01:30:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:20 . 01:30:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:20 .. 01:30:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:20 cost 01:30:11 -rw-r--r-- 1 jenkins jenkins 82 Oct 25 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:30:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:30:12 ---> package-listing.sh 01:30:12 ++ facter osfamily 01:30:12 ++ tr '[:upper:]' '[:lower:]' 01:30:12 + OS_FAMILY=debian 01:30:12 + workspace=/w/workspace/edgexfoundry_device-uart_PR-27 01:30:12 + START_PACKAGES=/tmp/packages_start.txt 01:30:12 + END_PACKAGES=/tmp/packages_end.txt 01:30:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:30:12 + PACKAGES=/tmp/packages_start.txt 01:30:12 + '[' /w/workspace/edgexfoundry_device-uart_PR-27 ']' 01:30:12 + PACKAGES=/tmp/packages_end.txt 01:30:12 + case "${OS_FAMILY}" in 01:30:12 + dpkg -l 01:30:12 + grep '^ii' 01:30:12 + '[' -f /tmp/packages_start.txt ']' 01:30:12 + '[' -f /tmp/packages_end.txt ']' 01:30:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:30:12 + '[' /w/workspace/edgexfoundry_device-uart_PR-27 ']' 01:30:12 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-27/archives/ 01:30:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-27/archives/ [Pipeline] echo 01:30:12 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:30:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:14 prd-ubuntu20.04-docker-8c-8g-10349 does not seem to be running inside a container 01:30:14 $ 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-27/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-27 -v /w/workspace/edgexfoundry_device-uart_PR-27:/w/workspace/edgexfoundry_device-uart_PR-27:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-27@tmp:/w/workspace/edgexfoundry_device-uart_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:30:14 $ docker top e5cc426f38a6d77737fbb523d9021ebffd7ccb5e9648c45024d369595f48f041 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:14 + touch /tmp/pre-build-complete [Pipeline] sh 01:30:14 + mkdir -p /var/log/sysstat [Pipeline] sh 01:30:15 + ls /var/log/sa-host 01:30:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:15 provisioning config files... 01:30:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-27@tmp/config6462708458241981304tmp [Pipeline] { [Pipeline] echo 01:30:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:30:15 ---> create-netrc.sh [Pipeline] } 01:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:30:16 ---> python-tools-install.sh [Pipeline] echo 01:30:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:30:16 ---> sudo-logs.sh 01:30:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:30:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:30:17 ---> job-cost.sh 01:30:17 lf-activate-venv: SKIPPING 01:30:17 DEBUG: total: 0.2199999988079071 01:30:17 INFO: Retrieving Stack Cost... 01:30:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:30:18 INFO: Archiving Costs [Pipeline] echo 01:30:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:30:18 ---> logs-deploy.sh 01:30:18 lf-activate-venv: SKIPPING 01:30:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-27/1 01:30:18 INFO: archiving workspace using pattern(s): 01:30:19 Archives upload complete. 01:30:19 INFO: archiving logs to Nexus