Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c30bf90ffa9b09e56965655bf5f596629c9edc5f 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-ssh10084245181315231302.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10316312979236083992.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9461210361385918216.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh9015455914781072354.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8245391853754305343.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10370 in /w/workspace/edgexfoundry_device-uart_main [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_main # 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 Avoid second fetch Checking out Revision c30bf90ffa9b09e56965655bf5f596629c9edc5f (main) Commit message: "Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1" > 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 core.sparsecheckout # timeout=10 > git checkout -f c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 > git rev-list --no-walk 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T02:42:26.098Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T02:42:26.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T02:42:26.174Z] ========================================================= [2023-10-25T02:42:26.175Z] EdgeX Global Pipelines Version Info [2023-10-25T02:42:26.175Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:42:26.882Z] ------------------- [2023-10-25T02:42:26.882Z] stable info: [2023-10-25T02:42:26.882Z] ------------------- [2023-10-25T02:42:26.882Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T02:42:26.882Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T02:42:26.883Z] Message: update stable to v1.0.254 [2023-10-25T02:42:27.450Z] ------------------- [2023-10-25T02:42:27.450Z] experimental info: [2023-10-25T02:42:27.450Z] ------------------- [2023-10-25T02:42:27.450Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T02:42:27.450Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T02:42:27.450Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T02:42:27.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-10-25T02:42:27.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-10-25T02:42:27.658Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T02:42:27.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T02:42:27.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T02:42:27.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T02:42:27.696Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T02:42:27.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-25T02:42:27.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T02:42:27.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T02:42:27.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T02:42:27.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-10-25T02:42:27.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T02:42:27.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T02:42:27.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T02:42:27.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T02:42:27.829Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T02:42:27.842Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T02:42:27.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T02:42:27.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T02:42:27.898Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-25T02:42:27.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-25T02:42:27.936Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T02:42:27.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T02:42:27.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T02:42:27.975Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T02:42:27.986Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T02:42:28.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-25T02:42:28.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-25T02:42:28.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-25T02:42:28.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo [2023-10-25T02:42:28.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c30bf90 [Pipeline] echo [2023-10-25T02:42:28.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:42:28.108Z] provisioning config files... [2023-10-25T02:42:28.122Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5896993418633478762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:42:28.423Z] ---> docker-login.sh [2023-10-25T02:42:28.423Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:42:28.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:28.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:28.684Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:28.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:28.684Z] [2023-10-25T02:42:28.684Z] Login Succeeded [2023-10-25T02:42:28.684Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:42:28.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:28.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:28.684Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:28.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:28.684Z] [2023-10-25T02:42:28.684Z] Login Succeeded [2023-10-25T02:42:28.684Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:42:28.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:28.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:28.945Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:28.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:28.945Z] [2023-10-25T02:42:28.945Z] Login Succeeded [2023-10-25T02:42:28.945Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:42:28.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:28.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:28.945Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:28.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:28.945Z] [2023-10-25T02:42:28.945Z] Login Succeeded [2023-10-25T02:42:28.945Z] docker.io [2023-10-25T02:42:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:29.467Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:29.467Z] [2023-10-25T02:42:29.467Z] Login Succeeded [2023-10-25T02:42:29.467Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:42:29.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T02:42:29.851Z] + git rev-list -1 --merges c30bf90ffa9b09e56965655bf5f596629c9edc5f~1..c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo [2023-10-25T02:42:29.896Z] -----------> git rev-list -1 --merges c30bf90ffa9b09e56965655bf5f596629c9edc5f~1..c30bf90ffa9b09e56965655bf5f596629c9edc5f c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:42:29.896Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f [false] [Pipeline] sh [2023-10-25T02:42:30.185Z] + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo [2023-10-25T02:42:30.221Z] ========================================================= [2023-10-25T02:42:30.221Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T02:42:30.221Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:42:30.545Z] + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo [2023-10-25T02:42:30.554Z] [semverPrep] GIT_COMMIT: c30bf90ffa9b09e56965655bf5f596629c9edc5f, Commit Message: Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1 [Pipeline] echo [2023-10-25T02:42:30.565Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T02:42:30.939Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:42:30.939Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T02:42:30.939Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T02:42:30.939Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T02:42:30.939Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T02:42:30.939Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T02:42:30.939Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:42:31.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:42:31.362Z] [2023-10-25T02:42:31.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:42:31.658Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:42:31.658Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T02:42:31.658Z] b85a868b505f: Pulling fs layer [2023-10-25T02:42:31.658Z] e2be974225ed: Pulling fs layer [2023-10-25T02:42:31.658Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T02:42:31.658Z] 988bab9f4d93: Pulling fs layer [2023-10-25T02:42:31.658Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T02:42:31.658Z] eaf3925da568: Pulling fs layer [2023-10-25T02:42:31.658Z] bab4dde63d76: Pulling fs layer [2023-10-25T02:42:31.658Z] bde34c3a00c8: Pulling fs layer [2023-10-25T02:42:31.658Z] b352a97aabf1: Pulling fs layer [2023-10-25T02:42:31.658Z] 4872d77fe225: Pulling fs layer [2023-10-25T02:42:31.658Z] 5851b861e8e6: Pulling fs layer [2023-10-25T02:42:31.658Z] 988bab9f4d93: Waiting [2023-10-25T02:42:31.658Z] 1469e6f7b9e6: Waiting [2023-10-25T02:42:31.658Z] bab4dde63d76: Waiting [2023-10-25T02:42:31.658Z] bde34c3a00c8: Waiting [2023-10-25T02:42:31.658Z] b352a97aabf1: Waiting [2023-10-25T02:42:31.658Z] 4872d77fe225: Waiting [2023-10-25T02:42:31.658Z] eaf3925da568: Waiting [2023-10-25T02:42:31.658Z] 5851b861e8e6: Waiting [2023-10-25T02:42:31.658Z] e2be974225ed: Download complete [2023-10-25T02:42:31.658Z] 988bab9f4d93: Verifying Checksum [2023-10-25T02:42:31.658Z] 988bab9f4d93: Download complete [2023-10-25T02:42:31.918Z] 1469e6f7b9e6: Verifying Checksum [2023-10-25T02:42:31.918Z] 1469e6f7b9e6: Download complete [2023-10-25T02:42:31.918Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T02:42:31.918Z] 339a4e72a1f5: Download complete [2023-10-25T02:42:31.918Z] eaf3925da568: Verifying Checksum [2023-10-25T02:42:31.918Z] eaf3925da568: Download complete [2023-10-25T02:42:31.918Z] bde34c3a00c8: Verifying Checksum [2023-10-25T02:42:31.918Z] bde34c3a00c8: Download complete [2023-10-25T02:42:31.918Z] b352a97aabf1: Verifying Checksum [2023-10-25T02:42:31.918Z] b352a97aabf1: Download complete [2023-10-25T02:42:31.918Z] 4872d77fe225: Verifying Checksum [2023-10-25T02:42:31.918Z] 4872d77fe225: Download complete [2023-10-25T02:42:31.918Z] 5851b861e8e6: Verifying Checksum [2023-10-25T02:42:31.918Z] 5851b861e8e6: Download complete [2023-10-25T02:42:31.918Z] b85a868b505f: Verifying Checksum [2023-10-25T02:42:31.918Z] b85a868b505f: Download complete [2023-10-25T02:42:32.177Z] bab4dde63d76: Verifying Checksum [2023-10-25T02:42:32.177Z] bab4dde63d76: Download complete [2023-10-25T02:42:33.596Z] b85a868b505f: Pull complete [2023-10-25T02:42:33.596Z] e2be974225ed: Pull complete [2023-10-25T02:42:33.855Z] 339a4e72a1f5: Pull complete [2023-10-25T02:42:33.855Z] 988bab9f4d93: Pull complete [2023-10-25T02:42:34.114Z] 1469e6f7b9e6: Pull complete [2023-10-25T02:42:34.375Z] eaf3925da568: Pull complete [2023-10-25T02:42:36.280Z] bab4dde63d76: Pull complete [2023-10-25T02:42:36.280Z] bde34c3a00c8: Pull complete [2023-10-25T02:42:36.280Z] b352a97aabf1: Pull complete [2023-10-25T02:42:36.539Z] 4872d77fe225: Pull complete [2023-10-25T02:42:36.539Z] 5851b861e8e6: Pull complete [2023-10-25T02:42:36.539Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T02:42:36.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:42:36.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:42:36.627Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:42:36.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:42:41.567Z] $ docker top fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 -eo pid,comm [2023-10-25T02:42:41.623Z] 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-10-25T02:42:41.623Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:42:41.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:42:41.668Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:42:41.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:42:41.787Z] $ docker exec fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent [2023-10-25T02:42:41.890Z] SSH_AUTH_SOCK=/tmp/ssh-VMUxyAlZBfX1/agent.31 [2023-10-25T02:42:41.890Z] SSH_AGENT_PID=37 [2023-10-25T02:42:41.898Z] Running ssh-add (command line suppressed) [2023-10-25T02:42:42.004Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13044153371967950355.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13044153371967950355.key) [2023-10-25T02:42:42.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:42:42.306Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T02:42:42.324Z] $ docker exec --env ******** --env ******** fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent -k [2023-10-25T02:42:42.411Z] unset SSH_AUTH_SOCK; [2023-10-25T02:42:42.412Z] unset SSH_AGENT_PID; [2023-10-25T02:42:42.416Z] echo Agent pid 37 killed; [2023-10-25T02:42:42.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T02:42:42.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:42:42.453Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:42:42.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:42:42.571Z] $ docker exec fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent [2023-10-25T02:42:42.687Z] SSH_AUTH_SOCK=/tmp/ssh-MTDCfgSynp6V/agent.69 [2023-10-25T02:42:42.687Z] SSH_AGENT_PID=75 [2023-10-25T02:42:42.696Z] Running ssh-add (command line suppressed) [2023-10-25T02:42:42.804Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15033101615995295312.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15033101615995295312.key) [2023-10-25T02:42:42.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:42:43.106Z] + git semver init [2023-10-25T02:42:43.365Z] 2023-10-25 02:42:43,278 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T02:42:43.365Z] 2023-10-25 02:42:43,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T02:42:43.365Z] 2023-10-25 02:42:43,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T02:42:43.365Z] 2023-10-25 02:42:43,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:42:44.300Z] 2023-10-25 02:42:44,270 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-10-25T02:42:44.300Z] 2023-10-25 02:42:44,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-10-25T02:42:44.300Z] 2023-10-25 02:42:44,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:42:44.300Z] 2023-10-25 02:42:44,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:42:44.300Z] 3.0.1-dev.7 [Pipeline] } [2023-10-25T02:42:44.311Z] $ docker exec --env ******** --env ******** fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent -k [2023-10-25T02:42:44.420Z] unset SSH_AUTH_SOCK; [2023-10-25T02:42:44.421Z] unset SSH_AGENT_PID; [2023-10-25T02:42:44.421Z] echo Agent pid 75 killed; [2023-10-25T02:42:44.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:42:44.737Z] + git semver [Pipeline] } [2023-10-25T02:42:45.011Z] $ docker stop --time=1 fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 [2023-10-25T02:42:46.276Z] $ docker rm -f --volumes fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:42:46.615Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T02:42:46.821Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T02:42:46.824Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.7 [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-10-25T02:42:46.993Z] provisioning config files... [2023-10-25T02:42:47.001Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9311508513056052201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:42:47.295Z] ---> docker-login.sh [2023-10-25T02:42:47.295Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:42:47.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:47.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:47.295Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:47.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:47.295Z] [2023-10-25T02:42:47.295Z] Login Succeeded [2023-10-25T02:42:47.295Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:42:47.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:47.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:47.553Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:47.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:47.553Z] [2023-10-25T02:42:47.553Z] Login Succeeded [2023-10-25T02:42:47.553Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:42:47.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:47.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:47.553Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:47.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:47.553Z] [2023-10-25T02:42:47.553Z] Login Succeeded [2023-10-25T02:42:47.553Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:42:47.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:47.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:47.813Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:47.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:47.813Z] [2023-10-25T02:42:47.813Z] Login Succeeded [2023-10-25T02:42:47.813Z] docker.io [2023-10-25T02:42:47.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:42:48.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:42:48.071Z] Configure a credential helper to remove this warning. See [2023-10-25T02:42:48.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:42:48.071Z] [2023-10-25T02:42:48.071Z] Login Succeeded [2023-10-25T02:42:48.071Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:42:48.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T02:42:48.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:42:48.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:42:48.155Z] ========================================================= [2023-10-25T02:42:48.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T02:42:48.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:42:48.462Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T02:42:48.463Z] Sending build context to Docker daemon 11.17MB [2023-10-25T02:42:48.463Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:42:48.463Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T02:42:48.463Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T02:42:48.463Z] 7264a8db6415: Pulling fs layer [2023-10-25T02:42:48.463Z] c4d48a809fc2: Pulling fs layer [2023-10-25T02:42:48.463Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T02:42:48.463Z] ad3a456e5733: Pulling fs layer [2023-10-25T02:42:48.463Z] 33e27b845d1e: Pulling fs layer [2023-10-25T02:42:48.463Z] c68163c4e522: Pulling fs layer [2023-10-25T02:42:48.463Z] 50da416c3ac9: Pulling fs layer [2023-10-25T02:42:48.463Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T02:42:48.463Z] ad3a456e5733: Waiting [2023-10-25T02:42:48.463Z] 33e27b845d1e: Waiting [2023-10-25T02:42:48.463Z] c68163c4e522: Waiting [2023-10-25T02:42:48.463Z] 50da416c3ac9: Waiting [2023-10-25T02:42:48.463Z] c4d48a809fc2: Download complete [2023-10-25T02:42:48.463Z] ad3a456e5733: Verifying Checksum [2023-10-25T02:42:48.463Z] ad3a456e5733: Download complete [2023-10-25T02:42:48.463Z] 33e27b845d1e: Verifying Checksum [2023-10-25T02:42:48.463Z] 33e27b845d1e: Download complete [2023-10-25T02:42:48.722Z] 7264a8db6415: Verifying Checksum [2023-10-25T02:42:48.722Z] 7264a8db6415: Download complete [2023-10-25T02:42:48.722Z] c68163c4e522: Verifying Checksum [2023-10-25T02:42:48.722Z] c68163c4e522: Download complete [2023-10-25T02:42:48.722Z] 7264a8db6415: Pull complete [2023-10-25T02:42:48.722Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T02:42:48.722Z] 23d2d4c4bb30: Download complete [2023-10-25T02:42:48.981Z] c4d48a809fc2: Pull complete [2023-10-25T02:42:48.981Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T02:42:48.981Z] 4f1c88b9dad5: Download complete [2023-10-25T02:42:49.546Z] 50da416c3ac9: Verifying Checksum [2023-10-25T02:42:49.546Z] 50da416c3ac9: Download complete [2023-10-25T02:42:52.077Z] 4f1c88b9dad5: Pull complete [2023-10-25T02:42:52.077Z] ad3a456e5733: Pull complete [2023-10-25T02:42:52.335Z] 33e27b845d1e: Pull complete [2023-10-25T02:42:52.335Z] c68163c4e522: Pull complete [2023-10-25T02:42:54.858Z] 50da416c3ac9: Pull complete [2023-10-25T02:42:55.116Z] 23d2d4c4bb30: Pull complete [2023-10-25T02:42:55.116Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T02:42:55.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T02:42:55.116Z] ---> 0786185ac409 [2023-10-25T02:42:55.116Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:43:01.945Z] Still waiting to schedule task [2023-10-25T02:43:01.945Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-25T02:43:03.357Z] ---> Running in be6526ffb6a1 [2023-10-25T02:43:03.357Z] Removing intermediate container be6526ffb6a1 [2023-10-25T02:43:03.357Z] ---> 79bfd8300c26 [2023-10-25T02:43:03.357Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:43:03.357Z] ---> Running in 66559fdb86ab [2023-10-25T02:43:03.357Z] Removing intermediate container 66559fdb86ab [2023-10-25T02:43:03.357Z] ---> bc59185def7c [2023-10-25T02:43:03.357Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:43:03.357Z] ---> Running in 94e2c48d26ea [2023-10-25T02:43:03.357Z] Removing intermediate container 94e2c48d26ea [2023-10-25T02:43:03.357Z] ---> 92b178d381a8 [2023-10-25T02:43:03.357Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T02:43:03.357Z] ---> Running in 78d7511a54a2 [2023-10-25T02:43:03.357Z] Removing intermediate container 78d7511a54a2 [2023-10-25T02:43:03.357Z] ---> dc272eacc9db [2023-10-25T02:43:03.357Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:43:03.357Z] ---> Running in de9801c0ce23 [2023-10-25T02:43:03.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:43:03.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:43:03.357Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T02:43:03.357Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T02:43:03.357Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T02:43:03.357Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T02:43:03.357Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:43:03.357Z] OK: 268 MiB in 56 packages [2023-10-25T02:43:03.922Z] Removing intermediate container de9801c0ce23 [2023-10-25T02:43:03.922Z] ---> 8c2180de1204 [2023-10-25T02:43:03.922Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T02:43:03.922Z] ---> 619df5108e00 [2023-10-25T02:43:03.922Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:43:03.922Z] ---> Running in 65fc935131f1 [2023-10-25T02:44:11.816Z] Removing intermediate container 65fc935131f1 [2023-10-25T02:44:11.816Z] ---> 608942f3f86c [2023-10-25T02:44:11.816Z] Step 10/12 : COPY . . [2023-10-25T02:44:11.816Z] ---> cdc57f41a84f [2023-10-25T02:44:11.816Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:44:11.816Z] ---> Running in a963a299a399 [2023-10-25T02:44:11.816Z] Removing intermediate container a963a299a399 [2023-10-25T02:44:11.816Z] ---> 9d9756bdaa0b [2023-10-25T02:44:11.816Z] Step 12/12 : RUN ${MAKE} [2023-10-25T02:44:11.816Z] ---> Running in eac91eecdd96 [2023-10-25T02:44:11.816Z] noop [2023-10-25T02:44:11.816Z] Removing intermediate container eac91eecdd96 [2023-10-25T02:44:11.816Z] ---> b8c05e161a07 [2023-10-25T02:44:11.816Z] Successfully built b8c05e161a07 [2023-10-25T02:44:11.816Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:44:12.136Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T02:44:12.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:44:12.207Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:44:12.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat [2023-10-25T02:44:12.609Z] $ docker top c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:44:12.950Z] + go version [2023-10-25T02:44:12.951Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T02:44:12.963Z] $ docker stop --time=1 c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac [2023-10-25T02:44:14.386Z] $ docker rm -f --volumes c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:44:14.827Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T02:44:14.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:44:14.901Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:44:14.936Z] $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat [2023-10-25T02:44:15.287Z] $ docker top 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:44:15.642Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-10-25T02:44:15.942Z] + make test [2023-10-25T02:44:15.942Z] go test ./... -coverprofile=coverage.out [2023-10-25T02:44:17.881Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T02:44:27.881Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T02:44:27.881Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T02:44:34.512Z] go vet ./... [2023-10-25T02:44:37.041Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T02:44:37.041Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T02:44:37.041Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T02:44:37.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T02:44:37.066Z] $ docker stop --time=1 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 [2023-10-25T02:44:41.465Z] $ docker rm -f --volumes 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:44:42.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T02:44:42.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T02:44:42.517Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10371 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-10-25T02:44:42.530Z] Running in /w/workspace/device-uart/13 [Pipeline] { [Pipeline] checkout [2023-10-25T02:44:42.566Z] The recommended git tool is: git [2023-10-25T02:44:42.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T02:44:42.936Z] + ls -al . [2023-10-25T02:44:42.936Z] total 152 [2023-10-25T02:44:42.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 . [2023-10-25T02:44:42.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:42 .. [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:42 .dockerignore [2023-10-25T02:44:42.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 .git [2023-10-25T02:44:42.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 .github [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:42 .gitignore [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:42 .golangci.yml [2023-10-25T02:44:42.936Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:42 .semver [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:42 Attribution.txt [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:42 Dockerfile [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:42 GOVERNANCE.md [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:42 Jenkinsfile [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:42 LICENSE [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:42 Makefile [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:42 OWNERS.md [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:42 README.md [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:42 VERSION [2023-10-25T02:44:42.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:42 bin [2023-10-25T02:44:42.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 cmd [2023-10-25T02:44:42.936Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:44 coverage.out [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:42 go.mod [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:42 go.sum [2023-10-25T02:44:42.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 internal [2023-10-25T02:44:42.936Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:44:43.280Z] + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c30bf90ffa9b09e56965655bf5f596629c9edc5f --label arch=amd64 --label version=3.0.1-dev.7 . [2023-10-25T02:44:43.280Z] Sending build context to Docker daemon 11.17MB [2023-10-25T02:44:43.280Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:44:43.280Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T02:44:43.280Z] ---> b8c05e161a07 [2023-10-25T02:44:43.280Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:44:43.539Z] ---> Running in 9f38dd1bb32d [2023-10-25T02:44:43.539Z] Removing intermediate container 9f38dd1bb32d [2023-10-25T02:44:43.539Z] ---> db9ddac30d56 [2023-10-25T02:44:43.539Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:44:43.539Z] ---> Running in f249694ace7e [2023-10-25T02:44:43.797Z] Removing intermediate container f249694ace7e [2023-10-25T02:44:43.797Z] ---> 4e288fe84022 [2023-10-25T02:44:43.797Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:44:43.797Z] ---> Running in 66f0dd14cd17 [2023-10-25T02:44:43.797Z] Removing intermediate container 66f0dd14cd17 [2023-10-25T02:44:43.797Z] ---> de11a5f388f3 [2023-10-25T02:44:43.797Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T02:44:43.797Z] ---> Running in 610d85250589 [2023-10-25T02:44:43.797Z] Removing intermediate container 610d85250589 [2023-10-25T02:44:43.797Z] ---> 2c8bd4816b26 [2023-10-25T02:44:43.797Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:44:43.797Z] ---> Running in 4388edaf5de6 [2023-10-25T02:44:44.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:44:44.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:44:44.574Z] OK: 268 MiB in 56 packages [2023-10-25T02:44:45.141Z] Removing intermediate container 4388edaf5de6 [2023-10-25T02:44:45.141Z] ---> 0cba9d92bba9 [2023-10-25T02:44:45.141Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T02:44:45.141Z] ---> 33635a320c3c [2023-10-25T02:44:45.141Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:44:45.141Z] ---> Running in d26138471194 [2023-10-25T02:44:45.706Z] Removing intermediate container d26138471194 [2023-10-25T02:44:45.706Z] ---> 111ea15856b7 [2023-10-25T02:44:45.706Z] Step 10/25 : COPY . . [2023-10-25T02:44:46.105Z] ---> b8032b0411f3 [2023-10-25T02:44:46.105Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:44:46.105Z] ---> Running in a88e7f451912 [2023-10-25T02:44:46.363Z] Removing intermediate container a88e7f451912 [2023-10-25T02:44:46.363Z] ---> b7f4ae1236e8 [2023-10-25T02:44:46.363Z] Step 12/25 : RUN ${MAKE} [2023-10-25T02:44:46.363Z] ---> Running in cbbaa281b1fb [2023-10-25T02:44:46.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T02:44:47.630Z] using credential edgex-jenkins-ssh [2023-10-25T02:44:47.648Z] Cloning the remote Git repository [2023-10-25T02:44:47.689Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-10-25T02:44:47.775Z] > git init /w/workspace/device-uart/13 # timeout=10 [2023-10-25T02:44:47.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-10-25T02:44:47.907Z] > git --version # timeout=10 [2023-10-25T02:44:47.926Z] > git --version # 'git version 2.25.1' [2023-10-25T02:44:47.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T02:44:48.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T02:44:49.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-10-25T02:44:49.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T02:44:50.091Z] Avoid second fetch [2023-10-25T02:44:50.091Z] Checking out Revision c30bf90ffa9b09e56965655bf5f596629c9edc5f (main) [2023-10-25T02:44:50.735Z] Commit message: "Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:44:50.107Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T02:44:50.202Z] > git checkout -f c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 [2023-10-25T02:44:51.715Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T02:44:51.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T02:44:51.715Z] Dload Upload Total Spent Left Speed [2023-10-25T02:44:51.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-10-25T02:44:52.362Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T02:44:52.723Z] + sudo+ tee /etc/docker/daemon.new [2023-10-25T02:44:52.723Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-25T02:44:52.723Z] { [2023-10-25T02:44:52.723Z] "registry-mirrors": [ [2023-10-25T02:44:52.723Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T02:44:52.723Z] ], [2023-10-25T02:44:52.723Z] "bip": "10.250.0.254/24", [2023-10-25T02:44:52.723Z] "hosts": [ [2023-10-25T02:44:52.723Z] "tcp://0.0.0.0:5555", [2023-10-25T02:44:52.723Z] "unix:///var/run/docker.sock" [2023-10-25T02:44:52.723Z] ], [2023-10-25T02:44:52.723Z] "mtu": 1458, [2023-10-25T02:44:52.723Z] "selinux-enabled": true, [2023-10-25T02:44:52.723Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T02:44:52.723Z] } [Pipeline] sh [2023-10-25T02:44:53.056Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T02:44:53.389Z] + sudo service docker restart [2023-10-25T02:45:08.543Z] Removing intermediate container cbbaa281b1fb [2023-10-25T02:45:08.543Z] ---> ee7a60483634 [2023-10-25T02:45:08.543Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T02:45:08.543Z] 3.18: Pulling from library/alpine [2023-10-25T02:45:08.543Z] 96526aa774ef: Pulling fs layer [2023-10-25T02:45:08.543Z] 96526aa774ef: Verifying Checksum [2023-10-25T02:45:08.543Z] 96526aa774ef: Download complete [2023-10-25T02:45:08.543Z] 96526aa774ef: Pull complete [2023-10-25T02:45:08.543Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T02:45:08.543Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T02:45:08.543Z] ---> 8ca4688f4f35 [2023-10-25T02:45:08.543Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T02:45:08.543Z] ---> Running in 57e52dc76668 [2023-10-25T02:45:08.543Z] Removing intermediate container 57e52dc76668 [2023-10-25T02:45:08.543Z] ---> 8ad786515520 [2023-10-25T02:45:08.543Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T02:45:08.543Z] ---> Running in 0b0c973e748e [2023-10-25T02:45:08.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:45:08.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:45:08.543Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T02:45:08.543Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:45:08.543Z] OK: 7 MiB in 16 packages [2023-10-25T02:45:08.801Z] Removing intermediate container 0b0c973e748e [2023-10-25T02:45:08.801Z] ---> 8ca72e1def1c [2023-10-25T02:45:08.801Z] Step 16/25 : WORKDIR / [2023-10-25T02:45:08.801Z] ---> Running in 349e8446a0b3 [2023-10-25T02:45:08.801Z] Removing intermediate container 349e8446a0b3 [2023-10-25T02:45:08.801Z] ---> 9927bc8b0988 [2023-10-25T02:45:08.801Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T02:45:09.059Z] ---> 29dbae3fa017 [2023-10-25T02:45:09.059Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T02:45:09.059Z] ---> f3f898b4980b [2023-10-25T02:45:09.059Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T02:45:09.993Z] ---> 4176b14fcd44 [2023-10-25T02:45:09.993Z] Step 20/25 : EXPOSE 59995 [2023-10-25T02:45:09.993Z] ---> Running in 09e40a125aac [2023-10-25T02:45:09.993Z] Removing intermediate container 09e40a125aac [2023-10-25T02:45:09.993Z] ---> 710330d266ce [2023-10-25T02:45:09.993Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T02:45:09.993Z] ---> Running in df3e02d3ad7a [2023-10-25T02:45:10.250Z] Removing intermediate container df3e02d3ad7a [2023-10-25T02:45:10.250Z] ---> 39eee6b8e4d6 [2023-10-25T02:45:10.250Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T02:45:10.250Z] ---> Running in 09c62eff4ef2 [2023-10-25T02:45:10.250Z] Removing intermediate container 09c62eff4ef2 [2023-10-25T02:45:10.250Z] ---> 7522654629d3 [2023-10-25T02:45:10.250Z] Step 23/25 : LABEL arch=amd64 [2023-10-25T02:45:10.250Z] ---> Running in 2f5f8cc37571 [2023-10-25T02:45:10.250Z] Removing intermediate container 2f5f8cc37571 [2023-10-25T02:45:10.250Z] ---> fcb23aab62a5 [2023-10-25T02:45:10.250Z] Step 24/25 : LABEL git_sha=c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:45:10.250Z] ---> Running in 936c1519c65c [2023-10-25T02:45:10.509Z] Removing intermediate container 936c1519c65c [2023-10-25T02:45:10.509Z] ---> a6eb7526cb55 [2023-10-25T02:45:10.509Z] Step 25/25 : LABEL version=3.0.1-dev.7 [2023-10-25T02:45:10.509Z] ---> Running in 46325e6218d3 [2023-10-25T02:45:10.509Z] Removing intermediate container 46325e6218d3 [2023-10-25T02:45:10.509Z] ---> dc3c4f8e0073 [2023-10-25T02:45:10.509Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T02:45:10.509Z] Successfully built dc3c4f8e0073 [2023-10-25T02:45:10.509Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:45:10.604Z] provisioning config files... [2023-10-25T02:45:10.613Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14660501692870682255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:45:10.909Z] ---> docker-login.sh [2023-10-25T02:45:10.909Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:45:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:10.909Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:10.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:10.909Z] [2023-10-25T02:45:10.909Z] Login Succeeded [2023-10-25T02:45:10.909Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:45:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:10.909Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:10.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:10.909Z] [2023-10-25T02:45:10.909Z] Login Succeeded [2023-10-25T02:45:10.909Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:45:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:11.168Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:11.168Z] [2023-10-25T02:45:11.168Z] Login Succeeded [2023-10-25T02:45:11.168Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:45:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:11.168Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:11.168Z] [2023-10-25T02:45:11.168Z] Login Succeeded [2023-10-25T02:45:11.168Z] docker.io [2023-10-25T02:45:11.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:11.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:11.427Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:11.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:11.427Z] [2023-10-25T02:45:11.427Z] Login Succeeded [2023-10-25T02:45:11.427Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:45:11.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:45:11.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:45:11.484Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-10-25T02:45:11.484Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:45:11.484Z] latest [2023-10-25T02:45:11.484Z] 3.0.1-dev.7 [2023-10-25T02:45:11.484Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:45:11.484Z] main [2023-10-25T02:45:11.484Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:45:11.682Z] provisioning config files... [2023-10-25T02:45:11.706Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/13@tmp/config9412714813107541803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:45:11.792Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:12.071Z] ---> docker-login.sh [2023-10-25T02:45:12.071Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:45:12.106Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:45:12.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:45:12.106Z] fc0b0f4c7639: Preparing [2023-10-25T02:45:12.106Z] d6a996e78233: Preparing [2023-10-25T02:45:12.106Z] 8eb41799a6a4: Preparing [2023-10-25T02:45:12.106Z] ae9f08e9d73e: Preparing [2023-10-25T02:45:12.106Z] cc2447e1835a: Preparing [2023-10-25T02:45:12.106Z] cc2447e1835a: Layer already exists [2023-10-25T02:45:12.106Z] 8eb41799a6a4: Pushed [2023-10-25T02:45:12.106Z] d6a996e78233: Pushed [2023-10-25T02:45:12.106Z] ae9f08e9d73e: Pushed [2023-10-25T02:45:12.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:12.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:12.662Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:12.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:12.662Z] [2023-10-25T02:45:12.662Z] Login Succeeded [2023-10-25T02:45:12.662Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:45:12.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:13.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:13.204Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:13.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:13.204Z] [2023-10-25T02:45:13.204Z] Login Succeeded [2023-10-25T02:45:13.204Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:45:13.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:13.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:13.473Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:13.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:13.473Z] [2023-10-25T02:45:13.473Z] Login Succeeded [2023-10-25T02:45:13.473Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:45:13.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:13.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:13.743Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:13.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:13.743Z] [2023-10-25T02:45:13.743Z] Login Succeeded [2023-10-25T02:45:13.743Z] docker.io [2023-10-25T02:45:14.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:45:14.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:45:14.281Z] Configure a credential helper to remove this warning. See [2023-10-25T02:45:14.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:45:14.281Z] [2023-10-25T02:45:14.281Z] Login Succeeded [2023-10-25T02:45:14.553Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:45:14.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-25T02:45:14.636Z] fc0b0f4c7639: Pushed [2023-10-25T02:45:14.636Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-10-25T02:45:14.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:45:14.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:45:14.856Z] ========================================================= [2023-10-25T02:45:14.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T02:45:14.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:14.950Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:15.207Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T02:45:15.255Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T02:45:15.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:45:15.255Z] fc0b0f4c7639: Preparing [2023-10-25T02:45:15.255Z] d6a996e78233: Preparing [2023-10-25T02:45:15.255Z] 8eb41799a6a4: Preparing [2023-10-25T02:45:15.255Z] ae9f08e9d73e: Preparing [2023-10-25T02:45:15.255Z] cc2447e1835a: Preparing [2023-10-25T02:45:15.255Z] fc0b0f4c7639: Layer already exists [2023-10-25T02:45:15.256Z] 8eb41799a6a4: Layer already exists [2023-10-25T02:45:15.256Z] cc2447e1835a: Layer already exists [2023-10-25T02:45:15.256Z] ae9f08e9d73e: Layer already exists [2023-10-25T02:45:15.256Z] d6a996e78233: Layer already exists [2023-10-25T02:45:15.256Z] latest: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:15.475Z] Sending build context to Docker daemon 5.633MB [2023-10-25T02:45:15.575Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:15.885Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 [2023-10-25T02:45:15.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:45:15.885Z] fc0b0f4c7639: Preparing [2023-10-25T02:45:15.885Z] d6a996e78233: Preparing [2023-10-25T02:45:15.885Z] 8eb41799a6a4: Preparing [2023-10-25T02:45:15.885Z] ae9f08e9d73e: Preparing [2023-10-25T02:45:15.885Z] cc2447e1835a: Preparing [2023-10-25T02:45:15.885Z] d6a996e78233: Layer already exists [2023-10-25T02:45:15.885Z] 8eb41799a6a4: Layer already exists [2023-10-25T02:45:15.885Z] fc0b0f4c7639: Layer already exists [2023-10-25T02:45:15.885Z] cc2447e1835a: Layer already exists [2023-10-25T02:45:15.885Z] ae9f08e9d73e: Layer already exists [2023-10-25T02:45:15.885Z] 3.0.1-dev.7: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:16.064Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:45:16.064Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T02:45:16.064Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T02:45:16.064Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T02:45:16.064Z] 5d54e960e981: Pulling fs layer [2023-10-25T02:45:16.064Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T02:45:16.064Z] f0e02332f6b5: Pulling fs layer [2023-10-25T02:45:16.064Z] cefa15bbcfad: Pulling fs layer [2023-10-25T02:45:16.064Z] 17808c966233: Pulling fs layer [2023-10-25T02:45:16.064Z] f4c1fc716caa: Pulling fs layer [2023-10-25T02:45:16.064Z] cefa15bbcfad: Waiting [2023-10-25T02:45:16.064Z] 17808c966233: Waiting [2023-10-25T02:45:16.064Z] f4c1fc716caa: Waiting [2023-10-25T02:45:16.064Z] f0e02332f6b5: Waiting [2023-10-25T02:45:16.064Z] 5d54e960e981: Verifying Checksum [2023-10-25T02:45:16.064Z] 5d54e960e981: Download complete [2023-10-25T02:45:16.204Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:16.339Z] f0e02332f6b5: Verifying Checksum [2023-10-25T02:45:16.339Z] f0e02332f6b5: Download complete [2023-10-25T02:45:16.339Z] cefa15bbcfad: Verifying Checksum [2023-10-25T02:45:16.339Z] cefa15bbcfad: Download complete [2023-10-25T02:45:16.339Z] 9fda8d8052c6: Download complete [2023-10-25T02:45:16.510Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:45:16.510Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:45:16.510Z] fc0b0f4c7639: Preparing [2023-10-25T02:45:16.510Z] d6a996e78233: Preparing [2023-10-25T02:45:16.510Z] 8eb41799a6a4: Preparing [2023-10-25T02:45:16.510Z] ae9f08e9d73e: Preparing [2023-10-25T02:45:16.510Z] cc2447e1835a: Preparing [2023-10-25T02:45:16.510Z] d6a996e78233: Layer already exists [2023-10-25T02:45:16.510Z] ae9f08e9d73e: Layer already exists [2023-10-25T02:45:16.510Z] fc0b0f4c7639: Layer already exists [2023-10-25T02:45:16.510Z] 8eb41799a6a4: Layer already exists [2023-10-25T02:45:16.510Z] cc2447e1835a: Layer already exists [2023-10-25T02:45:16.510Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:16.822Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:16.922Z] f4c1fc716caa: Verifying Checksum [2023-10-25T02:45:16.922Z] f4c1fc716caa: Download complete [2023-10-25T02:45:17.135Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-10-25T02:45:17.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:45:17.135Z] fc0b0f4c7639: Preparing [2023-10-25T02:45:17.135Z] d6a996e78233: Preparing [2023-10-25T02:45:17.135Z] 8eb41799a6a4: Preparing [2023-10-25T02:45:17.135Z] ae9f08e9d73e: Preparing [2023-10-25T02:45:17.135Z] cc2447e1835a: Preparing [2023-10-25T02:45:17.135Z] cc2447e1835a: Layer already exists [2023-10-25T02:45:17.135Z] ae9f08e9d73e: Layer already exists [2023-10-25T02:45:17.135Z] d6a996e78233: Layer already exists [2023-10-25T02:45:17.135Z] fc0b0f4c7639: Layer already exists [2023-10-25T02:45:17.135Z] 8eb41799a6a4: Layer already exists [2023-10-25T02:45:17.135Z] main: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:45:17.188Z] ===================================================== [Pipeline] echo [2023-10-25T02:45:17.198Z] taggedImages: [2023-10-25T02:45:17.199Z] - nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:45:17.199Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T02:45:17.199Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 [2023-10-25T02:45:17.199Z] - nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:45:17.199Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:17.510Z] 9fda8d8052c6: Pull complete [2023-10-25T02:45:17.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:45:17.553Z] [2023-10-25T02:45:17.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:45:17.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:45:17.849Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T02:45:17.849Z] 5eb5b503b376: Pulling fs layer [2023-10-25T02:45:17.849Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T02:45:17.849Z] ec43610c2a17: Pulling fs layer [2023-10-25T02:45:17.849Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T02:45:17.849Z] 33b1e0a273af: Pulling fs layer [2023-10-25T02:45:17.849Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T02:45:17.849Z] 2f39f015ded8: Pulling fs layer [2023-10-25T02:45:17.849Z] 3a2ae6a8a46f: Waiting [2023-10-25T02:45:17.849Z] 33b1e0a273af: Waiting [2023-10-25T02:45:17.849Z] 5d3b04190fa2: Waiting [2023-10-25T02:45:17.849Z] 2f39f015ded8: Waiting [2023-10-25T02:45:17.849Z] 5c69ac0246d0: Download complete [2023-10-25T02:45:17.849Z] 3a2ae6a8a46f: Download complete [2023-10-25T02:45:17.849Z] ec43610c2a17: Verifying Checksum [2023-10-25T02:45:17.849Z] ec43610c2a17: Download complete [2023-10-25T02:45:17.849Z] 5d3b04190fa2: Download complete [2023-10-25T02:45:17.849Z] 33b1e0a273af: Verifying Checksum [2023-10-25T02:45:17.849Z] 33b1e0a273af: Download complete [2023-10-25T02:45:18.099Z] 5d54e960e981: Pull complete [2023-10-25T02:45:18.106Z] 5eb5b503b376: Verifying Checksum [2023-10-25T02:45:18.106Z] 5eb5b503b376: Download complete [2023-10-25T02:45:18.685Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T02:45:18.685Z] c4a7e357bf2a: Download complete [2023-10-25T02:45:19.044Z] 2f39f015ded8: Download complete [2023-10-25T02:45:19.266Z] 17808c966233: Verifying Checksum [2023-10-25T02:45:19.266Z] 17808c966233: Download complete [2023-10-25T02:45:19.303Z] 5eb5b503b376: Pull complete [2023-10-25T02:45:19.303Z] 5c69ac0246d0: Pull complete [2023-10-25T02:45:19.868Z] ec43610c2a17: Pull complete [2023-10-25T02:45:19.868Z] 3a2ae6a8a46f: Pull complete [2023-10-25T02:45:20.126Z] 33b1e0a273af: Pull complete [2023-10-25T02:45:20.126Z] 5d3b04190fa2: Pull complete [2023-10-25T02:45:24.310Z] 2f39f015ded8: Pull complete [2023-10-25T02:45:24.310Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T02:45:24.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:45:24.310Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:45:24.384Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:45:24.417Z] $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T02:45:29.369Z] $ docker top 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:45:29.776Z] ---> job-cost.sh [2023-10-25T02:45:29.776Z] lf-activate-venv: SKIPPING [2023-10-25T02:45:29.776Z] INFO: No Stack... [2023-10-25T02:45:30.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T02:45:30.293Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T02:45:30.581Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-10-25T02:45:30.581Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T02:45:30.595Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [2023-10-25T02:45:30.601Z] Resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] did not exist. Created. [2023-10-25T02:45:30.601Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:45:30.903Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T02:45:30.932Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T02:45:30.943Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T02:45:30.964Z] $ docker stop --time=1 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc [2023-10-25T02:45:31.580Z] c4a7e357bf2a: Pull complete [2023-10-25T02:45:31.580Z] f0e02332f6b5: Pull complete [2023-10-25T02:45:31.580Z] cefa15bbcfad: Pull complete [2023-10-25T02:45:32.103Z] $ docker rm -f --volumes 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T02:45:38.230Z] 17808c966233: Pull complete [2023-10-25T02:45:40.177Z] f4c1fc716caa: Pull complete [2023-10-25T02:45:40.177Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T02:45:40.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T02:45:40.177Z] ---> ea914061e18c [2023-10-25T02:45:40.177Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:45:41.580Z] ---> Running in 9c1c2204233b [2023-10-25T02:45:41.849Z] Removing intermediate container 9c1c2204233b [2023-10-25T02:45:41.849Z] ---> 8dc6c17a6c30 [2023-10-25T02:45:41.849Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:45:42.118Z] ---> Running in 1ba9157b1df8 [2023-10-25T02:45:42.385Z] Removing intermediate container 1ba9157b1df8 [2023-10-25T02:45:42.385Z] ---> b6089bee5f74 [2023-10-25T02:45:42.385Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:45:42.385Z] ---> Running in 0e3e79a5520c [2023-10-25T02:45:42.659Z] Removing intermediate container 0e3e79a5520c [2023-10-25T02:45:42.659Z] ---> 4eb7d967ffef [2023-10-25T02:45:42.659Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T02:45:42.940Z] ---> Running in 57117d456ce2 [2023-10-25T02:45:43.208Z] Removing intermediate container 57117d456ce2 [2023-10-25T02:45:43.208Z] ---> c3cde07a050c [2023-10-25T02:45:43.208Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:45:43.208Z] ---> Running in 66b4f1c7d261 [2023-10-25T02:45:44.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:45:44.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:45:45.891Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T02:45:45.891Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T02:45:45.891Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T02:45:45.891Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T02:45:45.891Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:45:46.158Z] OK: 270 MiB in 56 packages [2023-10-25T02:45:47.128Z] Removing intermediate container 66b4f1c7d261 [2023-10-25T02:45:47.129Z] ---> 19cfd9fbb88b [2023-10-25T02:45:47.129Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T02:45:47.399Z] ---> 06f27f86ad9c [2023-10-25T02:45:47.399Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:45:47.681Z] ---> Running in d46064512fb4 [2023-10-25T02:47:24.343Z] Removing intermediate container d46064512fb4 [2023-10-25T02:47:24.343Z] ---> f6b91bb2d1d1 [2023-10-25T02:47:24.343Z] Step 10/12 : COPY . . [2023-10-25T02:47:24.343Z] ---> 3ee293442a51 [2023-10-25T02:47:24.343Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:47:24.343Z] ---> Running in fac1f973ae68 [2023-10-25T02:47:24.343Z] Removing intermediate container fac1f973ae68 [2023-10-25T02:47:24.343Z] ---> 87ca9a99ebec [2023-10-25T02:47:24.343Z] Step 12/12 : RUN ${MAKE} [2023-10-25T02:47:24.343Z] ---> Running in ebb11d5ea34b [2023-10-25T02:47:24.343Z] noop [2023-10-25T02:47:24.343Z] Removing intermediate container ebb11d5ea34b [2023-10-25T02:47:24.343Z] ---> b0f413d094c3 [2023-10-25T02:47:24.343Z] Successfully built b0f413d094c3 [2023-10-25T02:47:24.343Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:47:24.692Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T02:47:24.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:47:24.893Z] prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container [2023-10-25T02:47:24.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@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 ******** ci-base-image-arm64 cat [2023-10-25T02:47:26.165Z] $ docker top 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:47:26.989Z] + go version [2023-10-25T02:47:26.989Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T02:47:27.010Z] $ docker stop --time=1 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 [2023-10-25T02:47:28.644Z] $ docker rm -f --volumes 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:47:29.194Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T02:47:29.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:47:29.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container [2023-10-25T02:47:29.436Z] $ 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/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@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 ******** ci-base-image-arm64 cat [2023-10-25T02:47:30.645Z] $ docker top c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:47:31.517Z] + git config --global --add safe.directory /w/workspace/device-uart/13 [Pipeline] fileExists [Pipeline] sh [2023-10-25T02:47:32.168Z] + make test [2023-10-25T02:47:32.169Z] go test ./... -coverprofile=coverage.out [2023-10-25T02:47:36.437Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T02:48:58.072Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T02:48:58.072Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T02:48:59.036Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T02:48:59.036Z] go vet ./... [2023-10-25T02:49:31.278Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T02:49:31.278Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T02:49:31.278Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T02:49:31.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T02:49:31.311Z] $ docker stop --time=1 c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 [2023-10-25T02:49:33.212Z] $ docker rm -f --volumes c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:49:34.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T02:49:34.454Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T02:49:34.852Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:49:35.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T02:49:35.531Z] + ls -al . [2023-10-25T02:49:35.531Z] total 148 [2023-10-25T02:49:35.531Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 02:47 . [2023-10-25T02:49:35.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:44 .. [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:44 .dockerignore [2023-10-25T02:49:35.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 .git [2023-10-25T02:49:35.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 .github [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:44 .gitignore [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:44 .golangci.yml [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:44 Attribution.txt [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:44 Dockerfile [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:44 GOVERNANCE.md [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:44 Jenkinsfile [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:44 LICENSE [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:44 Makefile [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:44 OWNERS.md [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:44 README.md [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:42 VERSION [2023-10-25T02:49:35.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:44 bin [2023-10-25T02:49:35.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 cmd [2023-10-25T02:49:35.531Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:47 coverage.out [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:44 go.mod [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:44 go.sum [2023-10-25T02:49:35.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 internal [2023-10-25T02:49:35.531Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:49:35.872Z] + 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=c30bf90ffa9b09e56965655bf5f596629c9edc5f --label arch=arm64 --label version=3.0.1-dev.7 . [2023-10-25T02:49:36.137Z] Sending build context to Docker daemon 5.634MB [2023-10-25T02:49:36.137Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:49:36.137Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T02:49:36.137Z] ---> b0f413d094c3 [2023-10-25T02:49:36.137Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:49:36.406Z] ---> Running in de6b5365ff4a [2023-10-25T02:49:36.674Z] Removing intermediate container de6b5365ff4a [2023-10-25T02:49:36.674Z] ---> 351fba924282 [2023-10-25T02:49:36.674Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:49:36.674Z] ---> Running in e88aadfc952f [2023-10-25T02:49:36.945Z] Removing intermediate container e88aadfc952f [2023-10-25T02:49:36.945Z] ---> 3fdbcc4025f8 [2023-10-25T02:49:36.945Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:49:37.215Z] ---> Running in 68e0296c1649 [2023-10-25T02:49:37.488Z] Removing intermediate container 68e0296c1649 [2023-10-25T02:49:37.488Z] ---> 1fc9736ae201 [2023-10-25T02:49:37.488Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T02:49:37.488Z] ---> Running in 3b3a4ac76b0c [2023-10-25T02:49:38.078Z] Removing intermediate container 3b3a4ac76b0c [2023-10-25T02:49:38.078Z] ---> 1858b558a42e [2023-10-25T02:49:38.078Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:49:38.078Z] ---> Running in f358aad06936 [2023-10-25T02:49:39.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:49:39.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:49:40.719Z] OK: 270 MiB in 56 packages [2023-10-25T02:49:41.304Z] Removing intermediate container f358aad06936 [2023-10-25T02:49:41.304Z] ---> 7c065174b5a9 [2023-10-25T02:49:41.304Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T02:49:41.886Z] ---> 98290713b92f [2023-10-25T02:49:41.886Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:49:41.886Z] ---> Running in 2a5e10fa257d [2023-10-25T02:49:44.482Z] Removing intermediate container 2a5e10fa257d [2023-10-25T02:49:44.482Z] ---> 20105465da47 [2023-10-25T02:49:44.482Z] Step 10/25 : COPY . . [2023-10-25T02:49:45.080Z] ---> 21ce16f64d07 [2023-10-25T02:49:45.080Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:49:45.080Z] ---> Running in 1634f8859495 [2023-10-25T02:49:45.348Z] Removing intermediate container 1634f8859495 [2023-10-25T02:49:45.348Z] ---> 9a7895d2025a [2023-10-25T02:49:45.348Z] Step 12/25 : RUN ${MAKE} [2023-10-25T02:49:45.614Z] ---> Running in 96db72ab31a6 [2023-10-25T02:49:46.572Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T02:51:38.283Z] Removing intermediate container 96db72ab31a6 [2023-10-25T02:51:38.283Z] ---> 6dc0a5d7851b [2023-10-25T02:51:38.283Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T02:51:38.283Z] 3.18: Pulling from library/alpine [2023-10-25T02:51:38.283Z] 579b34f0a95b: Pulling fs layer [2023-10-25T02:51:38.283Z] 579b34f0a95b: Download complete [2023-10-25T02:51:38.283Z] 579b34f0a95b: Pull complete [2023-10-25T02:51:38.283Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T02:51:38.283Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T02:51:38.283Z] ---> 3cc203321400 [2023-10-25T02:51:38.283Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T02:51:38.283Z] ---> Running in 580d34052a36 [2023-10-25T02:51:38.283Z] Removing intermediate container 580d34052a36 [2023-10-25T02:51:38.283Z] ---> bca27688fb02 [2023-10-25T02:51:38.283Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T02:51:38.283Z] ---> Running in be1dae5f2597 [2023-10-25T02:51:38.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:51:38.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:51:38.283Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T02:51:38.283Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:51:38.283Z] OK: 8 MiB in 16 packages [2023-10-25T02:51:39.250Z] Removing intermediate container be1dae5f2597 [2023-10-25T02:51:39.250Z] ---> c2a3d595aa11 [2023-10-25T02:51:39.250Z] Step 16/25 : WORKDIR / [2023-10-25T02:51:39.250Z] ---> Running in 403a6a34d5f4 [2023-10-25T02:51:39.520Z] Removing intermediate container 403a6a34d5f4 [2023-10-25T02:51:39.520Z] ---> 7ad6a7a1dc80 [2023-10-25T02:51:39.520Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T02:51:40.106Z] ---> 1c3f29af5989 [2023-10-25T02:51:40.106Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T02:51:40.697Z] ---> 71a7033a14a1 [2023-10-25T02:51:40.697Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T02:51:42.122Z] ---> 6191f244633f [2023-10-25T02:51:42.122Z] Step 20/25 : EXPOSE 59995 [2023-10-25T02:51:42.392Z] ---> Running in e85ba0edca27 [2023-10-25T02:51:42.659Z] Removing intermediate container e85ba0edca27 [2023-10-25T02:51:42.659Z] ---> eb1abcaa0f55 [2023-10-25T02:51:42.659Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T02:51:42.659Z] ---> Running in 0e177124753b [2023-10-25T02:51:42.926Z] Removing intermediate container 0e177124753b [2023-10-25T02:51:42.926Z] ---> 596c95be0196 [2023-10-25T02:51:42.926Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T02:51:43.193Z] ---> Running in 79fe756cffc8 [2023-10-25T02:51:43.460Z] Removing intermediate container 79fe756cffc8 [2023-10-25T02:51:43.460Z] ---> 7273c3ba90f9 [2023-10-25T02:51:43.460Z] Step 23/25 : LABEL arch=arm64 [2023-10-25T02:51:43.460Z] ---> Running in 192a109b0bbe [2023-10-25T02:51:43.726Z] Removing intermediate container 192a109b0bbe [2023-10-25T02:51:43.726Z] ---> 5d5dd0eec608 [2023-10-25T02:51:43.726Z] Step 24/25 : LABEL git_sha=c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:51:43.726Z] ---> Running in e7fee3896dfd [2023-10-25T02:51:43.993Z] Removing intermediate container e7fee3896dfd [2023-10-25T02:51:43.993Z] ---> 2795ef6175b4 [2023-10-25T02:51:43.993Z] Step 25/25 : LABEL version=3.0.1-dev.7 [2023-10-25T02:51:44.258Z] ---> Running in 5350fa5fb2c3 [2023-10-25T02:51:44.524Z] Removing intermediate container 5350fa5fb2c3 [2023-10-25T02:51:44.524Z] ---> d3f7e3450861 [2023-10-25T02:51:44.524Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T02:51:44.524Z] Successfully built d3f7e3450861 [2023-10-25T02:51:44.524Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:51:44.631Z] provisioning config files... [2023-10-25T02:51:44.643Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/13@tmp/config5581187267200103520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:51:44.979Z] ---> docker-login.sh [2023-10-25T02:51:44.979Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:51:44.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:51:45.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:51:45.247Z] Configure a credential helper to remove this warning. See [2023-10-25T02:51:45.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:51:45.247Z] [2023-10-25T02:51:45.247Z] Login Succeeded [2023-10-25T02:51:45.247Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:51:45.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:51:45.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:51:45.514Z] Configure a credential helper to remove this warning. See [2023-10-25T02:51:45.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:51:45.514Z] [2023-10-25T02:51:45.514Z] Login Succeeded [2023-10-25T02:51:45.514Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:51:45.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:51:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:51:45.785Z] Configure a credential helper to remove this warning. See [2023-10-25T02:51:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:51:45.785Z] [2023-10-25T02:51:45.785Z] Login Succeeded [2023-10-25T02:51:46.054Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:51:46.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:51:46.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:51:46.643Z] Configure a credential helper to remove this warning. See [2023-10-25T02:51:46.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:51:46.643Z] [2023-10-25T02:51:46.643Z] Login Succeeded [2023-10-25T02:51:46.643Z] docker.io [2023-10-25T02:51:46.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:51:46.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:51:46.908Z] Configure a credential helper to remove this warning. See [2023-10-25T02:51:46.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:51:46.908Z] [2023-10-25T02:51:46.908Z] Login Succeeded [2023-10-25T02:51:46.908Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:51:46.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:51:46.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:51:46.984Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-10-25T02:51:46.984Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:51:46.984Z] latest [2023-10-25T02:51:46.984Z] 3.0.1-dev.7 [2023-10-25T02:51:46.984Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:51:46.984Z] main [2023-10-25T02:51:46.984Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:47.338Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:47.684Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:51:47.684Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:51:47.684Z] 6cfc3ad4cc0f: Preparing [2023-10-25T02:51:47.684Z] 1514df5da77e: Preparing [2023-10-25T02:51:47.684Z] 84dbd1ee169d: Preparing [2023-10-25T02:51:47.684Z] 8d2f82b270df: Preparing [2023-10-25T02:51:47.684Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:51:47.684Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:51:47.950Z] 84dbd1ee169d: Pushed [2023-10-25T02:51:47.950Z] 8d2f82b270df: Pushed [2023-10-25T02:51:47.950Z] 1514df5da77e: Pushed [2023-10-25T02:51:54.594Z] 6cfc3ad4cc0f: Pushed [2023-10-25T02:51:54.594Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:54.953Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:55.287Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T02:51:55.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:51:55.287Z] 6cfc3ad4cc0f: Preparing [2023-10-25T02:51:55.287Z] 1514df5da77e: Preparing [2023-10-25T02:51:55.287Z] 84dbd1ee169d: Preparing [2023-10-25T02:51:55.287Z] 8d2f82b270df: Preparing [2023-10-25T02:51:55.287Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:51:55.287Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:51:55.287Z] 8d2f82b270df: Layer already exists [2023-10-25T02:51:55.287Z] 84dbd1ee169d: Layer already exists [2023-10-25T02:51:55.287Z] 1514df5da77e: Layer already exists [2023-10-25T02:51:55.287Z] 6cfc3ad4cc0f: Layer already exists [2023-10-25T02:51:55.287Z] latest: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:55.898Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:56.231Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 [2023-10-25T02:51:56.231Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:51:56.231Z] 6cfc3ad4cc0f: Preparing [2023-10-25T02:51:56.231Z] 1514df5da77e: Preparing [2023-10-25T02:51:56.231Z] 84dbd1ee169d: Preparing [2023-10-25T02:51:56.231Z] 8d2f82b270df: Preparing [2023-10-25T02:51:56.231Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:51:56.231Z] 6cfc3ad4cc0f: Layer already exists [2023-10-25T02:51:56.231Z] 1514df5da77e: Layer already exists [2023-10-25T02:51:56.231Z] 84dbd1ee169d: Layer already exists [2023-10-25T02:51:56.231Z] 8d2f82b270df: Layer already exists [2023-10-25T02:51:56.231Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:51:56.231Z] 3.0.1-dev.7: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:56.572Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:56.991Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:51:56.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:51:56.991Z] 6cfc3ad4cc0f: Preparing [2023-10-25T02:51:56.991Z] 1514df5da77e: Preparing [2023-10-25T02:51:56.991Z] 84dbd1ee169d: Preparing [2023-10-25T02:51:56.991Z] 8d2f82b270df: Preparing [2023-10-25T02:51:56.991Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:51:56.991Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:51:56.991Z] 6cfc3ad4cc0f: Layer already exists [2023-10-25T02:51:56.991Z] 1514df5da77e: Layer already exists [2023-10-25T02:51:56.991Z] 84dbd1ee169d: Layer already exists [2023-10-25T02:51:56.991Z] 8d2f82b270df: Layer already exists [2023-10-25T02:51:56.991Z] c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:57.644Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:58.002Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-10-25T02:51:58.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:51:58.002Z] 6cfc3ad4cc0f: Preparing [2023-10-25T02:51:58.002Z] 1514df5da77e: Preparing [2023-10-25T02:51:58.002Z] 84dbd1ee169d: Preparing [2023-10-25T02:51:58.002Z] 8d2f82b270df: Preparing [2023-10-25T02:51:58.002Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:51:58.002Z] 6cfc3ad4cc0f: Layer already exists [2023-10-25T02:51:58.002Z] 1514df5da77e: Layer already exists [2023-10-25T02:51:58.002Z] 84dbd1ee169d: Layer already exists [2023-10-25T02:51:58.002Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:51:58.002Z] 8d2f82b270df: Layer already exists [2023-10-25T02:51:58.002Z] main: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:51:58.056Z] ===================================================== [Pipeline] echo [2023-10-25T02:51:58.063Z] taggedImages: [2023-10-25T02:51:58.063Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f [2023-10-25T02:51:58.063Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T02:51:58.063Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 [2023-10-25T02:51:58.063Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [2023-10-25T02:51:58.063Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:58.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:51:58.451Z] [2023-10-25T02:51:58.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:51:58.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:51:59.065Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T02:51:59.065Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T02:51:59.065Z] 04944245beec: Pulling fs layer [2023-10-25T02:51:59.065Z] 699f458cf7ca: Pulling fs layer [2023-10-25T02:51:59.065Z] 765212b225bb: Pulling fs layer [2023-10-25T02:51:59.065Z] f23df028b6ca: Pulling fs layer [2023-10-25T02:51:59.065Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T02:51:59.065Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T02:51:59.065Z] 765212b225bb: Waiting [2023-10-25T02:51:59.065Z] f23df028b6ca: Waiting [2023-10-25T02:51:59.065Z] d65c8cfc05b1: Waiting [2023-10-25T02:51:59.065Z] 2437ff75d9bd: Waiting [2023-10-25T02:51:59.065Z] 04944245beec: Verifying Checksum [2023-10-25T02:51:59.065Z] 04944245beec: Download complete [2023-10-25T02:51:59.065Z] 765212b225bb: Verifying Checksum [2023-10-25T02:51:59.065Z] 765212b225bb: Download complete [2023-10-25T02:51:59.065Z] f23df028b6ca: Verifying Checksum [2023-10-25T02:51:59.065Z] f23df028b6ca: Download complete [2023-10-25T02:51:59.065Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T02:51:59.065Z] d65c8cfc05b1: Download complete [2023-10-25T02:51:59.332Z] 699f458cf7ca: Verifying Checksum [2023-10-25T02:51:59.332Z] 699f458cf7ca: Download complete [2023-10-25T02:51:59.598Z] 8998bd30e6a1: Verifying Checksum [2023-10-25T02:51:59.598Z] 8998bd30e6a1: Download complete [2023-10-25T02:52:02.181Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T02:52:02.181Z] 2437ff75d9bd: Download complete [2023-10-25T02:52:04.759Z] 8998bd30e6a1: Pull complete [2023-10-25T02:52:06.163Z] 04944245beec: Pull complete [2023-10-25T02:52:07.566Z] 699f458cf7ca: Pull complete [2023-10-25T02:52:07.838Z] 765212b225bb: Pull complete [2023-10-25T02:52:08.796Z] f23df028b6ca: Pull complete [2023-10-25T02:52:09.062Z] d65c8cfc05b1: Pull complete [2023-10-25T02:52:27.271Z] 2437ff75d9bd: Pull complete [2023-10-25T02:52:27.271Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T02:52:27.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:52:27.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:52:27.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container [2023-10-25T02:52:27.538Z] $ 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/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-25T02:52:30.165Z] $ docker top 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:52:31.024Z] ---> job-cost.sh [2023-10-25T02:52:31.024Z] lf-activate-venv: SKIPPING [2023-10-25T02:52:31.024Z] INFO: No Stack... [2023-10-25T02:52:31.290Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T02:52:32.256Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T02:52:32.906Z] + cat /w/workspace/device-uart/13/archives/cost.csv [2023-10-25T02:52:32.906Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T02:52:32.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [2023-10-25T02:52:32.977Z] Resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] did not exist. Created. [2023-10-25T02:52:32.978Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:52:33.637Z] /w/workspace/device-uart/13@tmp/durable-78a9a24d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T02:52:33.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T02:52:33.998Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T02:52:34.050Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T02:52:34.061Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T02:52:34.088Z] $ docker stop --time=1 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a [2023-10-25T02:52:36.030Z] $ docker rm -f --volumes 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-25T02:52:36.373Z] provisioning config files... [2023-10-25T02:52:36.380Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config218441086740356401tmp [Pipeline] { [Pipeline] sh [2023-10-25T02:52:36.669Z] + set +x [2023-10-25T02:52:36.669Z] + curl -s https://codecov.io/bash [2023-10-25T02:52:36.669Z] + bash -s -- [2023-10-25T02:52:36.669Z] [2023-10-25T02:52:36.669Z] _____ _ [2023-10-25T02:52:36.669Z] / ____| | | [2023-10-25T02:52:36.669Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T02:52:36.669Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T02:52:36.669Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T02:52:36.669Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T02:52:36.669Z] Bash-1.0.6 [2023-10-25T02:52:36.669Z] [2023-10-25T02:52:36.669Z] [2023-10-25T02:52:36.669Z] ==> git version 2.25.1 found [2023-10-25T02:52:36.669Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-25T02:52:36.669Z] Release-Date: 2020-01-08 [2023-10-25T02:52:36.669Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T02:52:36.669Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T02:52:36.669Z] ==> Jenkins CI detected. [2023-10-25T02:52:36.669Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-10-25T02:52:36.669Z] project root: . [2023-10-25T02:52:36.669Z] --> token set from env [2023-10-25T02:52:36.669Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T02:52:36.669Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T02:52:36.669Z] ==> Python coveragepy not found [2023-10-25T02:52:36.669Z] ==> Searching for coverage reports in: [2023-10-25T02:52:36.669Z] + . [2023-10-25T02:52:36.669Z] -> Found 1 reports [2023-10-25T02:52:36.669Z] ==> Detecting git/mercurial file structure [2023-10-25T02:52:36.928Z] ==> Reading reports [2023-10-25T02:52:36.928Z] + ./coverage.out bytes=10 [2023-10-25T02:52:36.928Z] ==> Appending adjustments [2023-10-25T02:52:36.928Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T02:52:36.928Z] + Found adjustments [2023-10-25T02:52:36.928Z] ==> Gzipping contents [2023-10-25T02:52:36.928Z] 4.0K /tmp/codecov.8L52JG.gz [2023-10-25T02:52:36.928Z] ==> Uploading reports [2023-10-25T02:52:36.928Z] url: https://codecov.io [2023-10-25T02:52:36.928Z] query: branch=main&commit=c30bf90ffa9b09e56965655bf5f596629c9edc5f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T02:52:36.928Z] -> Pinging Codecov [2023-10-25T02:52:36.928Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=c30bf90ffa9b09e56965655bf5f596629c9edc5f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T02:52:36.928Z] -> Uploading to [2023-10-25T02:52:36.928Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/c30bf90ffa9b09e56965655bf5f596629c9edc5f/060cf41e-02cb-4c5e-97a5-59c426d91c09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T025236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ccc44d3e1b8ecdf5374ba118374b1dd89389111ab17cb1d3ac1f05cc37348281 [2023-10-25T02:52:36.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T02:52:36.928Z] Dload Upload Total Spent Left Speed [2023-10-25T02:52:37.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1983 --:--:-- --:--:-- --:--:-- 1983 [2023-10-25T02:52:37.446Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } [2023-10-25T02:52:37.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-25T02:52:37.585Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-25T02:52:37.594Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:52:37.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:52:37.892Z] [2023-10-25T02:52:37.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:52:38.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:52:38.186Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-25T02:52:38.186Z] df9b9388f04a: Pulling fs layer [2023-10-25T02:52:38.186Z] 52dc419b0ee2: Pulling fs layer [2023-10-25T02:52:38.186Z] 25bc292e5bac: Pulling fs layer [2023-10-25T02:52:38.186Z] 114826534d7a: Pulling fs layer [2023-10-25T02:52:38.186Z] 4657fd5d0bcf: Pulling fs layer [2023-10-25T02:52:38.186Z] 6ad1cebc031e: Pulling fs layer [2023-10-25T02:52:38.186Z] 8a3aa393b2d8: Pulling fs layer [2023-10-25T02:52:38.186Z] 6ad1cebc031e: Waiting [2023-10-25T02:52:38.186Z] 8a3aa393b2d8: Waiting [2023-10-25T02:52:38.186Z] 114826534d7a: Waiting [2023-10-25T02:52:38.186Z] 25bc292e5bac: Verifying Checksum [2023-10-25T02:52:38.186Z] 25bc292e5bac: Download complete [2023-10-25T02:52:38.186Z] 52dc419b0ee2: Verifying Checksum [2023-10-25T02:52:38.186Z] 52dc419b0ee2: Download complete [2023-10-25T02:52:38.186Z] 4657fd5d0bcf: Verifying Checksum [2023-10-25T02:52:38.186Z] 4657fd5d0bcf: Download complete [2023-10-25T02:52:38.186Z] df9b9388f04a: Verifying Checksum [2023-10-25T02:52:38.186Z] df9b9388f04a: Download complete [2023-10-25T02:52:38.443Z] 6ad1cebc031e: Verifying Checksum [2023-10-25T02:52:38.443Z] 6ad1cebc031e: Download complete [2023-10-25T02:52:38.443Z] df9b9388f04a: Pull complete [2023-10-25T02:52:38.443Z] 52dc419b0ee2: Pull complete [2023-10-25T02:52:38.443Z] 25bc292e5bac: Pull complete [2023-10-25T02:52:39.016Z] 114826534d7a: Verifying Checksum [2023-10-25T02:52:39.016Z] 114826534d7a: Download complete [2023-10-25T02:52:39.016Z] 8a3aa393b2d8: Verifying Checksum [2023-10-25T02:52:39.016Z] 8a3aa393b2d8: Download complete [2023-10-25T02:52:43.231Z] 114826534d7a: Pull complete [2023-10-25T02:52:43.231Z] 4657fd5d0bcf: Pull complete [2023-10-25T02:52:43.231Z] 6ad1cebc031e: Pull complete [2023-10-25T02:52:45.759Z] 8a3aa393b2d8: Pull complete [2023-10-25T02:52:45.759Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-25T02:52:45.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:52:45.759Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:52:45.844Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:52:45.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-25T02:52:54.678Z] $ docker top 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-25T02:52:54.738Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-10-25T02:52:55.017Z] + set -o pipefail [2023-10-25T02:52:55.018Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-10-25T02:53:04.991Z] [2023-10-25T02:53:04.991Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-10-25T02:53:04.991Z] [2023-10-25T02:53:04.991Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/8001c436-65de-41fa-8636-db0e1c48cdcc [2023-10-25T02:53:04.991Z] [2023-10-25T02:53:04.991Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-25T02:53:04.991Z] [2023-10-25T02:53:04.991Z] [2023-10-25T02:53:04.991Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-25T02:53:04.991Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-25T02:53:04.991Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-25T02:53:05.003Z] $ docker stop --time=1 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 [2023-10-25T02:53:12.248Z] $ docker rm -f --volumes 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:53:12.984Z] + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] sh [2023-10-25T02:53:13.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:53:13.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:13.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:53:13.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:53:13.638Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:53:13.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:53:14.863Z] $ docker top d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb -eo pid,comm [2023-10-25T02:53:14.910Z] 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-10-25T02:53:14.910Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:53:14.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:53:14.950Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:53:15.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:53:15.101Z] $ docker exec d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb ssh-agent [2023-10-25T02:53:15.192Z] SSH_AUTH_SOCK=/tmp/ssh-ZG6RQd3zA2si/agent.14 [2023-10-25T02:53:15.192Z] SSH_AGENT_PID=21 [2023-10-25T02:53:15.202Z] Running ssh-add (command line suppressed) [2023-10-25T02:53:15.298Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17377434856862410024.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17377434856862410024.key) [2023-10-25T02:53:15.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:53:15.600Z] + git semver tag [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,764 [run_tag] DEBUG tag force:False [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,764 [check_head_tag] DEBUG check head tag [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,764 [execute] INFO git cat-file --batch-check [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,767 [execute] INFO git cat-file --batch [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,774 [execute] INFO git tag -a v3.0.1-dev.7 -m v3.0.1-dev.7 [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,774 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.7', '-m', 'v3.0.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:53:15.860Z] 2023-10-25 02:53:15,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:15.860Z] 3.0.1-dev.7 [Pipeline] } [2023-10-25T02:53:15.870Z] $ docker exec --env ******** --env ******** d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb ssh-agent -k [2023-10-25T02:53:15.968Z] unset SSH_AUTH_SOCK; [2023-10-25T02:53:15.968Z] unset SSH_AGENT_PID; [2023-10-25T02:53:15.968Z] echo Agent pid 21 killed; [2023-10-25T02:53:15.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:53:16.285Z] + git semver [Pipeline] } [2023-10-25T02:53:16.558Z] $ docker stop --time=1 d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb [2023-10-25T02:53:17.990Z] $ docker rm -f --volumes d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:18.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:53:18.374Z] [2023-10-25T02:53:18.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:18.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:53:18.670Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-25T02:53:18.670Z] ab5ef0e58194: Pulling fs layer [2023-10-25T02:53:18.670Z] 9712f1f96733: Pulling fs layer [2023-10-25T02:53:18.670Z] 63f879dbbcfc: Pulling fs layer [2023-10-25T02:53:18.670Z] 0d9ebad4ef96: Pulling fs layer [2023-10-25T02:53:18.670Z] e9a5061849ea: Pulling fs layer [2023-10-25T02:53:18.670Z] d747dcd14b5f: Pulling fs layer [2023-10-25T02:53:18.670Z] 2de7ff778b66: Pulling fs layer [2023-10-25T02:53:18.670Z] 0d9ebad4ef96: Waiting [2023-10-25T02:53:18.670Z] d747dcd14b5f: Waiting [2023-10-25T02:53:18.670Z] 2de7ff778b66: Waiting [2023-10-25T02:53:18.670Z] e9a5061849ea: Waiting [2023-10-25T02:53:18.670Z] 9712f1f96733: Verifying Checksum [2023-10-25T02:53:18.670Z] 9712f1f96733: Download complete [2023-10-25T02:53:18.929Z] 63f879dbbcfc: Verifying Checksum [2023-10-25T02:53:18.929Z] 63f879dbbcfc: Download complete [2023-10-25T02:53:19.187Z] 0d9ebad4ef96: Verifying Checksum [2023-10-25T02:53:19.188Z] 0d9ebad4ef96: Download complete [2023-10-25T02:53:19.188Z] e9a5061849ea: Verifying Checksum [2023-10-25T02:53:19.188Z] e9a5061849ea: Download complete [2023-10-25T02:53:19.188Z] d747dcd14b5f: Verifying Checksum [2023-10-25T02:53:19.188Z] d747dcd14b5f: Download complete [2023-10-25T02:53:19.188Z] ab5ef0e58194: Download complete [2023-10-25T02:53:19.446Z] 2de7ff778b66: Verifying Checksum [2023-10-25T02:53:19.446Z] 2de7ff778b66: Download complete [2023-10-25T02:53:22.789Z] ab5ef0e58194: Pull complete [2023-10-25T02:53:23.359Z] 9712f1f96733: Pull complete [2023-10-25T02:53:24.336Z] 63f879dbbcfc: Pull complete [2023-10-25T02:53:28.535Z] 0d9ebad4ef96: Pull complete [2023-10-25T02:53:28.535Z] e9a5061849ea: Pull complete [2023-10-25T02:53:28.535Z] d747dcd14b5f: Pull complete [2023-10-25T02:53:29.103Z] 2de7ff778b66: Pull complete [2023-10-25T02:53:29.103Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-25T02:53:29.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:53:29.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:53:29.180Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:53:29.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-25T02:53:37.210Z] $ docker top d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:53:37.277Z] provisioning config files... [2023-10-25T02:53:37.283Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config329381112723321853tmp [2023-10-25T02:53:37.292Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13918232650283750958tmp [2023-10-25T02:53:37.299Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14775817465378574469tmp [Pipeline] { [Pipeline] echo [2023-10-25T02:53:37.314Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:37.596Z] ---> sigul-configuration.sh [2023-10-25T02:53:37.596Z] gpg: directory `/root/.gnupg' created [2023-10-25T02:53:37.596Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-25T02:53:37.596Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-25T02:53:37.596Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-25T02:53:37.596Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-25T02:53:37.596Z] gpg: CAST5 encrypted data [2023-10-25T02:53:37.596Z] gpg: encrypted with 1 passphrase [2023-10-25T02:53:37.596Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-25T02:53:37.879Z] + mkdir /home/jenkins [2023-10-25T02:53:37.879Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-25T02:53:38.161Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-25T02:53:38.168Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:38.449Z] ---> sigul-install.sh [2023-10-25T02:53:38.449Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-25T02:53:38.734Z] + git tag --list [2023-10-25T02:53:38.734Z] v0.0.0 [2023-10-25T02:53:38.734Z] v0.0.1-dev.1 [2023-10-25T02:53:38.734Z] v0.0.1-dev.2 [2023-10-25T02:53:38.734Z] v0.0.1-dev.3 [2023-10-25T02:53:38.734Z] v0.0.1-dev.4 [2023-10-25T02:53:38.734Z] v3.0.0 [2023-10-25T02:53:38.734Z] v3.0.1-dev.1 [2023-10-25T02:53:38.734Z] v3.0.1-dev.2 [2023-10-25T02:53:38.734Z] v3.0.1-dev.3 [2023-10-25T02:53:38.734Z] v3.0.1-dev.4 [2023-10-25T02:53:38.734Z] v3.0.1-dev.5 [2023-10-25T02:53:38.734Z] v3.0.1-dev.6 [2023-10-25T02:53:38.734Z] v3.0.1-dev.7 [Pipeline] sh [2023-10-25T02:53:39.020Z] + lftools sign git-tag v3.0.1-dev.7 [2023-10-25T02:53:39.588Z] Signing Git tag with Sigul... [2023-10-25T02:53:39.588Z] Signing v3.0.1-dev.7 [Pipeline] echo [2023-10-25T02:53:39.854Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:40.136Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-25T02:53:40.143Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-25T02:53:40.160Z] $ docker stop --time=1 d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 [2023-10-25T02:53:41.426Z] $ docker rm -f --volumes d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-25T02:53:41.821Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:53:41.821Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:42.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:53:42.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:53:42.179Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:53:42.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:53:42.527Z] $ docker top 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 -eo pid,comm [2023-10-25T02:53:42.574Z] 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-10-25T02:53:42.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:53:42.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:53:42.613Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:53:42.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:53:42.740Z] $ docker exec 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 ssh-agent [2023-10-25T02:53:42.849Z] SSH_AUTH_SOCK=/tmp/ssh-Mq73S5romnOH/agent.31 [2023-10-25T02:53:42.849Z] SSH_AGENT_PID=37 [2023-10-25T02:53:42.853Z] Running ssh-add (command line suppressed) [2023-10-25T02:53:42.944Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14379791420041749217.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14379791420041749217.key) [2023-10-25T02:53:42.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:53:43.237Z] + git semver bump pre [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [bump_version] DEBUG bumping version:3.0.1-dev.7 on axis:pre with prefix:dev [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [bump_version] DEBUG bumped version:3.0.1-dev.8 [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [write_version] DEBUG write version:3.0.1-dev.8 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,428 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,430 [execute] INFO git cat-file --batch-check [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,435 [execute] INFO git cat-file --batch [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:53:43.496Z] 2023-10-25 02:53:43,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:43.496Z] 3.0.1-dev.8 [Pipeline] } [2023-10-25T02:53:43.506Z] $ docker exec --env ******** --env ******** 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 ssh-agent -k [2023-10-25T02:53:43.599Z] unset SSH_AUTH_SOCK; [2023-10-25T02:53:43.599Z] unset SSH_AGENT_PID; [2023-10-25T02:53:43.599Z] echo Agent pid 37 killed; [2023-10-25T02:53:43.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:53:43.905Z] + git semver [Pipeline] } [2023-10-25T02:53:44.176Z] $ docker stop --time=1 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 [2023-10-25T02:53:45.445Z] $ docker rm -f --volumes 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:53:45.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:53:45.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:46.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:53:46.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:53:46.162Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:53:46.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:53:46.534Z] $ docker top 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 -eo pid,comm [2023-10-25T02:53:46.582Z] 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-10-25T02:53:46.582Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:53:46.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:53:46.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:53:46.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:53:46.747Z] $ docker exec 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 ssh-agent [2023-10-25T02:53:46.866Z] SSH_AUTH_SOCK=/tmp/ssh-ONlQWwvA0xGt/agent.33 [2023-10-25T02:53:46.867Z] SSH_AGENT_PID=39 [2023-10-25T02:53:46.872Z] Running ssh-add (command line suppressed) [2023-10-25T02:53:46.978Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_217549549451163653.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_217549549451163653.key) [2023-10-25T02:53:46.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:53:47.276Z] + git semver push [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,490 [run_push] DEBUG push [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,491 [execute] INFO git cat-file --batch-check [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,494 [execute] INFO git rev-list 4a68e9ee9bddca5a1f5cc4949ac2c64ebc67982b -- [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,494 [execute] DEBUG Popen(['git', 'rev-list', '4a68e9ee9bddca5a1f5cc4949ac2c64ebc67982b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,499 [execute] INFO git fetch -v origin [2023-10-25T02:53:47.535Z] 2023-10-25 02:53:47,499 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-25T02:53:48.104Z] 2023-10-25 02:53:48,045 [run_push] DEBUG no remote changes detected [2023-10-25T02:53:48.104Z] 2023-10-25 02:53:48,045 [execute] INFO git push origin semver [2023-10-25T02:53:48.104Z] 2023-10-25 02:53:48,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:53:49.041Z] 2023-10-25 02:53:48,913 [run_push] DEBUG push all version tags [2023-10-25T02:53:49.041Z] 2023-10-25 02:53:48,914 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-25T02:53:49.041Z] 2023-10-25 02:53:48,914 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:53:49.977Z] 2023-10-25 02:53:49,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:53:49.977Z] 3.0.1-dev.8 [Pipeline] } [2023-10-25T02:53:49.986Z] $ docker exec --env ******** --env ******** 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 ssh-agent -k [2023-10-25T02:53:50.084Z] unset SSH_AUTH_SOCK; [2023-10-25T02:53:50.084Z] unset SSH_AGENT_PID; [2023-10-25T02:53:50.085Z] echo Agent pid 39 killed; [2023-10-25T02:53:50.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:53:50.396Z] + git semver [Pipeline] } [2023-10-25T02:53:50.668Z] $ docker stop --time=1 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 [2023-10-25T02:53:51.960Z] $ docker rm -f --volumes 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T02:53:52.513Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-10-25T02:53:52.513Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:53:52.513Z] total 16 [2023-10-25T02:53:52.513Z] drwxr-xr-x 3 root root 4096 Oct 25 02:45 . [2023-10-25T02:53:52.513Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:53 .. [2023-10-25T02:53:52.513Z] drwxr-xr-x 2 root root 4096 Oct 25 02:45 cost [2023-10-25T02:53:52.513Z] -rw-r--r-- 1 root root 82 Oct 25 02:45 cost.csv [2023-10-25T02:53:52.513Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:53:52.513Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:53:52.513Z] total 16 [2023-10-25T02:53:52.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:45 . [2023-10-25T02:53:52.513Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:53 .. [2023-10-25T02:53:52.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 02:45 cost [2023-10-25T02:53:52.513Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 25 02:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:52.799Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:53.658Z] ---> package-listing.sh [2023-10-25T02:53:53.658Z] ++ facter osfamily [2023-10-25T02:53:53.658Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T02:53:53.917Z] + OS_FAMILY=debian [2023-10-25T02:53:53.917Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-10-25T02:53:53.917Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T02:53:53.917Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T02:53:53.917Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T02:53:53.917Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T02:53:53.917Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T02:53:53.917Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T02:53:53.917Z] + case "${OS_FAMILY}" in [2023-10-25T02:53:53.917Z] + dpkg -l [2023-10-25T02:53:53.917Z] + grep '^ii' [2023-10-25T02:53:53.917Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T02:53:53.917Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T02:53:53.917Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T02:53:53.917Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T02:53:53.917Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-10-25T02:53:53.917Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-10-25T02:53:53.928Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T02:53:54.206Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:53:54.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:53:54.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:53:54.834Z] prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container [2023-10-25T02:53:54.868Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T02:53:55.081Z] $ docker top ef6e41fcb7c1b889b95e892c17fcb20a86709f0d8f65fff1d5ca11ed507c6f87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:53:55.491Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T02:53:55.854Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T02:53:56.192Z] + ls /var/log/sa-host [2023-10-25T02:53:56.192Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:53:56.251Z] provisioning config files... [2023-10-25T02:53:56.258Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2705011996016843825tmp [Pipeline] { [Pipeline] echo [2023-10-25T02:53:56.271Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:56.554Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T02:53:56.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:56.873Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T02:53:56.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:57.166Z] ---> sudo-logs.sh [2023-10-25T02:53:57.166Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T02:53:57.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:57.466Z] ---> job-cost.sh [2023-10-25T02:53:57.467Z] lf-activate-venv: SKIPPING [2023-10-25T02:53:57.467Z] DEBUG: total: 0.2199999988079071 [2023-10-25T02:53:57.467Z] INFO: Retrieving Stack Cost... [2023-10-25T02:53:57.726Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T02:53:58.293Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T02:53:58.303Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:53:58.584Z] ---> logs-deploy.sh [2023-10-25T02:53:58.584Z] lf-activate-venv: SKIPPING [2023-10-25T02:53:58.584Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/13 [2023-10-25T02:53:58.584Z] INFO: archiving workspace using pattern(s): [2023-10-25T02:53:59.520Z] Archives upload complete. [2023-10-25T02:53:59.520Z] INFO: archiving logs to Nexus