Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eed745f62e362350c96cbc5d7056f691b368baad 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-ssh17876584258559243422.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-ssh10489799323978197930.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-ssh2444131669858222496.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-ssh16161291608471833909.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-ssh8772324998971119106.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6019 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 eed745f62e362350c96cbc5d7056f691b368baad (main) > 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 eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 Commit message: "Merge pull request #24 from lenny-intel/go-1.21" > git rev-list --no-walk 107fe58427ec1d433094d7ddff71861b5f8fbb1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:59:53.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:59:53.066Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:59:53.081Z] ========================================================= [2023-09-12T21:59:53.081Z] EdgeX Global Pipelines Version Info [2023-09-12T21:59:53.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:53.782Z] ------------------- [2023-09-12T21:59:53.782Z] stable info: [2023-09-12T21:59:53.782Z] ------------------- [2023-09-12T21:59:53.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:59:53.782Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:59:53.782Z] Message: update stable to v1.0.254 [2023-09-12T21:59:54.352Z] ------------------- [2023-09-12T21:59:54.352Z] experimental info: [2023-09-12T21:59:54.352Z] ------------------- [2023-09-12T21:59:54.352Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:59:54.352Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:59:54.352Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:59:54.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-09-12T21:59:54.533Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-09-12T21:59:54.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:59:54.563Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:59:54.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:59:54.588Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:59:54.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:59:54.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:59:54.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:59:54.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:59:54.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:59:54.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-09-12T21:59:54.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:59:54.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:59:54.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:59:54.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:59:54.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:59:54.728Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:59:54.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:59:54.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:59:54.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:59:54.780Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:59:54.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:59:54.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:59:54.825Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:59:54.842Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:59:54.860Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:59:54.878Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T21:59:54.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T21:59:54.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T21:59:54.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] echo [2023-09-12T21:59:54.950Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eed745f [Pipeline] echo [2023-09-12T21:59:54.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:59:55.003Z] provisioning config files... [2023-09-12T21:59:55.017Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15997411195874674429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:55.320Z] ---> docker-login.sh [2023-09-12T21:59:55.320Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:59:55.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:55.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:55.581Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:55.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:55.581Z] [2023-09-12T21:59:55.581Z] Login Succeeded [2023-09-12T21:59:55.581Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:59:55.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:55.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:55.842Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:55.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:55.842Z] [2023-09-12T21:59:55.842Z] Login Succeeded [2023-09-12T21:59:55.842Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:59:55.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:55.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:55.842Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:55.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:55.842Z] [2023-09-12T21:59:55.842Z] Login Succeeded [2023-09-12T21:59:55.842Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:59:55.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:56.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:56.102Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:56.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:56.102Z] [2023-09-12T21:59:56.102Z] Login Succeeded [2023-09-12T21:59:56.102Z] docker.io [2023-09-12T21:59:56.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:56.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:56.362Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:56.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:56.362Z] [2023-09-12T21:59:56.362Z] Login Succeeded [2023-09-12T21:59:56.362Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:59:56.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:59:56.738Z] + git rev-list -1 --merges eed745f62e362350c96cbc5d7056f691b368baad~1..eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] echo [2023-09-12T21:59:56.785Z] -----------> git rev-list -1 --merges eed745f62e362350c96cbc5d7056f691b368baad~1..eed745f62e362350c96cbc5d7056f691b368baad eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T21:59:56.785Z] eed745f62e362350c96cbc5d7056f691b368baad [false] [Pipeline] sh [2023-09-12T21:59:57.073Z] + git log --format=format:%s -1 eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] echo [2023-09-12T21:59:57.105Z] ========================================================= [2023-09-12T21:59:57.105Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:59:57.105Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:59:57.431Z] + git log --format=format:%s -1 eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] echo [2023-09-12T21:59:57.440Z] [semverPrep] GIT_COMMIT: eed745f62e362350c96cbc5d7056f691b368baad, Commit Message: Merge pull request #24 from lenny-intel/go-1.21 [Pipeline] echo [2023-09-12T21:59:57.449Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:59:57.799Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:59:57.799Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:59:57.799Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:59:57.799Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:59:57.799Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:59:57.799Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:59:57.799Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:58.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:58.137Z] [2023-09-12T21:59:58.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:58.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:58.429Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:59:58.429Z] b85a868b505f: Pulling fs layer [2023-09-12T21:59:58.429Z] e2be974225ed: Pulling fs layer [2023-09-12T21:59:58.429Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:59:58.429Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:59:58.429Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:59:58.429Z] eaf3925da568: Pulling fs layer [2023-09-12T21:59:58.429Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:59:58.429Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:59:58.429Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:59:58.429Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:59:58.429Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:59:58.429Z] 988bab9f4d93: Waiting [2023-09-12T21:59:58.429Z] 1469e6f7b9e6: Waiting [2023-09-12T21:59:58.429Z] bab4dde63d76: Waiting [2023-09-12T21:59:58.429Z] eaf3925da568: Waiting [2023-09-12T21:59:58.429Z] 4872d77fe225: Waiting [2023-09-12T21:59:58.429Z] bde34c3a00c8: Waiting [2023-09-12T21:59:58.429Z] b352a97aabf1: Waiting [2023-09-12T21:59:58.429Z] 5851b861e8e6: Waiting [2023-09-12T21:59:58.429Z] e2be974225ed: Verifying Checksum [2023-09-12T21:59:58.429Z] e2be974225ed: Download complete [2023-09-12T21:59:58.429Z] 988bab9f4d93: Verifying Checksum [2023-09-12T21:59:58.429Z] 988bab9f4d93: Download complete [2023-09-12T21:59:58.429Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:59:58.429Z] 1469e6f7b9e6: Download complete [2023-09-12T21:59:58.429Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:59:58.429Z] 339a4e72a1f5: Download complete [2023-09-12T21:59:58.429Z] eaf3925da568: Verifying Checksum [2023-09-12T21:59:58.429Z] eaf3925da568: Download complete [2023-09-12T21:59:58.688Z] bde34c3a00c8: Download complete [2023-09-12T21:59:58.688Z] b352a97aabf1: Verifying Checksum [2023-09-12T21:59:58.688Z] b352a97aabf1: Download complete [2023-09-12T21:59:58.688Z] 4872d77fe225: Download complete [2023-09-12T21:59:58.688Z] 5851b861e8e6: Verifying Checksum [2023-09-12T21:59:58.688Z] 5851b861e8e6: Download complete [2023-09-12T21:59:58.688Z] b85a868b505f: Verifying Checksum [2023-09-12T21:59:58.688Z] b85a868b505f: Download complete [2023-09-12T21:59:58.945Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:59:58.945Z] bab4dde63d76: Download complete [2023-09-12T21:59:59.877Z] b85a868b505f: Pull complete [2023-09-12T22:00:00.136Z] e2be974225ed: Pull complete [2023-09-12T22:00:00.703Z] 339a4e72a1f5: Pull complete [2023-09-12T22:00:00.703Z] 988bab9f4d93: Pull complete [2023-09-12T22:00:00.963Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:00:00.963Z] eaf3925da568: Pull complete [2023-09-12T22:00:02.860Z] bab4dde63d76: Pull complete [2023-09-12T22:00:02.860Z] bde34c3a00c8: Pull complete [2023-09-12T22:00:03.118Z] b352a97aabf1: Pull complete [2023-09-12T22:00:03.118Z] 4872d77fe225: Pull complete [2023-09-12T22:00:03.377Z] 5851b861e8e6: Pull complete [2023-09-12T22:00:03.377Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:00:03.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:00:03.377Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:03.479Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:00:03.511Z] $ 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-09-12T22:00:06.453Z] $ docker top 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 -eo pid,comm [2023-09-12T22:00:06.507Z] 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-09-12T22:00:06.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:00:06.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:00:06.539Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:00:06.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:00:06.662Z] $ docker exec 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 ssh-agent [2023-09-12T22:00:06.754Z] SSH_AUTH_SOCK=/tmp/ssh-s9o0IXsK5rAX/agent.32 [2023-09-12T22:00:06.754Z] SSH_AGENT_PID=38 [2023-09-12T22:00:06.763Z] Running ssh-add (command line suppressed) [2023-09-12T22:00:06.864Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6687712034147203064.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6687712034147203064.key) [2023-09-12T22:00:06.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:00:07.162Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:00:07.182Z] $ docker exec --env ******** --env ******** 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 ssh-agent -k [2023-09-12T22:00:07.283Z] unset SSH_AUTH_SOCK; [2023-09-12T22:00:07.284Z] unset SSH_AGENT_PID; [2023-09-12T22:00:07.284Z] echo Agent pid 38 killed; [2023-09-12T22:00:07.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:00:07.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:00:07.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:00:07.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:00:07.451Z] $ docker exec 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 ssh-agent [2023-09-12T22:00:07.558Z] SSH_AUTH_SOCK=/tmp/ssh-DSP57i7jOZpu/agent.70 [2023-09-12T22:00:07.558Z] SSH_AGENT_PID=76 [2023-09-12T22:00:07.563Z] Running ssh-add (command line suppressed) [2023-09-12T22:00:07.664Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1385814244485389994.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1385814244485389994.key) [2023-09-12T22:00:07.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:00:07.955Z] + git semver init [2023-09-12T22:00:08.213Z] 2023-09-12 22:00:08,158 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:00:08.214Z] 2023-09-12 22:00:08,159 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-09-12T22:00:08.214Z] 2023-09-12 22:00:08,159 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-09-12T22:00:08.214Z] 2023-09-12 22:00:08,159 [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-09-12T22:00:09.150Z] 2023-09-12 22:00:09,032 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-09-12T22:00:09.150Z] 2023-09-12 22:00:09,032 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-09-12T22:00:09.150Z] 2023-09-12 22:00:09,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:00:09.150Z] 2023-09-12 22:00:09,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:00:09.150Z] 3.0.1-dev.3 [Pipeline] } [2023-09-12T22:00:09.163Z] $ docker exec --env ******** --env ******** 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 ssh-agent -k [2023-09-12T22:00:09.263Z] unset SSH_AUTH_SOCK; [2023-09-12T22:00:09.264Z] unset SSH_AGENT_PID; [2023-09-12T22:00:09.264Z] echo Agent pid 76 killed; [2023-09-12T22:00:09.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:00:09.579Z] + git semver [Pipeline] } [2023-09-12T22:00:09.857Z] $ docker stop --time=1 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 [2023-09-12T22:00:11.165Z] $ docker rm -f --volumes 3aa030fb7a9b6d82bb4c704d754b605fc4a5a3f4c9f058c9c1fd1a10cfaaa5b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:00:11.497Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:00:11.721Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:00:11.724Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.3 [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-09-12T22:00:11.886Z] provisioning config files... [2023-09-12T22:00:11.897Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3179966265768863503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:12.194Z] ---> docker-login.sh [2023-09-12T22:00:12.194Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:00:12.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:00:12.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:00:12.194Z] Configure a credential helper to remove this warning. See [2023-09-12T22:00:12.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:00:12.194Z] [2023-09-12T22:00:12.194Z] Login Succeeded [2023-09-12T22:00:12.194Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:00:12.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:00:12.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:00:12.194Z] Configure a credential helper to remove this warning. See [2023-09-12T22:00:12.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:00:12.194Z] [2023-09-12T22:00:12.194Z] Login Succeeded [2023-09-12T22:00:12.194Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:00:12.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:00:12.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:00:12.453Z] Configure a credential helper to remove this warning. See [2023-09-12T22:00:12.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:00:12.453Z] [2023-09-12T22:00:12.453Z] Login Succeeded [2023-09-12T22:00:12.453Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:00:12.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:00:12.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:00:12.453Z] Configure a credential helper to remove this warning. See [2023-09-12T22:00:12.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:00:12.453Z] [2023-09-12T22:00:12.453Z] Login Succeeded [2023-09-12T22:00:12.453Z] docker.io [2023-09-12T22:00:12.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:00:13.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:00:13.650Z] Configure a credential helper to remove this warning. See [2023-09-12T22:00:13.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:00:13.650Z] [2023-09-12T22:00:13.650Z] Login Succeeded [2023-09-12T22:00:13.650Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:00:13.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:00:13.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:00:13.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:00:13.748Z] ========================================================= [2023-09-12T22:00:13.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:00:13.748Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:14.074Z] + 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-09-12T22:00:14.074Z] Sending build context to Docker daemon 11.11MB [2023-09-12T22:00:14.074Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:00:14.074Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:00:14.074Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:00:14.074Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:00:14.074Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:00:14.074Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:00:14.074Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:00:14.074Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:00:14.074Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:00:14.074Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:00:14.074Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:00:14.074Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:00:14.074Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:00:14.074Z] ad3a456e5733: Waiting [2023-09-12T22:00:14.074Z] 9e4f439ed901: Waiting [2023-09-12T22:00:14.074Z] feaf6a47b606: Waiting [2023-09-12T22:00:14.074Z] 5e8b037d7d82: Waiting [2023-09-12T22:00:14.074Z] 8ac70367396e: Waiting [2023-09-12T22:00:14.074Z] 6db16350a2e2: Waiting [2023-09-12T22:00:14.074Z] 9250d5d63582: Waiting [2023-09-12T22:00:14.074Z] c4d48a809fc2: Verifying Checksum [2023-09-12T22:00:14.074Z] c4d48a809fc2: Download complete [2023-09-12T22:00:14.332Z] ad3a456e5733: Download complete [2023-09-12T22:00:14.332Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:00:14.332Z] 7264a8db6415: Download complete [2023-09-12T22:00:14.332Z] 9e4f439ed901: Verifying Checksum [2023-09-12T22:00:14.332Z] 9e4f439ed901: Download complete [2023-09-12T22:00:14.332Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:00:14.332Z] feaf6a47b606: Download complete [2023-09-12T22:00:14.332Z] 7264a8db6415: Pull complete [2023-09-12T22:00:14.593Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:00:14.593Z] 8ac70367396e: Download complete [2023-09-12T22:00:14.593Z] c4d48a809fc2: Pull complete [2023-09-12T22:00:14.593Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T22:00:14.593Z] 4f1c88b9dad5: Download complete [2023-09-12T22:00:14.853Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:00:15.112Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T22:00:15.112Z] 5e8b037d7d82: Download complete [2023-09-12T22:00:15.112Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:00:15.112Z] 9250d5d63582: Download complete [2023-09-12T22:00:18.399Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:00:18.399Z] ad3a456e5733: Pull complete [2023-09-12T22:00:18.399Z] 9e4f439ed901: Pull complete [2023-09-12T22:00:18.399Z] feaf6a47b606: Pull complete [2023-09-12T22:00:20.931Z] 5e8b037d7d82: Pull complete [2023-09-12T22:00:21.192Z] 8ac70367396e: Pull complete [2023-09-12T22:00:21.758Z] 6db16350a2e2: Pull complete [2023-09-12T22:00:22.342Z] 9250d5d63582: Pull complete [2023-09-12T22:00:22.342Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:00:22.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:00:22.342Z] ---> fa269f55d9b9 [2023-09-12T22:00:22.342Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:00:26.838Z] Still waiting to schedule task [2023-09-12T22:00:26.839Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:00:27.747Z] ---> Running in 1e10e6341b59 [2023-09-12T22:00:27.747Z] Removing intermediate container 1e10e6341b59 [2023-09-12T22:00:27.747Z] ---> 76ca1b9b41c1 [2023-09-12T22:00:27.747Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:00:27.747Z] ---> Running in be522c9ede97 [2023-09-12T22:00:27.747Z] Removing intermediate container be522c9ede97 [2023-09-12T22:00:27.747Z] ---> d6df9d4520dc [2023-09-12T22:00:27.747Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:00:27.747Z] ---> Running in 9f2a33ceace9 [2023-09-12T22:00:27.747Z] Removing intermediate container 9f2a33ceace9 [2023-09-12T22:00:27.747Z] ---> d18ab1b80566 [2023-09-12T22:00:27.747Z] Step 6/12 : WORKDIR /device-uart [2023-09-12T22:00:27.747Z] ---> Running in 0a8cc53bd6a9 [2023-09-12T22:00:28.005Z] Removing intermediate container 0a8cc53bd6a9 [2023-09-12T22:00:28.005Z] ---> ac3284780ad3 [2023-09-12T22:00:28.005Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:00:28.005Z] ---> Running in 39a487296124 [2023-09-12T22:00:28.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:00:28.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:00:28.521Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:00:28.780Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:00:28.780Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:00:28.780Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:00:28.780Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:00:28.780Z] OK: 270 MiB in 60 packages [2023-09-12T22:00:29.348Z] Removing intermediate container 39a487296124 [2023-09-12T22:00:29.348Z] ---> 663a090bb596 [2023-09-12T22:00:29.348Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T22:00:29.348Z] ---> 62acd040768b [2023-09-12T22:00:29.348Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:00:29.348Z] ---> Running in 9059f4276806 [2023-09-12T22:01:08.083Z] Removing intermediate container 9059f4276806 [2023-09-12T22:01:08.083Z] ---> 6875373adf26 [2023-09-12T22:01:08.083Z] Step 10/12 : COPY . . [2023-09-12T22:01:08.083Z] ---> 99eb87da41e7 [2023-09-12T22:01:08.083Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:01:08.083Z] ---> Running in 654a57d08cf3 [2023-09-12T22:01:08.083Z] Removing intermediate container 654a57d08cf3 [2023-09-12T22:01:08.083Z] ---> cd190985a26c [2023-09-12T22:01:08.083Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:01:08.083Z] ---> Running in 0a9a5cfe4f24 [2023-09-12T22:01:08.083Z] noop [2023-09-12T22:01:08.083Z] Removing intermediate container 0a9a5cfe4f24 [2023-09-12T22:01:08.083Z] ---> de0d00966c0a [2023-09-12T22:01:08.083Z] Successfully built de0d00966c0a [2023-09-12T22:01:08.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:08.389Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:01:08.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:01:08.461Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:01:08.491Z] $ 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-09-12T22:01:08.839Z] $ docker top 8293f52f57ca7f821643ac99a051f890bfc2593c107d786e72da4d0cd0cfae8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:01:09.178Z] + go version [2023-09-12T22:01:09.178Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:01:09.191Z] $ docker stop --time=1 8293f52f57ca7f821643ac99a051f890bfc2593c107d786e72da4d0cd0cfae8d [2023-09-12T22:01:10.494Z] $ docker rm -f --volumes 8293f52f57ca7f821643ac99a051f890bfc2593c107d786e72da4d0cd0cfae8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:10.903Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:01:10.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:01:10.979Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:01:11.012Z] $ 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-09-12T22:01:11.336Z] $ docker top 7cf1d93ad916e1bfe1662ebe64366f0cf6d4cbe25d49132b9f5259b28a21308f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:01:11.672Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:01:11.967Z] + make test [2023-09-12T22:01:11.967Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:01:13.340Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-12T22:01:23.304Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-12T22:01:23.304Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-12T22:01:31.416Z] go vet ./... [2023-09-12T22:01:34.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:01:34.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:01:34.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:01:34.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:01:34.741Z] $ docker stop --time=1 7cf1d93ad916e1bfe1662ebe64366f0cf6d4cbe25d49132b9f5259b28a21308f [2023-09-12T22:01:38.085Z] $ docker rm -f --volumes 7cf1d93ad916e1bfe1662ebe64366f0cf6d4cbe25d49132b9f5259b28a21308f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:01:38.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:01:38.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:01:39.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:01:39.348Z] + ls -al . [2023-09-12T22:01:39.348Z] total 144 [2023-09-12T22:01:39.348Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 12 22:01 . [2023-09-12T22:01:39.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:59 .. [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 21:59 .dockerignore [2023-09-12T22:01:39.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:01 .git [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 21:59 .gitignore [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:59 .golangci.yml [2023-09-12T22:01:39.348Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:00 .semver [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 12 21:59 Attribution.txt [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 12 21:59 Dockerfile [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:59 GOVERNANCE.md [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 12 21:59 Jenkinsfile [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:59 LICENSE [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 21:59 Makefile [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 21:59 OWNERS.md [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 12 21:59 README.md [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:00 VERSION [2023-09-12T22:01:39.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:59 bin [2023-09-12T22:01:39.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 cmd [2023-09-12T22:01:39.348Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 22:01 coverage.out [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 12 21:59 go.mod [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 12 21:59 go.sum [2023-09-12T22:01:39.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 internal [2023-09-12T22:01:39.348Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:39.739Z] + 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=eed745f62e362350c96cbc5d7056f691b368baad --label arch=amd64 --label version=3.0.1-dev.3 . [2023-09-12T22:01:39.739Z] Sending build context to Docker daemon 11.11MB [2023-09-12T22:01:39.739Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:01:39.739Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:01:39.739Z] ---> de0d00966c0a [2023-09-12T22:01:39.739Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:01:39.998Z] ---> Running in 5dcecb249845 [2023-09-12T22:01:40.258Z] Removing intermediate container 5dcecb249845 [2023-09-12T22:01:40.258Z] ---> d48e850f0ead [2023-09-12T22:01:40.258Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:01:40.258Z] ---> Running in 0fc378026b9c [2023-09-12T22:01:40.258Z] Removing intermediate container 0fc378026b9c [2023-09-12T22:01:40.258Z] ---> e5ad09cf5ea8 [2023-09-12T22:01:40.258Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:01:40.258Z] ---> Running in 53acf8c252c4 [2023-09-12T22:01:40.258Z] Removing intermediate container 53acf8c252c4 [2023-09-12T22:01:40.258Z] ---> fc57ce057e3e [2023-09-12T22:01:40.258Z] Step 6/25 : WORKDIR /device-uart [2023-09-12T22:01:40.258Z] ---> Running in 6e83101313ee [2023-09-12T22:01:40.517Z] Removing intermediate container 6e83101313ee [2023-09-12T22:01:40.517Z] ---> 628c553e46dc [2023-09-12T22:01:40.517Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:01:40.517Z] ---> Running in 463c3caad6f5 [2023-09-12T22:01:40.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:40.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:41.346Z] OK: 270 MiB in 60 packages [2023-09-12T22:01:41.606Z] Removing intermediate container 463c3caad6f5 [2023-09-12T22:01:41.606Z] ---> 450f67e8b66b [2023-09-12T22:01:41.606Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T22:01:41.913Z] ---> 6a9ee72d3b5e [2023-09-12T22:01:41.913Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:01:41.913Z] ---> Running in 87ebced4704a [2023-09-12T22:01:42.495Z] Removing intermediate container 87ebced4704a [2023-09-12T22:01:42.495Z] ---> 94e547a875a1 [2023-09-12T22:01:42.495Z] Step 10/25 : COPY . . [2023-09-12T22:01:42.887Z] ---> 048ae328a15b [2023-09-12T22:01:42.887Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:01:43.166Z] ---> Running in 62996a048269 [2023-09-12T22:01:43.166Z] Removing intermediate container 62996a048269 [2023-09-12T22:01:43.166Z] ---> ec9edc668a2b [2023-09-12T22:01:43.166Z] Step 12/25 : RUN ${MAKE} [2023-09-12T22:01:43.166Z] ---> Running in 964e25c8319d [2023-09-12T22:01:43.433Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-12T22:02:05.437Z] Removing intermediate container 964e25c8319d [2023-09-12T22:02:05.437Z] ---> f5b965b7fa0a [2023-09-12T22:02:05.437Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:02:05.437Z] 3.18: Pulling from library/alpine [2023-09-12T22:02:05.437Z] 7264a8db6415: Already exists [2023-09-12T22:02:05.437Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:02:05.437Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:02:05.437Z] ---> 7e01a0d0a1dc [2023-09-12T22:02:05.437Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-12T22:02:05.437Z] ---> Running in 336c8c110c6e [2023-09-12T22:02:05.437Z] Removing intermediate container 336c8c110c6e [2023-09-12T22:02:05.437Z] ---> 93f3def19f9d [2023-09-12T22:02:05.437Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:02:05.437Z] ---> Running in b378a18bb252 [2023-09-12T22:02:05.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:02:05.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:02:05.437Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:02:05.437Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:02:05.437Z] OK: 7 MiB in 16 packages [2023-09-12T22:02:05.699Z] Removing intermediate container b378a18bb252 [2023-09-12T22:02:05.699Z] ---> 0489739d1507 [2023-09-12T22:02:05.699Z] Step 16/25 : WORKDIR / [2023-09-12T22:02:05.699Z] ---> Running in 89d74d93894b [2023-09-12T22:02:05.699Z] Removing intermediate container 89d74d93894b [2023-09-12T22:02:05.699Z] ---> d7f3f34838ca [2023-09-12T22:02:05.699Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-12T22:02:05.958Z] ---> cde1246177b0 [2023-09-12T22:02:05.958Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-12T22:02:05.958Z] ---> 23702dc1f726 [2023-09-12T22:02:05.958Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-12T22:02:06.948Z] ---> 2ada4bcaf885 [2023-09-12T22:02:06.948Z] Step 20/25 : EXPOSE 59995 [2023-09-12T22:02:06.948Z] ---> Running in cd78c1101839 [2023-09-12T22:02:06.948Z] Removing intermediate container cd78c1101839 [2023-09-12T22:02:06.948Z] ---> e8c1b4e3422a [2023-09-12T22:02:06.948Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-12T22:02:06.948Z] ---> Running in 4567276e14b1 [2023-09-12T22:02:06.948Z] Removing intermediate container 4567276e14b1 [2023-09-12T22:02:06.948Z] ---> a7ed247d1d94 [2023-09-12T22:02:06.948Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:02:06.948Z] ---> Running in d19dac9b0f0c [2023-09-12T22:02:07.207Z] Removing intermediate container d19dac9b0f0c [2023-09-12T22:02:07.207Z] ---> fdd81b4abc2b [2023-09-12T22:02:07.207Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T22:02:07.207Z] ---> Running in 7bb92efc801c [2023-09-12T22:02:07.207Z] Removing intermediate container 7bb92efc801c [2023-09-12T22:02:07.207Z] ---> 184c32120897 [2023-09-12T22:02:07.207Z] Step 24/25 : LABEL git_sha=eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:02:07.207Z] ---> Running in bf1683d2aae4 [2023-09-12T22:02:07.465Z] Removing intermediate container bf1683d2aae4 [2023-09-12T22:02:07.465Z] ---> bda9432d05e0 [2023-09-12T22:02:07.465Z] Step 25/25 : LABEL version=3.0.1-dev.3 [2023-09-12T22:02:07.465Z] ---> Running in 3f503f7ac8f1 [2023-09-12T22:02:07.465Z] Removing intermediate container 3f503f7ac8f1 [2023-09-12T22:02:07.465Z] ---> 239b40440589 [2023-09-12T22:02:07.465Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:02:07.465Z] Successfully built 239b40440589 [2023-09-12T22:02:07.465Z] 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-09-12T22:02:07.561Z] provisioning config files... [2023-09-12T22:02:07.571Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12048321943388357895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:02:07.864Z] ---> docker-login.sh [2023-09-12T22:02:07.864Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:02:07.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:07.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:07.865Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:07.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:07.865Z] [2023-09-12T22:02:07.865Z] Login Succeeded [2023-09-12T22:02:07.865Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:02:07.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:07.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:07.865Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:07.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:07.865Z] [2023-09-12T22:02:07.865Z] Login Succeeded [2023-09-12T22:02:07.865Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:02:08.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:08.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:08.123Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:08.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:08.123Z] [2023-09-12T22:02:08.123Z] Login Succeeded [2023-09-12T22:02:08.123Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:02:08.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:08.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:08.123Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:08.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:08.123Z] [2023-09-12T22:02:08.123Z] Login Succeeded [2023-09-12T22:02:08.123Z] docker.io [2023-09-12T22:02:08.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:08.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:08.381Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:08.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:08.381Z] [2023-09-12T22:02:08.381Z] Login Succeeded [2023-09-12T22:02:08.381Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:02:08.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:02:08.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:02:08.444Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-09-12T22:02:08.444Z] eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:02:08.444Z] latest [2023-09-12T22:02:08.444Z] 3.0.1-dev.3 [2023-09-12T22:02:08.444Z] eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:02:08.444Z] main [2023-09-12T22:02:08.444Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:08.775Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:09.077Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:02:09.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-12T22:02:09.077Z] 26c8b486e8a4: Preparing [2023-09-12T22:02:09.077Z] 770fdf78e378: Preparing [2023-09-12T22:02:09.077Z] ca029938e6f1: Preparing [2023-09-12T22:02:09.077Z] 7828c1e31d40: Preparing [2023-09-12T22:02:09.077Z] 4693057ce236: Preparing [2023-09-12T22:02:09.077Z] 4693057ce236: Layer already exists [2023-09-12T22:02:09.077Z] ca029938e6f1: Pushed [2023-09-12T22:02:09.077Z] 770fdf78e378: Pushed [2023-09-12T22:02:09.077Z] 7828c1e31d40: Pushed [2023-09-12T22:02:12.363Z] 26c8b486e8a4: Pushed [2023-09-12T22:02:12.363Z] eed745f62e362350c96cbc5d7056f691b368baad: digest: sha256:f942d9f19472d1f2263ddcf73058e43df5f44da4a4c061c5f8c80b97c0b045c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:12.690Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:12.991Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-09-12T22:02:12.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-12T22:02:12.991Z] 26c8b486e8a4: Preparing [2023-09-12T22:02:12.991Z] 770fdf78e378: Preparing [2023-09-12T22:02:12.991Z] ca029938e6f1: Preparing [2023-09-12T22:02:12.991Z] 7828c1e31d40: Preparing [2023-09-12T22:02:12.991Z] 4693057ce236: Preparing [2023-09-12T22:02:12.991Z] 770fdf78e378: Layer already exists [2023-09-12T22:02:12.991Z] 26c8b486e8a4: Layer already exists [2023-09-12T22:02:12.991Z] 7828c1e31d40: Layer already exists [2023-09-12T22:02:12.991Z] 4693057ce236: Layer already exists [2023-09-12T22:02:12.991Z] ca029938e6f1: Layer already exists [2023-09-12T22:02:12.991Z] latest: digest: sha256:f942d9f19472d1f2263ddcf73058e43df5f44da4a4c061c5f8c80b97c0b045c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:13.302Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:13.614Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.3 [2023-09-12T22:02:13.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-12T22:02:13.614Z] 26c8b486e8a4: Preparing [2023-09-12T22:02:13.614Z] 770fdf78e378: Preparing [2023-09-12T22:02:13.614Z] ca029938e6f1: Preparing [2023-09-12T22:02:13.614Z] 7828c1e31d40: Preparing [2023-09-12T22:02:13.614Z] 4693057ce236: Preparing [2023-09-12T22:02:13.614Z] 7828c1e31d40: Layer already exists [2023-09-12T22:02:13.614Z] 4693057ce236: Layer already exists [2023-09-12T22:02:13.614Z] 770fdf78e378: Layer already exists [2023-09-12T22:02:13.614Z] ca029938e6f1: Layer already exists [2023-09-12T22:02:13.614Z] 26c8b486e8a4: Layer already exists [2023-09-12T22:02:13.614Z] 3.0.1-dev.3: digest: sha256:f942d9f19472d1f2263ddcf73058e43df5f44da4a4c061c5f8c80b97c0b045c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:13.931Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:14.245Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:02:14.245Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-12T22:02:14.245Z] 26c8b486e8a4: Preparing [2023-09-12T22:02:14.245Z] 770fdf78e378: Preparing [2023-09-12T22:02:14.245Z] ca029938e6f1: Preparing [2023-09-12T22:02:14.245Z] 7828c1e31d40: Preparing [2023-09-12T22:02:14.245Z] 4693057ce236: Preparing [2023-09-12T22:02:14.245Z] 4693057ce236: Layer already exists [2023-09-12T22:02:14.245Z] ca029938e6f1: Layer already exists [2023-09-12T22:02:14.245Z] 7828c1e31d40: Layer already exists [2023-09-12T22:02:14.245Z] 26c8b486e8a4: Layer already exists [2023-09-12T22:02:14.245Z] 770fdf78e378: Layer already exists [2023-09-12T22:02:14.245Z] eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3: digest: sha256:f942d9f19472d1f2263ddcf73058e43df5f44da4a4c061c5f8c80b97c0b045c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:14.579Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:14.885Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-09-12T22:02:14.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-12T22:02:14.885Z] 26c8b486e8a4: Preparing [2023-09-12T22:02:14.885Z] 770fdf78e378: Preparing [2023-09-12T22:02:14.885Z] ca029938e6f1: Preparing [2023-09-12T22:02:14.885Z] 7828c1e31d40: Preparing [2023-09-12T22:02:14.885Z] 4693057ce236: Preparing [2023-09-12T22:02:14.885Z] ca029938e6f1: Layer already exists [2023-09-12T22:02:14.885Z] 4693057ce236: Layer already exists [2023-09-12T22:02:14.885Z] 26c8b486e8a4: Layer already exists [2023-09-12T22:02:14.885Z] 770fdf78e378: Layer already exists [2023-09-12T22:02:14.885Z] 7828c1e31d40: Layer already exists [2023-09-12T22:02:14.885Z] main: digest: sha256:f942d9f19472d1f2263ddcf73058e43df5f44da4a4c061c5f8c80b97c0b045c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:02:14.933Z] ===================================================== [Pipeline] echo [2023-09-12T22:02:14.943Z] taggedImages: [2023-09-12T22:02:14.943Z] - nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:02:14.943Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-09-12T22:02:14.943Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.3 [2023-09-12T22:02:14.943Z] - nexus3.edgexfoundry.org:10004/device-uart:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:02:14.943Z] - 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-09-12T22:02:15.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:02:15.314Z] [2023-09-12T22:02:15.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:15.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:02:15.611Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:02:15.611Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:02:15.611Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:02:15.611Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:02:15.611Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:02:15.611Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:02:15.611Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:02:15.611Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:02:15.611Z] 33b1e0a273af: Waiting [2023-09-12T22:02:15.611Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:02:15.611Z] 5d3b04190fa2: Waiting [2023-09-12T22:02:15.611Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:02:15.611Z] 5c69ac0246d0: Download complete [2023-09-12T22:02:15.611Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:02:15.611Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:02:15.611Z] 33b1e0a273af: Download complete [2023-09-12T22:02:15.611Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:02:15.611Z] ec43610c2a17: Download complete [2023-09-12T22:02:15.611Z] 5d3b04190fa2: Download complete [2023-09-12T22:02:15.871Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:02:15.871Z] 5eb5b503b376: Download complete [2023-09-12T22:02:16.435Z] 2f39f015ded8: Download complete [2023-09-12T22:02:17.373Z] 5eb5b503b376: Pull complete [2023-09-12T22:02:17.373Z] 5c69ac0246d0: Pull complete [2023-09-12T22:02:17.632Z] ec43610c2a17: Pull complete [2023-09-12T22:02:17.890Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:02:18.147Z] 33b1e0a273af: Pull complete [2023-09-12T22:02:18.148Z] 5d3b04190fa2: Pull complete [2023-09-12T22:02:23.411Z] 2f39f015ded8: Pull complete [2023-09-12T22:02:23.411Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:02:23.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:02:23.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:02:23.495Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:02:23.526Z] $ 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-09-12T22:02:27.399Z] $ docker top a0e9f291a87904c707f4d09656ce9e25b02cb038cb2f4277a5c7788e99686e85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:02:27.770Z] ---> job-cost.sh [2023-09-12T22:02:27.770Z] lf-activate-venv: SKIPPING [2023-09-12T22:02:27.770Z] INFO: No Stack... [2023-09-12T22:02:28.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:02:28.599Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:02:28.884Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-09-12T22:02:28.884Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:02:28.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [2023-09-12T22:02:28.903Z] Resource [jenkins-edgexfoundry-device-uart-main-9-stack-cost] did not exist. Created. [2023-09-12T22:02:28.903Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:02:29.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:02:29.236Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:02:29.242Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:02:29.262Z] $ docker stop --time=1 a0e9f291a87904c707f4d09656ce9e25b02cb038cb2f4277a5c7788e99686e85 [2023-09-12T22:02:30.428Z] $ docker rm -f --volumes a0e9f291a87904c707f4d09656ce9e25b02cb038cb2f4277a5c7788e99686e85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:03:45.313Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6024 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-09-12T22:03:45.327Z] Running in /w/workspace/device-uart/9 [Pipeline] { [Pipeline] checkout [2023-09-12T22:03:45.368Z] The recommended git tool is: git [2023-09-12T22:03:51.255Z] using credential edgex-jenkins-ssh [2023-09-12T22:03:51.269Z] Cloning the remote Git repository [2023-09-12T22:03:51.307Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-09-12T22:03:51.403Z] > git init /w/workspace/device-uart/9 # timeout=10 [2023-09-12T22:03:51.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-09-12T22:03:51.591Z] > git --version # timeout=10 [2023-09-12T22:03:51.616Z] > git --version # 'git version 2.25.1' [2023-09-12T22:03:51.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:03:51.786Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:03:53.919Z] Avoid second fetch [2023-09-12T22:03:53.920Z] Checking out Revision eed745f62e362350c96cbc5d7056f691b368baad (main) [2023-09-12T22:03:52.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-09-12T22:03:52.912Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:03:53.926Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:03:54.009Z] > git checkout -f eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 [2023-09-12T22:03:54.534Z] Commit message: "Merge pull request #24 from lenny-intel/go-1.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:03:55.360Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:03:55.360Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:03:55.360Z] Dload Upload Total Spent Left Speed [2023-09-12T22:03:55.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-09-12T22:03:56.018Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:03:56.358Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:03:56.358Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:03:56.358Z] { [2023-09-12T22:03:56.358Z] "registry-mirrors": [ [2023-09-12T22:03:56.358Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:03:56.358Z] ], [2023-09-12T22:03:56.358Z] "bip": "10.250.0.254/24", [2023-09-12T22:03:56.358Z] "hosts": [ [2023-09-12T22:03:56.358Z] "tcp://0.0.0.0:5555", [2023-09-12T22:03:56.358Z] "unix:///var/run/docker.sock" [2023-09-12T22:03:56.358Z] ], [2023-09-12T22:03:56.358Z] "mtu": 1458, [2023-09-12T22:03:56.358Z] "selinux-enabled": true, [2023-09-12T22:03:56.358Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:03:56.358Z] } [Pipeline] sh [2023-09-12T22:03:56.683Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:03:57.032Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:04:15.334Z] provisioning config files... [2023-09-12T22:04:15.366Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/9@tmp/config11127513044693549628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:04:15.741Z] ---> docker-login.sh [2023-09-12T22:04:15.741Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:04:16.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:16.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:16.336Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:16.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:16.336Z] [2023-09-12T22:04:16.336Z] Login Succeeded [2023-09-12T22:04:16.336Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:04:16.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:16.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:16.888Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:16.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:16.888Z] [2023-09-12T22:04:16.888Z] Login Succeeded [2023-09-12T22:04:16.888Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:04:17.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:17.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:17.162Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:17.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:17.162Z] [2023-09-12T22:04:17.162Z] Login Succeeded [2023-09-12T22:04:17.162Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:04:17.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:17.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:17.711Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:17.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:17.711Z] [2023-09-12T22:04:17.711Z] Login Succeeded [2023-09-12T22:04:17.711Z] docker.io [2023-09-12T22:04:17.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:18.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:18.255Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:18.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:18.255Z] [2023-09-12T22:04:18.255Z] Login Succeeded [2023-09-12T22:04:18.255Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:04:18.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:04:18.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:04:18.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:04:18.621Z] ========================================================= [2023-09-12T22:04:18.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:04:18.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:18.983Z] + 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-09-12T22:04:19.257Z] Sending build context to Docker daemon 5.594MB [2023-09-12T22:04:19.257Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:04:19.257Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:04:19.536Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:04:19.536Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:04:19.536Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:04:19.536Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:04:19.536Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:04:19.536Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:04:19.536Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:04:19.536Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:04:19.536Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:04:19.536Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:04:19.536Z] f0e02332f6b5: Waiting [2023-09-12T22:04:19.536Z] 66412af1f25a: Waiting [2023-09-12T22:04:19.536Z] 1baf3a5c0e64: Waiting [2023-09-12T22:04:19.536Z] a29adfc67d43: Waiting [2023-09-12T22:04:19.536Z] d5de9f91c1a4: Waiting [2023-09-12T22:04:19.536Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:04:19.536Z] 5d54e960e981: Download complete [2023-09-12T22:04:19.536Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:04:19.536Z] f0e02332f6b5: Download complete [2023-09-12T22:04:19.536Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:04:19.536Z] 66412af1f25a: Download complete [2023-09-12T22:04:19.536Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T22:04:19.536Z] 9fda8d8052c6: Download complete [2023-09-12T22:04:20.138Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:04:20.138Z] 9a37bb91b891: Download complete [2023-09-12T22:04:20.772Z] 9fda8d8052c6: Pull complete [2023-09-12T22:04:20.772Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:04:20.772Z] a29adfc67d43: Download complete [2023-09-12T22:04:21.762Z] 5d54e960e981: Pull complete [2023-09-12T22:04:21.762Z] d5de9f91c1a4: Download complete [2023-09-12T22:04:21.762Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:04:21.762Z] c4a7e357bf2a: Download complete [2023-09-12T22:04:22.733Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:04:22.733Z] 1baf3a5c0e64: Download complete [2023-09-12T22:04:35.096Z] c4a7e357bf2a: Pull complete [2023-09-12T22:04:35.096Z] f0e02332f6b5: Pull complete [2023-09-12T22:04:35.096Z] 66412af1f25a: Pull complete [2023-09-12T22:04:40.664Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:04:42.141Z] 9a37bb91b891: Pull complete [2023-09-12T22:04:43.565Z] a29adfc67d43: Pull complete [2023-09-12T22:04:45.514Z] d5de9f91c1a4: Pull complete [2023-09-12T22:04:45.514Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:04:45.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:04:45.514Z] ---> 746ca1b523b5 [2023-09-12T22:04:45.514Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:04:47.498Z] ---> Running in 8bdc780a8d49 [2023-09-12T22:04:47.786Z] Removing intermediate container 8bdc780a8d49 [2023-09-12T22:04:47.786Z] ---> a1bff8e5512c [2023-09-12T22:04:47.786Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:04:47.786Z] ---> Running in 13ff67a412f7 [2023-09-12T22:04:48.057Z] Removing intermediate container 13ff67a412f7 [2023-09-12T22:04:48.057Z] ---> 47a37b4d9956 [2023-09-12T22:04:48.057Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:04:48.329Z] ---> Running in 04a2ce97e5b5 [2023-09-12T22:04:48.604Z] Removing intermediate container 04a2ce97e5b5 [2023-09-12T22:04:48.604Z] ---> ba6f14eae10e [2023-09-12T22:04:48.604Z] Step 6/12 : WORKDIR /device-uart [2023-09-12T22:04:48.604Z] ---> Running in 50b70a18aa3f [2023-09-12T22:04:48.874Z] Removing intermediate container 50b70a18aa3f [2023-09-12T22:04:48.874Z] ---> 604bdf87fd41 [2023-09-12T22:04:48.874Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:04:49.147Z] ---> Running in 9f52fe4fe7d0 [2023-09-12T22:04:50.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:04:50.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:04:52.145Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:04:52.145Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:04:52.145Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:04:52.145Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:04:52.145Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:04:52.145Z] OK: 272 MiB in 60 packages [2023-09-12T22:04:55.503Z] Removing intermediate container 9f52fe4fe7d0 [2023-09-12T22:04:55.503Z] ---> 4f62e3182f89 [2023-09-12T22:04:55.503Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T22:04:55.772Z] ---> fd6c21ae03a3 [2023-09-12T22:04:55.772Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:04:55.772Z] ---> Running in 87c4d1a50be5 [2023-09-12T22:06:17.449Z] Removing intermediate container 87c4d1a50be5 [2023-09-12T22:06:17.449Z] ---> b2a610812a30 [2023-09-12T22:06:17.449Z] Step 10/12 : COPY . . [2023-09-12T22:06:17.449Z] ---> 5951f788b180 [2023-09-12T22:06:17.449Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:06:17.449Z] ---> Running in db3d6eb16f6f [2023-09-12T22:06:17.449Z] Removing intermediate container db3d6eb16f6f [2023-09-12T22:06:17.449Z] ---> 1c37132da02d [2023-09-12T22:06:17.449Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:06:17.449Z] ---> Running in 349d662df800 [2023-09-12T22:06:17.449Z] noop [2023-09-12T22:06:17.449Z] Removing intermediate container 349d662df800 [2023-09-12T22:06:17.449Z] ---> 170631f69f94 [2023-09-12T22:06:17.449Z] Successfully built 170631f69f94 [2023-09-12T22:06:17.449Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:17.801Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:06:17.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:18.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-6024 does not seem to be running inside a container [2023-09-12T22:06:18.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/9 -v /w/workspace/device-uart/9:/w/workspace/device-uart/9:rw,z -v /w/workspace/device-uart/9@tmp:/w/workspace/device-uart/9@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-arm64 cat [2023-09-12T22:06:19.389Z] $ docker top 9aa98a34819faa64fc0b1e75f53669df387117e065dfa8e426b0337b862986f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:20.141Z] + go version [2023-09-12T22:06:20.141Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:06:20.156Z] $ docker stop --time=1 9aa98a34819faa64fc0b1e75f53669df387117e065dfa8e426b0337b862986f1 [2023-09-12T22:06:21.797Z] $ docker rm -f --volumes 9aa98a34819faa64fc0b1e75f53669df387117e065dfa8e426b0337b862986f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:22.355Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:06:22.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:22.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-6024 does not seem to be running inside a container [2023-09-12T22:06:22.636Z] $ 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/9 -v /w/workspace/device-uart/9:/w/workspace/device-uart/9:rw,z -v /w/workspace/device-uart/9@tmp:/w/workspace/device-uart/9@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-arm64 cat [2023-09-12T22:06:23.857Z] $ docker top 41d341150cbd703277cba882001c23cdff3eb8e5df424ab5d2eb743cce4d71b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:24.711Z] + git config --global --add safe.directory /w/workspace/device-uart/9 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:06:25.361Z] + make test [2023-09-12T22:06:25.361Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:06:29.639Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-12T22:08:36.390Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-12T22:08:36.390Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-12T22:08:36.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:08:36.390Z] go vet ./... [2023-09-12T22:09:08.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:09:08.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:09:08.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:09:08.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:09:08.745Z] $ docker stop --time=1 41d341150cbd703277cba882001c23cdff3eb8e5df424ab5d2eb743cce4d71b0 [2023-09-12T22:09:10.664Z] $ docker rm -f --volumes 41d341150cbd703277cba882001c23cdff3eb8e5df424ab5d2eb743cce4d71b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:09:11.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:09:11.905Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:09:12.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:09:12.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:09:13.168Z] + ls -al . [2023-09-12T22:09:13.168Z] total 140 [2023-09-12T22:09:13.168Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 22:06 . [2023-09-12T22:09:13.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:03 .. [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:03 .dockerignore [2023-09-12T22:09:13.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:03 .git [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 22:03 .gitignore [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:03 .golangci.yml [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 12 22:03 Attribution.txt [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 12 22:03 Dockerfile [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:03 GOVERNANCE.md [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 12 22:03 Jenkinsfile [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:03 LICENSE [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 22:03 Makefile [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 22:03 OWNERS.md [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 12 22:03 README.md [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:00 VERSION [2023-09-12T22:09:13.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:03 bin [2023-09-12T22:09:13.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:03 cmd [2023-09-12T22:09:13.169Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 22:06 coverage.out [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 12 22:03 go.mod [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 12 22:03 go.sum [2023-09-12T22:09:13.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:03 internal [2023-09-12T22:09:13.169Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 22:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:09:13.522Z] + 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=eed745f62e362350c96cbc5d7056f691b368baad --label arch=arm64 --label version=3.0.1-dev.3 . [2023-09-12T22:09:13.794Z] Sending build context to Docker daemon 5.595MB [2023-09-12T22:09:13.794Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:09:13.794Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:09:13.794Z] ---> 170631f69f94 [2023-09-12T22:09:13.794Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:09:14.065Z] ---> Running in 1262984f72d0 [2023-09-12T22:09:14.336Z] Removing intermediate container 1262984f72d0 [2023-09-12T22:09:14.336Z] ---> eede48c7da40 [2023-09-12T22:09:14.336Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:09:14.336Z] ---> Running in 82b6968e44c2 [2023-09-12T22:09:14.607Z] Removing intermediate container 82b6968e44c2 [2023-09-12T22:09:14.607Z] ---> 9bacdeb94e2c [2023-09-12T22:09:14.607Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:09:14.881Z] ---> Running in 3a3ceaed28da [2023-09-12T22:09:15.151Z] Removing intermediate container 3a3ceaed28da [2023-09-12T22:09:15.151Z] ---> 9b1e129bc46e [2023-09-12T22:09:15.151Z] Step 6/25 : WORKDIR /device-uart [2023-09-12T22:09:15.151Z] ---> Running in 3888bd9a1f20 [2023-09-12T22:09:15.743Z] Removing intermediate container 3888bd9a1f20 [2023-09-12T22:09:15.743Z] ---> bec0f4001ed6 [2023-09-12T22:09:15.743Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:09:15.743Z] ---> Running in cdcc6ba5504a [2023-09-12T22:09:16.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:09:17.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:09:18.713Z] OK: 272 MiB in 60 packages [2023-09-12T22:09:19.515Z] Removing intermediate container cdcc6ba5504a [2023-09-12T22:09:19.515Z] ---> f0bca0fc8631 [2023-09-12T22:09:19.515Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T22:09:20.104Z] ---> ae7fd90a351f [2023-09-12T22:09:20.104Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:09:20.104Z] ---> Running in 0e98159290de [2023-09-12T22:09:24.381Z] Removing intermediate container 0e98159290de [2023-09-12T22:09:24.381Z] ---> a3ac8e41c63c [2023-09-12T22:09:24.381Z] Step 10/25 : COPY . . [2023-09-12T22:09:24.971Z] ---> 6b302978ea7c [2023-09-12T22:09:24.971Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:09:24.971Z] ---> Running in 9767032ee856 [2023-09-12T22:09:25.252Z] Removing intermediate container 9767032ee856 [2023-09-12T22:09:25.252Z] ---> de35d3800dbd [2023-09-12T22:09:25.252Z] Step 12/25 : RUN ${MAKE} [2023-09-12T22:09:25.252Z] ---> Running in 6243a7feff37 [2023-09-12T22:09:26.675Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-12T22:11:50.755Z] Removing intermediate container 6243a7feff37 [2023-09-12T22:11:50.755Z] ---> 98ae152354bc [2023-09-12T22:11:50.755Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:11:50.755Z] 3.18: Pulling from library/alpine [2023-09-12T22:11:50.755Z] 9fda8d8052c6: Already exists [2023-09-12T22:11:50.755Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:11:50.755Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:11:50.755Z] ---> f6648c04cd6c [2023-09-12T22:11:50.755Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-12T22:11:50.755Z] ---> Running in 97e18dd2e29f [2023-09-12T22:11:50.755Z] Removing intermediate container 97e18dd2e29f [2023-09-12T22:11:50.755Z] ---> b3a86bef1c70 [2023-09-12T22:11:50.755Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:11:50.755Z] ---> Running in 92f17a5e5ae6 [2023-09-12T22:11:50.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:11:50.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:11:50.755Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:11:50.755Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:11:50.755Z] OK: 8 MiB in 16 packages [2023-09-12T22:11:50.755Z] Removing intermediate container 92f17a5e5ae6 [2023-09-12T22:11:50.755Z] ---> 5f1232270809 [2023-09-12T22:11:50.755Z] Step 16/25 : WORKDIR / [2023-09-12T22:11:50.755Z] ---> Running in 1ae158942b13 [2023-09-12T22:11:50.755Z] Removing intermediate container 1ae158942b13 [2023-09-12T22:11:50.755Z] ---> c4efacd6d1b7 [2023-09-12T22:11:50.755Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-12T22:11:50.755Z] ---> b15b7b1f6c1a [2023-09-12T22:11:50.755Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-12T22:11:50.755Z] ---> 300e27f53ffe [2023-09-12T22:11:50.755Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-12T22:11:51.025Z] ---> 1c844a632aa0 [2023-09-12T22:11:51.025Z] Step 20/25 : EXPOSE 59995 [2023-09-12T22:11:51.025Z] ---> Running in f8acbd0fa741 [2023-09-12T22:11:51.295Z] Removing intermediate container f8acbd0fa741 [2023-09-12T22:11:51.295Z] ---> 320147e36240 [2023-09-12T22:11:51.295Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-12T22:11:51.295Z] ---> Running in 8db18ddfe71c [2023-09-12T22:11:51.887Z] Removing intermediate container 8db18ddfe71c [2023-09-12T22:11:51.887Z] ---> 20f43f148096 [2023-09-12T22:11:51.887Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:11:51.887Z] ---> Running in 3905fb35f405 [2023-09-12T22:11:52.155Z] Removing intermediate container 3905fb35f405 [2023-09-12T22:11:52.155Z] ---> 1fa1697cd1e0 [2023-09-12T22:11:52.155Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T22:11:52.155Z] ---> Running in d87618e8381e [2023-09-12T22:11:52.425Z] Removing intermediate container d87618e8381e [2023-09-12T22:11:52.426Z] ---> 8ec04711ef8a [2023-09-12T22:11:52.426Z] Step 24/25 : LABEL git_sha=eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:11:52.695Z] ---> Running in 8b888dba4b64 [2023-09-12T22:11:52.964Z] Removing intermediate container 8b888dba4b64 [2023-09-12T22:11:52.964Z] ---> 8476a83a45c3 [2023-09-12T22:11:52.964Z] Step 25/25 : LABEL version=3.0.1-dev.3 [2023-09-12T22:11:52.964Z] ---> Running in 16cc23ec2bdd [2023-09-12T22:11:53.231Z] Removing intermediate container 16cc23ec2bdd [2023-09-12T22:11:53.231Z] ---> b078bd935bb2 [2023-09-12T22:11:53.231Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:11:53.231Z] Successfully built b078bd935bb2 [2023-09-12T22:11:53.231Z] 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-09-12T22:11:53.329Z] provisioning config files... [2023-09-12T22:11:53.346Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/9@tmp/config13319112732533559481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:53.685Z] ---> docker-login.sh [2023-09-12T22:11:53.686Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:11:53.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:53.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:53.953Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:53.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:53.953Z] [2023-09-12T22:11:53.953Z] Login Succeeded [2023-09-12T22:11:53.953Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:11:54.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:54.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:54.491Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:54.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:54.491Z] [2023-09-12T22:11:54.491Z] Login Succeeded [2023-09-12T22:11:54.491Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:11:54.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:54.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:54.762Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:54.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:54.762Z] [2023-09-12T22:11:54.762Z] Login Succeeded [2023-09-12T22:11:54.762Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:11:55.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:55.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:55.300Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:55.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:55.300Z] [2023-09-12T22:11:55.300Z] Login Succeeded [2023-09-12T22:11:55.300Z] docker.io [2023-09-12T22:11:55.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:55.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:55.838Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:55.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:55.838Z] [2023-09-12T22:11:55.838Z] Login Succeeded [2023-09-12T22:11:55.838Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:11:55.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:11:55.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:11:55.897Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-09-12T22:11:55.897Z] eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:11:55.897Z] latest [2023-09-12T22:11:55.897Z] 3.0.1-dev.3 [2023-09-12T22:11:55.897Z] eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:11:55.897Z] main [2023-09-12T22:11:55.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:11:56.247Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:11:56.605Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:11:56.606Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-12T22:11:56.606Z] d5e7eb43b561: Preparing [2023-09-12T22:11:56.606Z] e566365c96a8: Preparing [2023-09-12T22:11:56.606Z] ea9fc17667a4: Preparing [2023-09-12T22:11:56.606Z] ef3005f6f925: Preparing [2023-09-12T22:11:56.606Z] b2191e2be29d: Preparing [2023-09-12T22:11:56.606Z] b2191e2be29d: Layer already exists [2023-09-12T22:11:56.875Z] e566365c96a8: Pushed [2023-09-12T22:11:56.875Z] ea9fc17667a4: Pushed [2023-09-12T22:11:56.875Z] ef3005f6f925: Pushed [2023-09-12T22:12:03.537Z] d5e7eb43b561: Pushed [2023-09-12T22:12:03.537Z] eed745f62e362350c96cbc5d7056f691b368baad: digest: sha256:66bf2771bcc0f393292a0187c072c2c479fb08e5dd38866cdc7344be4e987994 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:03.980Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:04.349Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-09-12T22:12:04.349Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-12T22:12:04.349Z] d5e7eb43b561: Preparing [2023-09-12T22:12:04.349Z] e566365c96a8: Preparing [2023-09-12T22:12:04.349Z] ea9fc17667a4: Preparing [2023-09-12T22:12:04.349Z] ef3005f6f925: Preparing [2023-09-12T22:12:04.349Z] b2191e2be29d: Preparing [2023-09-12T22:12:04.349Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:04.349Z] ea9fc17667a4: Layer already exists [2023-09-12T22:12:04.349Z] ef3005f6f925: Layer already exists [2023-09-12T22:12:04.349Z] d5e7eb43b561: Layer already exists [2023-09-12T22:12:04.349Z] e566365c96a8: Layer already exists [2023-09-12T22:12:04.622Z] latest: digest: sha256:66bf2771bcc0f393292a0187c072c2c479fb08e5dd38866cdc7344be4e987994 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:04.981Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:05.330Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.3 [2023-09-12T22:12:05.330Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-12T22:12:05.330Z] d5e7eb43b561: Preparing [2023-09-12T22:12:05.330Z] e566365c96a8: Preparing [2023-09-12T22:12:05.330Z] ea9fc17667a4: Preparing [2023-09-12T22:12:05.330Z] ef3005f6f925: Preparing [2023-09-12T22:12:05.330Z] b2191e2be29d: Preparing [2023-09-12T22:12:05.330Z] d5e7eb43b561: Layer already exists [2023-09-12T22:12:05.330Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:05.330Z] ef3005f6f925: Layer already exists [2023-09-12T22:12:05.330Z] ea9fc17667a4: Layer already exists [2023-09-12T22:12:05.330Z] e566365c96a8: Layer already exists [2023-09-12T22:12:05.603Z] 3.0.1-dev.3: digest: sha256:66bf2771bcc0f393292a0187c072c2c479fb08e5dd38866cdc7344be4e987994 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:05.969Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:06.322Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:12:06.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-12T22:12:06.322Z] d5e7eb43b561: Preparing [2023-09-12T22:12:06.322Z] e566365c96a8: Preparing [2023-09-12T22:12:06.322Z] ea9fc17667a4: Preparing [2023-09-12T22:12:06.322Z] ef3005f6f925: Preparing [2023-09-12T22:12:06.322Z] b2191e2be29d: Preparing [2023-09-12T22:12:06.322Z] ef3005f6f925: Layer already exists [2023-09-12T22:12:06.322Z] ea9fc17667a4: Layer already exists [2023-09-12T22:12:06.322Z] e566365c96a8: Layer already exists [2023-09-12T22:12:06.322Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:06.322Z] d5e7eb43b561: Layer already exists [2023-09-12T22:12:06.322Z] eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3: digest: sha256:66bf2771bcc0f393292a0187c072c2c479fb08e5dd38866cdc7344be4e987994 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:06.935Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:07.286Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-09-12T22:12:07.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-12T22:12:07.286Z] d5e7eb43b561: Preparing [2023-09-12T22:12:07.286Z] e566365c96a8: Preparing [2023-09-12T22:12:07.286Z] ea9fc17667a4: Preparing [2023-09-12T22:12:07.286Z] ef3005f6f925: Preparing [2023-09-12T22:12:07.286Z] b2191e2be29d: Preparing [2023-09-12T22:12:07.286Z] e566365c96a8: Layer already exists [2023-09-12T22:12:07.286Z] d5e7eb43b561: Layer already exists [2023-09-12T22:12:07.286Z] ea9fc17667a4: Layer already exists [2023-09-12T22:12:07.286Z] ef3005f6f925: Layer already exists [2023-09-12T22:12:07.286Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:07.554Z] main: digest: sha256:66bf2771bcc0f393292a0187c072c2c479fb08e5dd38866cdc7344be4e987994 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:12:07.610Z] ===================================================== [Pipeline] echo [2023-09-12T22:12:07.622Z] taggedImages: [2023-09-12T22:12:07.622Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad [2023-09-12T22:12:07.622Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-09-12T22:12:07.622Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.3 [2023-09-12T22:12:07.622Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:eed745f62e362350c96cbc5d7056f691b368baad-3.0.1-dev.3 [2023-09-12T22:12:07.622Z] - 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-09-12T22:12:07.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:07.999Z] [2023-09-12T22:12:07.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:08.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:08.343Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:12:08.343Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:12:08.343Z] 04944245beec: Pulling fs layer [2023-09-12T22:12:08.343Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:12:08.343Z] 765212b225bb: Pulling fs layer [2023-09-12T22:12:08.343Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:12:08.343Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:12:08.343Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:12:08.343Z] f23df028b6ca: Waiting [2023-09-12T22:12:08.343Z] 765212b225bb: Waiting [2023-09-12T22:12:08.343Z] 2437ff75d9bd: Waiting [2023-09-12T22:12:08.616Z] 04944245beec: Verifying Checksum [2023-09-12T22:12:08.616Z] 04944245beec: Download complete [2023-09-12T22:12:08.616Z] 765212b225bb: Verifying Checksum [2023-09-12T22:12:08.616Z] 765212b225bb: Download complete [2023-09-12T22:12:08.616Z] f23df028b6ca: Download complete [2023-09-12T22:12:08.616Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:12:08.616Z] d65c8cfc05b1: Download complete [2023-09-12T22:12:08.889Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:12:08.889Z] 699f458cf7ca: Download complete [2023-09-12T22:12:09.159Z] 8998bd30e6a1: Download complete [2023-09-12T22:12:11.752Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:12:11.752Z] 2437ff75d9bd: Download complete [2023-09-12T22:12:13.165Z] 8998bd30e6a1: Pull complete [2023-09-12T22:12:13.753Z] 04944245beec: Pull complete [2023-09-12T22:12:15.165Z] 699f458cf7ca: Pull complete [2023-09-12T22:12:15.434Z] 765212b225bb: Pull complete [2023-09-12T22:12:16.402Z] f23df028b6ca: Pull complete [2023-09-12T22:12:16.402Z] d65c8cfc05b1: Pull complete [2023-09-12T22:12:31.407Z] 2437ff75d9bd: Pull complete [2023-09-12T22:12:31.407Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:12:31.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:31.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:12:31.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-6024 does not seem to be running inside a container [2023-09-12T22:12:31.708Z] $ 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/9 -v /w/workspace/device-uart/9:/w/workspace/device-uart/9:rw,z -v /w/workspace/device-uart/9@tmp:/w/workspace/device-uart/9@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:arm64 cat [2023-09-12T22:12:34.613Z] $ docker top d33a8ec57e1329d1a1747eaec524a0a68d42497573078f9ab1272f408bb6f6a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:12:35.485Z] ---> job-cost.sh [2023-09-12T22:12:35.485Z] lf-activate-venv: SKIPPING [2023-09-12T22:12:35.485Z] INFO: No Stack... [2023-09-12T22:12:36.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:12:36.657Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:12:37.297Z] + cat /w/workspace/device-uart/9/archives/cost.csv [2023-09-12T22:12:37.297Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:12:37.376Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [2023-09-12T22:12:37.384Z] Resource [jenkins-edgexfoundry-device-uart-main-9-stack-cost] did not exist. Created. [2023-09-12T22:12:37.384Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:12:38.051Z] /w/workspace/device-uart/9@tmp/durable-fa1db6f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:12:38.709Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:12:38.731Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:12:38.786Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:12:38.799Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:12:38.811Z] $ docker stop --time=1 d33a8ec57e1329d1a1747eaec524a0a68d42497573078f9ab1272f408bb6f6a9 [2023-09-12T22:12:40.321Z] $ docker rm -f --volumes d33a8ec57e1329d1a1747eaec524a0a68d42497573078f9ab1272f408bb6f6a9 [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-09-12T22:12:40.695Z] provisioning config files... [2023-09-12T22:12:40.702Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17764176009268829514tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:12:40.999Z] + set +x [2023-09-12T22:12:40.999Z] + + bash -s -- [2023-09-12T22:12:40.999Z] curl -s https://codecov.io/bash [2023-09-12T22:12:40.999Z] [2023-09-12T22:12:40.999Z] _____ _ [2023-09-12T22:12:40.999Z] / ____| | | [2023-09-12T22:12:40.999Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:12:40.999Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:12:40.999Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:12:40.999Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:12:40.999Z] Bash-1.0.6 [2023-09-12T22:12:40.999Z] [2023-09-12T22:12:40.999Z] [2023-09-12T22:12:40.999Z] ==> git version 2.25.1 found [2023-09-12T22:12:40.999Z] ==> 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-09-12T22:12:40.999Z] Release-Date: 2020-01-08 [2023-09-12T22:12:40.999Z] 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-09-12T22:12:40.999Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:12:40.999Z] ==> Jenkins CI detected. [2023-09-12T22:12:40.999Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-09-12T22:12:40.999Z] project root: . [2023-09-12T22:12:40.999Z] --> token set from env [2023-09-12T22:12:40.999Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:12:40.999Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:12:40.999Z] ==> Python coveragepy not found [2023-09-12T22:12:40.999Z] ==> Searching for coverage reports in: [2023-09-12T22:12:40.999Z] + . [2023-09-12T22:12:40.999Z] -> Found 1 reports [2023-09-12T22:12:40.999Z] ==> Detecting git/mercurial file structure [2023-09-12T22:12:40.999Z] ==> Reading reports [2023-09-12T22:12:40.999Z] + ./coverage.out bytes=10 [2023-09-12T22:12:40.999Z] ==> Appending adjustments [2023-09-12T22:12:40.999Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:12:41.260Z] + Found adjustments [2023-09-12T22:12:41.260Z] ==> Gzipping contents [2023-09-12T22:12:41.260Z] 4.0K /tmp/codecov.xshiFm.gz [2023-09-12T22:12:41.260Z] ==> Uploading reports [2023-09-12T22:12:41.260Z] url: https://codecov.io [2023-09-12T22:12:41.260Z] query: branch=main&commit=eed745f62e362350c96cbc5d7056f691b368baad&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:12:41.260Z] -> Pinging Codecov [2023-09-12T22:12:41.260Z] 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=eed745f62e362350c96cbc5d7056f691b368baad&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:12:41.260Z] -> Uploading to [2023-09-12T22:12:41.260Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/B9AA6E0BBD74AE3A32605C7A7C664919/eed745f62e362350c96cbc5d7056f691b368baad/70f7de94-944b-4ccb-a257-6173390dd8d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221241Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59d339ed40b8d8708889ae859fab194bf44b66133258523ce54db29db0e88c91 [2023-09-12T22:12:41.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:12:41.260Z] Dload Upload Total Spent Left Speed [2023-09-12T22:12:41.521Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3259 --:--:-- --:--:-- --:--:-- 3241 100 603 0 0 100 603 0 3259 --:--:-- --:--:-- --:--:-- 3241 [2023-09-12T22:12:41.521Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] } [2023-09-12T22:12:41.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T22:12:41.693Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T22:12:41.704Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:41.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:12:41.994Z] [2023-09-12T22:12:41.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:42.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:12:42.293Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T22:12:42.293Z] df9b9388f04a: Pulling fs layer [2023-09-12T22:12:42.293Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T22:12:42.293Z] 25bc292e5bac: Pulling fs layer [2023-09-12T22:12:42.293Z] 114826534d7a: Pulling fs layer [2023-09-12T22:12:42.293Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T22:12:42.293Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T22:12:42.293Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T22:12:42.293Z] 4657fd5d0bcf: Waiting [2023-09-12T22:12:42.293Z] 114826534d7a: Waiting [2023-09-12T22:12:42.293Z] 6ad1cebc031e: Waiting [2023-09-12T22:12:42.293Z] 8a3aa393b2d8: Waiting [2023-09-12T22:12:42.293Z] 25bc292e5bac: Download complete [2023-09-12T22:12:42.293Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T22:12:42.293Z] 52dc419b0ee2: Download complete [2023-09-12T22:12:42.293Z] 4657fd5d0bcf: Verifying Checksum [2023-09-12T22:12:42.293Z] 4657fd5d0bcf: Download complete [2023-09-12T22:12:42.293Z] df9b9388f04a: Download complete [2023-09-12T22:12:42.293Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T22:12:42.293Z] 6ad1cebc031e: Download complete [2023-09-12T22:12:42.551Z] df9b9388f04a: Pull complete [2023-09-12T22:12:42.551Z] 52dc419b0ee2: Pull complete [2023-09-12T22:12:42.551Z] 25bc292e5bac: Pull complete [2023-09-12T22:12:43.120Z] 114826534d7a: Verifying Checksum [2023-09-12T22:12:43.120Z] 114826534d7a: Download complete [2023-09-12T22:12:43.120Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T22:12:43.120Z] 8a3aa393b2d8: Download complete [2023-09-12T22:12:47.305Z] 114826534d7a: Pull complete [2023-09-12T22:12:47.305Z] 4657fd5d0bcf: Pull complete [2023-09-12T22:12:47.305Z] 6ad1cebc031e: Pull complete [2023-09-12T22:12:49.856Z] 8a3aa393b2d8: Pull complete [2023-09-12T22:12:49.856Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T22:12:49.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:12:49.856Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:12:49.941Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:12:49.939Z] $ 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-09-12T22:12:54.654Z] $ docker top 734c567f8da4533ee8433fc66eb2f83d34167ee032c5f0b98c6f1bbbbd5efe1c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T22:12:54.757Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-09-12T22:12:55.034Z] + set -o pipefail [2023-09-12T22:12:55.034Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-09-12T22:13:00.302Z] [2023-09-12T22:13:00.302Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-09-12T22:13:00.302Z] [2023-09-12T22:13:00.302Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/78ca75c2-f589-4671-97a4-9c753a9b179b [2023-09-12T22:13:00.302Z] [2023-09-12T22:13:00.302Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T22:13:00.302Z] [2023-09-12T22:13:00.302Z] [2023-09-12T22:13:00.302Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T22:13:00.302Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T22:13:00.302Z] More details here: https://snyk.co/ue1NS [2023-09-12T22:13:00.302Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T22:13:00.302Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T22:13:00.542Z] $ docker stop --time=1 734c567f8da4533ee8433fc66eb2f83d34167ee032c5f0b98c6f1bbbbd5efe1c [2023-09-12T22:13:04.447Z] $ docker rm -f --volumes 734c567f8da4533ee8433fc66eb2f83d34167ee032c5f0b98c6f1bbbbd5efe1c [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-09-12T22:13:05.258Z] + git log --format=format:%s -1 eed745f62e362350c96cbc5d7056f691b368baad [Pipeline] sh [2023-09-12T22:13:05.549Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:05.549Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:05.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:05.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:05.927Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:13:05.930Z] $ 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-09-12T22:13:06.387Z] $ docker top 934093b45a29549926fb9fef407943cd871285a7ec4147d358d349bac7ca269b -eo pid,comm [2023-09-12T22:13:06.469Z] 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-09-12T22:13:06.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:06.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:06.508Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:13:06.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:13:06.592Z] $ docker exec 934093b45a29549926fb9fef407943cd871285a7ec4147d358d349bac7ca269b ssh-agent [2023-09-12T22:13:06.724Z] SSH_AUTH_SOCK=/tmp/ssh-7ZAt52QiO2CH/agent.33 [2023-09-12T22:13:06.724Z] SSH_AGENT_PID=39 [2023-09-12T22:13:06.729Z] Running ssh-add (command line suppressed) [2023-09-12T22:13:06.798Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_142359163669481225.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_142359163669481225.key) [2023-09-12T22:13:06.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:13:07.130Z] + git semver tag [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,293 [run_tag] DEBUG tag force:False [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,293 [check_head_tag] DEBUG check head tag [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,293 [execute] INFO git cat-file --batch-check [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,297 [execute] INFO git cat-file --batch [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,304 [execute] INFO git tag -a v3.0.1-dev.3 -m v3.0.1-dev.3 [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,304 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.3', '-m', 'v3.0.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:13:07.388Z] 2023-09-12 22:13:07,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:07.388Z] 3.0.1-dev.3 [Pipeline] } [2023-09-12T22:13:07.365Z] $ docker exec --env ******** --env ******** 934093b45a29549926fb9fef407943cd871285a7ec4147d358d349bac7ca269b ssh-agent -k [2023-09-12T22:13:07.479Z] unset SSH_AUTH_SOCK; [2023-09-12T22:13:07.479Z] unset SSH_AGENT_PID; [2023-09-12T22:13:07.480Z] echo Agent pid 39 killed; [2023-09-12T22:13:07.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:13:07.828Z] + git semver [Pipeline] } [2023-09-12T22:13:08.068Z] $ docker stop --time=1 934093b45a29549926fb9fef407943cd871285a7ec4147d358d349bac7ca269b [2023-09-12T22:13:09.349Z] $ docker rm -f --volumes 934093b45a29549926fb9fef407943cd871285a7ec4147d358d349bac7ca269b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:09.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:09.766Z] [2023-09-12T22:13:09.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:10.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:10.063Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T22:13:10.063Z] ab5ef0e58194: Pulling fs layer [2023-09-12T22:13:10.063Z] 9712f1f96733: Pulling fs layer [2023-09-12T22:13:10.063Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T22:13:10.063Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T22:13:10.063Z] e9a5061849ea: Pulling fs layer [2023-09-12T22:13:10.063Z] d747dcd14b5f: Pulling fs layer [2023-09-12T22:13:10.063Z] 2de7ff778b66: Pulling fs layer [2023-09-12T22:13:10.063Z] e9a5061849ea: Waiting [2023-09-12T22:13:10.063Z] d747dcd14b5f: Waiting [2023-09-12T22:13:10.063Z] 2de7ff778b66: Waiting [2023-09-12T22:13:10.063Z] 0d9ebad4ef96: Waiting [2023-09-12T22:13:10.063Z] 9712f1f96733: Download complete [2023-09-12T22:13:10.323Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T22:13:10.323Z] 63f879dbbcfc: Download complete [2023-09-12T22:13:10.583Z] e9a5061849ea: Verifying Checksum [2023-09-12T22:13:10.583Z] e9a5061849ea: Download complete [2023-09-12T22:13:10.583Z] d747dcd14b5f: Download complete [2023-09-12T22:13:10.583Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T22:13:10.583Z] 0d9ebad4ef96: Download complete [2023-09-12T22:13:10.583Z] ab5ef0e58194: Verifying Checksum [2023-09-12T22:13:10.583Z] ab5ef0e58194: Download complete [2023-09-12T22:13:10.583Z] 2de7ff778b66: Verifying Checksum [2023-09-12T22:13:10.583Z] 2de7ff778b66: Download complete [2023-09-12T22:13:13.867Z] ab5ef0e58194: Pull complete [2023-09-12T22:13:13.867Z] 9712f1f96733: Pull complete [2023-09-12T22:13:14.432Z] 63f879dbbcfc: Pull complete [2023-09-12T22:13:18.643Z] 0d9ebad4ef96: Pull complete [2023-09-12T22:13:18.643Z] e9a5061849ea: Pull complete [2023-09-12T22:13:18.643Z] d747dcd14b5f: Pull complete [2023-09-12T22:13:20.021Z] 2de7ff778b66: Pull complete [2023-09-12T22:13:20.021Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T22:13:20.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:20.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:20.123Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:13:20.121Z] $ 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-09-12T22:13:26.222Z] $ docker top 13f8a055b1fc5173e2faf017ab633012541c7ff0382b38fd8bb44f6183637fed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:13:26.316Z] provisioning config files... [2023-09-12T22:13:26.321Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14339277063470334558tmp [2023-09-12T22:13:26.329Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10028269067838605219tmp [2023-09-12T22:13:26.338Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5066173232751097674tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:13:26.353Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:26.632Z] ---> sigul-configuration.sh [2023-09-12T22:13:26.632Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:13:26.632Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:13:26.632Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:13:26.632Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:13:26.632Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:13:26.632Z] gpg: CAST5 encrypted data [2023-09-12T22:13:26.632Z] gpg: encrypted with 1 passphrase [2023-09-12T22:13:26.632Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:13:26.912Z] + mkdir /home/jenkins [2023-09-12T22:13:26.912Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:13:27.197Z] + 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-09-12T22:13:27.207Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:27.495Z] ---> sigul-install.sh [2023-09-12T22:13:27.495Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:13:27.778Z] + git tag --list [2023-09-12T22:13:27.778Z] v0.0.0 [2023-09-12T22:13:27.778Z] v0.0.1-dev.1 [2023-09-12T22:13:27.778Z] v0.0.1-dev.2 [2023-09-12T22:13:27.778Z] v0.0.1-dev.3 [2023-09-12T22:13:27.778Z] v0.0.1-dev.4 [2023-09-12T22:13:27.778Z] v3.0.0 [2023-09-12T22:13:27.778Z] v3.0.1-dev.1 [2023-09-12T22:13:27.778Z] v3.0.1-dev.2 [2023-09-12T22:13:27.778Z] v3.0.1-dev.3 [Pipeline] sh [2023-09-12T22:13:28.061Z] + lftools sign git-tag v3.0.1-dev.3 [2023-09-12T22:13:28.628Z] Signing Git tag with Sigul... [2023-09-12T22:13:28.628Z] Signing v3.0.1-dev.3 [Pipeline] echo [2023-09-12T22:13:29.206Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:29.491Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:13:29.498Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:13:29.485Z] $ docker stop --time=1 13f8a055b1fc5173e2faf017ab633012541c7ff0382b38fd8bb44f6183637fed [2023-09-12T22:13:30.779Z] $ docker rm -f --volumes 13f8a055b1fc5173e2faf017ab633012541c7ff0382b38fd8bb44f6183637fed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:13:31.199Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:31.200Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:31.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:31.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:31.562Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:13:31.562Z] $ 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-09-12T22:13:31.903Z] $ docker top f4423d40780be2464472d5cf03b9162084b77bae07e2421e9bb2cd3842813356 -eo pid,comm [2023-09-12T22:13:31.985Z] 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-09-12T22:13:31.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:32.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:32.021Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:13:32.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:13:32.096Z] $ docker exec f4423d40780be2464472d5cf03b9162084b77bae07e2421e9bb2cd3842813356 ssh-agent [2023-09-12T22:13:32.239Z] SSH_AUTH_SOCK=/tmp/ssh-KVX9XNgj5XDX/agent.32 [2023-09-12T22:13:32.239Z] SSH_AGENT_PID=38 [2023-09-12T22:13:32.243Z] Running ssh-add (command line suppressed) [2023-09-12T22:13:32.335Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18252964497604179634.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18252964497604179634.key) [2023-09-12T22:13:32.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:13:32.667Z] + git semver bump pre [2023-09-12T22:13:32.925Z] 2023-09-12 22:13:32,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:32.925Z] 2023-09-12 22:13:32,860 [bump_version] DEBUG bumping version:3.0.1-dev.3 on axis:pre with prefix:dev [2023-09-12T22:13:32.925Z] 2023-09-12 22:13:32,860 [bump_version] DEBUG bumped version:3.0.1-dev.4 [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,860 [write_version] DEBUG write version:3.0.1-dev.4 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,860 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,862 [execute] INFO git cat-file --batch-check [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,868 [execute] INFO git cat-file --batch [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:32.926Z] 2023-09-12 22:13:32,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:32.926Z] 3.0.1-dev.4 [Pipeline] } [2023-09-12T22:13:32.903Z] $ docker exec --env ******** --env ******** f4423d40780be2464472d5cf03b9162084b77bae07e2421e9bb2cd3842813356 ssh-agent -k [2023-09-12T22:13:33.010Z] unset SSH_AUTH_SOCK; [2023-09-12T22:13:33.010Z] unset SSH_AGENT_PID; [2023-09-12T22:13:33.010Z] echo Agent pid 38 killed; [2023-09-12T22:13:33.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:13:33.363Z] + git semver [Pipeline] } [2023-09-12T22:13:33.605Z] $ docker stop --time=1 f4423d40780be2464472d5cf03b9162084b77bae07e2421e9bb2cd3842813356 [2023-09-12T22:13:34.866Z] $ docker rm -f --volumes f4423d40780be2464472d5cf03b9162084b77bae07e2421e9bb2cd3842813356 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:13:35.241Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:35.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:35.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:35.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:35.609Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:13:35.609Z] $ 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-09-12T22:13:35.970Z] $ docker top 8a7384bc560238d988b1ee38798f8d1e6c5f548b3b76c63d590911c97bee1758 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:36.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:36.088Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:13:36.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:13:36.175Z] $ docker exec 8a7384bc560238d988b1ee38798f8d1e6c5f548b3b76c63d590911c97bee1758 ssh-agent [2023-09-12T22:13:36.326Z] SSH_AUTH_SOCK=/tmp/ssh-J9yi8SqVwcwL/agent.32 [2023-09-12T22:13:36.326Z] SSH_AGENT_PID=38 [2023-09-12T22:13:36.331Z] Running ssh-add (command line suppressed) [2023-09-12T22:13:36.390Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16095908781275063214.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16095908781275063214.key) [2023-09-12T22:13:36.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:13:36.720Z] + git semver push [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,852 [run_push] DEBUG push [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,853 [execute] INFO git cat-file --batch-check [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,856 [execute] INFO git rev-list 88c50291918eeec0b80f1449ab8514af82ad0400 -- [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,857 [execute] DEBUG Popen(['git', 'rev-list', '88c50291918eeec0b80f1449ab8514af82ad0400', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,863 [execute] INFO git fetch -v origin [2023-09-12T22:13:36.980Z] 2023-09-12 22:13:36,863 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T22:13:37.548Z] 2023-09-12 22:13:37,321 [run_push] DEBUG no remote changes detected [2023-09-12T22:13:37.548Z] 2023-09-12 22:13:37,321 [execute] INFO git push origin semver [2023-09-12T22:13:37.548Z] 2023-09-12 22:13:37,322 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:13:38.486Z] 2023-09-12 22:13:38,158 [run_push] DEBUG push all version tags [2023-09-12T22:13:38.486Z] 2023-09-12 22:13:38,158 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:13:38.486Z] 2023-09-12 22:13:38,159 [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-09-12T22:13:39.056Z] 2023-09-12 22:13:38,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-12T22:13:39.056Z] 3.0.1-dev.4 [Pipeline] } [2023-09-12T22:13:39.033Z] $ docker exec --env ******** --env ******** 8a7384bc560238d988b1ee38798f8d1e6c5f548b3b76c63d590911c97bee1758 ssh-agent -k [2023-09-12T22:13:39.128Z] unset SSH_AUTH_SOCK; [2023-09-12T22:13:39.128Z] unset SSH_AGENT_PID; [2023-09-12T22:13:39.128Z] echo Agent pid 38 killed; [2023-09-12T22:13:39.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:13:39.474Z] + git semver [Pipeline] } [2023-09-12T22:13:39.714Z] $ docker stop --time=1 8a7384bc560238d988b1ee38798f8d1e6c5f548b3b76c63d590911c97bee1758 [2023-09-12T22:13:41.006Z] $ docker rm -f --volumes 8a7384bc560238d988b1ee38798f8d1e6c5f548b3b76c63d590911c97bee1758 [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-09-12T22:13:41.569Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-09-12T22:13:41.569Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-12T22:13:41.569Z] total 16 [2023-09-12T22:13:41.569Z] drwxr-xr-x 3 root root 4096 Sep 12 22:02 . [2023-09-12T22:13:41.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:13 .. [2023-09-12T22:13:41.569Z] drwxr-xr-x 2 root root 4096 Sep 12 22:02 cost [2023-09-12T22:13:41.569Z] -rw-r--r-- 1 root root 81 Sep 12 22:02 cost.csv [2023-09-12T22:13:41.569Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-12T22:13:41.569Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-12T22:13:41.569Z] total 16 [2023-09-12T22:13:41.569Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:02 . [2023-09-12T22:13:41.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:13 .. [2023-09-12T22:13:41.569Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:02 cost [2023-09-12T22:13:41.569Z] -rw-r--r-- 1 jenkins jenkins 81 Sep 12 22:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:41.943Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:42.651Z] ---> package-listing.sh [2023-09-12T22:13:42.651Z] ++ facter osfamily [2023-09-12T22:13:42.651Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:13:42.651Z] + OS_FAMILY=debian [2023-09-12T22:13:42.651Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-09-12T22:13:42.651Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:13:42.651Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:13:42.651Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:13:42.651Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:13:42.651Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-09-12T22:13:42.651Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:13:42.651Z] + case "${OS_FAMILY}" in [2023-09-12T22:13:42.651Z] + dpkg -l [2023-09-12T22:13:42.651Z] + grep '^ii' [2023-09-12T22:13:42.651Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:13:42.651Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:13:42.651Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:13:42.651Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-09-12T22:13:42.651Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-09-12T22:13:42.651Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-09-12T22:13:42.683Z] 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-09-12T22:13:42.957Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:43.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:13:43.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:43.583Z] prd-ubuntu20.04-docker-8c-8g-6019 does not seem to be running inside a container [2023-09-12T22:13:43.585Z] $ 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-09-12T22:13:43.823Z] $ docker top 72db8172c2d08320a04b38ead710fdafd5e01c8574523bddabe502fcaa6b1e81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:13:44.202Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:13:44.489Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:13:44.774Z] + ls /var/log/sa-host [2023-09-12T22:13:44.774Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:13:44.854Z] provisioning config files... [2023-09-12T22:13:44.867Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11112222717646726774tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:13:44.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:45.165Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:13:45.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:45.490Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:13:45.500Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:45.785Z] ---> sudo-logs.sh [2023-09-12T22:13:45.786Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:13:45.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:46.101Z] ---> job-cost.sh [2023-09-12T22:13:46.101Z] lf-activate-venv: SKIPPING [2023-09-12T22:13:46.101Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:13:46.101Z] INFO: Retrieving Stack Cost... [2023-09-12T22:13:46.360Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:13:46.927Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:13:46.939Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:47.223Z] ---> logs-deploy.sh [2023-09-12T22:13:47.223Z] lf-activate-venv: SKIPPING [2023-09-12T22:13:47.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/9 [2023-09-12T22:13:47.223Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:13:48.163Z] Archives upload complete. [2023-09-12T22:13:48.421Z] INFO: archiving logs to Nexus