Pull request #20 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh2116557790889461130.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-ssh1060098343619733391.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10965336142158732161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6641083001517063198.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6341999408694469887.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1055 in /w/workspace/edgexfoundry_device-uart_PR-20 [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-20 # 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/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 Merge succeeded, producing 150a73e88e190e94780b531c1163f8d738cf3077 Checking out Revision 150a73e88e190e94780b531c1163f8d738cf3077 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 # 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 150a73e88e190e94780b531c1163f8d738cf3077 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T12:40:43.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T12:40:43.941Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T12:40:43.962Z] ========================================================= [2023-07-13T12:40:43.962Z] EdgeX Global Pipelines Version Info [2023-07-13T12:40:43.962Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:40:44.681Z] ------------------- [2023-07-13T12:40:44.682Z] stable info: [2023-07-13T12:40:44.682Z] ------------------- [2023-07-13T12:40:44.682Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T12:40:44.682Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T12:40:44.682Z] Message: update stable to v1.0.250 [2023-07-13T12:40:45.252Z] ------------------- [2023-07-13T12:40:45.252Z] experimental info: [2023-07-13T12:40:45.252Z] ------------------- [2023-07-13T12:40:45.252Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T12:40:45.252Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T12:40:45.252Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T12:40:45.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-13T12:40:45.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-13T12:40:45.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T12:40:45.460Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T12:40:45.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T12:40:45.488Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T12:40:45.498Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T12:40:45.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T12:40:45.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T12:40:45.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T12:40:45.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T12:40:45.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-13T12:40:45.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T12:40:45.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T12:40:45.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T12:40:45.580Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T12:40:45.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T12:40:45.605Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T12:40:45.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T12:40:45.631Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T12:40:45.643Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T12:40:45.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T12:40:45.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T12:40:45.682Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T12:40:45.698Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T12:40:45.710Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T12:40:45.728Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T12:40:45.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-13T12:40:45.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-13T12:40:45.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-13T12:40:45.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo [2023-07-13T12:40:45.807Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 150a73e [Pipeline] echo [2023-07-13T12:40:45.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T12:40:45.863Z] provisioning config files... [2023-07-13T12:40:45.878Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config10087366197468411080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:40:46.184Z] ---> docker-login.sh [2023-07-13T12:40:46.185Z] nexus3.edgexfoundry.org:10001 [2023-07-13T12:40:46.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:40:46.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:40:46.446Z] Configure a credential helper to remove this warning. See [2023-07-13T12:40:46.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:40:46.446Z] [2023-07-13T12:40:46.446Z] Login Succeeded [2023-07-13T12:40:46.446Z] nexus3.edgexfoundry.org:10002 [2023-07-13T12:40:46.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:40:46.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:40:46.707Z] Configure a credential helper to remove this warning. See [2023-07-13T12:40:46.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:40:46.707Z] [2023-07-13T12:40:46.707Z] Login Succeeded [2023-07-13T12:40:46.707Z] nexus3.edgexfoundry.org:10003 [2023-07-13T12:40:46.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:40:46.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:40:46.707Z] Configure a credential helper to remove this warning. See [2023-07-13T12:40:46.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:40:46.707Z] [2023-07-13T12:40:46.707Z] Login Succeeded [2023-07-13T12:40:46.707Z] nexus3.edgexfoundry.org:10004 [2023-07-13T12:40:46.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:40:46.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:40:46.968Z] Configure a credential helper to remove this warning. See [2023-07-13T12:40:46.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:40:46.968Z] [2023-07-13T12:40:46.968Z] Login Succeeded [2023-07-13T12:40:46.968Z] docker.io [2023-07-13T12:40:46.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:40:47.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:40:47.228Z] Configure a credential helper to remove this warning. See [2023-07-13T12:40:47.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:40:47.228Z] [2023-07-13T12:40:47.228Z] Login Succeeded [2023-07-13T12:40:47.228Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T12:40:47.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T12:40:47.626Z] + git rev-list -1 --merges 150a73e88e190e94780b531c1163f8d738cf3077~1..150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo [2023-07-13T12:40:47.676Z] -----------> git rev-list -1 --merges 150a73e88e190e94780b531c1163f8d738cf3077~1..150a73e88e190e94780b531c1163f8d738cf3077 150a73e88e190e94780b531c1163f8d738cf3077 [2023-07-13T12:40:47.676Z] 150a73e88e190e94780b531c1163f8d738cf3077 [false] [Pipeline] sh [2023-07-13T12:40:48.023Z] + git log --format=format:%s -1 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo [2023-07-13T12:40:48.038Z] ========================================================= [2023-07-13T12:40:48.038Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T12:40:48.038Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T12:40:48.374Z] + git log --format=format:%s -1 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo [2023-07-13T12:40:48.385Z] [semverPrep] GIT_COMMIT: 150a73e88e190e94780b531c1163f8d738cf3077, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-13T12:40:48.393Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T12:40:48.769Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T12:40:48.769Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T12:40:48.769Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T12:40:48.769Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T12:40:48.769Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T12:40:48.769Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T12:40:48.769Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:40:49.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T12:40:49.183Z] [2023-07-13T12:40:49.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:40:49.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T12:40:49.480Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T12:40:49.480Z] b85a868b505f: Pulling fs layer [2023-07-13T12:40:49.480Z] e2be974225ed: Pulling fs layer [2023-07-13T12:40:49.480Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T12:40:49.480Z] 988bab9f4d93: Pulling fs layer [2023-07-13T12:40:49.480Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T12:40:49.480Z] 988bab9f4d93: Waiting [2023-07-13T12:40:49.480Z] eaf3925da568: Pulling fs layer [2023-07-13T12:40:49.480Z] 1469e6f7b9e6: Waiting [2023-07-13T12:40:49.480Z] eaf3925da568: Waiting [2023-07-13T12:40:49.480Z] bab4dde63d76: Pulling fs layer [2023-07-13T12:40:49.480Z] bde34c3a00c8: Pulling fs layer [2023-07-13T12:40:49.480Z] b352a97aabf1: Pulling fs layer [2023-07-13T12:40:49.480Z] bab4dde63d76: Waiting [2023-07-13T12:40:49.480Z] bde34c3a00c8: Waiting [2023-07-13T12:40:49.480Z] 4872d77fe225: Pulling fs layer [2023-07-13T12:40:49.480Z] 5851b861e8e6: Pulling fs layer [2023-07-13T12:40:49.480Z] 5851b861e8e6: Waiting [2023-07-13T12:40:49.480Z] e2be974225ed: Verifying Checksum [2023-07-13T12:40:49.480Z] e2be974225ed: Download complete [2023-07-13T12:40:49.480Z] 988bab9f4d93: Download complete [2023-07-13T12:40:49.480Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T12:40:49.480Z] 1469e6f7b9e6: Download complete [2023-07-13T12:40:49.480Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T12:40:49.480Z] 339a4e72a1f5: Download complete [2023-07-13T12:40:49.741Z] eaf3925da568: Download complete [2023-07-13T12:40:49.741Z] bde34c3a00c8: Download complete [2023-07-13T12:40:49.741Z] b352a97aabf1: Verifying Checksum [2023-07-13T12:40:49.741Z] b352a97aabf1: Download complete [2023-07-13T12:40:49.741Z] 4872d77fe225: Download complete [2023-07-13T12:40:49.741Z] 5851b861e8e6: Download complete [2023-07-13T12:40:49.741Z] b85a868b505f: Verifying Checksum [2023-07-13T12:40:49.741Z] b85a868b505f: Download complete [2023-07-13T12:40:49.999Z] bab4dde63d76: Verifying Checksum [2023-07-13T12:40:49.999Z] bab4dde63d76: Download complete [2023-07-13T12:40:50.939Z] b85a868b505f: Pull complete [2023-07-13T12:40:51.197Z] e2be974225ed: Pull complete [2023-07-13T12:40:51.775Z] 339a4e72a1f5: Pull complete [2023-07-13T12:40:51.775Z] 988bab9f4d93: Pull complete [2023-07-13T12:40:52.037Z] 1469e6f7b9e6: Pull complete [2023-07-13T12:40:52.037Z] eaf3925da568: Pull complete [2023-07-13T12:40:53.941Z] bab4dde63d76: Pull complete [2023-07-13T12:40:53.941Z] bde34c3a00c8: Pull complete [2023-07-13T12:40:54.201Z] b352a97aabf1: Pull complete [2023-07-13T12:40:54.201Z] 4872d77fe225: Pull complete [2023-07-13T12:40:54.201Z] 5851b861e8e6: Pull complete [2023-07-13T12:40:54.201Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T12:40:54.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T12:40:54.201Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:40:54.301Z] prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container [2023-07-13T12:40:54.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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-devops/py-git-semver:0.1.4 cat [2023-07-13T12:40:56.758Z] $ docker top add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda -eo pid,comm [2023-07-13T12:40:56.814Z] 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). [2023-07-13T12:40:56.815Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T12:40:56.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T12:40:56.853Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T12:40:56.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T12:40:56.981Z] $ docker exec add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent [2023-07-13T12:40:57.096Z] SSH_AUTH_SOCK=/tmp/ssh-os7Zj14I0tE8/agent.33 [2023-07-13T12:40:57.096Z] SSH_AGENT_PID=39 [2023-07-13T12:40:57.103Z] Running ssh-add (command line suppressed) [2023-07-13T12:40:57.203Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13482581196399407770.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13482581196399407770.key) [2023-07-13T12:40:57.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T12:40:57.498Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T12:40:57.517Z] $ docker exec --env ******** --env ******** add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent -k [2023-07-13T12:40:57.618Z] unset SSH_AUTH_SOCK; [2023-07-13T12:40:57.619Z] unset SSH_AGENT_PID; [2023-07-13T12:40:57.619Z] echo Agent pid 39 killed; [2023-07-13T12:40:57.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T12:40:57.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T12:40:57.652Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T12:40:57.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T12:40:57.778Z] $ docker exec add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent [2023-07-13T12:40:57.880Z] SSH_AUTH_SOCK=/tmp/ssh-gWw3rG4kv99Q/agent.71 [2023-07-13T12:40:57.880Z] SSH_AGENT_PID=77 [2023-07-13T12:40:57.884Z] Running ssh-add (command line suppressed) [2023-07-13T12:40:58.008Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16884530942392759683.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16884530942392759683.key) [2023-07-13T12:40:58.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T12:40:58.310Z] + git semver init [2023-07-13T12:40:58.571Z] 2023-07-13 12:40:58,488 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T12:40:58.571Z] 2023-07-13 12:40:58,489 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T12:40:58.571Z] 2023-07-13 12:40:58,490 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T12:40:58.571Z] 2023-07-13 12:40:58,490 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,298 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,303 [execute] INFO git cat-file --batch-check [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,310 [execute] INFO git cat-file --batch [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T12:40:59.510Z] 2023-07-13 12:40:59,316 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T12:40:59.510Z] 0.0.0 [Pipeline] } [2023-07-13T12:40:59.524Z] $ docker exec --env ******** --env ******** add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent -k [2023-07-13T12:40:59.618Z] unset SSH_AUTH_SOCK; [2023-07-13T12:40:59.619Z] unset SSH_AGENT_PID; [2023-07-13T12:40:59.619Z] echo Agent pid 77 killed; [2023-07-13T12:40:59.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T12:40:59.933Z] + git semver [Pipeline] } [2023-07-13T12:41:00.214Z] $ docker stop --time=1 add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda [2023-07-13T12:41:01.521Z] $ docker rm -f --volumes add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T12:41:01.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T12:41:02.058Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T12:41:02.060Z] [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 [2023-07-13T12:41:02.215Z] provisioning config files... [2023-07-13T12:41:02.223Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config18187104318791224936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:41:02.516Z] ---> docker-login.sh [2023-07-13T12:41:02.516Z] nexus3.edgexfoundry.org:10001 [2023-07-13T12:41:02.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:41:02.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:41:02.516Z] Configure a credential helper to remove this warning. See [2023-07-13T12:41:02.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:41:02.516Z] [2023-07-13T12:41:02.516Z] Login Succeeded [2023-07-13T12:41:02.516Z] nexus3.edgexfoundry.org:10002 [2023-07-13T12:41:02.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:41:02.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:41:02.516Z] Configure a credential helper to remove this warning. See [2023-07-13T12:41:02.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:41:02.516Z] [2023-07-13T12:41:02.516Z] Login Succeeded [2023-07-13T12:41:02.516Z] nexus3.edgexfoundry.org:10003 [2023-07-13T12:41:02.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:41:02.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:41:02.775Z] Configure a credential helper to remove this warning. See [2023-07-13T12:41:02.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:41:02.775Z] [2023-07-13T12:41:02.775Z] Login Succeeded [2023-07-13T12:41:02.775Z] nexus3.edgexfoundry.org:10004 [2023-07-13T12:41:02.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:41:02.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:41:02.775Z] Configure a credential helper to remove this warning. See [2023-07-13T12:41:02.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:41:02.775Z] [2023-07-13T12:41:02.775Z] Login Succeeded [2023-07-13T12:41:02.775Z] docker.io [2023-07-13T12:41:03.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:41:03.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:41:03.034Z] Configure a credential helper to remove this warning. See [2023-07-13T12:41:03.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:41:03.034Z] [2023-07-13T12:41:03.034Z] Login Succeeded [2023-07-13T12:41:03.034Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T12:41:03.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T12:41:03.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T12:41:03.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T12:41:03.116Z] ========================================================= [2023-07-13T12:41:03.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T12:41:03.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:41:03.438Z] + 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 . [2023-07-13T12:41:03.438Z] Sending build context to Docker daemon 11.11MB [2023-07-13T12:41:03.438Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T12:41:03.438Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T12:41:03.438Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T12:41:03.438Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T12:41:03.438Z] 6911f1a30b25: Pulling fs layer [2023-07-13T12:41:03.438Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T12:41:03.438Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T12:41:03.438Z] ec0bb842ea78: Pulling fs layer [2023-07-13T12:41:03.438Z] 40a00589a448: Pulling fs layer [2023-07-13T12:41:03.438Z] 6c08303d61cc: Pulling fs layer [2023-07-13T12:41:03.438Z] 798269fcf238: Pulling fs layer [2023-07-13T12:41:03.438Z] 6863d3e3a2b1: Waiting [2023-07-13T12:41:03.438Z] ec0bb842ea78: Waiting [2023-07-13T12:41:03.438Z] 40a00589a448: Waiting [2023-07-13T12:41:03.438Z] 6c08303d61cc: Waiting [2023-07-13T12:41:03.438Z] 798269fcf238: Waiting [2023-07-13T12:41:03.698Z] 6911f1a30b25: Download complete [2023-07-13T12:41:03.698Z] 6863d3e3a2b1: Verifying Checksum [2023-07-13T12:41:03.698Z] 6863d3e3a2b1: Download complete [2023-07-13T12:41:03.698Z] ec0bb842ea78: Verifying Checksum [2023-07-13T12:41:03.698Z] ec0bb842ea78: Download complete [2023-07-13T12:41:03.698Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T12:41:03.698Z] 4db1b89c0bd1: Download complete [2023-07-13T12:41:03.698Z] 40a00589a448: Verifying Checksum [2023-07-13T12:41:03.698Z] 40a00589a448: Download complete [2023-07-13T12:41:03.698Z] 4db1b89c0bd1: Pull complete [2023-07-13T12:41:03.960Z] 6911f1a30b25: Pull complete [2023-07-13T12:41:04.221Z] 798269fcf238: Verifying Checksum [2023-07-13T12:41:04.221Z] 798269fcf238: Download complete [2023-07-13T12:41:04.221Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T12:41:04.221Z] e194b8c5c2a9: Download complete [2023-07-13T12:41:04.480Z] 6c08303d61cc: Verifying Checksum [2023-07-13T12:41:04.480Z] 6c08303d61cc: Download complete [2023-07-13T12:41:07.776Z] e194b8c5c2a9: Pull complete [2023-07-13T12:41:08.035Z] 6863d3e3a2b1: Pull complete [2023-07-13T12:41:08.035Z] ec0bb842ea78: Pull complete [2023-07-13T12:41:08.035Z] 40a00589a448: Pull complete [2023-07-13T12:41:10.580Z] 6c08303d61cc: Pull complete [2023-07-13T12:41:11.514Z] 798269fcf238: Pull complete [2023-07-13T12:41:11.514Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T12:41:11.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T12:41:11.514Z] ---> ec979cd7f677 [2023-07-13T12:41:11.514Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T12:41:15.701Z] ---> Running in fe6417c1306e [2023-07-13T12:41:15.701Z] Removing intermediate container fe6417c1306e [2023-07-13T12:41:15.701Z] ---> 8f40550fd929 [2023-07-13T12:41:15.701Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T12:41:15.701Z] ---> Running in 44fdc063d058 [2023-07-13T12:41:15.701Z] Removing intermediate container 44fdc063d058 [2023-07-13T12:41:15.701Z] ---> acc6d693aa32 [2023-07-13T12:41:15.701Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T12:41:15.701Z] ---> Running in 67ad49ac5cbd [2023-07-13T12:41:15.701Z] Removing intermediate container 67ad49ac5cbd [2023-07-13T12:41:15.701Z] ---> 22573ccb4a1a [2023-07-13T12:41:15.701Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T12:41:15.701Z] ---> Running in 5582bd43f22d [2023-07-13T12:41:15.701Z] Removing intermediate container 5582bd43f22d [2023-07-13T12:41:15.701Z] ---> 01783ade1d66 [2023-07-13T12:41:15.701Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T12:41:15.701Z] ---> Running in d92141a63c38 [2023-07-13T12:41:15.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T12:41:16.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T12:41:16.476Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T12:41:16.476Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T12:41:16.476Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T12:41:16.735Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T12:41:16.735Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T12:41:16.735Z] OK: 269 MiB in 57 packages [2023-07-13T12:41:16.995Z] Removing intermediate container d92141a63c38 [2023-07-13T12:41:16.995Z] ---> 1dce50258635 [2023-07-13T12:41:16.995Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T12:41:17.170Z] Still waiting to schedule task [2023-07-13T12:41:17.170Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T12:41:17.254Z] ---> 37be7cbbe2cd [2023-07-13T12:41:17.254Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T12:41:17.254Z] ---> Running in 1d33a3156f48 [2023-07-13T12:41:56.024Z] Removing intermediate container 1d33a3156f48 [2023-07-13T12:41:56.024Z] ---> cd0b8de75341 [2023-07-13T12:41:56.024Z] Step 10/12 : COPY . . [2023-07-13T12:41:56.024Z] ---> 145b5f872eac [2023-07-13T12:41:56.024Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T12:41:56.024Z] ---> Running in 1fd1513d9a58 [2023-07-13T12:41:56.024Z] Removing intermediate container 1fd1513d9a58 [2023-07-13T12:41:56.024Z] ---> f12e4a5a8ce6 [2023-07-13T12:41:56.024Z] Step 12/12 : RUN ${MAKE} [2023-07-13T12:41:56.024Z] ---> Running in 7f657007b108 [2023-07-13T12:41:56.024Z] noop [2023-07-13T12:41:56.024Z] Removing intermediate container 7f657007b108 [2023-07-13T12:41:56.024Z] ---> 2d3c8cdb7af4 [2023-07-13T12:41:56.024Z] Successfully built 2d3c8cdb7af4 [2023-07-13T12:41:56.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:41:56.764Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T12:41:56.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:41:56.846Z] prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container [2023-07-13T12:41:56.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T12:41:58.627Z] $ docker top f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T12:42:00.097Z] + go version [2023-07-13T12:42:00.097Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T12:42:00.123Z] $ docker stop --time=1 f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 [2023-07-13T12:42:01.393Z] $ docker rm -f --volumes f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:42:01.812Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T12:42:01.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:42:01.900Z] prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container [2023-07-13T12:42:01.935Z] $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T12:42:02.301Z] $ docker top a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T12:42:02.652Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-13T12:42:02.965Z] + make test [2023-07-13T12:42:02.965Z] go test ./... -coverprofile=coverage.out [2023-07-13T12:42:08.256Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T12:42:18.233Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T12:42:18.233Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T12:42:24.787Z] internal/driver/driver.go:212:17: unusedresult: result of fmt.Errorf call not used (govet) [2023-07-13T12:42:24.787Z] fmt.Errorf("Driver.HandleWriteCommands(): String decode failed: %v", err) [2023-07-13T12:42:24.787Z] ^ [2023-07-13T12:42:24.787Z] make: *** [Makefile:30: lint] Error 1 [Pipeline] } [2023-07-13T12:42:24.801Z] $ docker stop --time=1 a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 [2023-07-13T12:42:27.730Z] $ docker rm -f --volumes a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 [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 [2023-07-13T12:42:28.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T12:42:28.312Z] [2023-07-13T12:42:28.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:42:28.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T12:42:28.605Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T12:42:28.605Z] 5eb5b503b376: Pulling fs layer [2023-07-13T12:42:28.605Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T12:42:28.605Z] ec43610c2a17: Pulling fs layer [2023-07-13T12:42:28.605Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T12:42:28.605Z] 33b1e0a273af: Pulling fs layer [2023-07-13T12:42:28.605Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T12:42:28.605Z] 2f39f015ded8: Pulling fs layer [2023-07-13T12:42:28.605Z] 3a2ae6a8a46f: Waiting [2023-07-13T12:42:28.605Z] 2f39f015ded8: Waiting [2023-07-13T12:42:28.605Z] 33b1e0a273af: Waiting [2023-07-13T12:42:28.605Z] 5d3b04190fa2: Waiting [2023-07-13T12:42:28.605Z] 5c69ac0246d0: Download complete [2023-07-13T12:42:28.605Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T12:42:28.605Z] 3a2ae6a8a46f: Download complete [2023-07-13T12:42:28.605Z] 33b1e0a273af: Verifying Checksum [2023-07-13T12:42:28.605Z] 33b1e0a273af: Download complete [2023-07-13T12:42:28.605Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T12:42:28.605Z] 5d3b04190fa2: Download complete [2023-07-13T12:42:28.605Z] ec43610c2a17: Verifying Checksum [2023-07-13T12:42:28.863Z] 5eb5b503b376: Verifying Checksum [2023-07-13T12:42:28.863Z] 5eb5b503b376: Download complete [2023-07-13T12:42:29.427Z] 2f39f015ded8: Download complete [2023-07-13T12:42:29.993Z] 5eb5b503b376: Pull complete [2023-07-13T12:42:30.252Z] 5c69ac0246d0: Pull complete [2023-07-13T12:42:30.510Z] ec43610c2a17: Pull complete [2023-07-13T12:42:30.767Z] 3a2ae6a8a46f: Pull complete [2023-07-13T12:42:31.024Z] 33b1e0a273af: Pull complete [2023-07-13T12:42:31.024Z] 5d3b04190fa2: Pull complete [2023-07-13T12:42:35.201Z] 2f39f015ded8: Pull complete [2023-07-13T12:42:35.201Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T12:42:35.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T12:42:35.201Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:42:35.277Z] prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container [2023-07-13T12:42:35.311Z] $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T12:42:38.556Z] $ docker top 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:42:38.962Z] ---> job-cost.sh [2023-07-13T12:42:38.962Z] lf-activate-venv: SKIPPING [2023-07-13T12:42:38.962Z] INFO: No Stack... [2023-07-13T12:42:39.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T12:42:39.789Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T12:42:40.106Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-13T12:42:40.106Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T12:42:40.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [2023-07-13T12:42:40.124Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] did not exist. Created. [2023-07-13T12:42:40.124Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T12:42:40.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T12:42:40.460Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T12:42:40.467Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T12:42:40.493Z] $ docker stop --time=1 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 [2023-07-13T12:42:41.643Z] $ docker rm -f --volumes 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T12:42:41.742Z] Failed in branch amd64 [2023-07-13T12:42:46.698Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1056 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws [2023-07-13T12:42:46.711Z] Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout [2023-07-13T12:42:46.739Z] The recommended git tool is: git [2023-07-13T12:42:51.516Z] using credential edgex-jenkins-ssh [2023-07-13T12:42:51.532Z] Cloning the remote Git repository [2023-07-13T12:42:51.573Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-13T12:42:51.659Z] > git init /w/workspace/device-uart/2 # timeout=10 [2023-07-13T12:42:51.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T12:42:51.789Z] > git --version # timeout=10 [2023-07-13T12:42:51.813Z] > git --version # 'git version 2.25.1' [2023-07-13T12:42:51.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T12:42:51.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T12:42:56.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T12:42:56.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T12:42:58.050Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 [2023-07-13T12:42:58.350Z] Merge succeeded, producing 5ce6d61d31315474da5ac2f65e14c5555215612d [2023-07-13T12:42:58.351Z] Checking out Revision 5ce6d61d31315474da5ac2f65e14c5555215612d (PR-20) [2023-07-13T12:42:57.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T12:42:57.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T12:42:57.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T12:42:57.546Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-13T12:42:58.072Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T12:42:58.145Z] > git checkout -f 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 # timeout=10 [2023-07-13T12:42:58.227Z] > git remote # timeout=10 [2023-07-13T12:42:58.244Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T12:42:58.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T12:42:58.290Z] > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-13T12:42:58.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T12:42:58.360Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T12:42:58.374Z] > git checkout -f 5ce6d61d31315474da5ac2f65e14c5555215612d # timeout=10 [2023-07-13T12:43:01.970Z] Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" [2023-07-13T12:43:01.995Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T12:43:02.998Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T12:43:02.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T12:43:02.998Z] Dload Upload Total Spent Left Speed [2023-07-13T12:43:02.998Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69677 0 --:--:-- --:--:-- --:--:-- 69298 100 12751 100 12751 0 0 68924 0 --:--:-- --:--:-- --:--:-- 68924 [Pipeline] sh [2023-07-13T12:43:01.982Z] > git rev-list --no-walk 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 [2023-07-13T12:43:03.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T12:43:04.011Z] + sudo tee /etc/docker/daemon.new [2023-07-13T12:43:04.011Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T12:43:04.011Z] { [2023-07-13T12:43:04.011Z] "registry-mirrors": [ [2023-07-13T12:43:04.011Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T12:43:04.011Z] ], [2023-07-13T12:43:04.011Z] "bip": "10.250.0.254/24", [2023-07-13T12:43:04.011Z] "hosts": [ [2023-07-13T12:43:04.011Z] "tcp://0.0.0.0:5555", [2023-07-13T12:43:04.011Z] "unix:///var/run/docker.sock" [2023-07-13T12:43:04.011Z] ], [2023-07-13T12:43:04.011Z] "mtu": 1458, [2023-07-13T12:43:04.011Z] "selinux-enabled": true, [2023-07-13T12:43:04.011Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T12:43:04.011Z] } [Pipeline] sh [2023-07-13T12:43:04.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T12:43:04.673Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T12:43:26.790Z] provisioning config files... [2023-07-13T12:43:26.815Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config17730398418904522601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:43:27.160Z] ---> docker-login.sh [2023-07-13T12:43:27.160Z] nexus3.edgexfoundry.org:10001 [2023-07-13T12:43:27.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:43:27.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:43:27.701Z] Configure a credential helper to remove this warning. See [2023-07-13T12:43:27.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:43:27.702Z] [2023-07-13T12:43:27.702Z] Login Succeeded [2023-07-13T12:43:27.702Z] nexus3.edgexfoundry.org:10002 [2023-07-13T12:43:27.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:43:27.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:43:27.971Z] Configure a credential helper to remove this warning. See [2023-07-13T12:43:27.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:43:27.971Z] [2023-07-13T12:43:27.971Z] Login Succeeded [2023-07-13T12:43:27.971Z] nexus3.edgexfoundry.org:10003 [2023-07-13T12:43:28.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:43:28.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:43:28.515Z] Configure a credential helper to remove this warning. See [2023-07-13T12:43:28.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:43:28.515Z] [2023-07-13T12:43:28.515Z] Login Succeeded [2023-07-13T12:43:28.515Z] nexus3.edgexfoundry.org:10004 [2023-07-13T12:43:28.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:43:28.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:43:28.799Z] Configure a credential helper to remove this warning. See [2023-07-13T12:43:28.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:43:28.799Z] [2023-07-13T12:43:28.799Z] Login Succeeded [2023-07-13T12:43:28.799Z] docker.io [2023-07-13T12:43:29.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T12:43:29.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T12:43:29.343Z] Configure a credential helper to remove this warning. See [2023-07-13T12:43:29.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T12:43:29.343Z] [2023-07-13T12:43:29.343Z] Login Succeeded [2023-07-13T12:43:29.343Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T12:43:29.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T12:43:29.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T12:43:29.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T12:43:29.649Z] ========================================================= [2023-07-13T12:43:29.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T12:43:29.649Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:43:29.983Z] + 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 . [2023-07-13T12:43:30.252Z] Sending build context to Docker daemon 5.609MB [2023-07-13T12:43:30.252Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T12:43:30.252Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T12:43:30.524Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T12:43:30.524Z] edb6bdbacee9: Pulling fs layer [2023-07-13T12:43:30.524Z] 5f9638ab2659: Pulling fs layer [2023-07-13T12:43:30.524Z] 8d51d6327a98: Pulling fs layer [2023-07-13T12:43:30.524Z] 8b374f2dd631: Pulling fs layer [2023-07-13T12:43:30.524Z] ec14aa9079de: Pulling fs layer [2023-07-13T12:43:30.524Z] 2f466654f4bb: Pulling fs layer [2023-07-13T12:43:30.524Z] 554e91adad29: Pulling fs layer [2023-07-13T12:43:30.524Z] 8b374f2dd631: Waiting [2023-07-13T12:43:30.524Z] ec14aa9079de: Waiting [2023-07-13T12:43:30.524Z] 2f466654f4bb: Waiting [2023-07-13T12:43:30.524Z] 554e91adad29: Waiting [2023-07-13T12:43:30.524Z] 5f9638ab2659: Verifying Checksum [2023-07-13T12:43:30.524Z] 5f9638ab2659: Download complete [2023-07-13T12:43:30.524Z] 8b374f2dd631: Verifying Checksum [2023-07-13T12:43:30.524Z] 8b374f2dd631: Download complete [2023-07-13T12:43:30.524Z] ec14aa9079de: Verifying Checksum [2023-07-13T12:43:30.524Z] ec14aa9079de: Download complete [2023-07-13T12:43:30.524Z] edb6bdbacee9: Verifying Checksum [2023-07-13T12:43:30.524Z] edb6bdbacee9: Download complete [2023-07-13T12:43:31.506Z] edb6bdbacee9: Pull complete [2023-07-13T12:43:31.777Z] 554e91adad29: Verifying Checksum [2023-07-13T12:43:31.777Z] 554e91adad29: Download complete [2023-07-13T12:43:32.049Z] 5f9638ab2659: Pull complete [2023-07-13T12:43:33.044Z] 2f466654f4bb: Verifying Checksum [2023-07-13T12:43:33.044Z] 2f466654f4bb: Download complete [2023-07-13T12:43:33.044Z] 8d51d6327a98: Verifying Checksum [2023-07-13T12:43:33.044Z] 8d51d6327a98: Download complete [2023-07-13T12:43:45.372Z] 8d51d6327a98: Pull complete [2023-07-13T12:43:45.372Z] 8b374f2dd631: Pull complete [2023-07-13T12:43:45.372Z] ec14aa9079de: Pull complete [2023-07-13T12:43:50.719Z] 2f466654f4bb: Pull complete [2023-07-13T12:43:53.320Z] 554e91adad29: Pull complete [2023-07-13T12:43:53.320Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T12:43:53.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T12:43:53.320Z] ---> 1e15ea492957 [2023-07-13T12:43:53.320Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T12:43:54.732Z] ---> Running in af85be3195e2 [2023-07-13T12:43:54.998Z] Removing intermediate container af85be3195e2 [2023-07-13T12:43:54.998Z] ---> 03cd7c77b3bd [2023-07-13T12:43:54.998Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T12:43:55.263Z] ---> Running in 2b27d598fad5 [2023-07-13T12:43:55.530Z] Removing intermediate container 2b27d598fad5 [2023-07-13T12:43:55.530Z] ---> def6f22861ba [2023-07-13T12:43:55.530Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T12:43:55.530Z] ---> Running in 2145388ccb99 [2023-07-13T12:43:55.799Z] Removing intermediate container 2145388ccb99 [2023-07-13T12:43:55.799Z] ---> 886db56be940 [2023-07-13T12:43:55.799Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T12:43:55.799Z] ---> Running in 5cd23f57ddb6 [2023-07-13T12:43:56.067Z] Removing intermediate container 5cd23f57ddb6 [2023-07-13T12:43:56.067Z] ---> 30e7219eb891 [2023-07-13T12:43:56.067Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T12:43:56.335Z] ---> Running in d14d955217fa [2023-07-13T12:43:57.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T12:43:57.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T12:43:58.838Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T12:43:58.838Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T12:43:58.838Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T12:43:58.838Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T12:43:58.838Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T12:43:58.838Z] OK: 268 MiB in 57 packages [2023-07-13T12:43:59.808Z] Removing intermediate container d14d955217fa [2023-07-13T12:43:59.808Z] ---> affa32f43952 [2023-07-13T12:43:59.808Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T12:44:00.406Z] ---> 4c57f9f18d0d [2023-07-13T12:44:00.406Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T12:44:00.406Z] ---> Running in 0c26923e33bb [2023-07-13T12:45:08.293Z] Removing intermediate container 0c26923e33bb [2023-07-13T12:45:08.293Z] ---> c385dfbb1188 [2023-07-13T12:45:08.293Z] Step 10/12 : COPY . . [2023-07-13T12:45:08.293Z] ---> c2865f09bff1 [2023-07-13T12:45:08.293Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T12:45:08.293Z] ---> Running in 66b59030531a [2023-07-13T12:45:08.293Z] Removing intermediate container 66b59030531a [2023-07-13T12:45:08.293Z] ---> 0278629992e8 [2023-07-13T12:45:08.293Z] Step 12/12 : RUN ${MAKE} [2023-07-13T12:45:08.293Z] ---> Running in 63e7591b3d66 [2023-07-13T12:45:08.293Z] noop [2023-07-13T12:45:08.293Z] Removing intermediate container 63e7591b3d66 [2023-07-13T12:45:08.293Z] ---> fe20f82170fa [2023-07-13T12:45:08.293Z] Successfully built fe20f82170fa [2023-07-13T12:45:08.293Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:45:08.647Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T12:45:08.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:45:08.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container [2023-07-13T12:45:08.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T12:45:10.120Z] $ docker top dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T12:45:10.949Z] + go version [2023-07-13T12:45:10.949Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T12:45:10.970Z] $ docker stop --time=1 dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 [2023-07-13T12:45:12.559Z] $ docker rm -f --volumes dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:45:13.091Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T12:45:13.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:45:13.265Z] prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container [2023-07-13T12:45:13.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T12:45:14.429Z] $ docker top 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T12:45:14.940Z] + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh [2023-07-13T12:45:15.265Z] + make test [2023-07-13T12:45:15.534Z] go test ./... -coverprofile=coverage.out [2023-07-13T12:45:47.777Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T12:47:24.521Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T12:47:24.521Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T12:47:24.521Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T12:47:24.521Z] go vet ./... [2023-07-13T12:47:51.204Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-07-13T12:47:51.204Z] internal/driver/driver.go:212:17: result of fmt.Errorf call not used [2023-07-13T12:47:53.785Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2023-07-13T12:47:53.804Z] $ docker stop --time=1 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 [2023-07-13T12:47:55.723Z] $ docker rm -f --volumes 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:47:56.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T12:47:56.979Z] [2023-07-13T12:47:56.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:47:57.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T12:47:57.589Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T12:47:57.589Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T12:47:57.589Z] 04944245beec: Pulling fs layer [2023-07-13T12:47:57.589Z] 699f458cf7ca: Pulling fs layer [2023-07-13T12:47:57.589Z] 765212b225bb: Pulling fs layer [2023-07-13T12:47:57.589Z] f23df028b6ca: Pulling fs layer [2023-07-13T12:47:57.589Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T12:47:57.589Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T12:47:57.589Z] 765212b225bb: Waiting [2023-07-13T12:47:57.589Z] f23df028b6ca: Waiting [2023-07-13T12:47:57.589Z] d65c8cfc05b1: Waiting [2023-07-13T12:47:57.589Z] 2437ff75d9bd: Waiting [2023-07-13T12:47:57.589Z] 04944245beec: Verifying Checksum [2023-07-13T12:47:57.589Z] 04944245beec: Download complete [2023-07-13T12:47:57.589Z] 765212b225bb: Verifying Checksum [2023-07-13T12:47:57.589Z] 765212b225bb: Download complete [2023-07-13T12:47:57.589Z] f23df028b6ca: Verifying Checksum [2023-07-13T12:47:57.589Z] f23df028b6ca: Download complete [2023-07-13T12:47:57.861Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T12:47:57.861Z] d65c8cfc05b1: Download complete [2023-07-13T12:47:57.861Z] 699f458cf7ca: Verifying Checksum [2023-07-13T12:47:57.861Z] 699f458cf7ca: Download complete [2023-07-13T12:47:58.130Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T12:47:58.130Z] 8998bd30e6a1: Download complete [2023-07-13T12:48:01.478Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T12:48:01.478Z] 2437ff75d9bd: Download complete [2023-07-13T12:48:03.415Z] 8998bd30e6a1: Pull complete [2023-07-13T12:48:03.682Z] 04944245beec: Pull complete [2023-07-13T12:48:05.623Z] 699f458cf7ca: Pull complete [2023-07-13T12:48:05.889Z] 765212b225bb: Pull complete [2023-07-13T12:48:06.851Z] f23df028b6ca: Pull complete [2023-07-13T12:48:08.789Z] d65c8cfc05b1: Pull complete [2023-07-13T12:48:27.008Z] 2437ff75d9bd: Pull complete [2023-07-13T12:48:27.008Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T12:48:27.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T12:48:27.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:48:27.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container [2023-07-13T12:48:27.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T12:48:29.225Z] $ docker top c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:30.047Z] ---> job-cost.sh [2023-07-13T12:48:30.047Z] lf-activate-venv: SKIPPING [2023-07-13T12:48:30.047Z] INFO: No Stack... [2023-07-13T12:48:30.313Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T12:48:31.266Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T12:48:31.594Z] + cat /w/workspace/device-uart/2/archives/cost.csv [2023-07-13T12:48:31.594Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T12:48:31.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [2023-07-13T12:48:31.658Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] did not exist. Created. [2023-07-13T12:48:31.658Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T12:48:32.308Z] /w/workspace/device-uart/2@tmp/durable-30d395c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T12:48:32.639Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T12:48:32.669Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T12:48:33.019Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T12:48:33.026Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T12:48:33.046Z] $ docker stop --time=1 c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 [2023-07-13T12:48:34.542Z] $ docker rm -f --volumes c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T12:48:34.881Z] Failed in branch arm64 [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 [2023-07-13T12:48:35.566Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-13T12:48:35.566Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T12:48:35.566Z] total 16 [2023-07-13T12:48:35.566Z] drwxr-xr-x 3 root root 4096 Jul 13 12:42 . [2023-07-13T12:48:35.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 12:42 .. [2023-07-13T12:48:35.566Z] drwxr-xr-x 2 root root 4096 Jul 13 12:42 cost [2023-07-13T12:48:35.566Z] -rw-r--r-- 1 root root 82 Jul 13 12:42 cost.csv [2023-07-13T12:48:35.566Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T12:48:35.566Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T12:48:35.566Z] total 16 [2023-07-13T12:48:35.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 12:42 . [2023-07-13T12:48:35.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 12:42 .. [2023-07-13T12:48:35.566Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 12:42 cost [2023-07-13T12:48:35.566Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 13 12:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:35.858Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:36.715Z] ---> package-listing.sh [2023-07-13T12:48:36.715Z] ++ facter osfamily [2023-07-13T12:48:36.715Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T12:48:36.974Z] + OS_FAMILY=debian [2023-07-13T12:48:36.974Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-13T12:48:36.974Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T12:48:36.974Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T12:48:36.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T12:48:36.974Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T12:48:36.975Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T12:48:36.975Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T12:48:36.975Z] + case "${OS_FAMILY}" in [2023-07-13T12:48:36.975Z] + dpkg -l [2023-07-13T12:48:36.975Z] + grep '^ii' [2023-07-13T12:48:36.975Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T12:48:36.975Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T12:48:36.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T12:48:36.975Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T12:48:36.975Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-13T12:48:36.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo [2023-07-13T12:48:36.985Z] 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-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-13T12:48:37.264Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T12:48:37.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T12:48:37.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T12:48:37.893Z] prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container [2023-07-13T12:48:37.926Z] $ 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-20/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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T12:48:38.125Z] $ docker top 03ff6fb131b26f816c7daff5f388f73f5535674d8a1aab6c665cd68190e1cdfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T12:48:38.473Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T12:48:38.760Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T12:48:39.045Z] + ls /var/log/sa-host [2023-07-13T12:48:39.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T12:48:39.196Z] provisioning config files... [2023-07-13T12:48:39.204Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config2274453284998179792tmp [Pipeline] { [Pipeline] echo [2023-07-13T12:48:39.220Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:39.507Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T12:48:39.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:39.850Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T12:48:39.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:40.138Z] ---> sudo-logs.sh [2023-07-13T12:48:40.138Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T12:48:40.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:40.459Z] ---> job-cost.sh [2023-07-13T12:48:40.459Z] lf-activate-venv: SKIPPING [2023-07-13T12:48:40.459Z] DEBUG: total: 0.2199999988079071 [2023-07-13T12:48:40.459Z] INFO: Retrieving Stack Cost... [2023-07-13T12:48:40.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T12:48:41.287Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T12:48:41.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T12:48:41.581Z] ---> logs-deploy.sh [2023-07-13T12:48:41.581Z] lf-activate-venv: SKIPPING [2023-07-13T12:48:41.581Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/2 [2023-07-13T12:48:41.581Z] INFO: archiving workspace using pattern(s): [2023-07-13T12:48:42.517Z] Archives upload complete. [2023-07-13T12:48:42.776Z] INFO: archiving logs to Nexus