Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 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-ssh16911705967196424465.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-ssh6635838322240160227.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-ssh15605390720691087914.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-ssh12448353359204065698.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-ssh11721483987814813274.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-10366 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 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 (main) Commit message: "Merge pull request #28 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36" > 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 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 # timeout=10 > git rev-list --no-walk 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T02:26:25.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T02:26:25.579Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T02:26:25.600Z] ========================================================= [2023-10-25T02:26:25.600Z] EdgeX Global Pipelines Version Info [2023-10-25T02:26:25.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:26:26.323Z] ------------------- [2023-10-25T02:26:26.323Z] stable info: [2023-10-25T02:26:26.323Z] ------------------- [2023-10-25T02:26:26.323Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T02:26:26.323Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T02:26:26.323Z] Message: update stable to v1.0.254 [2023-10-25T02:26:26.893Z] ------------------- [2023-10-25T02:26:26.893Z] experimental info: [2023-10-25T02:26:26.893Z] ------------------- [2023-10-25T02:26:26.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T02:26:26.893Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T02:26:26.893Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T02:26:27.052Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-10-25T02:26:27.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-10-25T02:26:27.078Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T02:26:27.087Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T02:26:27.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T02:26:27.107Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T02:26:27.116Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T02:26:27.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-25T02:26:27.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T02:26:27.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T02:26:27.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T02:26:27.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-10-25T02:26:27.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T02:26:27.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T02:26:27.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T02:26:27.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T02:26:27.251Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T02:26:27.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T02:26:27.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T02:26:27.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T02:26:27.313Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-25T02:26:27.324Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-25T02:26:27.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T02:26:27.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T02:26:27.376Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T02:26:27.395Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T02:26:27.413Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T02:26:27.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-25T02:26:27.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-25T02:26:27.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-25T02:26:27.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] echo [2023-10-25T02:26:27.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 926e7a9 [Pipeline] echo [2023-10-25T02:26:27.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:26:27.571Z] provisioning config files... [2023-10-25T02:26:27.588Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12910330185177024757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:26:27.898Z] ---> docker-login.sh [2023-10-25T02:26:27.898Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:26:28.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:28.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:28.159Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:28.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:28.159Z] [2023-10-25T02:26:28.159Z] Login Succeeded [2023-10-25T02:26:28.159Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:26:28.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:28.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:28.423Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:28.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:28.423Z] [2023-10-25T02:26:28.423Z] Login Succeeded [2023-10-25T02:26:28.423Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:26:28.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:28.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:28.423Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:28.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:28.423Z] [2023-10-25T02:26:28.423Z] Login Succeeded [2023-10-25T02:26:28.423Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:26:28.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:28.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:28.683Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:28.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:28.683Z] [2023-10-25T02:26:28.683Z] Login Succeeded [2023-10-25T02:26:28.683Z] docker.io [2023-10-25T02:26:28.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:28.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:28.943Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:28.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:28.943Z] [2023-10-25T02:26:28.943Z] Login Succeeded [2023-10-25T02:26:28.943Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:26:28.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T02:26:29.324Z] + git rev-list -1 --merges 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8~1..926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] echo [2023-10-25T02:26:29.369Z] -----------> git rev-list -1 --merges 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8~1..926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:26:29.369Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [false] [Pipeline] sh [2023-10-25T02:26:29.658Z] + git log --format=format:%s -1 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] echo [2023-10-25T02:26:29.688Z] ========================================================= [2023-10-25T02:26:29.688Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T02:26:29.688Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:26:30.173Z] + git log --format=format:%s -1 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] echo [2023-10-25T02:26:30.182Z] [semverPrep] GIT_COMMIT: 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8, Commit Message: Merge pull request #28 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36 [Pipeline] echo [2023-10-25T02:26:30.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T02:26:30.575Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:26:30.575Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T02:26:30.575Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T02:26:30.575Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T02:26:30.575Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T02:26:30.575Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T02:26:30.575Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:26:30.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:26:30.992Z] [2023-10-25T02:26:30.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:26:31.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:26:31.294Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T02:26:31.294Z] b85a868b505f: Pulling fs layer [2023-10-25T02:26:31.294Z] e2be974225ed: Pulling fs layer [2023-10-25T02:26:31.294Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T02:26:31.294Z] 988bab9f4d93: Pulling fs layer [2023-10-25T02:26:31.294Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T02:26:31.294Z] eaf3925da568: Pulling fs layer [2023-10-25T02:26:31.294Z] bab4dde63d76: Pulling fs layer [2023-10-25T02:26:31.294Z] bde34c3a00c8: Pulling fs layer [2023-10-25T02:26:31.294Z] b352a97aabf1: Pulling fs layer [2023-10-25T02:26:31.294Z] 4872d77fe225: Pulling fs layer [2023-10-25T02:26:31.294Z] 5851b861e8e6: Pulling fs layer [2023-10-25T02:26:31.294Z] eaf3925da568: Waiting [2023-10-25T02:26:31.294Z] bab4dde63d76: Waiting [2023-10-25T02:26:31.294Z] b352a97aabf1: Waiting [2023-10-25T02:26:31.294Z] bde34c3a00c8: Waiting [2023-10-25T02:26:31.294Z] 5851b861e8e6: Waiting [2023-10-25T02:26:31.294Z] 4872d77fe225: Waiting [2023-10-25T02:26:31.294Z] 988bab9f4d93: Waiting [2023-10-25T02:26:31.294Z] e2be974225ed: Download complete [2023-10-25T02:26:31.294Z] 988bab9f4d93: Verifying Checksum [2023-10-25T02:26:31.294Z] 988bab9f4d93: Download complete [2023-10-25T02:26:31.555Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T02:26:31.555Z] 339a4e72a1f5: Download complete [2023-10-25T02:26:31.555Z] eaf3925da568: Verifying Checksum [2023-10-25T02:26:31.555Z] eaf3925da568: Download complete [2023-10-25T02:26:31.555Z] 1469e6f7b9e6: Verifying Checksum [2023-10-25T02:26:31.555Z] 1469e6f7b9e6: Download complete [2023-10-25T02:26:31.555Z] bde34c3a00c8: Verifying Checksum [2023-10-25T02:26:31.555Z] bde34c3a00c8: Download complete [2023-10-25T02:26:31.555Z] b85a868b505f: Verifying Checksum [2023-10-25T02:26:31.555Z] b85a868b505f: Download complete [2023-10-25T02:26:31.555Z] b352a97aabf1: Verifying Checksum [2023-10-25T02:26:31.555Z] b352a97aabf1: Download complete [2023-10-25T02:26:31.555Z] 4872d77fe225: Verifying Checksum [2023-10-25T02:26:31.555Z] 4872d77fe225: Download complete [2023-10-25T02:26:31.555Z] 5851b861e8e6: Download complete [2023-10-25T02:26:32.121Z] bab4dde63d76: Verifying Checksum [2023-10-25T02:26:32.121Z] bab4dde63d76: Download complete [2023-10-25T02:26:33.057Z] b85a868b505f: Pull complete [2023-10-25T02:26:33.317Z] e2be974225ed: Pull complete [2023-10-25T02:26:33.888Z] 339a4e72a1f5: Pull complete [2023-10-25T02:26:33.888Z] 988bab9f4d93: Pull complete [2023-10-25T02:26:34.150Z] 1469e6f7b9e6: Pull complete [2023-10-25T02:26:34.150Z] eaf3925da568: Pull complete [2023-10-25T02:26:37.465Z] bab4dde63d76: Pull complete [2023-10-25T02:26:37.465Z] bde34c3a00c8: Pull complete [2023-10-25T02:26:37.465Z] b352a97aabf1: Pull complete [2023-10-25T02:26:37.465Z] 4872d77fe225: Pull complete [2023-10-25T02:26:37.465Z] 5851b861e8e6: Pull complete [2023-10-25T02:26:37.465Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T02:26:37.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:26:37.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:26:37.575Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:26:37.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:26:41.471Z] $ docker top c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 -eo pid,comm [2023-10-25T02:26:41.529Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T02:26:41.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:26:41.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:26:41.570Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:26:41.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:26:41.702Z] $ docker exec c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 ssh-agent [2023-10-25T02:26:41.824Z] SSH_AUTH_SOCK=/tmp/ssh-HyahVP8AZiyi/agent.32 [2023-10-25T02:26:41.824Z] SSH_AGENT_PID=38 [2023-10-25T02:26:41.829Z] Running ssh-add (command line suppressed) [2023-10-25T02:26:41.937Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2884848857063788669.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2884848857063788669.key) [2023-10-25T02:26:41.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:26:42.241Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T02:26:42.260Z] $ docker exec --env ******** --env ******** c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 ssh-agent -k [2023-10-25T02:26:42.359Z] unset SSH_AUTH_SOCK; [2023-10-25T02:26:42.360Z] unset SSH_AGENT_PID; [2023-10-25T02:26:42.360Z] echo Agent pid 38 killed; [2023-10-25T02:26:42.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T02:26:42.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:26:42.397Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:26:42.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:26:42.514Z] $ docker exec c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 ssh-agent [2023-10-25T02:26:42.631Z] SSH_AUTH_SOCK=/tmp/ssh-m1gFjookJUFn/agent.70 [2023-10-25T02:26:42.631Z] SSH_AGENT_PID=76 [2023-10-25T02:26:42.635Z] Running ssh-add (command line suppressed) [2023-10-25T02:26:42.753Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9000517901759624831.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9000517901759624831.key) [2023-10-25T02:26:42.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:26:43.053Z] + git semver init [2023-10-25T02:26:43.313Z] 2023-10-25 02:26:43,227 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T02:26:43.313Z] 2023-10-25 02:26:43,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T02:26:43.313Z] 2023-10-25 02:26:43,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T02:26:43.313Z] 2023-10-25 02:26:43,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:26:44.249Z] 2023-10-25 02:26:44,177 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-10-25T02:26:44.249Z] 2023-10-25 02:26:44,178 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-10-25T02:26:44.249Z] 2023-10-25 02:26:44,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:26:44.249Z] 2023-10-25 02:26:44,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:26:44.249Z] 3.0.1-dev.6 [Pipeline] } [2023-10-25T02:26:44.260Z] $ docker exec --env ******** --env ******** c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 ssh-agent -k [2023-10-25T02:26:44.363Z] unset SSH_AUTH_SOCK; [2023-10-25T02:26:44.364Z] unset SSH_AGENT_PID; [2023-10-25T02:26:44.364Z] echo Agent pid 76 killed; [2023-10-25T02:26:44.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:26:44.675Z] + git semver [Pipeline] } [2023-10-25T02:26:44.970Z] $ docker stop --time=1 c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 [2023-10-25T02:26:46.335Z] $ docker rm -f --volumes c4ae597daa64ef43674a70a114d1a81c32519d366518358b99bd577661a57311 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:26:46.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T02:26:46.876Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T02:26:46.879Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:26:47.033Z] provisioning config files... [2023-10-25T02:26:47.043Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16423673445776106331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:26:47.424Z] ---> docker-login.sh [2023-10-25T02:26:47.424Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:26:47.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:47.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:47.424Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:47.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:47.424Z] [2023-10-25T02:26:47.424Z] Login Succeeded [2023-10-25T02:26:47.424Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:26:47.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:47.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:47.424Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:47.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:47.424Z] [2023-10-25T02:26:47.424Z] Login Succeeded [2023-10-25T02:26:47.424Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:26:47.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:47.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:47.684Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:47.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:47.684Z] [2023-10-25T02:26:47.684Z] Login Succeeded [2023-10-25T02:26:47.684Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:26:47.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:47.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:47.684Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:47.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:47.684Z] [2023-10-25T02:26:47.684Z] Login Succeeded [2023-10-25T02:26:47.684Z] docker.io [2023-10-25T02:26:47.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:26:47.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:26:47.943Z] Configure a credential helper to remove this warning. See [2023-10-25T02:26:47.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:26:47.943Z] [2023-10-25T02:26:47.943Z] Login Succeeded [2023-10-25T02:26:47.943Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:26:47.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T02:26:48.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:26:48.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:26:48.029Z] ========================================================= [2023-10-25T02:26:48.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T02:26:48.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:26:48.338Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T02:26:48.339Z] Sending build context to Docker daemon 11.17MB [2023-10-25T02:26:48.339Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:26:48.339Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T02:26:48.339Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T02:26:48.339Z] 7264a8db6415: Pulling fs layer [2023-10-25T02:26:48.339Z] c4d48a809fc2: Pulling fs layer [2023-10-25T02:26:48.339Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T02:26:48.339Z] ad3a456e5733: Pulling fs layer [2023-10-25T02:26:48.339Z] 33e27b845d1e: Pulling fs layer [2023-10-25T02:26:48.339Z] c68163c4e522: Pulling fs layer [2023-10-25T02:26:48.339Z] 50da416c3ac9: Pulling fs layer [2023-10-25T02:26:48.339Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T02:26:48.339Z] 33e27b845d1e: Waiting [2023-10-25T02:26:48.339Z] c68163c4e522: Waiting [2023-10-25T02:26:48.339Z] 50da416c3ac9: Waiting [2023-10-25T02:26:48.339Z] 23d2d4c4bb30: Waiting [2023-10-25T02:26:48.601Z] c4d48a809fc2: Verifying Checksum [2023-10-25T02:26:48.601Z] c4d48a809fc2: Download complete [2023-10-25T02:26:48.601Z] ad3a456e5733: Verifying Checksum [2023-10-25T02:26:48.601Z] ad3a456e5733: Download complete [2023-10-25T02:26:48.601Z] 33e27b845d1e: Verifying Checksum [2023-10-25T02:26:48.601Z] 33e27b845d1e: Download complete [2023-10-25T02:26:48.601Z] 7264a8db6415: Verifying Checksum [2023-10-25T02:26:48.601Z] 7264a8db6415: Download complete [2023-10-25T02:26:48.601Z] c68163c4e522: Verifying Checksum [2023-10-25T02:26:48.601Z] c68163c4e522: Download complete [2023-10-25T02:26:48.862Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T02:26:48.862Z] 23d2d4c4bb30: Download complete [2023-10-25T02:26:48.862Z] 7264a8db6415: Pull complete [2023-10-25T02:26:49.279Z] c4d48a809fc2: Pull complete [2023-10-25T02:26:49.279Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T02:26:49.279Z] 4f1c88b9dad5: Download complete [2023-10-25T02:26:49.861Z] 50da416c3ac9: Verifying Checksum [2023-10-25T02:26:49.861Z] 50da416c3ac9: Download complete [2023-10-25T02:26:54.041Z] 4f1c88b9dad5: Pull complete [2023-10-25T02:26:54.041Z] ad3a456e5733: Pull complete [2023-10-25T02:26:54.041Z] 33e27b845d1e: Pull complete [2023-10-25T02:26:54.041Z] c68163c4e522: Pull complete [2023-10-25T02:27:01.999Z] Still waiting to schedule task [2023-10-25T02:27:01.999Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10358’ [2023-10-25T02:27:04.016Z] 50da416c3ac9: Pull complete [2023-10-25T02:27:04.583Z] 23d2d4c4bb30: Pull complete [2023-10-25T02:27:04.583Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T02:27:04.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T02:27:04.583Z] ---> 0786185ac409 [2023-10-25T02:27:04.583Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:27:09.892Z] ---> Running in 1368b3ee752e [2023-10-25T02:27:09.892Z] Removing intermediate container 1368b3ee752e [2023-10-25T02:27:09.892Z] ---> 35c708b544c4 [2023-10-25T02:27:09.892Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:27:09.892Z] ---> Running in 4bc6b884b46e [2023-10-25T02:27:09.892Z] Removing intermediate container 4bc6b884b46e [2023-10-25T02:27:09.892Z] ---> 6de1f9993add [2023-10-25T02:27:09.892Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:27:09.892Z] ---> Running in 39b334f398ac [2023-10-25T02:27:09.892Z] Removing intermediate container 39b334f398ac [2023-10-25T02:27:09.892Z] ---> 3bec1a7dd98e [2023-10-25T02:27:09.892Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T02:27:09.892Z] ---> Running in 96097c9c2cb1 [2023-10-25T02:27:09.892Z] Removing intermediate container 96097c9c2cb1 [2023-10-25T02:27:09.892Z] ---> 80c3d6de71a1 [2023-10-25T02:27:09.892Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:27:09.892Z] ---> Running in b791f441114f [2023-10-25T02:27:10.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:27:10.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:27:10.671Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T02:27:10.671Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T02:27:10.671Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T02:27:10.671Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T02:27:10.671Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:27:10.671Z] OK: 268 MiB in 56 packages [2023-10-25T02:27:11.242Z] Removing intermediate container b791f441114f [2023-10-25T02:27:11.242Z] ---> 25f7ee5f2e78 [2023-10-25T02:27:11.242Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T02:27:11.500Z] ---> 080392965c3e [2023-10-25T02:27:11.500Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:27:11.500Z] ---> Running in d7a146684c7e [2023-10-25T02:28:19.597Z] Removing intermediate container d7a146684c7e [2023-10-25T02:28:19.597Z] ---> 9090815d9ccd [2023-10-25T02:28:19.597Z] Step 10/12 : COPY . . [2023-10-25T02:28:19.597Z] ---> 66cedd4f0cdc [2023-10-25T02:28:19.597Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:28:19.597Z] ---> Running in c3f5c88938ac [2023-10-25T02:28:19.597Z] Removing intermediate container c3f5c88938ac [2023-10-25T02:28:19.597Z] ---> dd4b9d74bb38 [2023-10-25T02:28:19.597Z] Step 12/12 : RUN ${MAKE} [2023-10-25T02:28:19.597Z] ---> Running in 7249f2dc36e5 [2023-10-25T02:28:19.597Z] noop [2023-10-25T02:28:19.597Z] Removing intermediate container 7249f2dc36e5 [2023-10-25T02:28:19.597Z] ---> d8dc3ead5df7 [2023-10-25T02:28:19.597Z] Successfully built d8dc3ead5df7 [2023-10-25T02:28:19.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:28:19.918Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T02:28:19.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:28:19.996Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:28:20.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T02:28:20.400Z] $ docker top 72642aafcfcfe57a6d1c9da9c3915f2b1ffda227c9d897996b45841c1dc176a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:28:20.748Z] + go version [2023-10-25T02:28:20.748Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T02:28:20.762Z] $ docker stop --time=1 72642aafcfcfe57a6d1c9da9c3915f2b1ffda227c9d897996b45841c1dc176a9 [2023-10-25T02:28:22.049Z] $ docker rm -f --volumes 72642aafcfcfe57a6d1c9da9c3915f2b1ffda227c9d897996b45841c1dc176a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:28:22.469Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T02:28:22.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:28:22.560Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:28:22.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T02:28:22.955Z] $ docker top d2140e7d8c767532da05fae874ae0676b06d415d696666dc7c1ffac45be2fbb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:28:23.301Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-10-25T02:28:23.613Z] + make test [2023-10-25T02:28:23.613Z] go test ./... -coverprofile=coverage.out [2023-10-25T02:28:24.997Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T02:28:37.199Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T02:28:37.199Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T02:28:43.756Z] go vet ./... [2023-10-25T02:28:47.032Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T02:28:47.032Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T02:28:47.032Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T02:28:47.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T02:28:47.056Z] $ docker stop --time=1 d2140e7d8c767532da05fae874ae0676b06d415d696666dc7c1ffac45be2fbb4 [2023-10-25T02:28:51.267Z] $ docker rm -f --volumes d2140e7d8c767532da05fae874ae0676b06d415d696666dc7c1ffac45be2fbb4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:28:51.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T02:28:51.788Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T02:28:52.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T02:28:52.608Z] + ls -al . [2023-10-25T02:28:52.608Z] total 152 [2023-10-25T02:28:52.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:28 . [2023-10-25T02:28:52.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:26 .. [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:26 .dockerignore [2023-10-25T02:28:52.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:28 .git [2023-10-25T02:28:52.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:26 .github [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:26 .gitignore [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:26 .golangci.yml [2023-10-25T02:28:52.608Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:26 .semver [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:26 Attribution.txt [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:26 Dockerfile [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:26 GOVERNANCE.md [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:26 Jenkinsfile [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:26 LICENSE [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:26 Makefile [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:26 OWNERS.md [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:26 README.md [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:26 VERSION [2023-10-25T02:28:52.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:26 bin [2023-10-25T02:28:52.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:26 cmd [2023-10-25T02:28:52.608Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:28 coverage.out [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:26 go.mod [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:26 go.sum [2023-10-25T02:28:52.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:26 internal [2023-10-25T02:28:52.608Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:28:52.910Z] + 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=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 --label arch=amd64 --label version=3.0.1-dev.6 . [2023-10-25T02:28:52.910Z] Sending build context to Docker daemon 11.17MB [2023-10-25T02:28:52.910Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:28:52.910Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T02:28:52.910Z] ---> d8dc3ead5df7 [2023-10-25T02:28:52.910Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:28:53.169Z] ---> Running in cfccd6fafbf4 [2023-10-25T02:28:53.169Z] Removing intermediate container cfccd6fafbf4 [2023-10-25T02:28:53.169Z] ---> c5e98236af3f [2023-10-25T02:28:53.169Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:28:53.169Z] ---> Running in 09b8608ce36f [2023-10-25T02:28:53.428Z] Removing intermediate container 09b8608ce36f [2023-10-25T02:28:53.428Z] ---> 3dd6b14d6a3a [2023-10-25T02:28:53.428Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:28:53.428Z] ---> Running in d1a00b0c0e9b [2023-10-25T02:28:53.428Z] Removing intermediate container d1a00b0c0e9b [2023-10-25T02:28:53.428Z] ---> fec753bbf187 [2023-10-25T02:28:53.428Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T02:28:53.428Z] ---> Running in 68fe63186b7a [2023-10-25T02:28:53.686Z] Removing intermediate container 68fe63186b7a [2023-10-25T02:28:53.686Z] ---> 0228b94f16ba [2023-10-25T02:28:53.686Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:28:53.686Z] ---> Running in a79542cbfca1 [2023-10-25T02:28:53.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:28:53.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:28:54.515Z] OK: 268 MiB in 56 packages [2023-10-25T02:28:54.773Z] Removing intermediate container a79542cbfca1 [2023-10-25T02:28:54.773Z] ---> 1821db6f9d7c [2023-10-25T02:28:54.773Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T02:28:54.773Z] ---> 693c9159cc23 [2023-10-25T02:28:54.773Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:28:54.773Z] ---> Running in d396ba029720 [2023-10-25T02:28:55.922Z] Removing intermediate container d396ba029720 [2023-10-25T02:28:55.922Z] ---> 5e9824fad089 [2023-10-25T02:28:55.922Z] Step 10/25 : COPY . . [2023-10-25T02:28:56.181Z] ---> f080a7f3f5fc [2023-10-25T02:28:56.181Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:28:56.181Z] ---> Running in 70974e6e2a23 [2023-10-25T02:28:56.181Z] Removing intermediate container 70974e6e2a23 [2023-10-25T02:28:56.181Z] ---> e1f1bc1af5bb [2023-10-25T02:28:56.181Z] Step 12/25 : RUN ${MAKE} [2023-10-25T02:28:56.181Z] ---> Running in ad64dae66023 [2023-10-25T02:28:56.438Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T02:29:23.084Z] Removing intermediate container ad64dae66023 [2023-10-25T02:29:23.084Z] ---> 77e916c3c250 [2023-10-25T02:29:23.084Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T02:29:23.084Z] 3.18: Pulling from library/alpine [2023-10-25T02:29:23.084Z] 96526aa774ef: Pulling fs layer [2023-10-25T02:29:23.084Z] 96526aa774ef: Verifying Checksum [2023-10-25T02:29:23.084Z] 96526aa774ef: Download complete [2023-10-25T02:29:23.084Z] 96526aa774ef: Pull complete [2023-10-25T02:29:23.084Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T02:29:23.084Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T02:29:23.084Z] ---> 8ca4688f4f35 [2023-10-25T02:29:23.084Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T02:29:23.084Z] ---> Running in 90a66b7041cb [2023-10-25T02:29:23.084Z] Removing intermediate container 90a66b7041cb [2023-10-25T02:29:23.084Z] ---> 83c400d5b90a [2023-10-25T02:29:23.084Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T02:29:23.084Z] ---> Running in d5082a3f0b7e [2023-10-25T02:29:23.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T02:29:23.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T02:29:23.084Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T02:29:23.084Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:29:23.084Z] OK: 7 MiB in 16 packages [2023-10-25T02:29:23.084Z] Removing intermediate container d5082a3f0b7e [2023-10-25T02:29:23.084Z] ---> d9040ff06925 [2023-10-25T02:29:23.084Z] Step 16/25 : WORKDIR / [2023-10-25T02:29:23.085Z] ---> Running in 4b290998a162 [2023-10-25T02:29:23.085Z] Removing intermediate container 4b290998a162 [2023-10-25T02:29:23.085Z] ---> 7775079318c4 [2023-10-25T02:29:23.085Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T02:29:23.085Z] ---> bcca6048b9c3 [2023-10-25T02:29:23.085Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T02:29:23.085Z] ---> 64c93c8e1d65 [2023-10-25T02:29:23.085Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T02:29:23.085Z] ---> 064abbc2898a [2023-10-25T02:29:23.085Z] Step 20/25 : EXPOSE 59995 [2023-10-25T02:29:23.085Z] ---> Running in da6786e8083a [2023-10-25T02:29:23.369Z] Removing intermediate container da6786e8083a [2023-10-25T02:29:23.370Z] ---> b0e262b9dbe4 [2023-10-25T02:29:23.370Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T02:29:23.370Z] ---> Running in 33b1cab08f9c [2023-10-25T02:29:23.370Z] Removing intermediate container 33b1cab08f9c [2023-10-25T02:29:23.370Z] ---> 3483b9eaf8a7 [2023-10-25T02:29:23.370Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T02:29:23.370Z] ---> Running in d47e7ed64762 [2023-10-25T02:29:23.370Z] Removing intermediate container d47e7ed64762 [2023-10-25T02:29:23.370Z] ---> 605ef755f549 [2023-10-25T02:29:23.370Z] Step 23/25 : LABEL arch=amd64 [2023-10-25T02:29:23.370Z] ---> Running in 8389751a1951 [2023-10-25T02:29:23.659Z] Removing intermediate container 8389751a1951 [2023-10-25T02:29:23.659Z] ---> 2d75b6eb3b06 [2023-10-25T02:29:23.659Z] Step 24/25 : LABEL git_sha=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:29:23.659Z] ---> Running in ad675bbaaa12 [2023-10-25T02:29:23.659Z] Removing intermediate container ad675bbaaa12 [2023-10-25T02:29:23.659Z] ---> f0962e568244 [2023-10-25T02:29:23.659Z] Step 25/25 : LABEL version=3.0.1-dev.6 [2023-10-25T02:29:23.659Z] ---> Running in d57a69e31c81 [2023-10-25T02:29:23.659Z] Removing intermediate container d57a69e31c81 [2023-10-25T02:29:23.659Z] ---> 4cdde9f4c85c [2023-10-25T02:29:23.659Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T02:29:23.659Z] Successfully built 4cdde9f4c85c [2023-10-25T02:29:23.659Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:29:23.781Z] provisioning config files... [2023-10-25T02:29:23.803Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2838385455207585153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:29:24.101Z] ---> docker-login.sh [2023-10-25T02:29:24.101Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:29:24.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:29:24.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:29:24.101Z] Configure a credential helper to remove this warning. See [2023-10-25T02:29:24.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:29:24.101Z] [2023-10-25T02:29:24.101Z] Login Succeeded [2023-10-25T02:29:24.101Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:29:24.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:29:24.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:29:24.101Z] Configure a credential helper to remove this warning. See [2023-10-25T02:29:24.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:29:24.101Z] [2023-10-25T02:29:24.101Z] Login Succeeded [2023-10-25T02:29:24.101Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:29:24.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:29:24.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:29:24.620Z] Configure a credential helper to remove this warning. See [2023-10-25T02:29:24.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:29:24.620Z] [2023-10-25T02:29:24.620Z] Login Succeeded [2023-10-25T02:29:24.620Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:29:24.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:29:24.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:29:24.620Z] Configure a credential helper to remove this warning. See [2023-10-25T02:29:24.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:29:24.620Z] [2023-10-25T02:29:24.620Z] Login Succeeded [2023-10-25T02:29:24.620Z] docker.io [2023-10-25T02:29:24.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:29:24.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:29:24.880Z] Configure a credential helper to remove this warning. See [2023-10-25T02:29:24.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:29:24.880Z] [2023-10-25T02:29:24.880Z] Login Succeeded [2023-10-25T02:29:24.880Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:29:24.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:29:24.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:29:24.930Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-10-25T02:29:24.930Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:29:24.930Z] latest [2023-10-25T02:29:24.930Z] 3.0.1-dev.6 [2023-10-25T02:29:24.930Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:29:24.930Z] main [2023-10-25T02:29:24.930Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:25.257Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:25.575Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:29:25.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:29:25.575Z] a0c0d6535bec: Preparing [2023-10-25T02:29:25.575Z] 8df07df391b2: Preparing [2023-10-25T02:29:25.575Z] 7f4bfbc13f46: Preparing [2023-10-25T02:29:25.575Z] 93549a678985: Preparing [2023-10-25T02:29:25.575Z] cc2447e1835a: Preparing [2023-10-25T02:29:25.575Z] cc2447e1835a: Layer already exists [2023-10-25T02:29:25.575Z] 8df07df391b2: Pushed [2023-10-25T02:29:25.575Z] 7f4bfbc13f46: Pushed [2023-10-25T02:29:25.575Z] 93549a678985: Pushed [2023-10-25T02:29:28.863Z] a0c0d6535bec: Pushed [2023-10-25T02:29:28.863Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8: digest: sha256:1f59b914bbd065d8810622d09f65e621af8bab6832651df58f0e364ba480939d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:29.192Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:29.505Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T02:29:29.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:29:29.505Z] a0c0d6535bec: Preparing [2023-10-25T02:29:29.505Z] 8df07df391b2: Preparing [2023-10-25T02:29:29.505Z] 7f4bfbc13f46: Preparing [2023-10-25T02:29:29.505Z] 93549a678985: Preparing [2023-10-25T02:29:29.505Z] cc2447e1835a: Preparing [2023-10-25T02:29:29.505Z] 93549a678985: Layer already exists [2023-10-25T02:29:29.505Z] 8df07df391b2: Layer already exists [2023-10-25T02:29:29.505Z] a0c0d6535bec: Layer already exists [2023-10-25T02:29:29.505Z] 7f4bfbc13f46: Layer already exists [2023-10-25T02:29:29.505Z] cc2447e1835a: Layer already exists [2023-10-25T02:29:29.505Z] latest: digest: sha256:1f59b914bbd065d8810622d09f65e621af8bab6832651df58f0e364ba480939d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:29.816Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:30.118Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.6 [2023-10-25T02:29:30.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:29:30.118Z] a0c0d6535bec: Preparing [2023-10-25T02:29:30.118Z] 8df07df391b2: Preparing [2023-10-25T02:29:30.118Z] 7f4bfbc13f46: Preparing [2023-10-25T02:29:30.118Z] 93549a678985: Preparing [2023-10-25T02:29:30.118Z] cc2447e1835a: Preparing [2023-10-25T02:29:30.118Z] 8df07df391b2: Layer already exists [2023-10-25T02:29:30.118Z] 7f4bfbc13f46: Layer already exists [2023-10-25T02:29:30.118Z] 93549a678985: Layer already exists [2023-10-25T02:29:30.118Z] cc2447e1835a: Layer already exists [2023-10-25T02:29:30.118Z] a0c0d6535bec: Layer already exists [2023-10-25T02:29:30.118Z] 3.0.1-dev.6: digest: sha256:1f59b914bbd065d8810622d09f65e621af8bab6832651df58f0e364ba480939d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:30.433Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:30.754Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:29:30.754Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:29:30.754Z] a0c0d6535bec: Preparing [2023-10-25T02:29:30.754Z] 8df07df391b2: Preparing [2023-10-25T02:29:30.754Z] 7f4bfbc13f46: Preparing [2023-10-25T02:29:30.754Z] 93549a678985: Preparing [2023-10-25T02:29:30.754Z] cc2447e1835a: Preparing [2023-10-25T02:29:30.754Z] 7f4bfbc13f46: Layer already exists [2023-10-25T02:29:30.754Z] a0c0d6535bec: Layer already exists [2023-10-25T02:29:30.754Z] 93549a678985: Layer already exists [2023-10-25T02:29:30.754Z] 8df07df391b2: Layer already exists [2023-10-25T02:29:30.754Z] cc2447e1835a: Layer already exists [2023-10-25T02:29:30.754Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6: digest: sha256:1f59b914bbd065d8810622d09f65e621af8bab6832651df58f0e364ba480939d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:31.085Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:31.404Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-10-25T02:29:31.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T02:29:31.666Z] a0c0d6535bec: Preparing [2023-10-25T02:29:31.666Z] 8df07df391b2: Preparing [2023-10-25T02:29:31.666Z] 7f4bfbc13f46: Preparing [2023-10-25T02:29:31.666Z] 93549a678985: Preparing [2023-10-25T02:29:31.666Z] cc2447e1835a: Preparing [2023-10-25T02:29:32.236Z] 8df07df391b2: Layer already exists [2023-10-25T02:29:32.236Z] cc2447e1835a: Layer already exists [2023-10-25T02:29:32.236Z] a0c0d6535bec: Layer already exists [2023-10-25T02:29:32.236Z] 93549a678985: Layer already exists [2023-10-25T02:29:32.236Z] 7f4bfbc13f46: Layer already exists [2023-10-25T02:29:34.774Z] main: digest: sha256:1f59b914bbd065d8810622d09f65e621af8bab6832651df58f0e364ba480939d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:29:34.834Z] ===================================================== [Pipeline] echo [2023-10-25T02:29:34.845Z] taggedImages: [2023-10-25T02:29:34.845Z] - nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:29:34.845Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T02:29:34.845Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.6 [2023-10-25T02:29:34.845Z] - nexus3.edgexfoundry.org:10004/device-uart:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:29:34.845Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:35.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:29:35.232Z] [2023-10-25T02:29:35.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:29:35.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:29:35.529Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T02:29:35.529Z] 5eb5b503b376: Pulling fs layer [2023-10-25T02:29:35.529Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T02:29:35.529Z] ec43610c2a17: Pulling fs layer [2023-10-25T02:29:35.529Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T02:29:35.529Z] 33b1e0a273af: Pulling fs layer [2023-10-25T02:29:35.529Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T02:29:35.529Z] 2f39f015ded8: Pulling fs layer [2023-10-25T02:29:35.529Z] 3a2ae6a8a46f: Waiting [2023-10-25T02:29:35.529Z] 33b1e0a273af: Waiting [2023-10-25T02:29:35.529Z] 2f39f015ded8: Waiting [2023-10-25T02:29:35.529Z] 5c69ac0246d0: Download complete [2023-10-25T02:29:35.529Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-25T02:29:35.529Z] 3a2ae6a8a46f: Download complete [2023-10-25T02:29:35.530Z] 33b1e0a273af: Verifying Checksum [2023-10-25T02:29:35.530Z] 33b1e0a273af: Download complete [2023-10-25T02:29:35.530Z] 5d3b04190fa2: Verifying Checksum [2023-10-25T02:29:35.530Z] 5d3b04190fa2: Download complete [2023-10-25T02:29:35.789Z] ec43610c2a17: Verifying Checksum [2023-10-25T02:29:35.789Z] ec43610c2a17: Download complete [2023-10-25T02:29:35.789Z] 5eb5b503b376: Verifying Checksum [2023-10-25T02:29:35.789Z] 5eb5b503b376: Download complete [2023-10-25T02:29:36.357Z] 2f39f015ded8: Download complete [2023-10-25T02:29:37.289Z] 5eb5b503b376: Pull complete [2023-10-25T02:29:37.289Z] 5c69ac0246d0: Pull complete [2023-10-25T02:29:37.548Z] ec43610c2a17: Pull complete [2023-10-25T02:29:37.807Z] 3a2ae6a8a46f: Pull complete [2023-10-25T02:29:38.065Z] 33b1e0a273af: Pull complete [2023-10-25T02:29:38.065Z] 5d3b04190fa2: Pull complete [2023-10-25T02:29:43.331Z] 2f39f015ded8: Pull complete [2023-10-25T02:29:43.331Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T02:29:43.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:29:43.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:29:43.413Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:29:43.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T02:29:48.961Z] $ docker top cfcc40934d40791b4212c0532366f331966c6cd9b0694254e532732c75bad0be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:29:49.330Z] ---> job-cost.sh [2023-10-25T02:29:49.330Z] lf-activate-venv: SKIPPING [2023-10-25T02:29:49.330Z] INFO: No Stack... [2023-10-25T02:29:49.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T02:29:50.157Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T02:29:50.443Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-10-25T02:29:50.443Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T02:29:50.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [2023-10-25T02:29:50.461Z] Resource [jenkins-edgexfoundry-device-uart-main-12-stack-cost] did not exist. Created. [2023-10-25T02:29:50.461Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:29:50.760Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T02:29:50.789Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T02:29:50.795Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T02:29:50.811Z] $ docker stop --time=1 cfcc40934d40791b4212c0532366f331966c6cd9b0694254e532732c75bad0be [2023-10-25T02:29:51.957Z] $ docker rm -f --volumes cfcc40934d40791b4212c0532366f331966c6cd9b0694254e532732c75bad0be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T02:30:06.773Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10368 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-10-25T02:30:06.785Z] Running in /w/workspace/device-uart/12 [Pipeline] { [Pipeline] checkout [2023-10-25T02:30:06.819Z] The recommended git tool is: git [2023-10-25T02:30:13.533Z] using credential edgex-jenkins-ssh [2023-10-25T02:30:13.552Z] Cloning the remote Git repository [2023-10-25T02:30:13.613Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-10-25T02:30:13.737Z] > git init /w/workspace/device-uart/12 # timeout=10 [2023-10-25T02:30:13.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-10-25T02:30:13.933Z] > git --version # timeout=10 [2023-10-25T02:30:13.960Z] > git --version # 'git version 2.25.1' [2023-10-25T02:30:13.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T02:30:14.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T02:30:15.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-10-25T02:30:15.428Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T02:30:16.511Z] Avoid second fetch [2023-10-25T02:30:16.511Z] Checking out Revision 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 (main) [2023-10-25T02:30:17.100Z] Commit message: "Merge pull request #28 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36" [2023-10-25T02:30:16.529Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T02:30:16.609Z] > git checkout -f 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:30:18.041Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T02:30:18.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T02:30:18.041Z] Dload Upload Total Spent Left Speed [2023-10-25T02:30:18.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh [2023-10-25T02:30:18.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T02:30:19.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-25T02:30:19.084Z] + sudo tee /etc/docker/daemon.new [2023-10-25T02:30:19.084Z] { [2023-10-25T02:30:19.084Z] "registry-mirrors": [ [2023-10-25T02:30:19.084Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T02:30:19.084Z] ], [2023-10-25T02:30:19.084Z] "bip": "10.250.0.254/24", [2023-10-25T02:30:19.084Z] "hosts": [ [2023-10-25T02:30:19.084Z] "tcp://0.0.0.0:5555", [2023-10-25T02:30:19.084Z] "unix:///var/run/docker.sock" [2023-10-25T02:30:19.084Z] ], [2023-10-25T02:30:19.084Z] "mtu": 1458, [2023-10-25T02:30:19.084Z] "selinux-enabled": true, [2023-10-25T02:30:19.084Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T02:30:19.084Z] } [Pipeline] sh [2023-10-25T02:30:19.413Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T02:30:19.743Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:30:41.884Z] provisioning config files... [2023-10-25T02:30:41.913Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/12@tmp/config16163031816927683572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:30:42.272Z] ---> docker-login.sh [2023-10-25T02:30:42.272Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:30:42.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:30:42.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:30:42.867Z] Configure a credential helper to remove this warning. See [2023-10-25T02:30:42.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:30:42.867Z] [2023-10-25T02:30:42.867Z] Login Succeeded [2023-10-25T02:30:42.867Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:30:43.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:30:43.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:30:43.417Z] Configure a credential helper to remove this warning. See [2023-10-25T02:30:43.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:30:43.417Z] [2023-10-25T02:30:43.417Z] Login Succeeded [2023-10-25T02:30:43.417Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:30:43.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:30:43.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:30:43.688Z] Configure a credential helper to remove this warning. See [2023-10-25T02:30:43.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:30:43.688Z] [2023-10-25T02:30:43.688Z] Login Succeeded [2023-10-25T02:30:43.688Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:30:43.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:30:43.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:30:43.962Z] Configure a credential helper to remove this warning. See [2023-10-25T02:30:43.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:30:43.962Z] [2023-10-25T02:30:43.962Z] Login Succeeded [2023-10-25T02:30:43.962Z] docker.io [2023-10-25T02:30:44.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:30:44.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:30:44.502Z] Configure a credential helper to remove this warning. See [2023-10-25T02:30:44.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:30:44.502Z] [2023-10-25T02:30:44.502Z] Login Succeeded [2023-10-25T02:30:44.502Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:30:44.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T02:30:44.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:30:44.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:30:44.825Z] ========================================================= [2023-10-25T02:30:44.825Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T02:30:44.825Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:30:45.192Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T02:30:45.468Z] Sending build context to Docker daemon 5.636MB [2023-10-25T02:30:45.468Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:30:45.468Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T02:30:45.737Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T02:30:45.737Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T02:30:45.737Z] 5d54e960e981: Pulling fs layer [2023-10-25T02:30:45.737Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T02:30:45.737Z] f0e02332f6b5: Pulling fs layer [2023-10-25T02:30:45.737Z] cefa15bbcfad: Pulling fs layer [2023-10-25T02:30:45.737Z] 17808c966233: Pulling fs layer [2023-10-25T02:30:45.737Z] f4c1fc716caa: Pulling fs layer [2023-10-25T02:30:45.737Z] f0e02332f6b5: Waiting [2023-10-25T02:30:45.737Z] cefa15bbcfad: Waiting [2023-10-25T02:30:45.737Z] 17808c966233: Waiting [2023-10-25T02:30:45.737Z] f4c1fc716caa: Waiting [2023-10-25T02:30:46.015Z] 5d54e960e981: Download complete [2023-10-25T02:30:46.015Z] f0e02332f6b5: Verifying Checksum [2023-10-25T02:30:46.015Z] f0e02332f6b5: Download complete [2023-10-25T02:30:46.015Z] cefa15bbcfad: Verifying Checksum [2023-10-25T02:30:46.015Z] cefa15bbcfad: Download complete [2023-10-25T02:30:46.015Z] 9fda8d8052c6: Verifying Checksum [2023-10-25T02:30:46.015Z] 9fda8d8052c6: Download complete [2023-10-25T02:30:46.288Z] f4c1fc716caa: Verifying Checksum [2023-10-25T02:30:46.288Z] f4c1fc716caa: Download complete [2023-10-25T02:30:47.267Z] 9fda8d8052c6: Pull complete [2023-10-25T02:30:47.862Z] 5d54e960e981: Pull complete [2023-10-25T02:30:47.862Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T02:30:47.862Z] c4a7e357bf2a: Download complete [2023-10-25T02:30:48.840Z] 17808c966233: Verifying Checksum [2023-10-25T02:30:48.840Z] 17808c966233: Download complete [2023-10-25T02:31:01.189Z] c4a7e357bf2a: Pull complete [2023-10-25T02:31:01.189Z] f0e02332f6b5: Pull complete [2023-10-25T02:31:01.461Z] cefa15bbcfad: Pull complete [2023-10-25T02:31:09.817Z] 17808c966233: Pull complete [2023-10-25T02:31:11.788Z] f4c1fc716caa: Pull complete [2023-10-25T02:31:11.788Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T02:31:11.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T02:31:11.788Z] ---> ea914061e18c [2023-10-25T02:31:11.788Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:31:12.750Z] ---> Running in fd651b4c1c8d [2023-10-25T02:31:13.027Z] Removing intermediate container fd651b4c1c8d [2023-10-25T02:31:13.027Z] ---> 9706069387e8 [2023-10-25T02:31:13.027Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:31:13.300Z] ---> Running in e43f73055f0d [2023-10-25T02:31:13.567Z] Removing intermediate container e43f73055f0d [2023-10-25T02:31:13.567Z] ---> e26b1dbbbc4a [2023-10-25T02:31:13.567Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:31:13.567Z] ---> Running in 974e2ea5ed8c [2023-10-25T02:31:13.847Z] Removing intermediate container 974e2ea5ed8c [2023-10-25T02:31:13.847Z] ---> a204666659d6 [2023-10-25T02:31:13.847Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T02:31:14.118Z] ---> Running in 73422e4af251 [2023-10-25T02:31:14.388Z] Removing intermediate container 73422e4af251 [2023-10-25T02:31:14.388Z] ---> 39ff2ac0f859 [2023-10-25T02:31:14.388Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:31:14.388Z] ---> Running in f58a84607dc1 [2023-10-25T02:31:15.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:31:16.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:31:17.498Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T02:31:17.499Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T02:31:17.499Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T02:31:17.499Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T02:31:17.499Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:31:17.499Z] OK: 270 MiB in 56 packages [2023-10-25T02:31:19.449Z] Removing intermediate container f58a84607dc1 [2023-10-25T02:31:19.449Z] ---> 707873939dbb [2023-10-25T02:31:19.449Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T02:31:19.719Z] ---> 9a3c129bf21b [2023-10-25T02:31:19.719Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:31:19.719Z] ---> Running in fa048a65d497 [2023-10-25T02:32:56.388Z] Removing intermediate container fa048a65d497 [2023-10-25T02:32:56.388Z] ---> ab2985fae10d [2023-10-25T02:32:56.388Z] Step 10/12 : COPY . . [2023-10-25T02:32:56.388Z] ---> 18888339bff6 [2023-10-25T02:32:56.388Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:32:56.388Z] ---> Running in 153a1935bc98 [2023-10-25T02:32:56.388Z] Removing intermediate container 153a1935bc98 [2023-10-25T02:32:56.388Z] ---> 60d968f4db79 [2023-10-25T02:32:56.388Z] Step 12/12 : RUN ${MAKE} [2023-10-25T02:32:56.388Z] ---> Running in 53a972e58cb5 [2023-10-25T02:32:56.388Z] noop [2023-10-25T02:32:58.349Z] Removing intermediate container 53a972e58cb5 [2023-10-25T02:32:58.349Z] ---> bb53cb74629d [2023-10-25T02:32:58.349Z] Successfully built bb53cb74629d [2023-10-25T02:32:58.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:32:58.720Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T02:32:58.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:32:58.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-10368 does not seem to be running inside a container [2023-10-25T02:32:59.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T02:33:00.405Z] $ docker top 99b8c2f88c02de787f810bcaa67896dca1e29b3b663b6b5f234cf8a2895a785b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:33:01.273Z] + go version [2023-10-25T02:33:01.273Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T02:33:01.293Z] $ docker stop --time=1 99b8c2f88c02de787f810bcaa67896dca1e29b3b663b6b5f234cf8a2895a785b [2023-10-25T02:33:02.935Z] $ docker rm -f --volumes 99b8c2f88c02de787f810bcaa67896dca1e29b3b663b6b5f234cf8a2895a785b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:33:03.509Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T02:33:03.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:33:03.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-10368 does not seem to be running inside a container [2023-10-25T02:33:03.763Z] $ 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/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T02:33:04.994Z] $ docker top 744d8ea016161cac1cf4efc1efc9c1794bd6aa99a2f131608e66e5a62bf1ca05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:33:05.830Z] + git config --global --add safe.directory /w/workspace/device-uart/12 [Pipeline] fileExists [Pipeline] sh [2023-10-25T02:33:06.494Z] + make test [2023-10-25T02:33:06.494Z] go test ./... -coverprofile=coverage.out [2023-10-25T02:33:11.870Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T02:34:48.635Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T02:34:48.635Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T02:34:48.635Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T02:34:48.635Z] go vet ./... [2023-10-25T02:35:15.674Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T02:35:15.674Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T02:35:15.674Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T02:35:15.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T02:35:15.710Z] $ docker stop --time=1 744d8ea016161cac1cf4efc1efc9c1794bd6aa99a2f131608e66e5a62bf1ca05 [2023-10-25T02:35:20.402Z] $ docker rm -f --volumes 744d8ea016161cac1cf4efc1efc9c1794bd6aa99a2f131608e66e5a62bf1ca05 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:35:21.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T02:35:21.916Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T02:35:22.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T02:35:22.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T02:35:23.204Z] + ls -al . [2023-10-25T02:35:23.204Z] total 148 [2023-10-25T02:35:23.204Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 02:33 . [2023-10-25T02:35:23.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:30 .. [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:30 .dockerignore [2023-10-25T02:35:23.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:30 .git [2023-10-25T02:35:23.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:30 .github [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:30 .gitignore [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:30 .golangci.yml [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:30 Attribution.txt [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:30 Dockerfile [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:30 GOVERNANCE.md [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:30 Jenkinsfile [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:30 LICENSE [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:30 Makefile [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:30 OWNERS.md [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:30 README.md [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:26 VERSION [2023-10-25T02:35:23.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:30 bin [2023-10-25T02:35:23.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:30 cmd [2023-10-25T02:35:23.204Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:33 coverage.out [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:30 go.mod [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:30 go.sum [2023-10-25T02:35:23.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:30 internal [2023-10-25T02:35:23.204Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:35:23.558Z] + 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=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 --label arch=arm64 --label version=3.0.1-dev.6 . [2023-10-25T02:35:23.838Z] Sending build context to Docker daemon 5.637MB [2023-10-25T02:35:23.838Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T02:35:23.838Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T02:35:23.838Z] ---> bb53cb74629d [2023-10-25T02:35:23.838Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T02:35:24.109Z] ---> Running in e99dac375490 [2023-10-25T02:35:24.383Z] Removing intermediate container e99dac375490 [2023-10-25T02:35:24.383Z] ---> f0551ffda202 [2023-10-25T02:35:24.383Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T02:35:24.653Z] ---> Running in f26d6cfb00a3 [2023-10-25T02:35:24.922Z] Removing intermediate container f26d6cfb00a3 [2023-10-25T02:35:24.922Z] ---> badd28ef666e [2023-10-25T02:35:24.922Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T02:35:24.922Z] ---> Running in fbef6b8e43b1 [2023-10-25T02:35:25.191Z] Removing intermediate container fbef6b8e43b1 [2023-10-25T02:35:25.191Z] ---> 52718e0bcd5f [2023-10-25T02:35:25.191Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T02:35:25.464Z] ---> Running in a01047500ac6 [2023-10-25T02:35:25.733Z] Removing intermediate container a01047500ac6 [2023-10-25T02:35:25.733Z] ---> b3f3a8ba7b2d [2023-10-25T02:35:25.733Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T02:35:25.733Z] ---> Running in aa45fa45d24b [2023-10-25T02:35:27.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:35:27.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:35:28.841Z] OK: 270 MiB in 56 packages [2023-10-25T02:35:29.811Z] Removing intermediate container aa45fa45d24b [2023-10-25T02:35:29.811Z] ---> bc3abb7028a9 [2023-10-25T02:35:29.811Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T02:35:30.084Z] ---> 2c580bc94014 [2023-10-25T02:35:30.084Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T02:35:30.359Z] ---> Running in c666f57f6fe1 [2023-10-25T02:35:33.718Z] Removing intermediate container c666f57f6fe1 [2023-10-25T02:35:33.718Z] ---> 8e0dd586176c [2023-10-25T02:35:33.718Z] Step 10/25 : COPY . . [2023-10-25T02:35:34.695Z] ---> 62b960c35bbe [2023-10-25T02:35:34.695Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T02:35:34.695Z] ---> Running in 27b3dfefe4bc [2023-10-25T02:35:34.972Z] Removing intermediate container 27b3dfefe4bc [2023-10-25T02:35:34.972Z] ---> dc5a943de0ef [2023-10-25T02:35:34.972Z] Step 12/25 : RUN ${MAKE} [2023-10-25T02:35:34.972Z] ---> Running in fc8ca972fbf4 [2023-10-25T02:35:36.404Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T02:37:43.319Z] Removing intermediate container fc8ca972fbf4 [2023-10-25T02:37:43.319Z] ---> 56e59f36e1fd [2023-10-25T02:37:43.319Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T02:37:43.319Z] 3.18: Pulling from library/alpine [2023-10-25T02:37:43.319Z] 579b34f0a95b: Pulling fs layer [2023-10-25T02:37:43.319Z] 579b34f0a95b: Verifying Checksum [2023-10-25T02:37:43.319Z] 579b34f0a95b: Download complete [2023-10-25T02:37:43.319Z] 579b34f0a95b: Pull complete [2023-10-25T02:37:43.319Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T02:37:43.319Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T02:37:43.319Z] ---> 3cc203321400 [2023-10-25T02:37:43.319Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T02:37:43.319Z] ---> Running in ee71adc6d34f [2023-10-25T02:37:43.319Z] Removing intermediate container ee71adc6d34f [2023-10-25T02:37:43.319Z] ---> 771f33bf1fbd [2023-10-25T02:37:43.319Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T02:37:43.319Z] ---> Running in ac7e12087a42 [2023-10-25T02:37:43.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T02:37:44.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T02:37:45.186Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T02:37:45.186Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T02:37:45.452Z] OK: 8 MiB in 16 packages [2023-10-25T02:37:46.422Z] Removing intermediate container ac7e12087a42 [2023-10-25T02:37:46.422Z] ---> 058ffd912e43 [2023-10-25T02:37:46.422Z] Step 16/25 : WORKDIR / [2023-10-25T02:37:46.422Z] ---> Running in 39e0bec43168 [2023-10-25T02:37:46.691Z] Removing intermediate container 39e0bec43168 [2023-10-25T02:37:46.691Z] ---> 9d35048fa983 [2023-10-25T02:37:46.691Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T02:37:47.276Z] ---> 5b1387cbb1fb [2023-10-25T02:37:47.276Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T02:37:47.861Z] ---> a0c239987e4d [2023-10-25T02:37:47.861Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T02:37:52.175Z] ---> 634f10a6dbf0 [2023-10-25T02:37:52.175Z] Step 20/25 : EXPOSE 59995 [2023-10-25T02:37:52.175Z] ---> Running in 2992b07a3e91 [2023-10-25T02:37:52.175Z] Removing intermediate container 2992b07a3e91 [2023-10-25T02:37:52.175Z] ---> 80e0be1b7136 [2023-10-25T02:37:52.175Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T02:37:52.175Z] ---> Running in eca17a6186f2 [2023-10-25T02:37:52.175Z] Removing intermediate container eca17a6186f2 [2023-10-25T02:37:52.175Z] ---> 69d89f37079d [2023-10-25T02:37:52.175Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T02:37:52.449Z] ---> Running in 2adc2cac170c [2023-10-25T02:37:52.717Z] Removing intermediate container 2adc2cac170c [2023-10-25T02:37:52.718Z] ---> 65b88ba6ecbc [2023-10-25T02:37:52.718Z] Step 23/25 : LABEL arch=arm64 [2023-10-25T02:37:52.718Z] ---> Running in 5a56b71f22a3 [2023-10-25T02:37:52.987Z] Removing intermediate container 5a56b71f22a3 [2023-10-25T02:37:52.987Z] ---> f00250ed04ad [2023-10-25T02:37:52.987Z] Step 24/25 : LABEL git_sha=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:37:53.254Z] ---> Running in ef463be75c66 [2023-10-25T02:37:53.521Z] Removing intermediate container ef463be75c66 [2023-10-25T02:37:53.521Z] ---> 2baf680a584b [2023-10-25T02:37:53.521Z] Step 25/25 : LABEL version=3.0.1-dev.6 [2023-10-25T02:37:53.521Z] ---> Running in 6b65b8e6ae96 [2023-10-25T02:37:53.791Z] Removing intermediate container 6b65b8e6ae96 [2023-10-25T02:37:53.791Z] ---> aee824857bc3 [2023-10-25T02:37:53.791Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T02:37:53.791Z] Successfully built aee824857bc3 [2023-10-25T02:37:53.791Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:37:53.923Z] provisioning config files... [2023-10-25T02:37:53.939Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/12@tmp/config8542571937719539795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:37:54.286Z] ---> docker-login.sh [2023-10-25T02:37:54.286Z] nexus3.edgexfoundry.org:10001 [2023-10-25T02:37:54.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:37:54.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:37:54.556Z] Configure a credential helper to remove this warning. See [2023-10-25T02:37:54.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:37:54.556Z] [2023-10-25T02:37:54.556Z] Login Succeeded [2023-10-25T02:37:54.556Z] nexus3.edgexfoundry.org:10002 [2023-10-25T02:37:54.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:37:54.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:37:54.824Z] Configure a credential helper to remove this warning. See [2023-10-25T02:37:54.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:37:54.824Z] [2023-10-25T02:37:55.100Z] Login Succeeded [2023-10-25T02:37:55.100Z] nexus3.edgexfoundry.org:10003 [2023-10-25T02:37:55.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:37:55.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:37:55.369Z] Configure a credential helper to remove this warning. See [2023-10-25T02:37:55.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:37:55.369Z] [2023-10-25T02:37:55.369Z] Login Succeeded [2023-10-25T02:37:55.369Z] nexus3.edgexfoundry.org:10004 [2023-10-25T02:37:55.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:37:55.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:37:55.641Z] Configure a credential helper to remove this warning. See [2023-10-25T02:37:55.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:37:55.641Z] [2023-10-25T02:37:55.641Z] Login Succeeded [2023-10-25T02:37:55.910Z] docker.io [2023-10-25T02:37:56.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T02:37:56.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T02:37:56.446Z] Configure a credential helper to remove this warning. See [2023-10-25T02:37:56.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T02:37:56.446Z] [2023-10-25T02:37:56.446Z] Login Succeeded [2023-10-25T02:37:56.446Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T02:37:56.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:37:56.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T02:37:56.522Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-10-25T02:37:56.522Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:37:56.522Z] latest [2023-10-25T02:37:56.522Z] 3.0.1-dev.6 [2023-10-25T02:37:56.522Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:37:56.522Z] main [2023-10-25T02:37:56.522Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:37:56.888Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:37:57.259Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:37:57.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:37:57.259Z] 7414e22c189d: Preparing [2023-10-25T02:37:57.259Z] e9c4a2df0b0d: Preparing [2023-10-25T02:37:57.259Z] c8c33ea91134: Preparing [2023-10-25T02:37:57.259Z] ce3c3beecf32: Preparing [2023-10-25T02:37:57.259Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:37:57.259Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:37:57.531Z] ce3c3beecf32: Pushed [2023-10-25T02:37:57.531Z] e9c4a2df0b0d: Pushed [2023-10-25T02:37:57.531Z] c8c33ea91134: Pushed [2023-10-25T02:38:04.177Z] 7414e22c189d: Pushed [2023-10-25T02:38:04.177Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8: digest: sha256:26575eb35ec66d0c948b77653905313dfa99464ab4572a1c5e3e09e8b2704f0b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:05.944Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:06.298Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T02:38:06.298Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:38:06.298Z] 7414e22c189d: Preparing [2023-10-25T02:38:06.298Z] e9c4a2df0b0d: Preparing [2023-10-25T02:38:06.298Z] c8c33ea91134: Preparing [2023-10-25T02:38:06.298Z] ce3c3beecf32: Preparing [2023-10-25T02:38:06.298Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:38:06.298Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:38:06.298Z] c8c33ea91134: Layer already exists [2023-10-25T02:38:06.298Z] e9c4a2df0b0d: Layer already exists [2023-10-25T02:38:06.298Z] ce3c3beecf32: Layer already exists [2023-10-25T02:38:06.298Z] 7414e22c189d: Layer already exists [2023-10-25T02:38:06.564Z] latest: digest: sha256:26575eb35ec66d0c948b77653905313dfa99464ab4572a1c5e3e09e8b2704f0b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:06.917Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:07.270Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.6 [2023-10-25T02:38:07.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:38:07.270Z] 7414e22c189d: Preparing [2023-10-25T02:38:07.270Z] e9c4a2df0b0d: Preparing [2023-10-25T02:38:07.270Z] c8c33ea91134: Preparing [2023-10-25T02:38:07.270Z] ce3c3beecf32: Preparing [2023-10-25T02:38:07.270Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:38:07.270Z] c8c33ea91134: Layer already exists [2023-10-25T02:38:07.270Z] 7414e22c189d: Layer already exists [2023-10-25T02:38:07.270Z] e9c4a2df0b0d: Layer already exists [2023-10-25T02:38:07.270Z] ce3c3beecf32: Layer already exists [2023-10-25T02:38:07.270Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:38:07.270Z] 3.0.1-dev.6: digest: sha256:26575eb35ec66d0c948b77653905313dfa99464ab4572a1c5e3e09e8b2704f0b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:07.914Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:08.275Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:38:08.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:38:08.275Z] 7414e22c189d: Preparing [2023-10-25T02:38:08.275Z] e9c4a2df0b0d: Preparing [2023-10-25T02:38:08.275Z] c8c33ea91134: Preparing [2023-10-25T02:38:08.275Z] ce3c3beecf32: Preparing [2023-10-25T02:38:08.275Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:38:08.275Z] e9c4a2df0b0d: Layer already exists [2023-10-25T02:38:08.275Z] c8c33ea91134: Layer already exists [2023-10-25T02:38:08.275Z] ce3c3beecf32: Layer already exists [2023-10-25T02:38:08.275Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:38:08.275Z] 7414e22c189d: Layer already exists [2023-10-25T02:38:08.542Z] 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6: digest: sha256:26575eb35ec66d0c948b77653905313dfa99464ab4572a1c5e3e09e8b2704f0b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:08.893Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:09.238Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-10-25T02:38:09.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T02:38:09.238Z] 7414e22c189d: Preparing [2023-10-25T02:38:09.238Z] e9c4a2df0b0d: Preparing [2023-10-25T02:38:09.238Z] c8c33ea91134: Preparing [2023-10-25T02:38:09.238Z] ce3c3beecf32: Preparing [2023-10-25T02:38:09.238Z] 5f4d9fc4d98d: Preparing [2023-10-25T02:38:09.238Z] c8c33ea91134: Layer already exists [2023-10-25T02:38:09.238Z] e9c4a2df0b0d: Layer already exists [2023-10-25T02:38:09.238Z] 7414e22c189d: Layer already exists [2023-10-25T02:38:09.238Z] ce3c3beecf32: Layer already exists [2023-10-25T02:38:09.238Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T02:38:09.504Z] main: digest: sha256:26575eb35ec66d0c948b77653905313dfa99464ab4572a1c5e3e09e8b2704f0b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T02:38:09.564Z] ===================================================== [Pipeline] echo [2023-10-25T02:38:09.572Z] taggedImages: [2023-10-25T02:38:09.572Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [2023-10-25T02:38:09.572Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T02:38:09.572Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.6 [2023-10-25T02:38:09.573Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8-3.0.1-dev.6 [2023-10-25T02:38:09.573Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:09.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:38:09.937Z] [2023-10-25T02:38:09.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:10.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:38:10.274Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T02:38:10.274Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T02:38:10.274Z] 04944245beec: Pulling fs layer [2023-10-25T02:38:10.274Z] 699f458cf7ca: Pulling fs layer [2023-10-25T02:38:10.274Z] 765212b225bb: Pulling fs layer [2023-10-25T02:38:10.274Z] f23df028b6ca: Pulling fs layer [2023-10-25T02:38:10.274Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T02:38:10.274Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T02:38:10.274Z] d65c8cfc05b1: Waiting [2023-10-25T02:38:10.274Z] 765212b225bb: Waiting [2023-10-25T02:38:10.274Z] 2437ff75d9bd: Waiting [2023-10-25T02:38:10.274Z] f23df028b6ca: Waiting [2023-10-25T02:38:10.545Z] 04944245beec: Verifying Checksum [2023-10-25T02:38:10.545Z] 04944245beec: Download complete [2023-10-25T02:38:10.545Z] 765212b225bb: Verifying Checksum [2023-10-25T02:38:10.545Z] 765212b225bb: Download complete [2023-10-25T02:38:10.545Z] f23df028b6ca: Verifying Checksum [2023-10-25T02:38:10.545Z] f23df028b6ca: Download complete [2023-10-25T02:38:10.545Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T02:38:10.545Z] d65c8cfc05b1: Download complete [2023-10-25T02:38:10.820Z] 699f458cf7ca: Verifying Checksum [2023-10-25T02:38:10.820Z] 699f458cf7ca: Download complete [2023-10-25T02:38:11.090Z] 8998bd30e6a1: Verifying Checksum [2023-10-25T02:38:11.090Z] 8998bd30e6a1: Download complete [2023-10-25T02:38:13.685Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T02:38:13.685Z] 2437ff75d9bd: Download complete [2023-10-25T02:38:15.663Z] 8998bd30e6a1: Pull complete [2023-10-25T02:38:15.930Z] 04944245beec: Pull complete [2023-10-25T02:38:19.270Z] 699f458cf7ca: Pull complete [2023-10-25T02:38:19.270Z] 765212b225bb: Pull complete [2023-10-25T02:38:20.237Z] f23df028b6ca: Pull complete [2023-10-25T02:38:20.504Z] d65c8cfc05b1: Pull complete [2023-10-25T02:38:38.716Z] 2437ff75d9bd: Pull complete [2023-10-25T02:38:38.716Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T02:38:38.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T02:38:38.716Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:38:38.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-10368 does not seem to be running inside a container [2023-10-25T02:38:39.012Z] $ 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/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-25T02:38:41.779Z] $ docker top 9be2c9f9664695f6fcd6fb5944bc71392bffd5575c31e215bad14e63b806a0aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:38:42.617Z] ---> job-cost.sh [2023-10-25T02:38:42.617Z] lf-activate-venv: SKIPPING [2023-10-25T02:38:42.617Z] INFO: No Stack... [2023-10-25T02:38:42.883Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T02:38:43.841Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T02:38:44.474Z] + cat /w/workspace/device-uart/12/archives/cost.csv [2023-10-25T02:38:44.474Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T02:38:44.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [2023-10-25T02:38:44.515Z] Resource [jenkins-edgexfoundry-device-uart-main-12-stack-cost] did not exist. Created. [2023-10-25T02:38:44.515Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:38:45.161Z] /w/workspace/device-uart/12@tmp/durable-7192e394/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T02:38:45.812Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T02:38:45.838Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T02:38:45.892Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T02:38:45.899Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T02:38:45.914Z] $ docker stop --time=1 9be2c9f9664695f6fcd6fb5944bc71392bffd5575c31e215bad14e63b806a0aa [2023-10-25T02:38:47.497Z] $ docker rm -f --volumes 9be2c9f9664695f6fcd6fb5944bc71392bffd5575c31e215bad14e63b806a0aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-25T02:38:47.962Z] provisioning config files... [2023-10-25T02:38:47.970Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8407534363501577797tmp [Pipeline] { [Pipeline] sh [2023-10-25T02:38:48.272Z] + set +x [2023-10-25T02:38:48.272Z] + bash -s -- [2023-10-25T02:38:48.272Z] + curl -s https://codecov.io/bash [2023-10-25T02:38:48.272Z] [2023-10-25T02:38:48.272Z] _____ _ [2023-10-25T02:38:48.272Z] / ____| | | [2023-10-25T02:38:48.272Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T02:38:48.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T02:38:48.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T02:38:48.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T02:38:48.272Z] Bash-1.0.6 [2023-10-25T02:38:48.272Z] [2023-10-25T02:38:48.272Z] [2023-10-25T02:38:48.272Z] ==> git version 2.25.1 found [2023-10-25T02:38:48.272Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-25T02:38:48.272Z] Release-Date: 2020-01-08 [2023-10-25T02:38:48.272Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T02:38:48.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T02:38:48.272Z] ==> Jenkins CI detected. [2023-10-25T02:38:48.272Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-10-25T02:38:48.272Z] project root: . [2023-10-25T02:38:48.272Z] --> token set from env [2023-10-25T02:38:48.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T02:38:48.272Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T02:38:48.272Z] ==> Python coveragepy not found [2023-10-25T02:38:48.272Z] ==> Searching for coverage reports in: [2023-10-25T02:38:48.272Z] + . [2023-10-25T02:38:48.531Z] -> Found 1 reports [2023-10-25T02:38:48.531Z] ==> Detecting git/mercurial file structure [2023-10-25T02:38:48.531Z] ==> Reading reports [2023-10-25T02:38:48.531Z] + ./coverage.out bytes=10 [2023-10-25T02:38:48.531Z] ==> Appending adjustments [2023-10-25T02:38:48.531Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T02:38:48.531Z] + Found adjustments [2023-10-25T02:38:48.531Z] ==> Gzipping contents [2023-10-25T02:38:48.531Z] 4.0K /tmp/codecov.UxW8Ci.gz [2023-10-25T02:38:48.531Z] ==> Uploading reports [2023-10-25T02:38:48.531Z] url: https://codecov.io [2023-10-25T02:38:48.531Z] query: branch=main&commit=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T02:38:48.531Z] -> Pinging Codecov [2023-10-25T02:38:48.531Z] 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=926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T02:38:48.531Z] -> Uploading to [2023-10-25T02:38:48.531Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8/8aaba9d5-7942-4179-82c8-7e0b4ef0b86c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T023848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a921c456148f06f79897034b388e92d33d54c4758be6989f691a78ce8d60b2d [2023-10-25T02:38:48.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T02:38:48.531Z] Dload Upload Total Spent Left Speed [2023-10-25T02:38:49.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2716 --:--:-- --:--:-- --:--:-- 2704 100 603 0 0 100 603 0 1816 --:--:-- --:--:-- --:--:-- 1816 [2023-10-25T02:38:49.049Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] } [2023-10-25T02:38:49.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-25T02:38:49.287Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-25T02:38:49.294Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:49.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:38:49.587Z] [2023-10-25T02:38:49.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:38:49.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:38:50.145Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-25T02:38:50.145Z] df9b9388f04a: Pulling fs layer [2023-10-25T02:38:50.145Z] 52dc419b0ee2: Pulling fs layer [2023-10-25T02:38:50.145Z] 25bc292e5bac: Pulling fs layer [2023-10-25T02:38:50.145Z] 114826534d7a: Pulling fs layer [2023-10-25T02:38:50.145Z] 4657fd5d0bcf: Pulling fs layer [2023-10-25T02:38:50.145Z] 6ad1cebc031e: Pulling fs layer [2023-10-25T02:38:50.145Z] 8a3aa393b2d8: Pulling fs layer [2023-10-25T02:38:50.145Z] 114826534d7a: Waiting [2023-10-25T02:38:50.145Z] 4657fd5d0bcf: Waiting [2023-10-25T02:38:50.145Z] 8a3aa393b2d8: Waiting [2023-10-25T02:38:50.145Z] 6ad1cebc031e: Waiting [2023-10-25T02:38:50.404Z] 25bc292e5bac: Verifying Checksum [2023-10-25T02:38:50.404Z] 25bc292e5bac: Download complete [2023-10-25T02:38:50.404Z] 52dc419b0ee2: Download complete [2023-10-25T02:38:50.404Z] 4657fd5d0bcf: Verifying Checksum [2023-10-25T02:38:50.404Z] 4657fd5d0bcf: Download complete [2023-10-25T02:38:50.404Z] df9b9388f04a: Verifying Checksum [2023-10-25T02:38:50.404Z] df9b9388f04a: Download complete [2023-10-25T02:38:50.404Z] 6ad1cebc031e: Verifying Checksum [2023-10-25T02:38:50.404Z] 6ad1cebc031e: Download complete [2023-10-25T02:38:50.404Z] df9b9388f04a: Pull complete [2023-10-25T02:38:50.664Z] 52dc419b0ee2: Pull complete [2023-10-25T02:38:50.664Z] 25bc292e5bac: Pull complete [2023-10-25T02:38:51.234Z] 114826534d7a: Verifying Checksum [2023-10-25T02:38:51.234Z] 114826534d7a: Download complete [2023-10-25T02:38:51.493Z] 8a3aa393b2d8: Verifying Checksum [2023-10-25T02:38:51.493Z] 8a3aa393b2d8: Download complete [2023-10-25T02:38:58.050Z] 114826534d7a: Pull complete [2023-10-25T02:38:58.050Z] 4657fd5d0bcf: Pull complete [2023-10-25T02:38:58.050Z] 6ad1cebc031e: Pull complete [2023-10-25T02:39:03.678Z] 8a3aa393b2d8: Pull complete [2023-10-25T02:39:03.678Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-25T02:39:03.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T02:39:03.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:39:03.763Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:39:03.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-25T02:39:09.974Z] $ docker top 181d7f05f96e40164cbd1c21eaeea13279b2164e93b71900157d55c2fd65248c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-25T02:39:10.047Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-10-25T02:39:10.327Z] + set -o pipefail [2023-10-25T02:39:10.327Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-10-25T02:39:18.454Z] [2023-10-25T02:39:18.454Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-10-25T02:39:18.454Z] [2023-10-25T02:39:18.454Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/059542b7-8106-4127-a338-11f340046496 [2023-10-25T02:39:18.454Z] [2023-10-25T02:39:18.454Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-25T02:39:18.454Z] [2023-10-25T02:39:18.454Z] [2023-10-25T02:39:18.454Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-25T02:39:18.454Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-25T02:39:18.454Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-25T02:39:18.465Z] $ docker stop --time=1 181d7f05f96e40164cbd1c21eaeea13279b2164e93b71900157d55c2fd65248c [2023-10-25T02:39:23.363Z] $ docker rm -f --volumes 181d7f05f96e40164cbd1c21eaeea13279b2164e93b71900157d55c2fd65248c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T02:39:24.136Z] + git log --format=format:%s -1 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 [Pipeline] sh [2023-10-25T02:39:24.422Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:39:24.422Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:39:24.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:39:24.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:39:24.785Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:39:24.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:39:25.207Z] $ docker top 2b15c3642293202fea857b8806d3984b3e4c78c73f66804e8aafa0851fd510b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:39:25.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:39:25.302Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:39:25.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:39:25.425Z] $ docker exec 2b15c3642293202fea857b8806d3984b3e4c78c73f66804e8aafa0851fd510b6 ssh-agent [2023-10-25T02:39:25.549Z] SSH_AUTH_SOCK=/tmp/ssh-HPtjvw85x74P/agent.32 [2023-10-25T02:39:25.549Z] SSH_AGENT_PID=38 [2023-10-25T02:39:25.554Z] Running ssh-add (command line suppressed) [2023-10-25T02:39:25.655Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13103203601683907178.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13103203601683907178.key) [2023-10-25T02:39:25.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:39:25.955Z] + git semver tag [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,155 [run_tag] DEBUG tag force:False [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,155 [check_head_tag] DEBUG check head tag [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,156 [execute] INFO git cat-file --batch-check [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,161 [execute] INFO git cat-file --batch [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,169 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,169 [execute] INFO git tag -a v3.0.1-dev.6 -m v3.0.1-dev.6 [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,170 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.6', '-m', 'v3.0.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:39:26.213Z] 2023-10-25 02:39:26,176 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:26.213Z] 3.0.1-dev.6 [Pipeline] } [2023-10-25T02:39:26.220Z] $ docker exec --env ******** --env ******** 2b15c3642293202fea857b8806d3984b3e4c78c73f66804e8aafa0851fd510b6 ssh-agent -k [2023-10-25T02:39:26.328Z] unset SSH_AUTH_SOCK; [2023-10-25T02:39:26.329Z] unset SSH_AGENT_PID; [2023-10-25T02:39:26.329Z] echo Agent pid 38 killed; [2023-10-25T02:39:26.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:39:26.644Z] + git semver [Pipeline] } [2023-10-25T02:39:26.914Z] $ docker stop --time=1 2b15c3642293202fea857b8806d3984b3e4c78c73f66804e8aafa0851fd510b6 [2023-10-25T02:39:28.233Z] $ docker rm -f --volumes 2b15c3642293202fea857b8806d3984b3e4c78c73f66804e8aafa0851fd510b6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:39:28.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:39:28.630Z] [2023-10-25T02:39:28.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:39:28.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:39:28.926Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-25T02:39:28.926Z] ab5ef0e58194: Pulling fs layer [2023-10-25T02:39:28.926Z] 9712f1f96733: Pulling fs layer [2023-10-25T02:39:28.926Z] 63f879dbbcfc: Pulling fs layer [2023-10-25T02:39:28.926Z] 0d9ebad4ef96: Pulling fs layer [2023-10-25T02:39:28.926Z] e9a5061849ea: Pulling fs layer [2023-10-25T02:39:28.926Z] d747dcd14b5f: Pulling fs layer [2023-10-25T02:39:28.926Z] 2de7ff778b66: Pulling fs layer [2023-10-25T02:39:28.926Z] 0d9ebad4ef96: Waiting [2023-10-25T02:39:28.926Z] e9a5061849ea: Waiting [2023-10-25T02:39:28.926Z] d747dcd14b5f: Waiting [2023-10-25T02:39:28.926Z] 2de7ff778b66: Waiting [2023-10-25T02:39:28.926Z] 9712f1f96733: Download complete [2023-10-25T02:39:29.186Z] 63f879dbbcfc: Verifying Checksum [2023-10-25T02:39:29.186Z] 63f879dbbcfc: Download complete [2023-10-25T02:39:29.444Z] 0d9ebad4ef96: Verifying Checksum [2023-10-25T02:39:29.444Z] 0d9ebad4ef96: Download complete [2023-10-25T02:39:29.444Z] e9a5061849ea: Verifying Checksum [2023-10-25T02:39:29.444Z] e9a5061849ea: Download complete [2023-10-25T02:39:29.444Z] d747dcd14b5f: Verifying Checksum [2023-10-25T02:39:29.444Z] d747dcd14b5f: Download complete [2023-10-25T02:39:29.702Z] ab5ef0e58194: Download complete [2023-10-25T02:39:29.702Z] 2de7ff778b66: Verifying Checksum [2023-10-25T02:39:29.702Z] 2de7ff778b66: Download complete [2023-10-25T02:39:32.983Z] ab5ef0e58194: Pull complete [2023-10-25T02:39:32.983Z] 9712f1f96733: Pull complete [2023-10-25T02:39:33.242Z] 63f879dbbcfc: Pull complete [2023-10-25T02:39:37.424Z] 0d9ebad4ef96: Pull complete [2023-10-25T02:39:37.424Z] e9a5061849ea: Pull complete [2023-10-25T02:39:37.424Z] d747dcd14b5f: Pull complete [2023-10-25T02:39:38.360Z] 2de7ff778b66: Pull complete [2023-10-25T02:39:38.360Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-25T02:39:38.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T02:39:38.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:39:38.450Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:39:38.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-25T02:39:47.025Z] $ docker top a385722675d2bffb96162a4328ae4d504adb3fe90d078d0d1ee3a61b79bf2565 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:39:47.098Z] provisioning config files... [2023-10-25T02:39:47.105Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12934333186557001797tmp [2023-10-25T02:39:47.114Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13329311139689714461tmp [2023-10-25T02:39:47.122Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14360792223803548121tmp [Pipeline] { [Pipeline] echo [2023-10-25T02:39:47.136Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:39:47.419Z] ---> sigul-configuration.sh [2023-10-25T02:39:47.419Z] gpg: directory `/root/.gnupg' created [2023-10-25T02:39:47.419Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-25T02:39:47.419Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-25T02:39:47.419Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-25T02:39:47.419Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-25T02:39:47.419Z] gpg: CAST5 encrypted data [2023-10-25T02:39:47.419Z] gpg: encrypted with 1 passphrase [2023-10-25T02:39:47.419Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-25T02:39:47.702Z] + mkdir /home/jenkins [2023-10-25T02:39:47.702Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-25T02:39:47.986Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-25T02:39:47.993Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:39:48.275Z] ---> sigul-install.sh [2023-10-25T02:39:48.275Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-25T02:39:48.554Z] + git tag --list [2023-10-25T02:39:48.554Z] v0.0.0 [2023-10-25T02:39:48.554Z] v0.0.1-dev.1 [2023-10-25T02:39:48.554Z] v0.0.1-dev.2 [2023-10-25T02:39:48.554Z] v0.0.1-dev.3 [2023-10-25T02:39:48.554Z] v0.0.1-dev.4 [2023-10-25T02:39:48.554Z] v3.0.0 [2023-10-25T02:39:48.554Z] v3.0.1-dev.1 [2023-10-25T02:39:48.554Z] v3.0.1-dev.2 [2023-10-25T02:39:48.554Z] v3.0.1-dev.3 [2023-10-25T02:39:48.554Z] v3.0.1-dev.4 [2023-10-25T02:39:48.554Z] v3.0.1-dev.5 [2023-10-25T02:39:48.554Z] v3.0.1-dev.6 [Pipeline] sh [2023-10-25T02:39:48.837Z] + lftools sign git-tag v3.0.1-dev.6 [2023-10-25T02:39:49.275Z] Signing Git tag with Sigul... [2023-10-25T02:39:49.275Z] Signing v3.0.1-dev.6 [Pipeline] echo [2023-10-25T02:39:49.848Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:39:50.126Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-25T02:39:50.134Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-25T02:39:50.151Z] $ docker stop --time=1 a385722675d2bffb96162a4328ae4d504adb3fe90d078d0d1ee3a61b79bf2565 [2023-10-25T02:39:51.431Z] $ docker rm -f --volumes a385722675d2bffb96162a4328ae4d504adb3fe90d078d0d1ee3a61b79bf2565 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-25T02:39:51.857Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:39:51.857Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:39:52.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:39:52.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:39:52.238Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:39:52.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:39:52.639Z] $ docker top fd5107bf09985a5b45904376a2ba83c7e02f08d8d9e99866e55be6ec89d6f7d8 -eo pid,comm [2023-10-25T02:39:52.691Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T02:39:52.691Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:39:52.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:39:52.727Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:39:52.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:39:52.867Z] $ docker exec fd5107bf09985a5b45904376a2ba83c7e02f08d8d9e99866e55be6ec89d6f7d8 ssh-agent [2023-10-25T02:39:53.026Z] SSH_AUTH_SOCK=/tmp/ssh-LfNFUcCHhixg/agent.14 [2023-10-25T02:39:53.027Z] SSH_AGENT_PID=21 [2023-10-25T02:39:53.032Z] Running ssh-add (command line suppressed) [2023-10-25T02:39:53.171Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5943428279744341571.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5943428279744341571.key) [2023-10-25T02:39:53.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:39:53.503Z] + git semver bump pre [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,697 [bump_version] DEBUG bumping version:3.0.1-dev.6 on axis:pre with prefix:dev [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,697 [bump_version] DEBUG bumped version:3.0.1-dev.7 [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,697 [write_version] DEBUG write version:3.0.1-dev.7 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,697 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,700 [execute] INFO git cat-file --batch-check [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,706 [execute] INFO git cat-file --batch [2023-10-25T02:39:53.762Z] 2023-10-25 02:39:53,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:39:53.763Z] 2023-10-25 02:39:53,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:39:53.763Z] 3.0.1-dev.7 [Pipeline] } [2023-10-25T02:39:53.772Z] $ docker exec --env ******** --env ******** fd5107bf09985a5b45904376a2ba83c7e02f08d8d9e99866e55be6ec89d6f7d8 ssh-agent -k [2023-10-25T02:39:53.874Z] unset SSH_AUTH_SOCK; [2023-10-25T02:39:53.874Z] unset SSH_AGENT_PID; [2023-10-25T02:39:53.874Z] echo Agent pid 21 killed; [2023-10-25T02:39:53.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:39:54.205Z] + git semver [Pipeline] } [2023-10-25T02:39:54.475Z] $ docker stop --time=1 fd5107bf09985a5b45904376a2ba83c7e02f08d8d9e99866e55be6ec89d6f7d8 [2023-10-25T02:39:55.837Z] $ docker rm -f --volumes fd5107bf09985a5b45904376a2ba83c7e02f08d8d9e99866e55be6ec89d6f7d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T02:39:56.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T02:39:56.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:39:56.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T02:39:56.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:39:56.721Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:39:56.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T02:39:57.105Z] $ docker top 98dba7651acf9be19b7a96c5714f3c9a54afa2d60e542bf5b6b6174de9584338 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T02:39:57.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T02:39:57.206Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T02:39:57.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T02:39:57.339Z] $ docker exec 98dba7651acf9be19b7a96c5714f3c9a54afa2d60e542bf5b6b6174de9584338 ssh-agent [2023-10-25T02:39:57.465Z] SSH_AUTH_SOCK=/tmp/ssh-O2EjOLVWGgpg/agent.32 [2023-10-25T02:39:57.465Z] SSH_AGENT_PID=38 [2023-10-25T02:39:57.470Z] Running ssh-add (command line suppressed) [2023-10-25T02:39:57.580Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_292118824468545325.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_292118824468545325.key) [2023-10-25T02:39:57.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T02:39:57.901Z] + git semver push [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,100 [run_push] DEBUG push [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,101 [execute] INFO git cat-file --batch-check [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,106 [execute] INFO git rev-list e656d1c828f9e469cbd8eb8557085ea3a2fadeb1 -- [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,107 [execute] DEBUG Popen(['git', 'rev-list', 'e656d1c828f9e469cbd8eb8557085ea3a2fadeb1', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,113 [execute] INFO git fetch -v origin [2023-10-25T02:39:58.162Z] 2023-10-25 02:39:58,114 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-25T02:39:58.734Z] 2023-10-25 02:39:58,678 [run_push] DEBUG no remote changes detected [2023-10-25T02:39:58.734Z] 2023-10-25 02:39:58,679 [execute] INFO git push origin semver [2023-10-25T02:39:58.734Z] 2023-10-25 02:39:58,679 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:39:59.672Z] 2023-10-25 02:39:59,600 [run_push] DEBUG push all version tags [2023-10-25T02:39:59.673Z] 2023-10-25 02:39:59,601 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-25T02:39:59.673Z] 2023-10-25 02:39:59,601 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T02:40:00.614Z] 2023-10-25 02:40:00,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T02:40:00.614Z] 3.0.1-dev.7 [Pipeline] } [2023-10-25T02:40:00.623Z] $ docker exec --env ******** --env ******** 98dba7651acf9be19b7a96c5714f3c9a54afa2d60e542bf5b6b6174de9584338 ssh-agent -k [2023-10-25T02:40:00.717Z] unset SSH_AUTH_SOCK; [2023-10-25T02:40:00.721Z] unset SSH_AGENT_PID; [2023-10-25T02:40:00.721Z] echo Agent pid 38 killed; [2023-10-25T02:40:00.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T02:40:01.050Z] + git semver [Pipeline] } [2023-10-25T02:40:01.322Z] $ docker stop --time=1 98dba7651acf9be19b7a96c5714f3c9a54afa2d60e542bf5b6b6174de9584338 [2023-10-25T02:40:02.644Z] $ docker rm -f --volumes 98dba7651acf9be19b7a96c5714f3c9a54afa2d60e542bf5b6b6174de9584338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T02:40:03.198Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-10-25T02:40:03.198Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:40:03.198Z] total 16 [2023-10-25T02:40:03.198Z] drwxr-xr-x 3 root root 4096 Oct 25 02:29 . [2023-10-25T02:40:03.198Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:39 .. [2023-10-25T02:40:03.198Z] drwxr-xr-x 2 root root 4096 Oct 25 02:29 cost [2023-10-25T02:40:03.198Z] -rw-r--r-- 1 root root 82 Oct 25 02:29 cost.csv [2023-10-25T02:40:03.198Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:40:03.198Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T02:40:03.198Z] total 16 [2023-10-25T02:40:03.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:29 . [2023-10-25T02:40:03.198Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:39 .. [2023-10-25T02:40:03.198Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 02:29 cost [2023-10-25T02:40:03.198Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 25 02:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:03.492Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:04.368Z] ---> package-listing.sh [2023-10-25T02:40:04.368Z] ++ facter osfamily [2023-10-25T02:40:04.368Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T02:40:04.627Z] + OS_FAMILY=debian [2023-10-25T02:40:04.627Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-10-25T02:40:04.627Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T02:40:04.627Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T02:40:04.627Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T02:40:04.627Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T02:40:04.627Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T02:40:04.627Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T02:40:04.627Z] + case "${OS_FAMILY}" in [2023-10-25T02:40:04.627Z] + dpkg -l [2023-10-25T02:40:04.627Z] + grep '^ii' [2023-10-25T02:40:04.627Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T02:40:04.627Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T02:40:04.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T02:40:04.627Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T02:40:04.627Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-10-25T02:40:04.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-10-25T02:40:04.638Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T02:40:04.922Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T02:40:05.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T02:40:05.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T02:40:05.562Z] prd-ubuntu20.04-docker-8c-8g-10366 does not seem to be running inside a container [2023-10-25T02:40:05.598Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T02:40:06.618Z] $ docker top f1768b2d93aabc561863ac536ff68f4ae6b545f9093ae5e1f9a371c44e48ddff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T02:40:06.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T02:40:07.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T02:40:07.548Z] + ls /var/log/sa-host [2023-10-25T02:40:07.548Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T02:40:07.635Z] provisioning config files... [2023-10-25T02:40:07.647Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1255580344368187132tmp [Pipeline] { [Pipeline] echo [2023-10-25T02:40:07.666Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:07.955Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T02:40:07.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:08.293Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T02:40:08.305Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:08.586Z] ---> sudo-logs.sh [2023-10-25T02:40:08.587Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T02:40:08.607Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:08.885Z] ---> job-cost.sh [2023-10-25T02:40:08.886Z] lf-activate-venv: SKIPPING [2023-10-25T02:40:08.886Z] DEBUG: total: 0.2199999988079071 [2023-10-25T02:40:08.886Z] INFO: Retrieving Stack Cost... [2023-10-25T02:40:09.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T02:40:09.713Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T02:40:09.722Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T02:40:10.005Z] ---> logs-deploy.sh [2023-10-25T02:40:10.005Z] lf-activate-venv: SKIPPING [2023-10-25T02:40:10.005Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/12 [2023-10-25T02:40:10.005Z] INFO: archiving workspace using pattern(s): [2023-10-25T02:40:10.945Z] Archives upload complete. [2023-10-25T02:40:10.945Z] INFO: archiving logs to Nexus