Pull request #19 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at 912115ba39df5d7e09033252c264c743a8c85b42 rather than b118af3108b43a7b2a2f57134a5652e4155d5622 Obtained Jenkinsfile from 912115ba39df5d7e09033252c264c743a8c85b42 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-ssh2832069971723878668.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5493641342795740124.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh 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-19/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-19/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10745546010057235622.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-19/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16154998754635514012.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh15248988113722187011.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-19/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-19/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13630388321377741466.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-863 in /w/workspace/edgexfoundry_device-uart_PR-19 [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-19 # 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 Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit b118af3108b43a7b2a2f57134a5652e4155d5622 Merge succeeded, producing b118af3108b43a7b2a2f57134a5652e4155d5622 Checking out Revision b118af3108b43a7b2a2f57134a5652e4155d5622 (PR-19) > 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/19/head:refs/remotes/origin/PR-19 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 Commit message: "feat: Move device params to res/devices/sample-devices.yaml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:26:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:26:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:26:01 ========================================================= 18:26:01 EdgeX Global Pipelines Version Info 18:26:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:26:02 ------------------- 18:26:02 stable info: 18:26:02 ------------------- 18:26:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:26:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:26:02 Message: update stable to v1.0.250 18:26:03 ------------------- 18:26:03 experimental info: 18:26:03 ------------------- 18:26:03 Commited By: **** collab-it+edgex@linuxfoundation.org 18:26:03 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:26:03 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-19 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-19 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-19 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b118af3 [Pipeline] echo 18:26:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:04 provisioning config files... 18:26:04 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config5673606571790275747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:05 ---> docker-login.sh 18:26:05 nexus3.edgexfoundry.org:10001 18:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:05 Configure a credential helper to remove this warning. See 18:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:05 18:26:05 Login Succeeded 18:26:05 nexus3.edgexfoundry.org:10002 18:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:05 Configure a credential helper to remove this warning. See 18:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:05 18:26:05 Login Succeeded 18:26:05 nexus3.edgexfoundry.org:10003 18:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:05 Configure a credential helper to remove this warning. See 18:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:05 18:26:05 Login Succeeded 18:26:05 nexus3.edgexfoundry.org:10004 18:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:06 Configure a credential helper to remove this warning. See 18:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:06 18:26:06 Login Succeeded 18:26:06 docker.io 18:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:06 Configure a credential helper to remove this warning. See 18:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:06 18:26:06 Login Succeeded 18:26:06 ---> docker-login.sh ends [Pipeline] } 18:26:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:26:07 + git rev-list -1 --merges b118af3108b43a7b2a2f57134a5652e4155d5622~1..b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo 18:26:07 -----------> git rev-list -1 --merges b118af3108b43a7b2a2f57134a5652e4155d5622~1..b118af3108b43a7b2a2f57134a5652e4155d5622 b118af3108b43a7b2a2f57134a5652e4155d5622 [false] [Pipeline] sh 18:26:07 + git log --format=format:%s -1 b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo 18:26:07 ========================================================= 18:26:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:26:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:07 + git log --format=format:%s -1 b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo 18:26:07 [semverPrep] GIT_COMMIT: b118af3108b43a7b2a2f57134a5652e4155d5622, Commit Message: feat: Move device params to res/devices/sample-devices.yaml [Pipeline] echo 18:26:07 [semverPrep] This is not a build commit. [Pipeline] sh 18:26:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:26:08 + grep -v github /etc/ssh/ssh_known_hosts 18:26:08 + [ -e /tmp/ssh_known_hosts ] 18:26:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:26:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:26:08 + sudo tee -a /etc/ssh/ssh_known_hosts 18:26:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:08 18:26:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:09 0.1.4: Pulling from edgex-devops/py-git-semver 18:26:09 b85a868b505f: Pulling fs layer 18:26:09 e2be974225ed: Pulling fs layer 18:26:09 339a4e72a1f5: Pulling fs layer 18:26:09 988bab9f4d93: Pulling fs layer 18:26:09 1469e6f7b9e6: Pulling fs layer 18:26:09 eaf3925da568: Pulling fs layer 18:26:09 bab4dde63d76: Pulling fs layer 18:26:09 bde34c3a00c8: Pulling fs layer 18:26:09 b352a97aabf1: Pulling fs layer 18:26:09 4872d77fe225: Pulling fs layer 18:26:09 5851b861e8e6: Pulling fs layer 18:26:09 bab4dde63d76: Waiting 18:26:09 bde34c3a00c8: Waiting 18:26:09 5851b861e8e6: Waiting 18:26:09 b352a97aabf1: Waiting 18:26:09 4872d77fe225: Waiting 18:26:09 988bab9f4d93: Waiting 18:26:09 1469e6f7b9e6: Waiting 18:26:09 eaf3925da568: Waiting 18:26:09 e2be974225ed: Download complete 18:26:09 988bab9f4d93: Download complete 18:26:09 1469e6f7b9e6: Verifying Checksum 18:26:09 1469e6f7b9e6: Download complete 18:26:09 eaf3925da568: Download complete 18:26:09 339a4e72a1f5: Verifying Checksum 18:26:09 339a4e72a1f5: Download complete 18:26:09 bde34c3a00c8: Verifying Checksum 18:26:09 b352a97aabf1: Verifying Checksum 18:26:09 4872d77fe225: Verifying Checksum 18:26:09 4872d77fe225: Download complete 18:26:09 5851b861e8e6: Verifying Checksum 18:26:09 5851b861e8e6: Download complete 18:26:09 b85a868b505f: Verifying Checksum 18:26:09 b85a868b505f: Download complete 18:26:09 bab4dde63d76: Verifying Checksum 18:26:09 bab4dde63d76: Download complete 18:26:10 b85a868b505f: Pull complete 18:26:10 e2be974225ed: Pull complete 18:26:11 339a4e72a1f5: Pull complete 18:26:11 988bab9f4d93: Pull complete 18:26:11 1469e6f7b9e6: Pull complete 18:26:11 eaf3925da568: Pull complete 18:26:13 bab4dde63d76: Pull complete 18:26:13 bde34c3a00c8: Pull complete 18:26:13 b352a97aabf1: Pull complete 18:26:13 4872d77fe225: Pull complete 18:26:13 5851b861e8e6: Pull complete 18:26:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:14 prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container 18:26:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:26:17 $ docker top 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d -eo pid,comm 18:26:17 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). 18:26:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:26:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:26:17 [ssh-agent] Looking for ssh-agent implementation... 18:26:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:26:17 $ docker exec 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent 18:26:17 SSH_AUTH_SOCK=/tmp/ssh-Oa5aHTygXeYI/agent.31 18:26:17 SSH_AGENT_PID=37 18:26:17 Running ssh-add (command line suppressed) 18:26:17 Identity added: /w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_401410773022863288.key (/w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_401410773022863288.key) 18:26:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:26:17 + git tag --points-at HEAD [Pipeline] } 18:26:17 $ docker exec --env ******** --env ******** 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent -k 18:26:18 unset SSH_AUTH_SOCK; 18:26:18 unset SSH_AGENT_PID; 18:26:18 echo Agent pid 37 killed; 18:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:26:18 [ssh-agent] Looking for ssh-agent implementation... 18:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:26:18 $ docker exec 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent 18:26:18 SSH_AUTH_SOCK=/tmp/ssh-ZkGgq3g9CmqH/agent.69 18:26:18 SSH_AGENT_PID=75 18:26:18 Running ssh-add (command line suppressed) 18:26:18 Identity added: /w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_939235965883014522.key (/w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_939235965883014522.key) 18:26:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:26:18 + git semver init 18:26:19 2023-07-11 18:26:19,038 [run_init] DEBUG init version:0.0.0 force:False 18:26:19 2023-07-11 18:26:19,039 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-19/.semver 18:26:19 2023-07-11 18:26:19,039 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-19/.semver 18:26:19 2023-07-11 18:26:19,039 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-19/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19, universal_newlines=False, shell=None, istream=None) 18:26:20 2023-07-11 18:26:19,851 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-19/.git/info/exclude 18:26:20 2023-07-11 18:26:19,851 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 with force:False 18:26:20 2023-07-11 18:26:19,851 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 18:26:20 2023-07-11 18:26:19,856 [execute] INFO git cat-file --batch-check 18:26:20 2023-07-11 18:26:19,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19/.semver, universal_newlines=False, shell=None, istream=) 18:26:20 2023-07-11 18:26:19,863 [execute] INFO git cat-file --batch 18:26:20 2023-07-11 18:26:19,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19/.semver, universal_newlines=False, shell=None, istream=) 18:26:20 2023-07-11 18:26:19,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 18:26:20 0.0.0 [Pipeline] } 18:26:20 $ docker exec --env ******** --env ******** 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent -k 18:26:20 unset SSH_AUTH_SOCK; 18:26:20 unset SSH_AGENT_PID; 18:26:20 echo Agent pid 75 killed; 18:26:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:26:20 + git semver [Pipeline] } 18:26:20 $ docker stop --time=1 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d 18:26:22 $ docker rm -f --volumes 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d [Pipeline] // withDockerContainer [Pipeline] sh 18:26:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:26:22 Stashed 1 file(s) [Pipeline] echo 18:26:22 [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 18:26:23 provisioning config files... 18:26:23 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config14094586291517597703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:23 ---> docker-login.sh 18:26:23 nexus3.edgexfoundry.org:10001 18:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:23 Configure a credential helper to remove this warning. See 18:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:23 18:26:23 Login Succeeded 18:26:23 nexus3.edgexfoundry.org:10002 18:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:23 Configure a credential helper to remove this warning. See 18:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:23 18:26:23 Login Succeeded 18:26:23 nexus3.edgexfoundry.org:10003 18:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:24 Configure a credential helper to remove this warning. See 18:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:24 18:26:24 Login Succeeded 18:26:24 nexus3.edgexfoundry.org:10004 18:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:24 Configure a credential helper to remove this warning. See 18:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:24 18:26:24 Login Succeeded 18:26:24 docker.io 18:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:24 Configure a credential helper to remove this warning. See 18:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:24 18:26:24 Login Succeeded 18:26:24 ---> docker-login.sh ends [Pipeline] } 18:26:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:26:24 ========================================================= 18:26:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:26:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:26:25 Sending build context to Docker daemon 11.07MB 18:26:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:26:25 Step 2/12 : FROM ${BASE} AS builder 18:26:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:26:25 f56be85fc22e: Pulling fs layer 18:26:25 85791d961cd3: Pulling fs layer 18:26:25 d694b5ae8c79: Pulling fs layer 18:26:25 9f32a84ed3da: Pulling fs layer 18:26:25 4d19c01a9841: Pulling fs layer 18:26:25 9325e15d5711: Pulling fs layer 18:26:25 556b6ee489ea: Pulling fs layer 18:26:25 c5a4b2cf53e6: Pulling fs layer 18:26:25 9325e15d5711: Waiting 18:26:25 9f32a84ed3da: Waiting 18:26:25 4d19c01a9841: Waiting 18:26:25 556b6ee489ea: Waiting 18:26:25 c5a4b2cf53e6: Waiting 18:26:25 85791d961cd3: Verifying Checksum 18:26:25 85791d961cd3: Download complete 18:26:25 9f32a84ed3da: Verifying Checksum 18:26:25 9f32a84ed3da: Download complete 18:26:25 4d19c01a9841: Verifying Checksum 18:26:25 4d19c01a9841: Download complete 18:26:25 f56be85fc22e: Download complete 18:26:25 9325e15d5711: Verifying Checksum 18:26:25 9325e15d5711: Download complete 18:26:25 f56be85fc22e: Pull complete 18:26:25 85791d961cd3: Pull complete 18:26:25 c5a4b2cf53e6: Verifying Checksum 18:26:25 c5a4b2cf53e6: Download complete 18:26:25 d694b5ae8c79: Verifying Checksum 18:26:25 d694b5ae8c79: Download complete 18:26:26 556b6ee489ea: Verifying Checksum 18:26:26 556b6ee489ea: Download complete 18:26:29 d694b5ae8c79: Pull complete 18:26:29 9f32a84ed3da: Pull complete 18:26:29 4d19c01a9841: Pull complete 18:26:29 9325e15d5711: Pull complete 18:26:31 556b6ee489ea: Pull complete 18:26:32 c5a4b2cf53e6: Pull complete 18:26:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:26:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:26:32 ---> c4be618373d6 18:26:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:26:38 ---> Running in d88ec4c01da7 18:26:38 Removing intermediate container d88ec4c01da7 18:26:38 ---> bc981a66a72c 18:26:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:26:38 ---> Running in 43f3e50566ae 18:26:38 Removing intermediate container 43f3e50566ae 18:26:38 ---> 6da01811e8c1 18:26:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:26:38 ---> Running in e0b2d6a3be51 18:26:38 Removing intermediate container e0b2d6a3be51 18:26:38 ---> 5a6809aff3ce 18:26:38 Step 6/12 : WORKDIR /device-uart 18:26:38 ---> Running in 9734c8b539df 18:26:38 Removing intermediate container 9734c8b539df 18:26:38 ---> 82e5aa810225 18:26:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:38 ---> Running in 312cc2e853da 18:26:38 Still waiting to schedule task 18:26:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:26:38 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:26:38 (2/4) Installing libedit (20221030.3.1-r0) 18:26:38 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:26:38 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:26:38 Executing busybox-1.35.0-r29.trigger 18:26:38 OK: 269 MiB in 57 packages 18:26:39 Removing intermediate container 312cc2e853da 18:26:39 ---> 628e37ad451a 18:26:39 Step 8/12 : COPY go.mod vendor* ./ 18:26:39 ---> 2d3a0792d511 18:26:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:39 ---> Running in db001e7fb1d9 18:27:18 Removing intermediate container db001e7fb1d9 18:27:18 ---> 6a47ce6efe77 18:27:18 Step 10/12 : COPY . . 18:27:18 ---> 8e1b2beadb07 18:27:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:27:18 ---> Running in 776e8c6f2c1d 18:27:18 Removing intermediate container 776e8c6f2c1d 18:27:18 ---> 01f7a9862e59 18:27:18 Step 12/12 : RUN ${MAKE} 18:27:18 ---> Running in 0d5c731ac557 18:27:18 noop 18:27:18 Removing intermediate container 0d5c731ac557 18:27:18 ---> dac689ce0a4d 18:27:18 Successfully built dac689ce0a4d 18:27:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:18 + docker inspect -f . ci-base-image-x86_64 18:27:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:18 prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container 18:27:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:27:19 $ docker top d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:19 + go version 18:27:19 go version go1.20.2 linux/amd64 [Pipeline] } 18:27:19 $ docker stop --time=1 d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 18:27:21 $ docker rm -f --volumes d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:21 + docker inspect -f . ci-base-image-x86_64 18:27:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:21 prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container 18:27: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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:27:22 $ docker top 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-19 [Pipeline] fileExists [Pipeline] sh 18:27:22 + make test 18:27:22 go test ./... -coverprofile=coverage.out 18:27:27 ? github.com/edgexfoundry/device-uart [no test files] 18:27:37 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:27:37 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:27:42 internal/driver/driver.go:103:16: S1039: unnecessary use of fmt.Sprintf (gosimple) 18:27:42 s.lc.Infof(fmt.Sprintf("Driver.HandleReadCommands(): EOF reached")) 18:27:42 ^ 18:27:42 make: *** [Makefile:33: lint] Error 1 [Pipeline] } 18:27:42 $ docker stop --time=1 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 18:27:46 $ docker rm -f --volumes 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:47 18:27:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:48 latest: Pulling from edgex-lftools-log-publisher 18:27:48 5eb5b503b376: Pulling fs layer 18:27:48 5c69ac0246d0: Pulling fs layer 18:27:48 ec43610c2a17: Pulling fs layer 18:27:48 3a2ae6a8a46f: Pulling fs layer 18:27:48 33b1e0a273af: Pulling fs layer 18:27:48 5d3b04190fa2: Pulling fs layer 18:27:48 2f39f015ded8: Pulling fs layer 18:27:48 3a2ae6a8a46f: Waiting 18:27:48 2f39f015ded8: Waiting 18:27:48 5d3b04190fa2: Waiting 18:27:48 5c69ac0246d0: Download complete 18:27:48 3a2ae6a8a46f: Verifying Checksum 18:27:48 3a2ae6a8a46f: Download complete 18:27:48 33b1e0a273af: Verifying Checksum 18:27:48 33b1e0a273af: Download complete 18:27:48 5d3b04190fa2: Verifying Checksum 18:27:48 5d3b04190fa2: Download complete 18:27:48 ec43610c2a17: Verifying Checksum 18:27:48 ec43610c2a17: Download complete 18:27:48 5eb5b503b376: Verifying Checksum 18:27:48 5eb5b503b376: Download complete 18:27:49 2f39f015ded8: Download complete 18:27:49 5eb5b503b376: Pull complete 18:27:50 5c69ac0246d0: Pull complete 18:27:50 ec43610c2a17: Pull complete 18:27:51 3a2ae6a8a46f: Pull complete 18:27:51 33b1e0a273af: Pull complete 18:27:51 5d3b04190fa2: Pull complete 18:27:56 2f39f015ded8: Pull complete 18:27:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:56 prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container 18:27:56 $ 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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:28:02 $ docker top fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:03 ---> job-cost.sh 18:28:03 lf-activate-venv: SKIPPING 18:28:03 INFO: No Stack... 18:28:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:28:04 INFO: Archiving Costs [Pipeline] sh 18:28:04 + cat /w/workspace/edgexfoundry_device-uart_PR-19/archives/cost.csv 18:28:04 + cut -d, -f6 [Pipeline] lock 18:28:04 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] 18:28:04 Resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] did not exist. Created. 18:28:04 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:28:04 + echo total: 0.2199999988079071 [Pipeline] stash 18:28:05 Stashed 1 file(s) [Pipeline] } 18:28:05 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:28:05 $ docker stop --time=1 fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba 18:28:06 $ docker rm -f --volumes fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:28:06 Failed in branch amd64 18:28:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-864 in /w/workspace/edgexfoundry_device-uart_PR-19 [Pipeline] { [Pipeline] ws 18:28:08 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:28:08 The recommended git tool is: git 18:28:13 using credential edgex-jenkins-ssh 18:28:13 Cloning the remote Git repository 18:28:13 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:28:13 > git init /w/workspace/device-uart/1 # timeout=10 18:28:13 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:28:13 > git --version # timeout=10 18:28:13 > git --version # 'git version 2.25.1' 18:28:13 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:14 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:28:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:15 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:28:15 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:28:15 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/19/head:refs/remotes/origin/PR-19 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:28:16 Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit b118af3108b43a7b2a2f57134a5652e4155d5622 18:28:16 Merge succeeded, producing b118af3108b43a7b2a2f57134a5652e4155d5622 18:28:16 Checking out Revision b118af3108b43a7b2a2f57134a5652e4155d5622 (PR-19) 18:28:16 > git config core.sparsecheckout # timeout=10 18:28:16 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 18:28:16 > git remote # timeout=10 18:28:16 > git config --get remote.origin.url # timeout=10 18:28:16 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:16 > git merge 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 18:28:16 > git rev-parse HEAD^{commit} # timeout=10 18:28:16 > git config core.sparsecheckout # timeout=10 18:28:16 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 18:28:20 Commit message: "feat: Move device params to res/devices/sample-devices.yaml" 18:28:20 > git --version # timeout=10 18:28:20 > git --version # 'git version 2.25.1' 18:28:20 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:28:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:28:21 Dload Upload Total Spent Left Speed 18:28:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 18:28:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:28:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:28:22 + sudo tee /etc/docker/daemon.new 18:28:22 { 18:28:22 "registry-mirrors": [ 18:28:22 "https://nexus3.edgexfoundry.org:10001" 18:28:22 ], 18:28:22 "bip": "10.250.0.254/24", 18:28:22 "hosts": [ 18:28:22 "tcp://0.0.0.0:5555", 18:28:22 "unix:///var/run/docker.sock" 18:28:22 ], 18:28:22 "mtu": 1458, 18:28:22 "selinux-enabled": true, 18:28:22 "seccomp-profile": "/etc/docker/seccomp.json" 18:28:22 } [Pipeline] sh 18:28:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:28:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:41 provisioning config files... 18:28:41 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config17628243863887977805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:41 ---> docker-login.sh 18:28:41 nexus3.edgexfoundry.org:10001 18:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:42 Configure a credential helper to remove this warning. See 18:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:42 18:28:42 Login Succeeded 18:28:42 nexus3.edgexfoundry.org:10002 18:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:42 Configure a credential helper to remove this warning. See 18:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:42 18:28:42 Login Succeeded 18:28:43 nexus3.edgexfoundry.org:10003 18:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:43 Configure a credential helper to remove this warning. See 18:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:43 18:28:43 Login Succeeded 18:28:43 nexus3.edgexfoundry.org:10004 18:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:43 Configure a credential helper to remove this warning. See 18:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:43 18:28:43 Login Succeeded 18:28:43 docker.io 18:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:44 Configure a credential helper to remove this warning. See 18:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:44 18:28:44 Login Succeeded 18:28:44 ---> docker-login.sh ends [Pipeline] } 18:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:44 ========================================================= 18:28:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:28:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:28:46 Sending build context to Docker daemon 5.576MB 18:28:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:28:46 Step 2/12 : FROM ${BASE} AS builder 18:28:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:28:46 c41833b44d91: Pulling fs layer 18:28:46 ed15518f5707: Pulling fs layer 18:28:46 feae8fd75edb: Pulling fs layer 18:28:46 242c74f7c9fa: Pulling fs layer 18:28:46 3cdef696dda3: Pulling fs layer 18:28:46 2ced38df9373: Pulling fs layer 18:28:46 58f1dce35555: Pulling fs layer 18:28:46 2ced38df9373: Waiting 18:28:46 3cdef696dda3: Waiting 18:28:46 58f1dce35555: Waiting 18:28:46 242c74f7c9fa: Waiting 18:28:46 ed15518f5707: Download complete 18:28:46 242c74f7c9fa: Verifying Checksum 18:28:46 242c74f7c9fa: Download complete 18:28:46 3cdef696dda3: Verifying Checksum 18:28:46 3cdef696dda3: Download complete 18:28:46 c41833b44d91: Verifying Checksum 18:28:46 c41833b44d91: Download complete 18:28:47 c41833b44d91: Pull complete 18:28:47 58f1dce35555: Verifying Checksum 18:28:47 58f1dce35555: Download complete 18:28:48 ed15518f5707: Pull complete 18:28:49 feae8fd75edb: Download complete 18:28:49 2ced38df9373: Download complete 18:29:01 feae8fd75edb: Pull complete 18:29:01 242c74f7c9fa: Pull complete 18:29:01 3cdef696dda3: Pull complete 18:29:06 2ced38df9373: Pull complete 18:29:09 58f1dce35555: Pull complete 18:29:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:29:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:29:09 ---> fadd8f120f05 18:29:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:29:10 ---> Running in ca646a610dc3 18:29:11 Removing intermediate container ca646a610dc3 18:29:11 ---> 85b5760e95df 18:29:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:29:11 ---> Running in a6038aa47729 18:29:11 Removing intermediate container a6038aa47729 18:29:11 ---> afe0383a69d6 18:29:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:29:11 ---> Running in ac5607906266 18:29:11 Removing intermediate container ac5607906266 18:29:11 ---> 27163ebc53ae 18:29:11 Step 6/12 : WORKDIR /device-uart 18:29:11 ---> Running in e8bc28c5f9cf 18:29:12 Removing intermediate container e8bc28c5f9cf 18:29:12 ---> 1169bd608e10 18:29:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:12 ---> Running in 7f056e1e5a1e 18:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:29:14 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:29:14 (2/4) Installing libedit (20221030.3.1-r0) 18:29:14 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:29:14 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:29:14 Executing busybox-1.35.0-r29.trigger 18:29:14 OK: 268 MiB in 57 packages 18:29:15 Removing intermediate container 7f056e1e5a1e 18:29:15 ---> 85dbb0822895 18:29:15 Step 8/12 : COPY go.mod vendor* ./ 18:29:16 ---> 918463e41618 18:29:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:16 ---> Running in fb2deb6c28fc 18:30:24 Removing intermediate container fb2deb6c28fc 18:30:24 ---> 43dbe5d3b1c2 18:30:24 Step 10/12 : COPY . . 18:30:24 ---> 362320339439 18:30:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:30:24 ---> Running in 942c52f14c92 18:30:24 Removing intermediate container 942c52f14c92 18:30:24 ---> 29348f13dbb2 18:30:24 Step 12/12 : RUN ${MAKE} 18:30:24 ---> Running in b0dc0cacbe38 18:30:24 noop 18:30:24 Removing intermediate container b0dc0cacbe38 18:30:24 ---> 653331fc5894 18:30:24 Successfully built 653331fc5894 18:30:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:24 + docker inspect -f . ci-base-image-arm64 18:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:25 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 18:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:30:26 $ docker top 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:27 + go version 18:30:27 go version go1.20.2 linux/arm64 [Pipeline] } 18:30:27 $ docker stop --time=1 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 18:30:28 $ docker rm -f --volumes 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:29 + docker inspect -f . ci-base-image-arm64 18:30:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:30 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 18:30:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:30:33 $ docker top 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:34 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:30:34 + make test 18:30:34 go test ./... -coverprofile=coverage.out 18:31:06 ? github.com/edgexfoundry/device-uart [no test files] 18:32:43 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:32:43 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:32:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:32:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:33:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:33:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:33:15 ./bin/test-attribution-txt.sh 18:33:15 An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 18:33:15 An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add 18:33:15 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 18:33:15 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 18:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:33:16 $ docker stop --time=1 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 18:33:17 $ docker rm -f --volumes 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 [Pipeline] // withDockerContainer [Pipeline] sh 18:33:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:33:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:33:20 + ls -al . 18:33:20 total 140 18:33:20 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 18:30 . 18:33:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:28 .. 18:33:20 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 18:28 .dockerignore 18:33:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .git 18:33:20 -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 18:28 .gitignore 18:33:20 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:28 .golangci.yml 18:33:20 -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 18:28 Attribution.txt 18:33:20 -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 18:28 Dockerfile 18:33:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:28 GOVERNANCE.md 18:33:20 -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 18:28 Jenkinsfile 18:33:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:28 LICENSE 18:33:20 -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 18:28 Makefile 18:33:20 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 18:28 OWNERS.md 18:33:20 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 18:28 README.md 18:33:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 18:26 VERSION 18:33:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:28 bin 18:33:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:28 cmd 18:33:20 -rw-r--r-- 1 jenkins jenkins 10 Jul 11 18:30 coverage.out 18:33:20 -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 18:28 go.mod 18:33:20 -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 18:28 go.sum 18:33:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:28 internal 18:33:20 -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:21 + 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=b118af3108b43a7b2a2f57134a5652e4155d5622 --label arch=arm64 --label version=0.0.0 . 18:33:21 Sending build context to Docker daemon 5.577MB 18:33:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:33:21 Step 2/25 : FROM ${BASE} AS builder 18:33:21 ---> 653331fc5894 18:33:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:33:22 ---> Running in dbae4725b82c 18:33:22 Removing intermediate container dbae4725b82c 18:33:22 ---> d14b47568106 18:33:22 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:33:22 ---> Running in 32d9bc2dd5ad 18:33:22 Removing intermediate container 32d9bc2dd5ad 18:33:22 ---> 9c8fceb2ae97 18:33:22 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:33:23 ---> Running in ae5480536086 18:33:23 Removing intermediate container ae5480536086 18:33:23 ---> 8f2ab181db09 18:33:23 Step 6/25 : WORKDIR /device-uart 18:33:23 ---> Running in b9ed180bed69 18:33:24 Removing intermediate container b9ed180bed69 18:33:24 ---> c165e343b621 18:33:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:24 ---> Running in 9c1ce25ee5d7 18:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:33:27 OK: 268 MiB in 57 packages 18:33:27 Removing intermediate container 9c1ce25ee5d7 18:33:27 ---> 86ef1e611712 18:33:27 Step 8/25 : COPY go.mod vendor* ./ 18:33:28 ---> 1b8547be2647 18:33:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:28 ---> Running in 866726d24be0 18:33:32 Removing intermediate container 866726d24be0 18:33:32 ---> f05f88ad5fcf 18:33:32 Step 10/25 : COPY . . 18:33:34 ---> 20c0468aafb7 18:33:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:33:34 ---> Running in 2786748a2fc1 18:33:34 Removing intermediate container 2786748a2fc1 18:33:34 ---> 811df55523d3 18:33:34 Step 12/25 : RUN ${MAKE} 18:33:34 ---> Running in c97c24081ea0 18:33:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -o cmd/device-uart ./cmd 18:35:57 Removing intermediate container c97c24081ea0 18:35:57 ---> 81e4769a1def 18:35:57 Step 13/25 : FROM alpine:3.17 18:35:57 3.17: Pulling from library/alpine 18:35:57 edb6bdbacee9: Pulling fs layer 18:35:57 edb6bdbacee9: Verifying Checksum 18:35:57 edb6bdbacee9: Download complete 18:35:57 edb6bdbacee9: Pull complete 18:35:57 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:35:57 Status: Downloaded newer image for alpine:3.17 18:35:57 ---> 779605e5fbc0 18:35:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:35:57 ---> Running in d337c2efdbfa 18:35:57 Removing intermediate container d337c2efdbfa 18:35:57 ---> eecfa3c7c670 18:35:57 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:35:57 ---> Running in 23b3f00f5173 18:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:35:57 (1/6) Installing dumb-init (1.2.5-r2) 18:35:57 (2/6) Installing libgcc (12.2.1_git20220924-r4) 18:35:57 (3/6) Installing libsodium (1.0.18-r2) 18:35:57 (4/6) Installing libstdc++ (12.2.1_git20220924-r4) 18:35:57 (5/6) Installing libzmq (4.3.4-r1) 18:35:57 (6/6) Installing zeromq (4.3.4-r1) 18:35:57 Executing busybox-1.35.0-r29.trigger 18:35:57 OK: 11 MiB in 21 packages 18:35:57 Removing intermediate container 23b3f00f5173 18:35:57 ---> 0a77d2106bc9 18:35:57 Step 16/25 : WORKDIR / 18:35:57 ---> Running in f599db7bc1fc 18:35:57 Removing intermediate container f599db7bc1fc 18:35:57 ---> 1ee49551e949 18:35:57 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 18:35:57 ---> a05f33ff3798 18:35:57 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 18:35:57 ---> 7b807cfa8fa5 18:35:57 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 18:35:57 ---> 21be7585177e 18:35:57 Step 20/25 : EXPOSE 59995 18:35:57 ---> Running in e9f759627d80 18:35:57 Removing intermediate container e9f759627d80 18:35:57 ---> 4c21265073ca 18:35:57 Step 21/25 : ENTRYPOINT ["/device-uart"] 18:35:57 ---> Running in b056825f9950 18:35:57 Removing intermediate container b056825f9950 18:35:57 ---> 89e00033a93c 18:35:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:35:57 ---> Running in 2102c6a5f575 18:35:58 Removing intermediate container 2102c6a5f575 18:35:58 ---> 4d094b787449 18:35:58 Step 23/25 : LABEL arch=arm64 18:35:58 ---> Running in 5baa92a64bbe 18:35:58 Removing intermediate container 5baa92a64bbe 18:35:58 ---> 3d4f4a9c58fd 18:35:58 Step 24/25 : LABEL git_sha=b118af3108b43a7b2a2f57134a5652e4155d5622 18:35:58 ---> Running in 6f4d80efa5af 18:35:58 Removing intermediate container 6f4d80efa5af 18:35:58 ---> 8f80548a9aee 18:35:58 Step 25/25 : LABEL version=0.0.0 18:35:58 ---> Running in 69e8e899a9a9 18:35:59 Removing intermediate container 69e8e899a9a9 18:35:59 ---> ee2782207d68 18:35:59 [Warning] One or more build-args [ARCH] were not consumed 18:35:59 Successfully built ee2782207d68 18:35:59 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 18:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:00 18:36:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:00 arm64: Pulling from edgex-lftools-log-publisher 18:36:00 8998bd30e6a1: Pulling fs layer 18:36:00 04944245beec: Pulling fs layer 18:36:00 699f458cf7ca: Pulling fs layer 18:36:00 765212b225bb: Pulling fs layer 18:36:00 f23df028b6ca: Pulling fs layer 18:36:00 d65c8cfc05b1: Pulling fs layer 18:36:00 2437ff75d9bd: Pulling fs layer 18:36:00 765212b225bb: Waiting 18:36:00 f23df028b6ca: Waiting 18:36:00 d65c8cfc05b1: Waiting 18:36:00 2437ff75d9bd: Waiting 18:36:00 04944245beec: Verifying Checksum 18:36:00 04944245beec: Download complete 18:36:00 765212b225bb: Verifying Checksum 18:36:00 765212b225bb: Download complete 18:36:00 f23df028b6ca: Verifying Checksum 18:36:00 f23df028b6ca: Download complete 18:36:00 d65c8cfc05b1: Verifying Checksum 18:36:00 d65c8cfc05b1: Download complete 18:36:00 699f458cf7ca: Verifying Checksum 18:36:00 699f458cf7ca: Download complete 18:36:01 8998bd30e6a1: Verifying Checksum 18:36:01 8998bd30e6a1: Download complete 18:36:03 2437ff75d9bd: Verifying Checksum 18:36:03 2437ff75d9bd: Download complete 18:36:05 8998bd30e6a1: Pull complete 18:36:05 04944245beec: Pull complete 18:36:07 699f458cf7ca: Pull complete 18:36:07 765212b225bb: Pull complete 18:36:08 f23df028b6ca: Pull complete 18:36:08 d65c8cfc05b1: Pull complete 18:36:23 2437ff75d9bd: Pull complete 18:36:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:23 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 18:36:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:36:26 $ docker top 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:27 ---> job-cost.sh 18:36:27 lf-activate-venv: SKIPPING 18:36:27 INFO: No Stack... 18:36:27 INFO: Retrieving Pricing Info for: v3-standard-4 18:36:28 INFO: Archiving Costs [Pipeline] sh 18:36:28 + cat /w/workspace/device-uart/1/archives/cost.csv 18:36:28 + cut -d, -f6 [Pipeline] lock 18:36:29 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] 18:36:29 Resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] did not exist. Created. 18:36:29 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:36:29 /w/workspace/device-uart/1@tmp/durable-aea733b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:36:30 + echo total: 0.10999999940395355 [Pipeline] stash 18:36:30 Warning: overwriting stash ‘stack-cost’ 18:36:30 Stashed 1 file(s) [Pipeline] } 18:36:30 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:36:30 $ docker stop --time=1 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 18:36:31 $ docker rm -f --volumes 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:36:34 + [ -d /w/workspace/edgexfoundry_device-uart_PR-19/archives ] 18:36:34 + ls -al /w/workspace/edgexfoundry_device-uart_PR-19/archives 18:36:34 total 16 18:36:34 drwxr-xr-x 3 root root 4096 Jul 11 18:28 . 18:36:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .. 18:36:34 drwxr-xr-x 2 root root 4096 Jul 11 18:28 cost 18:36:34 -rw-r--r-- 1 root root 82 Jul 11 18:28 cost.csv 18:36:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-19/archives 18:36:34 + ls -al /w/workspace/edgexfoundry_device-uart_PR-19/archives 18:36:34 total 16 18:36:34 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:28 . 18:36:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .. 18:36:34 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 18:28 cost 18:36:34 -rw-r--r-- 1 jenkins jenkins 82 Jul 11 18:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:36:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:36:35 ---> package-listing.sh 18:36:35 ++ tr '[:upper:]' '[:lower:]' 18:36:35 ++ facter osfamily 18:36:36 + OS_FAMILY=debian 18:36:36 + workspace=/w/workspace/edgexfoundry_device-uart_PR-19 18:36:36 + START_PACKAGES=/tmp/packages_start.txt 18:36:36 + END_PACKAGES=/tmp/packages_end.txt 18:36:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:36:36 + PACKAGES=/tmp/packages_start.txt 18:36:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-19 ']' 18:36:36 + PACKAGES=/tmp/packages_end.txt 18:36:36 + case "${OS_FAMILY}" in 18:36:36 + dpkg -l 18:36:36 + grep '^ii' 18:36:36 + '[' -f /tmp/packages_start.txt ']' 18:36:36 + '[' -f /tmp/packages_end.txt ']' 18:36:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:36:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-19 ']' 18:36:36 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-19/archives/ 18:36:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-19/archives/ [Pipeline] echo 18:36:36 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-19/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:36:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:36:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:37 prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container 18:36:37 $ 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-19/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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:36:37 $ docker top d17f698892d7bf331f2c3bbfc3862faceb21d30335407eea3952be6ed63356ac -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:36:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:36:38 + ls /var/log/sa-host 18:36:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:36:38 provisioning config files... 18:36:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config16374710893094806377tmp [Pipeline] { [Pipeline] echo 18:36:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:36:39 ---> create-netrc.sh [Pipeline] } 18:36:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:36:39 ---> python-tools-install.sh [Pipeline] echo 18:36:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:36:39 ---> sudo-logs.sh 18:36:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:36:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:36:40 ---> job-cost.sh 18:36:40 lf-activate-venv: SKIPPING 18:36:40 DEBUG: total: 0.2199999988079071 18:36:40 INFO: Retrieving Stack Cost... 18:36:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:36:41 INFO: Archiving Costs [Pipeline] echo 18:36:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:36:41 ---> logs-deploy.sh 18:36:41 lf-activate-venv: SKIPPING 18:36:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-19/1 18:36:41 INFO: archiving workspace using pattern(s): 18:36:42 Archives upload complete. 18:36:42 INFO: archiving logs to Nexus