Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 163a5cf59154a2f057feab4c63f7858625d99e7c 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-ssh18327965629858955768.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-ssh14604190206029393814.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-ssh4108320436615094591.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-ssh2512665513720166499.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-ssh15162277487487136829.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-12070 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 163a5cf59154a2f057feab4c63f7858625d99e7c (main) Commit message: "Merge pull request #29 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" > 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 163a5cf59154a2f057feab4c63f7858625d99e7c # timeout=10 > git rev-list --no-walk c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-26T21:21:22.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-26T21:21:23.123Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-26T21:21:23.138Z] ========================================================= [2023-10-26T21:21:23.138Z] EdgeX Global Pipelines Version Info [2023-10-26T21:21:23.138Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:21:23.846Z] ------------------- [2023-10-26T21:21:23.846Z] stable info: [2023-10-26T21:21:23.846Z] ------------------- [2023-10-26T21:21:23.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-26T21:21:23.846Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T21:21:23.846Z] Message: update stable to v1.0.254 [2023-10-26T21:21:24.419Z] ------------------- [2023-10-26T21:21:24.419Z] experimental info: [2023-10-26T21:21:24.419Z] ------------------- [2023-10-26T21:21:24.419Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-26T21:21:24.419Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T21:21:24.419Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-26T21:21:24.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-10-26T21:21:24.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-10-26T21:21:24.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-26T21:21:24.617Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-26T21:21:24.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-26T21:21:24.643Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-26T21:21:24.662Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-26T21:21:24.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-26T21:21:24.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-26T21:21:24.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-26T21:21:24.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-26T21:21:24.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-10-26T21:21:24.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-26T21:21:24.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-26T21:21:24.764Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-26T21:21:24.780Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-26T21:21:24.795Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T21:21:24.807Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T21:21:24.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-26T21:21:24.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-26T21:21:24.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-26T21:21:24.859Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-26T21:21:24.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-26T21:21:24.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-26T21:21:24.906Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-26T21:21:24.920Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-26T21:21:24.931Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-26T21:21:24.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-26T21:21:24.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-26T21:21:24.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-26T21:21:24.979Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] echo [2023-10-26T21:21:24.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 163a5cf [Pipeline] echo [2023-10-26T21:21:25.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T21:21:25.043Z] provisioning config files... [2023-10-26T21:21:25.056Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11137976796675561715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:21:25.351Z] ---> docker-login.sh [2023-10-26T21:21:25.351Z] nexus3.edgexfoundry.org:10001 [2023-10-26T21:21:25.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:25.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:25.611Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:25.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:25.611Z] [2023-10-26T21:21:25.611Z] Login Succeeded [2023-10-26T21:21:25.611Z] nexus3.edgexfoundry.org:10002 [2023-10-26T21:21:25.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:25.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:25.611Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:25.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:25.611Z] [2023-10-26T21:21:25.611Z] Login Succeeded [2023-10-26T21:21:25.611Z] nexus3.edgexfoundry.org:10003 [2023-10-26T21:21:25.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:25.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:25.875Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:25.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:25.875Z] [2023-10-26T21:21:25.875Z] Login Succeeded [2023-10-26T21:21:25.875Z] nexus3.edgexfoundry.org:10004 [2023-10-26T21:21:25.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:25.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:25.875Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:25.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:25.875Z] [2023-10-26T21:21:25.875Z] Login Succeeded [2023-10-26T21:21:25.875Z] docker.io [2023-10-26T21:21:25.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:26.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:26.133Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:26.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:26.133Z] [2023-10-26T21:21:26.133Z] Login Succeeded [2023-10-26T21:21:26.133Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T21:21:26.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-26T21:21:26.523Z] + git rev-list -1 --merges 163a5cf59154a2f057feab4c63f7858625d99e7c~1..163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] echo [2023-10-26T21:21:26.566Z] -----------> git rev-list -1 --merges 163a5cf59154a2f057feab4c63f7858625d99e7c~1..163a5cf59154a2f057feab4c63f7858625d99e7c 163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:21:26.566Z] 163a5cf59154a2f057feab4c63f7858625d99e7c [false] [Pipeline] sh [2023-10-26T21:21:26.860Z] + git log --format=format:%s -1 163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] echo [2023-10-26T21:21:26.873Z] ========================================================= [2023-10-26T21:21:26.873Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-26T21:21:26.873Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T21:21:27.203Z] + git log --format=format:%s -1 163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] echo [2023-10-26T21:21:27.214Z] [semverPrep] GIT_COMMIT: 163a5cf59154a2f057feab4c63f7858625d99e7c, Commit Message: Merge pull request #29 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37 [Pipeline] echo [2023-10-26T21:21:27.226Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-26T21:21:27.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T21:21:27.572Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-26T21:21:27.572Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-26T21:21:27.572Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-26T21:21:27.572Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-26T21:21:27.572Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-26T21:21:27.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:21:27.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:21:27.907Z] [2023-10-26T21:21:27.907Z] 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-26T21:21:28.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:21:28.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-26T21:21:28.210Z] b85a868b505f: Pulling fs layer [2023-10-26T21:21:28.210Z] e2be974225ed: Pulling fs layer [2023-10-26T21:21:28.210Z] 339a4e72a1f5: Pulling fs layer [2023-10-26T21:21:28.210Z] 988bab9f4d93: Pulling fs layer [2023-10-26T21:21:28.210Z] 1469e6f7b9e6: Pulling fs layer [2023-10-26T21:21:28.210Z] eaf3925da568: Pulling fs layer [2023-10-26T21:21:28.210Z] bab4dde63d76: Pulling fs layer [2023-10-26T21:21:28.210Z] bde34c3a00c8: Pulling fs layer [2023-10-26T21:21:28.210Z] b352a97aabf1: Pulling fs layer [2023-10-26T21:21:28.210Z] 4872d77fe225: Pulling fs layer [2023-10-26T21:21:28.210Z] 5851b861e8e6: Pulling fs layer [2023-10-26T21:21:28.210Z] bab4dde63d76: Waiting [2023-10-26T21:21:28.210Z] 988bab9f4d93: Waiting [2023-10-26T21:21:28.210Z] 1469e6f7b9e6: Waiting [2023-10-26T21:21:28.210Z] eaf3925da568: Waiting [2023-10-26T21:21:28.210Z] bde34c3a00c8: Waiting [2023-10-26T21:21:28.210Z] 4872d77fe225: Waiting [2023-10-26T21:21:28.210Z] b352a97aabf1: Waiting [2023-10-26T21:21:28.210Z] e2be974225ed: Download complete [2023-10-26T21:21:28.210Z] 988bab9f4d93: Verifying Checksum [2023-10-26T21:21:28.210Z] 988bab9f4d93: Download complete [2023-10-26T21:21:28.210Z] 1469e6f7b9e6: Verifying Checksum [2023-10-26T21:21:28.210Z] 1469e6f7b9e6: Download complete [2023-10-26T21:21:28.210Z] 339a4e72a1f5: Verifying Checksum [2023-10-26T21:21:28.210Z] 339a4e72a1f5: Download complete [2023-10-26T21:21:28.210Z] eaf3925da568: Download complete [2023-10-26T21:21:28.469Z] bde34c3a00c8: Verifying Checksum [2023-10-26T21:21:28.469Z] bde34c3a00c8: Download complete [2023-10-26T21:21:28.469Z] b352a97aabf1: Verifying Checksum [2023-10-26T21:21:28.469Z] b352a97aabf1: Download complete [2023-10-26T21:21:28.469Z] 4872d77fe225: Verifying Checksum [2023-10-26T21:21:28.469Z] 4872d77fe225: Download complete [2023-10-26T21:21:28.469Z] 5851b861e8e6: Verifying Checksum [2023-10-26T21:21:28.469Z] 5851b861e8e6: Download complete [2023-10-26T21:21:28.469Z] b85a868b505f: Verifying Checksum [2023-10-26T21:21:28.469Z] b85a868b505f: Download complete [2023-10-26T21:21:28.728Z] bab4dde63d76: Verifying Checksum [2023-10-26T21:21:28.728Z] bab4dde63d76: Download complete [2023-10-26T21:21:29.664Z] b85a868b505f: Pull complete [2023-10-26T21:21:29.664Z] e2be974225ed: Pull complete [2023-10-26T21:21:30.231Z] 339a4e72a1f5: Pull complete [2023-10-26T21:21:30.231Z] 988bab9f4d93: Pull complete [2023-10-26T21:21:30.489Z] 1469e6f7b9e6: Pull complete [2023-10-26T21:21:30.489Z] eaf3925da568: Pull complete [2023-10-26T21:21:32.389Z] bab4dde63d76: Pull complete [2023-10-26T21:21:32.389Z] bde34c3a00c8: Pull complete [2023-10-26T21:21:32.389Z] b352a97aabf1: Pull complete [2023-10-26T21:21:32.389Z] 4872d77fe225: Pull complete [2023-10-26T21:21:32.389Z] 5851b861e8e6: Pull complete [2023-10-26T21:21:32.389Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-26T21:21:32.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:21:32.389Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:21:32.478Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:21:32.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T21:21:35.507Z] $ docker top 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d -eo pid,comm [2023-10-26T21:21:35.556Z] 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-26T21:21:35.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T21:21:35.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T21:21:35.594Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T21:21:35.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T21:21:35.705Z] $ docker exec 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d ssh-agent [2023-10-26T21:21:35.811Z] SSH_AUTH_SOCK=/tmp/ssh-fL8tAPMBVYgB/agent.32 [2023-10-26T21:21:35.811Z] SSH_AGENT_PID=38 [2023-10-26T21:21:35.817Z] Running ssh-add (command line suppressed) [2023-10-26T21:21:35.909Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8092732825357282826.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8092732825357282826.key) [2023-10-26T21:21:35.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T21:21:36.202Z] + git tag --points-at HEAD [Pipeline] } [2023-10-26T21:21:36.219Z] $ docker exec --env ******** --env ******** 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d ssh-agent -k [2023-10-26T21:21:36.314Z] unset SSH_AUTH_SOCK; [2023-10-26T21:21:36.314Z] unset SSH_AGENT_PID; [2023-10-26T21:21:36.314Z] echo Agent pid 38 killed; [2023-10-26T21:21:36.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-26T21:21:36.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T21:21:36.350Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T21:21:36.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T21:21:36.462Z] $ docker exec 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d ssh-agent [2023-10-26T21:21:36.560Z] SSH_AUTH_SOCK=/tmp/ssh-3t0ZIx8fcUwT/agent.70 [2023-10-26T21:21:36.560Z] SSH_AGENT_PID=76 [2023-10-26T21:21:36.565Z] Running ssh-add (command line suppressed) [2023-10-26T21:21:36.658Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4528121679227843500.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4528121679227843500.key) [2023-10-26T21:21:36.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T21:21:36.954Z] + git semver init [2023-10-26T21:21:37.213Z] 2023-10-26 21:21:37,125 [run_init] DEBUG init version:0.0.0 force:False [2023-10-26T21:21:37.213Z] 2023-10-26 21:21:37,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-26T21:21:37.214Z] 2023-10-26 21:21:37,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-26T21:21:37.214Z] 2023-10-26 21:21:37,126 [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-26T21:21:38.149Z] 2023-10-26 21:21:38,035 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-10-26T21:21:38.149Z] 2023-10-26 21:21:38,036 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-10-26T21:21:38.149Z] 2023-10-26 21:21:38,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:21:38.149Z] 2023-10-26 21:21:38,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:21:38.149Z] 3.0.1-dev.8 [Pipeline] } [2023-10-26T21:21:38.161Z] $ docker exec --env ******** --env ******** 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d ssh-agent -k [2023-10-26T21:21:38.244Z] unset SSH_AUTH_SOCK; [2023-10-26T21:21:38.244Z] unset SSH_AGENT_PID; [2023-10-26T21:21:38.244Z] echo Agent pid 76 killed; [2023-10-26T21:21:38.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T21:21:38.556Z] + git semver [Pipeline] } [2023-10-26T21:21:38.830Z] $ docker stop --time=1 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d [2023-10-26T21:21:40.103Z] $ docker rm -f --volumes 340d48862bc9e2fd1c54933a7015712ab9cf4f03afa3db48a6649a7481fb705d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T21:21:40.441Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-26T21:21:40.635Z] Stashed 1 file(s) [Pipeline] echo [2023-10-26T21:21:40.637Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.8 [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-26T21:21:40.760Z] provisioning config files... [2023-10-26T21:21:40.769Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3152029100407474421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:21:41.068Z] ---> docker-login.sh [2023-10-26T21:21:41.068Z] nexus3.edgexfoundry.org:10001 [2023-10-26T21:21:41.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:41.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:41.068Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:41.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:41.068Z] [2023-10-26T21:21:41.068Z] Login Succeeded [2023-10-26T21:21:41.068Z] nexus3.edgexfoundry.org:10002 [2023-10-26T21:21:41.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:41.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:41.068Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:41.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:41.068Z] [2023-10-26T21:21:41.068Z] Login Succeeded [2023-10-26T21:21:41.068Z] nexus3.edgexfoundry.org:10003 [2023-10-26T21:21:41.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:41.326Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:41.326Z] [2023-10-26T21:21:41.326Z] Login Succeeded [2023-10-26T21:21:41.326Z] nexus3.edgexfoundry.org:10004 [2023-10-26T21:21:41.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:41.326Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:41.326Z] [2023-10-26T21:21:41.326Z] Login Succeeded [2023-10-26T21:21:41.326Z] docker.io [2023-10-26T21:21:41.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:21:41.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:21:41.845Z] Configure a credential helper to remove this warning. See [2023-10-26T21:21:41.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:21:41.845Z] [2023-10-26T21:21:41.845Z] Login Succeeded [2023-10-26T21:21:41.845Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T21:21:41.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T21:21:41.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:21:41.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:21:41.936Z] ========================================================= [2023-10-26T21:21:41.936Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-26T21:21:41.936Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:21:42.240Z] + 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-26T21:21:42.240Z] Sending build context to Docker daemon 11.18MB [2023-10-26T21:21:42.240Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T21:21:42.240Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-26T21:21:42.240Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-26T21:21:42.240Z] 7264a8db6415: Pulling fs layer [2023-10-26T21:21:42.240Z] c4d48a809fc2: Pulling fs layer [2023-10-26T21:21:42.240Z] 4f1c88b9dad5: Pulling fs layer [2023-10-26T21:21:42.240Z] ad3a456e5733: Pulling fs layer [2023-10-26T21:21:42.240Z] 33e27b845d1e: Pulling fs layer [2023-10-26T21:21:42.240Z] c68163c4e522: Pulling fs layer [2023-10-26T21:21:42.240Z] 50da416c3ac9: Pulling fs layer [2023-10-26T21:21:42.240Z] 23d2d4c4bb30: Pulling fs layer [2023-10-26T21:21:42.240Z] ad3a456e5733: Waiting [2023-10-26T21:21:42.240Z] 50da416c3ac9: Waiting [2023-10-26T21:21:42.240Z] 33e27b845d1e: Waiting [2023-10-26T21:21:42.240Z] 23d2d4c4bb30: Waiting [2023-10-26T21:21:42.240Z] c4d48a809fc2: Download complete [2023-10-26T21:21:42.240Z] ad3a456e5733: Verifying Checksum [2023-10-26T21:21:42.240Z] ad3a456e5733: Download complete [2023-10-26T21:21:42.240Z] 33e27b845d1e: Verifying Checksum [2023-10-26T21:21:42.240Z] 33e27b845d1e: Download complete [2023-10-26T21:21:42.498Z] 7264a8db6415: Verifying Checksum [2023-10-26T21:21:42.498Z] 7264a8db6415: Download complete [2023-10-26T21:21:42.499Z] c68163c4e522: Verifying Checksum [2023-10-26T21:21:42.499Z] c68163c4e522: Download complete [2023-10-26T21:21:42.499Z] 7264a8db6415: Pull complete [2023-10-26T21:21:42.756Z] 23d2d4c4bb30: Verifying Checksum [2023-10-26T21:21:42.756Z] 23d2d4c4bb30: Download complete [2023-10-26T21:21:42.756Z] c4d48a809fc2: Pull complete [2023-10-26T21:21:42.756Z] 4f1c88b9dad5: Verifying Checksum [2023-10-26T21:21:42.756Z] 4f1c88b9dad5: Download complete [2023-10-26T21:21:43.014Z] 50da416c3ac9: Verifying Checksum [2023-10-26T21:21:43.014Z] 50da416c3ac9: Download complete [2023-10-26T21:21:45.759Z] 4f1c88b9dad5: Pull complete [2023-10-26T21:21:45.759Z] ad3a456e5733: Pull complete [2023-10-26T21:21:45.759Z] 33e27b845d1e: Pull complete [2023-10-26T21:21:45.759Z] c68163c4e522: Pull complete [2023-10-26T21:21:48.280Z] 50da416c3ac9: Pull complete [2023-10-26T21:21:48.537Z] 23d2d4c4bb30: Pull complete [2023-10-26T21:21:48.537Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-26T21:21:48.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-26T21:21:48.537Z] ---> 0786185ac409 [2023-10-26T21:21:48.537Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-26T21:21:53.807Z] ---> Running in ad8382d2939e [2023-10-26T21:21:53.807Z] Removing intermediate container ad8382d2939e [2023-10-26T21:21:53.807Z] ---> e049131464e2 [2023-10-26T21:21:53.807Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-26T21:21:53.807Z] ---> Running in 0917ac5fc3a4 [2023-10-26T21:21:53.807Z] Removing intermediate container 0917ac5fc3a4 [2023-10-26T21:21:53.807Z] ---> 2cd598c03366 [2023-10-26T21:21:53.807Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-26T21:21:53.807Z] ---> Running in 53c018bbb2c2 [2023-10-26T21:21:53.807Z] Removing intermediate container 53c018bbb2c2 [2023-10-26T21:21:53.807Z] ---> 97a58a6a815b [2023-10-26T21:21:53.807Z] Step 6/12 : WORKDIR /device-uart [2023-10-26T21:21:53.807Z] ---> Running in 603081f8ef8c [2023-10-26T21:21:53.807Z] Removing intermediate container 603081f8ef8c [2023-10-26T21:21:53.807Z] ---> f2d6293e1733 [2023-10-26T21:21:53.807Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-26T21:21:53.807Z] ---> Running in cf831c977713 [2023-10-26T21:21:53.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T21:21:54.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T21:21:54.071Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-26T21:21:54.071Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-26T21:21:54.071Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-26T21:21:54.071Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-26T21:21:54.332Z] Executing busybox-1.36.1-r2.trigger [2023-10-26T21:21:54.332Z] OK: 268 MiB in 56 packages [2023-10-26T21:21:54.900Z] Removing intermediate container cf831c977713 [2023-10-26T21:21:54.900Z] ---> 4f521c9fbc43 [2023-10-26T21:21:54.900Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-26T21:21:54.900Z] ---> 4f354675a753 [2023-10-26T21:21:54.900Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T21:21:54.900Z] ---> Running in e32cbc67975e [2023-10-26T21:21:55.720Z] Still waiting to schedule task [2023-10-26T21:21:55.720Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-26T21:22:41.597Z] Removing intermediate container e32cbc67975e [2023-10-26T21:22:41.597Z] ---> 26c7b23d5962 [2023-10-26T21:22:41.597Z] Step 10/12 : COPY . . [2023-10-26T21:22:41.856Z] ---> bd92960aa97a [2023-10-26T21:22:41.856Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-26T21:22:41.856Z] ---> Running in 517c55f52624 [2023-10-26T21:22:42.114Z] Removing intermediate container 517c55f52624 [2023-10-26T21:22:42.114Z] ---> e0cf87a5dc46 [2023-10-26T21:22:42.114Z] Step 12/12 : RUN ${MAKE} [2023-10-26T21:22:42.114Z] ---> Running in 5e309d9cc95d [2023-10-26T21:22:42.373Z] noop [2023-10-26T21:22:42.632Z] Removing intermediate container 5e309d9cc95d [2023-10-26T21:22:42.632Z] ---> b285a6629dd9 [2023-10-26T21:22:42.632Z] Successfully built b285a6629dd9 [2023-10-26T21:22:42.632Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:22:42.935Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T21:22:42.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:22:43.001Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:22:43.029Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-26T21:22:43.341Z] $ docker top 679ff5b17359470463daae412d09e22bcfb9d0fdb8f457ba468b8b3c40993180 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T21:22:43.674Z] + go version [2023-10-26T21:22:43.674Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-26T21:22:43.687Z] $ docker stop --time=1 679ff5b17359470463daae412d09e22bcfb9d0fdb8f457ba468b8b3c40993180 [2023-10-26T21:22:44.951Z] $ docker rm -f --volumes 679ff5b17359470463daae412d09e22bcfb9d0fdb8f457ba468b8b3c40993180 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:22:45.344Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T21:22:45.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:22:45.423Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:22:45.450Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-26T21:22:45.775Z] $ docker top ce21089ba33c0b9b471fb4c03f17f51e5c9f7713b3ce9c7b784fb97772ac9437 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T21:22:46.119Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-10-26T21:22:46.409Z] + make test [2023-10-26T21:22:46.409Z] go test ./... -coverprofile=coverage.out [2023-10-26T21:22:47.781Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-26T21:22:57.737Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-26T21:22:57.737Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-26T21:23:01.918Z] go vet ./... [2023-10-26T21:23:05.192Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T21:23:05.192Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T21:23:05.192Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T21:23:05.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T21:23:05.219Z] $ docker stop --time=1 ce21089ba33c0b9b471fb4c03f17f51e5c9f7713b3ce9c7b784fb97772ac9437 [2023-10-26T21:23:08.287Z] $ docker rm -f --volumes ce21089ba33c0b9b471fb4c03f17f51e5c9f7713b3ce9c7b784fb97772ac9437 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T21:23:08.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-26T21:23:08.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-26T21:23:09.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T21:23:09.500Z] + ls -al . [2023-10-26T21:23:09.500Z] total 152 [2023-10-26T21:23:09.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:22 . [2023-10-26T21:23:09.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:21 .. [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 21:21 .dockerignore [2023-10-26T21:23:09.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:22 .git [2023-10-26T21:23:09.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:21 .github [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 21:21 .gitignore [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:21 .golangci.yml [2023-10-26T21:23:09.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:21 .semver [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 26 21:21 Attribution.txt [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 26 21:21 Dockerfile [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:21 GOVERNANCE.md [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 26 21:21 Jenkinsfile [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 21:21 LICENSE [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 26 21:21 Makefile [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 21:21 OWNERS.md [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 26 21:21 README.md [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 26 21:21 VERSION [2023-10-26T21:23:09.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:21 bin [2023-10-26T21:23:09.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:21 cmd [2023-10-26T21:23:09.500Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 21:22 coverage.out [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 26 21:21 go.mod [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 26 21:21 go.sum [2023-10-26T21:23:09.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:21 internal [2023-10-26T21:23:09.500Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:09.805Z] + 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=163a5cf59154a2f057feab4c63f7858625d99e7c --label arch=amd64 --label version=3.0.1-dev.8 . [2023-10-26T21:23:09.805Z] Sending build context to Docker daemon 11.18MB [2023-10-26T21:23:09.805Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T21:23:09.805Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-26T21:23:09.805Z] ---> b285a6629dd9 [2023-10-26T21:23:09.805Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-26T21:23:10.064Z] ---> Running in 274369b8df68 [2023-10-26T21:23:10.064Z] Removing intermediate container 274369b8df68 [2023-10-26T21:23:10.064Z] ---> 7f14f1db4f5f [2023-10-26T21:23:10.064Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-26T21:23:10.064Z] ---> Running in 0cc2000dfcc5 [2023-10-26T21:23:10.323Z] Removing intermediate container 0cc2000dfcc5 [2023-10-26T21:23:10.323Z] ---> e8332a546723 [2023-10-26T21:23:10.323Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-26T21:23:10.323Z] ---> Running in 11f513a87cfe [2023-10-26T21:23:10.323Z] Removing intermediate container 11f513a87cfe [2023-10-26T21:23:10.323Z] ---> b7dabf2b6e6e [2023-10-26T21:23:10.323Z] Step 6/25 : WORKDIR /device-uart [2023-10-26T21:23:10.323Z] ---> Running in b80ac81c0040 [2023-10-26T21:23:10.580Z] Removing intermediate container b80ac81c0040 [2023-10-26T21:23:10.580Z] ---> 34cadfe263fa [2023-10-26T21:23:10.580Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-26T21:23:10.580Z] ---> Running in 3eecfad749d3 [2023-10-26T21:23:10.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T21:23:10.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T21:23:11.408Z] OK: 268 MiB in 56 packages [2023-10-26T21:23:11.408Z] Removing intermediate container 3eecfad749d3 [2023-10-26T21:23:11.408Z] ---> f0409c05a31e [2023-10-26T21:23:11.408Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-26T21:23:11.666Z] ---> a5cb5cc480f7 [2023-10-26T21:23:11.666Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T21:23:11.666Z] ---> Running in 018ba911f69c [2023-10-26T21:23:12.231Z] Removing intermediate container 018ba911f69c [2023-10-26T21:23:12.231Z] ---> 0876232d92d8 [2023-10-26T21:23:12.231Z] Step 10/25 : COPY . . [2023-10-26T21:23:12.806Z] ---> 5aef05fad6cb [2023-10-26T21:23:12.806Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-26T21:23:12.806Z] ---> Running in 018c96aa5551 [2023-10-26T21:23:12.806Z] Removing intermediate container 018c96aa5551 [2023-10-26T21:23:12.806Z] ---> 1f5c74832c6e [2023-10-26T21:23:12.806Z] Step 12/25 : RUN ${MAKE} [2023-10-26T21:23:12.806Z] ---> Running in ee33f0d0019b [2023-10-26T21:23:13.063Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-26T21:23:31.127Z] Removing intermediate container ee33f0d0019b [2023-10-26T21:23:31.127Z] ---> 7fee0ccfab6e [2023-10-26T21:23:31.127Z] Step 13/25 : FROM alpine:3.18 [2023-10-26T21:23:31.127Z] 3.18: Pulling from library/alpine [2023-10-26T21:23:31.384Z] 96526aa774ef: Pulling fs layer [2023-10-26T21:23:31.739Z] 96526aa774ef: Verifying Checksum [2023-10-26T21:23:31.739Z] 96526aa774ef: Download complete [2023-10-26T21:23:31.739Z] 96526aa774ef: Pull complete [2023-10-26T21:23:31.739Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T21:23:31.739Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T21:23:31.739Z] ---> 8ca4688f4f35 [2023-10-26T21:23:31.739Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-26T21:23:31.997Z] ---> Running in 03dbc67d5ebd [2023-10-26T21:23:31.997Z] Removing intermediate container 03dbc67d5ebd [2023-10-26T21:23:31.997Z] ---> ee0184b2c4ce [2023-10-26T21:23:31.997Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-26T21:23:31.997Z] ---> Running in 47b883d7d79e [2023-10-26T21:23:32.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T21:23:32.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T21:23:32.772Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-26T21:23:32.772Z] Executing busybox-1.36.1-r2.trigger [2023-10-26T21:23:32.772Z] OK: 7 MiB in 16 packages [2023-10-26T21:23:33.035Z] Removing intermediate container 47b883d7d79e [2023-10-26T21:23:33.035Z] ---> 3bb56047fa3d [2023-10-26T21:23:33.035Z] Step 16/25 : WORKDIR / [2023-10-26T21:23:33.035Z] ---> Running in 1f0c34f044ac [2023-10-26T21:23:33.035Z] Removing intermediate container 1f0c34f044ac [2023-10-26T21:23:33.035Z] ---> 90734397e916 [2023-10-26T21:23:33.035Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-26T21:23:33.294Z] ---> 372b685f6950 [2023-10-26T21:23:33.294Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-26T21:23:33.294Z] ---> 5ed638c26013 [2023-10-26T21:23:33.294Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-26T21:23:33.859Z] ---> c19311f3127f [2023-10-26T21:23:33.859Z] Step 20/25 : EXPOSE 59995 [2023-10-26T21:23:33.859Z] ---> Running in 3bf15cda72be [2023-10-26T21:23:34.118Z] Removing intermediate container 3bf15cda72be [2023-10-26T21:23:34.118Z] ---> 32ce27abfa9d [2023-10-26T21:23:34.118Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-26T21:23:34.118Z] ---> Running in 4480ecd4852a [2023-10-26T21:23:34.118Z] Removing intermediate container 4480ecd4852a [2023-10-26T21:23:34.118Z] ---> 9fc5026c88b0 [2023-10-26T21:23:34.118Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T21:23:34.118Z] ---> Running in ea685f154f96 [2023-10-26T21:23:34.118Z] Removing intermediate container ea685f154f96 [2023-10-26T21:23:34.118Z] ---> b0d5d27aef2c [2023-10-26T21:23:34.118Z] Step 23/25 : LABEL arch=amd64 [2023-10-26T21:23:34.496Z] ---> Running in a8dcd43ce92b [2023-10-26T21:23:34.496Z] Removing intermediate container a8dcd43ce92b [2023-10-26T21:23:34.496Z] ---> 3f7c5a84f08a [2023-10-26T21:23:34.496Z] Step 24/25 : LABEL git_sha=163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:23:34.496Z] ---> Running in c38e4d911a98 [2023-10-26T21:23:34.496Z] Removing intermediate container c38e4d911a98 [2023-10-26T21:23:34.496Z] ---> f9b0f8fad25e [2023-10-26T21:23:34.496Z] Step 25/25 : LABEL version=3.0.1-dev.8 [2023-10-26T21:23:34.496Z] ---> Running in 7a0f192b837f [2023-10-26T21:23:34.496Z] Removing intermediate container 7a0f192b837f [2023-10-26T21:23:34.496Z] ---> ca356a113b0d [2023-10-26T21:23:34.496Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T21:23:34.496Z] Successfully built ca356a113b0d [2023-10-26T21:23:34.496Z] 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-26T21:23:34.588Z] provisioning config files... [2023-10-26T21:23:34.610Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config4509365846150568930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:23:34.970Z] ---> docker-login.sh [2023-10-26T21:23:34.970Z] nexus3.edgexfoundry.org:10001 [2023-10-26T21:23:34.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:23:34.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:23:34.970Z] Configure a credential helper to remove this warning. See [2023-10-26T21:23:34.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:23:34.970Z] [2023-10-26T21:23:34.970Z] Login Succeeded [2023-10-26T21:23:34.970Z] nexus3.edgexfoundry.org:10002 [2023-10-26T21:23:34.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:23:34.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:23:34.970Z] Configure a credential helper to remove this warning. See [2023-10-26T21:23:34.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:23:34.970Z] [2023-10-26T21:23:34.970Z] Login Succeeded [2023-10-26T21:23:34.970Z] nexus3.edgexfoundry.org:10003 [2023-10-26T21:23:35.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:23:35.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:23:35.228Z] Configure a credential helper to remove this warning. See [2023-10-26T21:23:35.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:23:35.228Z] [2023-10-26T21:23:35.228Z] Login Succeeded [2023-10-26T21:23:35.228Z] nexus3.edgexfoundry.org:10004 [2023-10-26T21:23:35.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:23:35.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:23:35.228Z] Configure a credential helper to remove this warning. See [2023-10-26T21:23:35.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:23:35.228Z] [2023-10-26T21:23:35.228Z] Login Succeeded [2023-10-26T21:23:35.228Z] docker.io [2023-10-26T21:23:35.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:23:35.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:23:35.488Z] Configure a credential helper to remove this warning. See [2023-10-26T21:23:35.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:23:35.488Z] [2023-10-26T21:23:35.488Z] Login Succeeded [2023-10-26T21:23:35.488Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T21:23:35.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-26T21:23:35.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:23:35.534Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-10-26T21:23:35.534Z] 163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:23:35.534Z] latest [2023-10-26T21:23:35.534Z] 3.0.1-dev.8 [2023-10-26T21:23:35.534Z] 163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:23:35.534Z] main [2023-10-26T21:23:35.534Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:35.856Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:36.161Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:23:36.161Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-26T21:23:36.161Z] eed48ded52f4: Preparing [2023-10-26T21:23:36.161Z] 8409406b33cc: Preparing [2023-10-26T21:23:36.161Z] 31e3cb968b0c: Preparing [2023-10-26T21:23:36.161Z] 4151c4816eba: Preparing [2023-10-26T21:23:36.161Z] cc2447e1835a: Preparing [2023-10-26T21:23:36.161Z] cc2447e1835a: Layer already exists [2023-10-26T21:23:36.161Z] 4151c4816eba: Pushed [2023-10-26T21:23:36.161Z] 31e3cb968b0c: Pushed [2023-10-26T21:23:36.161Z] 8409406b33cc: Pushed [2023-10-26T21:23:39.448Z] eed48ded52f4: Pushed [2023-10-26T21:23:39.448Z] 163a5cf59154a2f057feab4c63f7858625d99e7c: digest: sha256:2144a61cc8e8b640a4601f3c8d2399ea17b2e6d15d6d123116460da60f2f3cf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:39.753Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:40.055Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-26T21:23:40.056Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-26T21:23:40.056Z] eed48ded52f4: Preparing [2023-10-26T21:23:40.056Z] 8409406b33cc: Preparing [2023-10-26T21:23:40.056Z] 31e3cb968b0c: Preparing [2023-10-26T21:23:40.056Z] 4151c4816eba: Preparing [2023-10-26T21:23:40.056Z] cc2447e1835a: Preparing [2023-10-26T21:23:40.056Z] 4151c4816eba: Layer already exists [2023-10-26T21:23:40.056Z] cc2447e1835a: Layer already exists [2023-10-26T21:23:40.056Z] 8409406b33cc: Layer already exists [2023-10-26T21:23:40.056Z] eed48ded52f4: Layer already exists [2023-10-26T21:23:40.056Z] 31e3cb968b0c: Layer already exists [2023-10-26T21:23:40.056Z] latest: digest: sha256:2144a61cc8e8b640a4601f3c8d2399ea17b2e6d15d6d123116460da60f2f3cf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:40.372Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:40.677Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.8 [2023-10-26T21:23:40.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-26T21:23:40.677Z] eed48ded52f4: Preparing [2023-10-26T21:23:40.677Z] 8409406b33cc: Preparing [2023-10-26T21:23:40.677Z] 31e3cb968b0c: Preparing [2023-10-26T21:23:40.677Z] 4151c4816eba: Preparing [2023-10-26T21:23:40.677Z] cc2447e1835a: Preparing [2023-10-26T21:23:40.677Z] eed48ded52f4: Layer already exists [2023-10-26T21:23:40.677Z] cc2447e1835a: Layer already exists [2023-10-26T21:23:40.677Z] 31e3cb968b0c: Layer already exists [2023-10-26T21:23:40.677Z] 4151c4816eba: Layer already exists [2023-10-26T21:23:40.677Z] 8409406b33cc: Layer already exists [2023-10-26T21:23:40.677Z] 3.0.1-dev.8: digest: sha256:2144a61cc8e8b640a4601f3c8d2399ea17b2e6d15d6d123116460da60f2f3cf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:40.984Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:41.286Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:23:41.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-26T21:23:41.286Z] eed48ded52f4: Preparing [2023-10-26T21:23:41.286Z] 8409406b33cc: Preparing [2023-10-26T21:23:41.286Z] 31e3cb968b0c: Preparing [2023-10-26T21:23:41.286Z] 4151c4816eba: Preparing [2023-10-26T21:23:41.286Z] cc2447e1835a: Preparing [2023-10-26T21:23:41.286Z] 31e3cb968b0c: Layer already exists [2023-10-26T21:23:41.286Z] 4151c4816eba: Layer already exists [2023-10-26T21:23:41.286Z] cc2447e1835a: Layer already exists [2023-10-26T21:23:41.286Z] 8409406b33cc: Layer already exists [2023-10-26T21:23:41.286Z] eed48ded52f4: Layer already exists [2023-10-26T21:23:41.286Z] 163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8: digest: sha256:2144a61cc8e8b640a4601f3c8d2399ea17b2e6d15d6d123116460da60f2f3cf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:41.594Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:41.899Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-10-26T21:23:41.899Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-26T21:23:41.899Z] eed48ded52f4: Preparing [2023-10-26T21:23:41.899Z] 8409406b33cc: Preparing [2023-10-26T21:23:41.899Z] 31e3cb968b0c: Preparing [2023-10-26T21:23:41.899Z] 4151c4816eba: Preparing [2023-10-26T21:23:41.899Z] cc2447e1835a: Preparing [2023-10-26T21:23:41.899Z] 8409406b33cc: Layer already exists [2023-10-26T21:23:41.899Z] 31e3cb968b0c: Layer already exists [2023-10-26T21:23:41.899Z] 4151c4816eba: Layer already exists [2023-10-26T21:23:41.899Z] eed48ded52f4: Layer already exists [2023-10-26T21:23:41.899Z] cc2447e1835a: Layer already exists [2023-10-26T21:23:41.899Z] main: digest: sha256:2144a61cc8e8b640a4601f3c8d2399ea17b2e6d15d6d123116460da60f2f3cf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-26T21:23:41.938Z] ===================================================== [Pipeline] echo [2023-10-26T21:23:41.944Z] taggedImages: [2023-10-26T21:23:41.944Z] - nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:23:41.944Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-26T21:23:41.944Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.8 [2023-10-26T21:23:41.944Z] - nexus3.edgexfoundry.org:10004/device-uart:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:23:41.944Z] - 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-26T21:23:42.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T21:23:42.323Z] [2023-10-26T21:23:42.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:23:42.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T21:23:42.618Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-26T21:23:42.618Z] 5eb5b503b376: Pulling fs layer [2023-10-26T21:23:42.618Z] 5c69ac0246d0: Pulling fs layer [2023-10-26T21:23:42.618Z] ec43610c2a17: Pulling fs layer [2023-10-26T21:23:42.618Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-26T21:23:42.618Z] 33b1e0a273af: Pulling fs layer [2023-10-26T21:23:42.618Z] 5d3b04190fa2: Pulling fs layer [2023-10-26T21:23:42.618Z] 2f39f015ded8: Pulling fs layer [2023-10-26T21:23:42.618Z] 33b1e0a273af: Waiting [2023-10-26T21:23:42.618Z] 5d3b04190fa2: Waiting [2023-10-26T21:23:42.618Z] 2f39f015ded8: Waiting [2023-10-26T21:23:42.618Z] 3a2ae6a8a46f: Waiting [2023-10-26T21:23:42.618Z] 5c69ac0246d0: Verifying Checksum [2023-10-26T21:23:42.618Z] 5c69ac0246d0: Download complete [2023-10-26T21:23:42.618Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-26T21:23:42.618Z] 3a2ae6a8a46f: Download complete [2023-10-26T21:23:42.618Z] 33b1e0a273af: Verifying Checksum [2023-10-26T21:23:42.618Z] 33b1e0a273af: Download complete [2023-10-26T21:23:42.618Z] 5d3b04190fa2: Verifying Checksum [2023-10-26T21:23:42.618Z] 5d3b04190fa2: Download complete [2023-10-26T21:23:42.618Z] ec43610c2a17: Verifying Checksum [2023-10-26T21:23:42.618Z] ec43610c2a17: Download complete [2023-10-26T21:23:42.876Z] 5eb5b503b376: Verifying Checksum [2023-10-26T21:23:42.876Z] 5eb5b503b376: Download complete [2023-10-26T21:23:43.441Z] 2f39f015ded8: Download complete [2023-10-26T21:23:44.006Z] 5eb5b503b376: Pull complete [2023-10-26T21:23:44.263Z] 5c69ac0246d0: Pull complete [2023-10-26T21:23:44.520Z] ec43610c2a17: Pull complete [2023-10-26T21:23:44.520Z] 3a2ae6a8a46f: Pull complete [2023-10-26T21:23:44.778Z] 33b1e0a273af: Pull complete [2023-10-26T21:23:45.036Z] 5d3b04190fa2: Pull complete [2023-10-26T21:23:49.213Z] 2f39f015ded8: Pull complete [2023-10-26T21:23:49.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-26T21:23:49.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T21:23:49.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:23:49.286Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:23:49.313Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T21:23:54.728Z] $ docker top e02cee98000a3d567995127cca2402f25684f7796145104bb103f85cf88316e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:23:55.088Z] ---> job-cost.sh [2023-10-26T21:23:55.088Z] lf-activate-venv: SKIPPING [2023-10-26T21:23:55.088Z] INFO: No Stack... [2023-10-26T21:23:55.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T21:23:55.915Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T21:23:56.198Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-10-26T21:23:56.198Z] + cut -d, -f6 [Pipeline] lock [2023-10-26T21:23:56.211Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [2023-10-26T21:23:56.217Z] Resource [jenkins-edgexfoundry-device-uart-main-14-stack-cost] did not exist. Created. [2023-10-26T21:23:56.217Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T21:23:56.520Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-26T21:23:56.554Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T21:23:56.560Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T21:23:56.585Z] $ docker stop --time=1 e02cee98000a3d567995127cca2402f25684f7796145104bb103f85cf88316e4 [2023-10-26T21:23:57.720Z] $ docker rm -f --volumes e02cee98000a3d567995127cca2402f25684f7796145104bb103f85cf88316e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-26T21:29:46.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12149 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-10-26T21:29:46.135Z] Running in /w/workspace/device-uart/14 [Pipeline] { [Pipeline] checkout [2023-10-26T21:29:46.193Z] The recommended git tool is: git [2023-10-26T21:29:52.528Z] using credential edgex-jenkins-ssh [2023-10-26T21:29:52.548Z] Cloning the remote Git repository [2023-10-26T21:29:52.615Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-10-26T21:29:52.743Z] > git init /w/workspace/device-uart/14 # timeout=10 [2023-10-26T21:29:52.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-10-26T21:29:52.934Z] > git --version # timeout=10 [2023-10-26T21:29:52.961Z] > git --version # 'git version 2.25.1' [2023-10-26T21:29:52.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-26T21:29:53.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T21:29:54.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-10-26T21:29:54.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T21:29:55.597Z] Avoid second fetch [2023-10-26T21:29:55.598Z] Checking out Revision 163a5cf59154a2f057feab4c63f7858625d99e7c (main) [2023-10-26T21:29:56.297Z] Commit message: "Merge pull request #29 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" [2023-10-26T21:29:55.621Z] > git config core.sparsecheckout # timeout=10 [2023-10-26T21:29:55.726Z] > git checkout -f 163a5cf59154a2f057feab4c63f7858625d99e7c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T21:29:57.359Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-26T21:29:57.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T21:29:57.359Z] Dload Upload Total Spent Left Speed [2023-10-26T21:29:57.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-10-26T21:29:58.151Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-26T21:29:58.498Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-26T21:29:58.498Z] + sudo tee /etc/docker/daemon.new [2023-10-26T21:29:58.498Z] { [2023-10-26T21:29:58.498Z] "registry-mirrors": [ [2023-10-26T21:29:58.498Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-26T21:29:58.498Z] ], [2023-10-26T21:29:58.498Z] "bip": "10.250.0.254/24", [2023-10-26T21:29:58.498Z] "hosts": [ [2023-10-26T21:29:58.498Z] "tcp://0.0.0.0:5555", [2023-10-26T21:29:58.498Z] "unix:///var/run/docker.sock" [2023-10-26T21:29:58.498Z] ], [2023-10-26T21:29:58.498Z] "mtu": 1458, [2023-10-26T21:29:58.498Z] "selinux-enabled": true, [2023-10-26T21:29:58.498Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-26T21:29:58.498Z] } [Pipeline] sh [2023-10-26T21:29:58.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-26T21:29:59.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T21:30:17.505Z] provisioning config files... [2023-10-26T21:30:17.536Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/14@tmp/config8683824581759009914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:30:17.904Z] ---> docker-login.sh [2023-10-26T21:30:17.904Z] nexus3.edgexfoundry.org:10001 [2023-10-26T21:30:18.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:30:18.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:30:18.775Z] Configure a credential helper to remove this warning. See [2023-10-26T21:30:18.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:30:18.775Z] [2023-10-26T21:30:18.775Z] Login Succeeded [2023-10-26T21:30:18.775Z] nexus3.edgexfoundry.org:10002 [2023-10-26T21:30:19.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:30:19.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:30:19.046Z] Configure a credential helper to remove this warning. See [2023-10-26T21:30:19.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:30:19.046Z] [2023-10-26T21:30:19.046Z] Login Succeeded [2023-10-26T21:30:19.046Z] nexus3.edgexfoundry.org:10003 [2023-10-26T21:30:19.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:30:19.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:30:19.584Z] Configure a credential helper to remove this warning. See [2023-10-26T21:30:19.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:30:19.584Z] [2023-10-26T21:30:19.584Z] Login Succeeded [2023-10-26T21:30:19.584Z] nexus3.edgexfoundry.org:10004 [2023-10-26T21:30:19.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:30:19.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:30:19.858Z] Configure a credential helper to remove this warning. See [2023-10-26T21:30:19.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:30:19.858Z] [2023-10-26T21:30:19.858Z] Login Succeeded [2023-10-26T21:30:19.858Z] docker.io [2023-10-26T21:30:20.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:30:20.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:30:20.404Z] Configure a credential helper to remove this warning. See [2023-10-26T21:30:20.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:30:20.404Z] [2023-10-26T21:30:20.404Z] Login Succeeded [2023-10-26T21:30:20.404Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T21:30:20.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T21:30:20.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:30:20.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:30:20.810Z] ========================================================= [2023-10-26T21:30:20.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-26T21:30:20.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:30:21.194Z] + 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-26T21:30:21.466Z] Sending build context to Docker daemon 5.638MB [2023-10-26T21:30:21.466Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T21:30:21.466Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-26T21:30:21.738Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-26T21:30:21.738Z] 9fda8d8052c6: Pulling fs layer [2023-10-26T21:30:21.738Z] 5d54e960e981: Pulling fs layer [2023-10-26T21:30:21.738Z] c4a7e357bf2a: Pulling fs layer [2023-10-26T21:30:21.738Z] f0e02332f6b5: Pulling fs layer [2023-10-26T21:30:21.738Z] cefa15bbcfad: Pulling fs layer [2023-10-26T21:30:21.738Z] 17808c966233: Pulling fs layer [2023-10-26T21:30:21.738Z] f4c1fc716caa: Pulling fs layer [2023-10-26T21:30:21.738Z] cefa15bbcfad: Waiting [2023-10-26T21:30:21.738Z] 17808c966233: Waiting [2023-10-26T21:30:21.738Z] f4c1fc716caa: Waiting [2023-10-26T21:30:21.738Z] 5d54e960e981: Verifying Checksum [2023-10-26T21:30:21.738Z] 5d54e960e981: Download complete [2023-10-26T21:30:21.738Z] f0e02332f6b5: Verifying Checksum [2023-10-26T21:30:21.738Z] f0e02332f6b5: Download complete [2023-10-26T21:30:22.009Z] cefa15bbcfad: Verifying Checksum [2023-10-26T21:30:22.009Z] cefa15bbcfad: Download complete [2023-10-26T21:30:22.009Z] 9fda8d8052c6: Download complete [2023-10-26T21:30:22.603Z] f4c1fc716caa: Verifying Checksum [2023-10-26T21:30:22.603Z] f4c1fc716caa: Download complete [2023-10-26T21:30:22.878Z] 9fda8d8052c6: Pull complete [2023-10-26T21:30:23.857Z] 5d54e960e981: Pull complete [2023-10-26T21:30:23.857Z] c4a7e357bf2a: Verifying Checksum [2023-10-26T21:30:23.857Z] c4a7e357bf2a: Download complete [2023-10-26T21:30:25.284Z] 17808c966233: Verifying Checksum [2023-10-26T21:30:25.284Z] 17808c966233: Download complete [2023-10-26T21:30:37.634Z] c4a7e357bf2a: Pull complete [2023-10-26T21:30:37.634Z] f0e02332f6b5: Pull complete [2023-10-26T21:30:37.634Z] cefa15bbcfad: Pull complete [2023-10-26T21:30:47.806Z] 17808c966233: Pull complete [2023-10-26T21:30:48.775Z] f4c1fc716caa: Pull complete [2023-10-26T21:30:48.775Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-26T21:30:48.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-26T21:30:48.775Z] ---> ea914061e18c [2023-10-26T21:30:48.775Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-26T21:30:49.836Z] ---> Running in edb827429354 [2023-10-26T21:30:50.116Z] Removing intermediate container edb827429354 [2023-10-26T21:30:50.116Z] ---> 1ac21993f454 [2023-10-26T21:30:50.116Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-26T21:30:50.393Z] ---> Running in 4e7d55ce0920 [2023-10-26T21:30:50.680Z] Removing intermediate container 4e7d55ce0920 [2023-10-26T21:30:50.680Z] ---> 4270535d71e4 [2023-10-26T21:30:50.680Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-26T21:30:50.680Z] ---> Running in c886bc496852 [2023-10-26T21:30:51.273Z] Removing intermediate container c886bc496852 [2023-10-26T21:30:51.273Z] ---> a4a628e9e7d8 [2023-10-26T21:30:51.273Z] Step 6/12 : WORKDIR /device-uart [2023-10-26T21:30:51.273Z] ---> Running in 6aca83125e1d [2023-10-26T21:30:51.547Z] Removing intermediate container 6aca83125e1d [2023-10-26T21:30:51.547Z] ---> 6a63bf53ec99 [2023-10-26T21:30:51.547Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-26T21:30:51.817Z] ---> Running in ddb4d4cc565f [2023-10-26T21:30:53.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T21:30:53.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T21:30:54.520Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-26T21:30:54.799Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-26T21:30:54.799Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-26T21:30:54.799Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-26T21:30:54.799Z] Executing busybox-1.36.1-r2.trigger [2023-10-26T21:30:54.799Z] OK: 270 MiB in 56 packages [2023-10-26T21:30:56.240Z] Removing intermediate container ddb4d4cc565f [2023-10-26T21:30:56.240Z] ---> c9fc50f57881 [2023-10-26T21:30:56.240Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-26T21:30:56.831Z] ---> 099b37ae4be0 [2023-10-26T21:30:56.831Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T21:30:56.831Z] ---> Running in 75070318e059 [2023-10-26T21:32:48.597Z] Removing intermediate container 75070318e059 [2023-10-26T21:32:48.597Z] ---> 749c86bf6d7a [2023-10-26T21:32:48.597Z] Step 10/12 : COPY . . [2023-10-26T21:32:48.597Z] ---> 6500249b7ced [2023-10-26T21:32:48.597Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-26T21:32:48.597Z] ---> Running in 340e45f56f68 [2023-10-26T21:32:48.597Z] Removing intermediate container 340e45f56f68 [2023-10-26T21:32:48.597Z] ---> 6d0cf907fce9 [2023-10-26T21:32:48.597Z] Step 12/12 : RUN ${MAKE} [2023-10-26T21:32:48.597Z] ---> Running in ceedd28ba1bf [2023-10-26T21:32:48.597Z] noop [2023-10-26T21:32:48.597Z] Removing intermediate container ceedd28ba1bf [2023-10-26T21:32:48.597Z] ---> 5477a9d99a3b [2023-10-26T21:32:48.597Z] Successfully built 5477a9d99a3b [2023-10-26T21:32:48.597Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:32:48.981Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T21:32:48.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:32:49.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-12149 does not seem to be running inside a container [2023-10-26T21:32:49.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/14 -v /w/workspace/device-uart/14:/w/workspace/device-uart/14:rw,z -v /w/workspace/device-uart/14@tmp:/w/workspace/device-uart/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-26T21:32:50.653Z] $ docker top c2c150ee22d5d0c6e996a06580d2169a583e4157718cf04e1d7ed6fb3285701c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T21:32:51.535Z] + go version [2023-10-26T21:32:51.535Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-26T21:32:51.558Z] $ docker stop --time=1 c2c150ee22d5d0c6e996a06580d2169a583e4157718cf04e1d7ed6fb3285701c [2023-10-26T21:32:53.263Z] $ docker rm -f --volumes c2c150ee22d5d0c6e996a06580d2169a583e4157718cf04e1d7ed6fb3285701c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:32:53.871Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T21:32:53.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:32:54.075Z] prd-ubuntu20.04-docker-arm64-4c-16g-12149 does not seem to be running inside a container [2023-10-26T21:32:54.154Z] $ 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/14 -v /w/workspace/device-uart/14:/w/workspace/device-uart/14:rw,z -v /w/workspace/device-uart/14@tmp:/w/workspace/device-uart/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-26T21:32:55.481Z] $ docker top bcddccf7f12144c97ecc3e624f137af0b8fdb4e2476264428a1418c5e1d5919e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T21:32:56.354Z] + git config --global --add safe.directory /w/workspace/device-uart/14 [Pipeline] fileExists [Pipeline] sh [2023-10-26T21:32:57.015Z] + make test [2023-10-26T21:32:57.015Z] go test ./... -coverprofile=coverage.out [2023-10-26T21:33:03.683Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-26T21:35:10.432Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-26T21:35:10.432Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-26T21:35:10.432Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-26T21:35:10.432Z] go vet ./... [2023-10-26T21:35:37.188Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T21:35:37.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T21:35:37.188Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T21:35:37.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T21:35:37.231Z] $ docker stop --time=1 bcddccf7f12144c97ecc3e624f137af0b8fdb4e2476264428a1418c5e1d5919e [2023-10-26T21:35:39.129Z] $ docker rm -f --volumes bcddccf7f12144c97ecc3e624f137af0b8fdb4e2476264428a1418c5e1d5919e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T21:35:40.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-26T21:35:40.566Z] Warning: overwriting stash ‘coverage-report’ [2023-10-26T21:35:41.079Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T21:35:41.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T21:35:41.789Z] + ls -al . [2023-10-26T21:35:41.789Z] total 148 [2023-10-26T21:35:41.789Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 26 21:33 . [2023-10-26T21:35:41.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:29 .. [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 21:29 .dockerignore [2023-10-26T21:35:41.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:29 .git [2023-10-26T21:35:41.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:29 .github [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 21:29 .gitignore [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:29 .golangci.yml [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 26 21:29 Attribution.txt [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 26 21:29 Dockerfile [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:29 GOVERNANCE.md [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 26 21:29 Jenkinsfile [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 21:29 LICENSE [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 26 21:29 Makefile [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 21:29 OWNERS.md [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 26 21:29 README.md [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 26 21:21 VERSION [2023-10-26T21:35:41.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:29 bin [2023-10-26T21:35:41.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:29 cmd [2023-10-26T21:35:41.789Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 21:33 coverage.out [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 3721 Oct 26 21:29 go.mod [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 35313 Oct 26 21:29 go.sum [2023-10-26T21:35:41.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:29 internal [2023-10-26T21:35:41.789Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:35:42.148Z] + 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=163a5cf59154a2f057feab4c63f7858625d99e7c --label arch=arm64 --label version=3.0.1-dev.8 . [2023-10-26T21:35:42.419Z] Sending build context to Docker daemon 5.639MB [2023-10-26T21:35:42.419Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T21:35:42.419Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-26T21:35:42.419Z] ---> 5477a9d99a3b [2023-10-26T21:35:42.419Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-26T21:35:42.690Z] ---> Running in fd14b0e16546 [2023-10-26T21:35:42.960Z] Removing intermediate container fd14b0e16546 [2023-10-26T21:35:42.960Z] ---> e809f965ed73 [2023-10-26T21:35:42.960Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-26T21:35:43.235Z] ---> Running in ec018b0d08b4 [2023-10-26T21:35:43.505Z] Removing intermediate container ec018b0d08b4 [2023-10-26T21:35:43.505Z] ---> b383819d8510 [2023-10-26T21:35:43.505Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-26T21:35:43.505Z] ---> Running in ab84a7974620 [2023-10-26T21:35:43.781Z] Removing intermediate container ab84a7974620 [2023-10-26T21:35:43.781Z] ---> f463a6f221a1 [2023-10-26T21:35:43.781Z] Step 6/25 : WORKDIR /device-uart [2023-10-26T21:35:44.058Z] ---> Running in 25267ec1e0c5 [2023-10-26T21:35:44.331Z] Removing intermediate container 25267ec1e0c5 [2023-10-26T21:35:44.331Z] ---> 0e86d3bafcc8 [2023-10-26T21:35:44.331Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-26T21:35:44.600Z] ---> Running in d7beade48cd5 [2023-10-26T21:35:45.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T21:35:46.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T21:35:47.584Z] OK: 270 MiB in 56 packages [2023-10-26T21:35:51.856Z] Removing intermediate container d7beade48cd5 [2023-10-26T21:35:51.856Z] ---> 5a3ab217c2e7 [2023-10-26T21:35:51.856Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-26T21:35:52.126Z] ---> f86cb10bfe80 [2023-10-26T21:35:52.127Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T21:35:52.127Z] ---> Running in 57bcfca61f80 [2023-10-26T21:35:54.716Z] Removing intermediate container 57bcfca61f80 [2023-10-26T21:35:54.716Z] ---> dcf951bb00fd [2023-10-26T21:35:54.716Z] Step 10/25 : COPY . . [2023-10-26T21:35:55.304Z] ---> 04fe1b4c0f5e [2023-10-26T21:35:55.304Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-26T21:35:55.304Z] ---> Running in e3798b5e7ab5 [2023-10-26T21:35:55.574Z] Removing intermediate container e3798b5e7ab5 [2023-10-26T21:35:55.574Z] ---> 4e0a43c023a5 [2023-10-26T21:35:55.574Z] Step 12/25 : RUN ${MAKE} [2023-10-26T21:35:55.840Z] ---> Running in 54cf30ba541f [2023-10-26T21:35:56.802Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-26T21:38:03.544Z] Removing intermediate container 54cf30ba541f [2023-10-26T21:38:03.544Z] ---> d7639f55153f [2023-10-26T21:38:03.544Z] Step 13/25 : FROM alpine:3.18 [2023-10-26T21:38:03.544Z] 3.18: Pulling from library/alpine [2023-10-26T21:38:03.544Z] 579b34f0a95b: Pulling fs layer [2023-10-26T21:38:03.544Z] 579b34f0a95b: Verifying Checksum [2023-10-26T21:38:03.544Z] 579b34f0a95b: Download complete [2023-10-26T21:38:03.544Z] 579b34f0a95b: Pull complete [2023-10-26T21:38:03.544Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T21:38:03.544Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T21:38:03.544Z] ---> 3cc203321400 [2023-10-26T21:38:03.544Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-26T21:38:03.544Z] ---> Running in a8adbb0561cf [2023-10-26T21:38:03.544Z] Removing intermediate container a8adbb0561cf [2023-10-26T21:38:03.544Z] ---> 5c67b8ca33fd [2023-10-26T21:38:03.544Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-26T21:38:03.544Z] ---> Running in 66ed9552f9d3 [2023-10-26T21:38:03.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T21:38:03.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T21:38:04.509Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-26T21:38:04.509Z] Executing busybox-1.36.1-r2.trigger [2023-10-26T21:38:04.788Z] OK: 8 MiB in 16 packages [2023-10-26T21:38:05.762Z] Removing intermediate container 66ed9552f9d3 [2023-10-26T21:38:05.762Z] ---> 465f6bacdbcb [2023-10-26T21:38:05.762Z] Step 16/25 : WORKDIR / [2023-10-26T21:38:05.762Z] ---> Running in c4bcbae91e04 [2023-10-26T21:38:06.353Z] Removing intermediate container c4bcbae91e04 [2023-10-26T21:38:06.353Z] ---> 9caaa842b247 [2023-10-26T21:38:06.353Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-26T21:38:06.949Z] ---> 98a4106f1e02 [2023-10-26T21:38:06.949Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-26T21:38:07.551Z] ---> 0f64ec3e9867 [2023-10-26T21:38:07.551Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-26T21:38:09.518Z] ---> 8c203ad9a981 [2023-10-26T21:38:09.518Z] Step 20/25 : EXPOSE 59995 [2023-10-26T21:38:09.518Z] ---> Running in cae0167452fe [2023-10-26T21:38:09.786Z] Removing intermediate container cae0167452fe [2023-10-26T21:38:09.786Z] ---> b445462122f2 [2023-10-26T21:38:09.786Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-26T21:38:09.786Z] ---> Running in 99f6c24dba47 [2023-10-26T21:38:10.379Z] Removing intermediate container 99f6c24dba47 [2023-10-26T21:38:10.379Z] ---> 11c20f118906 [2023-10-26T21:38:10.379Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T21:38:10.379Z] ---> Running in 4b9f0f74ce2f [2023-10-26T21:38:10.666Z] Removing intermediate container 4b9f0f74ce2f [2023-10-26T21:38:10.666Z] ---> 9f764ad5d467 [2023-10-26T21:38:10.666Z] Step 23/25 : LABEL arch=arm64 [2023-10-26T21:38:10.666Z] ---> Running in 53d7d3e732c4 [2023-10-26T21:38:11.253Z] Removing intermediate container 53d7d3e732c4 [2023-10-26T21:38:11.253Z] ---> d604c574243b [2023-10-26T21:38:11.253Z] Step 24/25 : LABEL git_sha=163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:38:11.253Z] ---> Running in 8be9e462806f [2023-10-26T21:38:11.523Z] Removing intermediate container 8be9e462806f [2023-10-26T21:38:11.523Z] ---> a849dac9012e [2023-10-26T21:38:11.523Z] Step 25/25 : LABEL version=3.0.1-dev.8 [2023-10-26T21:38:11.797Z] ---> Running in 93800813d196 [2023-10-26T21:38:12.075Z] Removing intermediate container 93800813d196 [2023-10-26T21:38:12.075Z] ---> 356fad0abaa4 [2023-10-26T21:38:12.075Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T21:38:12.075Z] Successfully built 356fad0abaa4 [2023-10-26T21:38:12.075Z] 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-26T21:38:12.209Z] provisioning config files... [2023-10-26T21:38:12.226Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/14@tmp/config1033091987724520785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:38:12.576Z] ---> docker-login.sh [2023-10-26T21:38:12.577Z] nexus3.edgexfoundry.org:10001 [2023-10-26T21:38:12.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:38:12.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:38:12.847Z] Configure a credential helper to remove this warning. See [2023-10-26T21:38:12.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:38:12.847Z] [2023-10-26T21:38:12.847Z] Login Succeeded [2023-10-26T21:38:12.847Z] nexus3.edgexfoundry.org:10002 [2023-10-26T21:38:13.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:38:13.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:38:13.383Z] Configure a credential helper to remove this warning. See [2023-10-26T21:38:13.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:38:13.383Z] [2023-10-26T21:38:13.383Z] Login Succeeded [2023-10-26T21:38:13.383Z] nexus3.edgexfoundry.org:10003 [2023-10-26T21:38:13.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:38:13.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:38:13.654Z] Configure a credential helper to remove this warning. See [2023-10-26T21:38:13.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:38:13.654Z] [2023-10-26T21:38:13.654Z] Login Succeeded [2023-10-26T21:38:13.654Z] nexus3.edgexfoundry.org:10004 [2023-10-26T21:38:14.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:38:14.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:38:14.242Z] Configure a credential helper to remove this warning. See [2023-10-26T21:38:14.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:38:14.242Z] [2023-10-26T21:38:14.242Z] Login Succeeded [2023-10-26T21:38:14.242Z] docker.io [2023-10-26T21:38:14.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T21:38:15.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T21:38:15.303Z] Configure a credential helper to remove this warning. See [2023-10-26T21:38:15.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T21:38:15.303Z] [2023-10-26T21:38:15.303Z] Login Succeeded [2023-10-26T21:38:15.303Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T21:38:15.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-26T21:38:15.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T21:38:15.382Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-10-26T21:38:15.382Z] 163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:38:15.382Z] latest [2023-10-26T21:38:15.382Z] 3.0.1-dev.8 [2023-10-26T21:38:15.382Z] 163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:38:15.382Z] main [2023-10-26T21:38:15.382Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:15.735Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:16.336Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:38:16.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-26T21:38:16.336Z] 57d783b0884d: Preparing [2023-10-26T21:38:16.336Z] 49ebfdc73329: Preparing [2023-10-26T21:38:16.336Z] 37d1051676fa: Preparing [2023-10-26T21:38:16.336Z] 1e72708a54f9: Preparing [2023-10-26T21:38:16.336Z] 5f4d9fc4d98d: Preparing [2023-10-26T21:38:16.336Z] 5f4d9fc4d98d: Layer already exists [2023-10-26T21:38:16.336Z] 37d1051676fa: Pushed [2023-10-26T21:38:16.336Z] 1e72708a54f9: Pushed [2023-10-26T21:38:17.294Z] 49ebfdc73329: Pushed [2023-10-26T21:38:23.939Z] 57d783b0884d: Pushed [2023-10-26T21:38:23.939Z] 163a5cf59154a2f057feab4c63f7858625d99e7c: digest: sha256:cc6026666c457e0fbff018e1b9d219dd1453b8a07e0108ac4daf2c41c00ef227 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:24.307Z] + 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-26T21:38:24.666Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-26T21:38:24.666Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-26T21:38:24.666Z] 57d783b0884d: Preparing [2023-10-26T21:38:24.666Z] 49ebfdc73329: Preparing [2023-10-26T21:38:24.666Z] 37d1051676fa: Preparing [2023-10-26T21:38:24.666Z] 1e72708a54f9: Preparing [2023-10-26T21:38:24.666Z] 5f4d9fc4d98d: Preparing [2023-10-26T21:38:24.666Z] 37d1051676fa: Layer already exists [2023-10-26T21:38:24.666Z] 5f4d9fc4d98d: Layer already exists [2023-10-26T21:38:24.666Z] 49ebfdc73329: Layer already exists [2023-10-26T21:38:24.666Z] 1e72708a54f9: Layer already exists [2023-10-26T21:38:24.666Z] 57d783b0884d: Layer already exists [2023-10-26T21:38:24.666Z] latest: digest: sha256:cc6026666c457e0fbff018e1b9d219dd1453b8a07e0108ac4daf2c41c00ef227 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:25.299Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:27.603Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.8 [2023-10-26T21:38:27.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-26T21:38:27.603Z] 57d783b0884d: Preparing [2023-10-26T21:38:27.603Z] 49ebfdc73329: Preparing [2023-10-26T21:38:27.603Z] 37d1051676fa: Preparing [2023-10-26T21:38:27.603Z] 1e72708a54f9: Preparing [2023-10-26T21:38:27.603Z] 5f4d9fc4d98d: Preparing [2023-10-26T21:38:27.603Z] 5f4d9fc4d98d: Layer already exists [2023-10-26T21:38:27.603Z] 1e72708a54f9: Layer already exists [2023-10-26T21:38:27.603Z] 57d783b0884d: Layer already exists [2023-10-26T21:38:27.603Z] 37d1051676fa: Layer already exists [2023-10-26T21:38:27.603Z] 49ebfdc73329: Layer already exists [2023-10-26T21:38:27.871Z] 3.0.1-dev.8: digest: sha256:cc6026666c457e0fbff018e1b9d219dd1453b8a07e0108ac4daf2c41c00ef227 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:28.238Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:28.580Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:38:28.580Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-26T21:38:28.580Z] 57d783b0884d: Preparing [2023-10-26T21:38:28.580Z] 49ebfdc73329: Preparing [2023-10-26T21:38:28.580Z] 37d1051676fa: Preparing [2023-10-26T21:38:28.580Z] 1e72708a54f9: Preparing [2023-10-26T21:38:28.580Z] 5f4d9fc4d98d: Preparing [2023-10-26T21:38:28.580Z] 1e72708a54f9: Layer already exists [2023-10-26T21:38:28.580Z] 5f4d9fc4d98d: Layer already exists [2023-10-26T21:38:28.580Z] 49ebfdc73329: Layer already exists [2023-10-26T21:38:28.580Z] 37d1051676fa: Layer already exists [2023-10-26T21:38:28.580Z] 57d783b0884d: Layer already exists [2023-10-26T21:38:28.580Z] 163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8: digest: sha256:cc6026666c457e0fbff018e1b9d219dd1453b8a07e0108ac4daf2c41c00ef227 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:29.224Z] + 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-26T21:38:29.596Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-10-26T21:38:29.596Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-26T21:38:29.596Z] 57d783b0884d: Preparing [2023-10-26T21:38:29.596Z] 49ebfdc73329: Preparing [2023-10-26T21:38:29.596Z] 37d1051676fa: Preparing [2023-10-26T21:38:29.596Z] 1e72708a54f9: Preparing [2023-10-26T21:38:29.596Z] 5f4d9fc4d98d: Preparing [2023-10-26T21:38:29.596Z] 37d1051676fa: Layer already exists [2023-10-26T21:38:29.596Z] 49ebfdc73329: Layer already exists [2023-10-26T21:38:29.596Z] 1e72708a54f9: Layer already exists [2023-10-26T21:38:29.596Z] 57d783b0884d: Layer already exists [2023-10-26T21:38:29.596Z] 5f4d9fc4d98d: Layer already exists [2023-10-26T21:38:29.868Z] main: digest: sha256:cc6026666c457e0fbff018e1b9d219dd1453b8a07e0108ac4daf2c41c00ef227 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-26T21:38:29.921Z] ===================================================== [Pipeline] echo [2023-10-26T21:38:29.930Z] taggedImages: [2023-10-26T21:38:29.930Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c [2023-10-26T21:38:29.930Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-26T21:38:29.930Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.8 [2023-10-26T21:38:29.930Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:163a5cf59154a2f057feab4c63f7858625d99e7c-3.0.1-dev.8 [2023-10-26T21:38:29.930Z] - 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-26T21:38:30.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T21:38:30.304Z] [2023-10-26T21:38:30.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:38:30.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T21:38:30.646Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-26T21:38:30.646Z] 8998bd30e6a1: Pulling fs layer [2023-10-26T21:38:30.646Z] 04944245beec: Pulling fs layer [2023-10-26T21:38:30.646Z] 699f458cf7ca: Pulling fs layer [2023-10-26T21:38:30.646Z] 765212b225bb: Pulling fs layer [2023-10-26T21:38:30.646Z] f23df028b6ca: Pulling fs layer [2023-10-26T21:38:30.646Z] d65c8cfc05b1: Pulling fs layer [2023-10-26T21:38:30.646Z] 2437ff75d9bd: Pulling fs layer [2023-10-26T21:38:30.646Z] f23df028b6ca: Waiting [2023-10-26T21:38:30.646Z] 765212b225bb: Waiting [2023-10-26T21:38:30.646Z] d65c8cfc05b1: Waiting [2023-10-26T21:38:30.646Z] 2437ff75d9bd: Waiting [2023-10-26T21:38:30.918Z] 04944245beec: Verifying Checksum [2023-10-26T21:38:30.918Z] 04944245beec: Download complete [2023-10-26T21:38:30.918Z] 765212b225bb: Verifying Checksum [2023-10-26T21:38:30.918Z] 765212b225bb: Download complete [2023-10-26T21:38:30.918Z] f23df028b6ca: Download complete [2023-10-26T21:38:31.189Z] d65c8cfc05b1: Verifying Checksum [2023-10-26T21:38:31.189Z] d65c8cfc05b1: Download complete [2023-10-26T21:38:31.189Z] 699f458cf7ca: Verifying Checksum [2023-10-26T21:38:31.189Z] 699f458cf7ca: Download complete [2023-10-26T21:38:31.782Z] 8998bd30e6a1: Verifying Checksum [2023-10-26T21:38:31.782Z] 8998bd30e6a1: Download complete [2023-10-26T21:38:34.402Z] 2437ff75d9bd: Verifying Checksum [2023-10-26T21:38:34.402Z] 2437ff75d9bd: Download complete [2023-10-26T21:38:37.003Z] 8998bd30e6a1: Pull complete [2023-10-26T21:38:37.696Z] 04944245beec: Pull complete [2023-10-26T21:38:40.343Z] 699f458cf7ca: Pull complete [2023-10-26T21:38:40.965Z] 765212b225bb: Pull complete [2023-10-26T21:38:41.976Z] f23df028b6ca: Pull complete [2023-10-26T21:38:42.255Z] d65c8cfc05b1: Pull complete [2023-10-26T21:39:00.507Z] 2437ff75d9bd: Pull complete [2023-10-26T21:39:00.507Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-26T21:39:00.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T21:39:00.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:39:00.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-12149 does not seem to be running inside a container [2023-10-26T21:39:00.839Z] $ 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/14 -v /w/workspace/device-uart/14:/w/workspace/device-uart/14:rw,z -v /w/workspace/device-uart/14@tmp:/w/workspace/device-uart/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-26T21:39:04.291Z] $ docker top 82c4f13b99c23c9d44e7a5b1176b4e4cf5f8c26f4434ab6d97379b0cd7c05e72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:39:05.145Z] ---> job-cost.sh [2023-10-26T21:39:05.145Z] lf-activate-venv: SKIPPING [2023-10-26T21:39:05.145Z] INFO: No Stack... [2023-10-26T21:39:05.728Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-26T21:39:06.694Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T21:39:07.359Z] + cut -d, -f6 [2023-10-26T21:39:07.360Z] + cat /w/workspace/device-uart/14/archives/cost.csv [Pipeline] lock [2023-10-26T21:39:07.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [2023-10-26T21:39:07.429Z] Resource [jenkins-edgexfoundry-device-uart-main-14-stack-cost] did not exist. Created. [2023-10-26T21:39:07.430Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T21:39:08.089Z] /w/workspace/device-uart/14@tmp/durable-c7f25cc6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-26T21:39:08.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-26T21:39:08.764Z] Warning: overwriting stash ‘stack-cost’ [2023-10-26T21:39:08.835Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T21:39:08.845Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T21:39:08.870Z] $ docker stop --time=1 82c4f13b99c23c9d44e7a5b1176b4e4cf5f8c26f4434ab6d97379b0cd7c05e72 [2023-10-26T21:39:10.467Z] $ docker rm -f --volumes 82c4f13b99c23c9d44e7a5b1176b4e4cf5f8c26f4434ab6d97379b0cd7c05e72 [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-26T21:39:10.875Z] provisioning config files... [2023-10-26T21:39:10.882Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9179787642910870932tmp [Pipeline] { [Pipeline] sh [2023-10-26T21:39:11.175Z] + set +x [2023-10-26T21:39:11.175Z] + curl -s https://codecov.io/bash [2023-10-26T21:39:11.175Z] + bash -s -- [2023-10-26T21:39:11.175Z] [2023-10-26T21:39:11.175Z] _____ _ [2023-10-26T21:39:11.175Z] / ____| | | [2023-10-26T21:39:11.175Z] | | ___ __| | ___ ___ _____ __ [2023-10-26T21:39:11.175Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-26T21:39:11.175Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-26T21:39:11.175Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-26T21:39:11.175Z] Bash-1.0.6 [2023-10-26T21:39:11.175Z] [2023-10-26T21:39:11.175Z] [2023-10-26T21:39:11.175Z] ==> git version 2.25.1 found [2023-10-26T21:39:11.175Z] ==> 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-26T21:39:11.175Z] Release-Date: 2020-01-08 [2023-10-26T21:39:11.175Z] 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-26T21:39:11.175Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-26T21:39:11.175Z] ==> Jenkins CI detected. [2023-10-26T21:39:11.175Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-10-26T21:39:11.175Z] project root: . [2023-10-26T21:39:11.175Z] --> token set from env [2023-10-26T21:39:11.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-26T21:39:11.175Z] ==> Running gcov in . (disable via -X gcov) [2023-10-26T21:39:11.175Z] ==> Python coveragepy not found [2023-10-26T21:39:11.175Z] ==> Searching for coverage reports in: [2023-10-26T21:39:11.175Z] + . [2023-10-26T21:39:11.175Z] -> Found 1 reports [2023-10-26T21:39:11.175Z] ==> Detecting git/mercurial file structure [2023-10-26T21:39:11.175Z] ==> Reading reports [2023-10-26T21:39:11.175Z] + ./coverage.out bytes=10 [2023-10-26T21:39:11.435Z] ==> Appending adjustments [2023-10-26T21:39:11.435Z] https://docs.codecov.io/docs/fixing-reports [2023-10-26T21:39:11.435Z] + Found adjustments [2023-10-26T21:39:11.435Z] ==> Gzipping contents [2023-10-26T21:39:11.435Z] 4.0K /tmp/codecov.0wdiFT.gz [2023-10-26T21:39:11.435Z] ==> Uploading reports [2023-10-26T21:39:11.435Z] url: https://codecov.io [2023-10-26T21:39:11.435Z] query: branch=main&commit=163a5cf59154a2f057feab4c63f7858625d99e7c&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-26T21:39:11.435Z] -> Pinging Codecov [2023-10-26T21:39:11.435Z] 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=163a5cf59154a2f057feab4c63f7858625d99e7c&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-26T21:39:11.435Z] -> Uploading to [2023-10-26T21:39:11.435Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-26/B9AA6E0BBD74AE3A32605C7A7C664919/163a5cf59154a2f057feab4c63f7858625d99e7c/c4521180-8c14-4029-a00f-2810739e3d2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T213911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5413fcf1162967c1c51c7d6a8daf1b0d9632e770caf87878c9f830cdb772ec7d [2023-10-26T21:39:11.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T21:39:11.435Z] Dload Upload Total Spent Left Speed [2023-10-26T21:39:12.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1010 --:--:-- --:--:-- --:--:-- 1008 [2023-10-26T21:39:12.265Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] } [2023-10-26T21:39:12.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-26T21:39:12.392Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-26T21:39:12.402Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:39:12.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T21:39:12.705Z] [2023-10-26T21:39:12.705Z] 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-26T21:39:13.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T21:39:13.008Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-26T21:39:13.008Z] df9b9388f04a: Pulling fs layer [2023-10-26T21:39:13.008Z] 52dc419b0ee2: Pulling fs layer [2023-10-26T21:39:13.008Z] 25bc292e5bac: Pulling fs layer [2023-10-26T21:39:13.008Z] 114826534d7a: Pulling fs layer [2023-10-26T21:39:13.008Z] 4657fd5d0bcf: Pulling fs layer [2023-10-26T21:39:13.008Z] 6ad1cebc031e: Pulling fs layer [2023-10-26T21:39:13.008Z] 8a3aa393b2d8: Pulling fs layer [2023-10-26T21:39:13.008Z] 114826534d7a: Waiting [2023-10-26T21:39:13.008Z] 4657fd5d0bcf: Waiting [2023-10-26T21:39:13.008Z] 8a3aa393b2d8: Waiting [2023-10-26T21:39:13.008Z] 6ad1cebc031e: Waiting [2023-10-26T21:39:13.008Z] 25bc292e5bac: Verifying Checksum [2023-10-26T21:39:13.008Z] 25bc292e5bac: Download complete [2023-10-26T21:39:13.008Z] 52dc419b0ee2: Verifying Checksum [2023-10-26T21:39:13.008Z] 52dc419b0ee2: Download complete [2023-10-26T21:39:13.008Z] 4657fd5d0bcf: Verifying Checksum [2023-10-26T21:39:13.008Z] 4657fd5d0bcf: Download complete [2023-10-26T21:39:13.008Z] df9b9388f04a: Verifying Checksum [2023-10-26T21:39:13.008Z] df9b9388f04a: Download complete [2023-10-26T21:39:13.267Z] 6ad1cebc031e: Verifying Checksum [2023-10-26T21:39:13.267Z] 6ad1cebc031e: Download complete [2023-10-26T21:39:13.267Z] df9b9388f04a: Pull complete [2023-10-26T21:39:13.267Z] 52dc419b0ee2: Pull complete [2023-10-26T21:39:13.526Z] 25bc292e5bac: Pull complete [2023-10-26T21:39:13.786Z] 114826534d7a: Verifying Checksum [2023-10-26T21:39:13.786Z] 114826534d7a: Download complete [2023-10-26T21:39:14.357Z] 8a3aa393b2d8: Verifying Checksum [2023-10-26T21:39:14.357Z] 8a3aa393b2d8: Download complete [2023-10-26T21:39:18.550Z] 114826534d7a: Pull complete [2023-10-26T21:39:18.550Z] 4657fd5d0bcf: Pull complete [2023-10-26T21:39:19.116Z] 6ad1cebc031e: Pull complete [2023-10-26T21:39:22.400Z] 8a3aa393b2d8: Pull complete [2023-10-26T21:39:22.400Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-26T21:39:22.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T21:39:22.400Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:39:22.483Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:39:22.516Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-26T21:39:27.204Z] $ docker top 238712da2be9df01a665d34227ea505c571af5b9377a130ed07a6547e2f0a812 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-26T21:39:27.269Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-10-26T21:39:27.545Z] + set -o pipefail [2023-10-26T21:39:27.545Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-10-26T21:39:35.656Z] [2023-10-26T21:39:35.656Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-10-26T21:39:35.656Z] [2023-10-26T21:39:35.656Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/8fc9d0d9-d11e-4cce-b461-6ab26dc05f2a [2023-10-26T21:39:35.656Z] [2023-10-26T21:39:35.656Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-26T21:39:35.656Z] [2023-10-26T21:39:35.656Z] [2023-10-26T21:39:35.656Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-26T21:39:35.656Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-26T21:39:35.656Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-26T21:39:35.666Z] $ docker stop --time=1 238712da2be9df01a665d34227ea505c571af5b9377a130ed07a6547e2f0a812 [2023-10-26T21:39:40.236Z] $ docker rm -f --volumes 238712da2be9df01a665d34227ea505c571af5b9377a130ed07a6547e2f0a812 [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-26T21:39:40.974Z] + git log --format=format:%s -1 163a5cf59154a2f057feab4c63f7858625d99e7c [Pipeline] sh [2023-10-26T21:39:41.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T21:39:41.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:39:41.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:39:41.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:39:41.622Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:39:41.648Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T21:39:42.069Z] $ docker top 5964b859a2f2c08bd60de76de98b4df924cc18cd5e99ef47fa1da17cb37dce0f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T21:39:42.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T21:39:42.153Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T21:39:42.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T21:39:42.267Z] $ docker exec 5964b859a2f2c08bd60de76de98b4df924cc18cd5e99ef47fa1da17cb37dce0f ssh-agent [2023-10-26T21:39:42.373Z] SSH_AUTH_SOCK=/tmp/ssh-HNg9eKJZjcUA/agent.32 [2023-10-26T21:39:42.373Z] SSH_AGENT_PID=38 [2023-10-26T21:39:42.378Z] Running ssh-add (command line suppressed) [2023-10-26T21:39:42.476Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15305962879028578.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15305962879028578.key) [2023-10-26T21:39:42.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T21:39:42.770Z] + git semver tag [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,969 [run_tag] DEBUG tag force:False [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,969 [check_head_tag] DEBUG check head tag [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,970 [execute] INFO git cat-file --batch-check [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,974 [execute] INFO git cat-file --batch [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,983 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,983 [execute] INFO git tag -a v3.0.1-dev.8 -m v3.0.1-dev.8 [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,984 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.8', '-m', 'v3.0.1-dev.8'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-26T21:39:43.028Z] 2023-10-26 21:39:42,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:39:43.028Z] 3.0.1-dev.8 [Pipeline] } [2023-10-26T21:39:43.036Z] $ docker exec --env ******** --env ******** 5964b859a2f2c08bd60de76de98b4df924cc18cd5e99ef47fa1da17cb37dce0f ssh-agent -k [2023-10-26T21:39:43.133Z] unset SSH_AUTH_SOCK; [2023-10-26T21:39:43.133Z] unset SSH_AGENT_PID; [2023-10-26T21:39:43.134Z] echo Agent pid 38 killed; [2023-10-26T21:39:43.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T21:39:43.449Z] + git semver [Pipeline] } [2023-10-26T21:39:43.719Z] $ docker stop --time=1 5964b859a2f2c08bd60de76de98b4df924cc18cd5e99ef47fa1da17cb37dce0f [2023-10-26T21:39:44.967Z] $ docker rm -f --volumes 5964b859a2f2c08bd60de76de98b4df924cc18cd5e99ef47fa1da17cb37dce0f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:39:45.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T21:39:45.348Z] [2023-10-26T21:39:45.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:39:45.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T21:39:45.643Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-26T21:39:45.643Z] ab5ef0e58194: Pulling fs layer [2023-10-26T21:39:45.643Z] 9712f1f96733: Pulling fs layer [2023-10-26T21:39:45.643Z] 63f879dbbcfc: Pulling fs layer [2023-10-26T21:39:45.643Z] 0d9ebad4ef96: Pulling fs layer [2023-10-26T21:39:45.643Z] e9a5061849ea: Pulling fs layer [2023-10-26T21:39:45.643Z] d747dcd14b5f: Pulling fs layer [2023-10-26T21:39:45.643Z] 2de7ff778b66: Pulling fs layer [2023-10-26T21:39:45.643Z] e9a5061849ea: Waiting [2023-10-26T21:39:45.643Z] d747dcd14b5f: Waiting [2023-10-26T21:39:45.643Z] 2de7ff778b66: Waiting [2023-10-26T21:39:45.643Z] 0d9ebad4ef96: Waiting [2023-10-26T21:39:45.643Z] 9712f1f96733: Verifying Checksum [2023-10-26T21:39:45.643Z] 9712f1f96733: Download complete [2023-10-26T21:39:45.899Z] 63f879dbbcfc: Verifying Checksum [2023-10-26T21:39:45.899Z] 63f879dbbcfc: Download complete [2023-10-26T21:39:46.162Z] ab5ef0e58194: Download complete [2023-10-26T21:39:46.162Z] d747dcd14b5f: Verifying Checksum [2023-10-26T21:39:46.162Z] d747dcd14b5f: Download complete [2023-10-26T21:39:46.162Z] 0d9ebad4ef96: Verifying Checksum [2023-10-26T21:39:46.162Z] 0d9ebad4ef96: Download complete [2023-10-26T21:39:46.162Z] e9a5061849ea: Verifying Checksum [2023-10-26T21:39:46.162Z] e9a5061849ea: Download complete [2023-10-26T21:39:46.162Z] 2de7ff778b66: Verifying Checksum [2023-10-26T21:39:46.162Z] 2de7ff778b66: Download complete [2023-10-26T21:39:48.684Z] ab5ef0e58194: Pull complete [2023-10-26T21:39:48.684Z] 9712f1f96733: Pull complete [2023-10-26T21:39:49.614Z] 63f879dbbcfc: Pull complete [2023-10-26T21:39:52.892Z] 0d9ebad4ef96: Pull complete [2023-10-26T21:39:53.149Z] e9a5061849ea: Pull complete [2023-10-26T21:39:53.149Z] d747dcd14b5f: Pull complete [2023-10-26T21:39:54.082Z] 2de7ff778b66: Pull complete [2023-10-26T21:39:54.082Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-26T21:39:54.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T21:39:54.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:39:54.161Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:39:54.192Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-26T21:39:59.328Z] $ docker top 6b1c887931ff1ce62b6817e55cb2ffbe7b28a6704e031f3cc55b7611faef80c0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-26T21:39:59.392Z] provisioning config files... [2023-10-26T21:39:59.398Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5069433094838685710tmp [2023-10-26T21:39:59.406Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15331767200866069233tmp [2023-10-26T21:39:59.415Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8295317247847559410tmp [Pipeline] { [Pipeline] echo [2023-10-26T21:39:59.428Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:39:59.707Z] ---> sigul-configuration.sh [2023-10-26T21:39:59.708Z] gpg: directory `/root/.gnupg' created [2023-10-26T21:39:59.708Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-26T21:39:59.708Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-26T21:39:59.708Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-26T21:39:59.708Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-26T21:39:59.708Z] gpg: CAST5 encrypted data [2023-10-26T21:39:59.708Z] gpg: encrypted with 1 passphrase [2023-10-26T21:39:59.708Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-26T21:39:59.990Z] + mkdir /home/jenkins [2023-10-26T21:39:59.990Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-26T21:40:00.275Z] + 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-26T21:40:00.283Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:00.567Z] ---> sigul-install.sh [2023-10-26T21:40:00.567Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-26T21:40:00.858Z] + git tag --list [2023-10-26T21:40:00.858Z] v0.0.0 [2023-10-26T21:40:00.858Z] v0.0.1-dev.1 [2023-10-26T21:40:00.858Z] v0.0.1-dev.2 [2023-10-26T21:40:00.858Z] v0.0.1-dev.3 [2023-10-26T21:40:00.858Z] v0.0.1-dev.4 [2023-10-26T21:40:00.858Z] v3.0.0 [2023-10-26T21:40:00.858Z] v3.0.1-dev.1 [2023-10-26T21:40:00.858Z] v3.0.1-dev.2 [2023-10-26T21:40:00.858Z] v3.0.1-dev.3 [2023-10-26T21:40:00.858Z] v3.0.1-dev.4 [2023-10-26T21:40:00.858Z] v3.0.1-dev.5 [2023-10-26T21:40:00.858Z] v3.0.1-dev.6 [2023-10-26T21:40:00.858Z] v3.0.1-dev.7 [2023-10-26T21:40:00.858Z] v3.0.1-dev.8 [Pipeline] sh [2023-10-26T21:40:01.143Z] + lftools sign git-tag v3.0.1-dev.8 [2023-10-26T21:40:01.714Z] Signing Git tag with Sigul... [2023-10-26T21:40:01.714Z] Signing v3.0.1-dev.8 [Pipeline] echo [2023-10-26T21:40:02.286Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:02.564Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-26T21:40:02.571Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-26T21:40:02.589Z] $ docker stop --time=1 6b1c887931ff1ce62b6817e55cb2ffbe7b28a6704e031f3cc55b7611faef80c0 [2023-10-26T21:40:03.867Z] $ docker rm -f --volumes 6b1c887931ff1ce62b6817e55cb2ffbe7b28a6704e031f3cc55b7611faef80c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-26T21:40:04.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T21:40:04.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:40:04.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:40:04.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:40:04.648Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:40:04.681Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T21:40:05.058Z] $ docker top 9a070bb0e060fb601d1501debb037efe22fab5d3fcf4b6bee767c3dcd1ef6948 -eo pid,comm [2023-10-26T21:40:05.103Z] 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-26T21:40:05.103Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T21:40:05.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T21:40:05.133Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T21:40:05.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T21:40:05.250Z] $ docker exec 9a070bb0e060fb601d1501debb037efe22fab5d3fcf4b6bee767c3dcd1ef6948 ssh-agent [2023-10-26T21:40:05.356Z] SSH_AUTH_SOCK=/tmp/ssh-isSjCqjck0Ey/agent.32 [2023-10-26T21:40:05.356Z] SSH_AGENT_PID=38 [2023-10-26T21:40:05.360Z] Running ssh-add (command line suppressed) [2023-10-26T21:40:05.452Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_434017552762930381.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_434017552762930381.key) [2023-10-26T21:40:05.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T21:40:05.746Z] + git semver bump pre [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [bump_version] DEBUG bumping version:3.0.1-dev.8 on axis:pre with prefix:dev [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [bump_version] DEBUG bumped version:3.0.1-dev.9 [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [write_version] DEBUG write version:3.0.1-dev.9 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,924 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,926 [execute] INFO git cat-file --batch-check [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,931 [execute] INFO git cat-file --batch [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T21:40:06.006Z] 2023-10-26 21:40:05,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:40:06.006Z] 3.0.1-dev.9 [Pipeline] } [2023-10-26T21:40:06.015Z] $ docker exec --env ******** --env ******** 9a070bb0e060fb601d1501debb037efe22fab5d3fcf4b6bee767c3dcd1ef6948 ssh-agent -k [2023-10-26T21:40:06.104Z] unset SSH_AUTH_SOCK; [2023-10-26T21:40:06.104Z] unset SSH_AGENT_PID; [2023-10-26T21:40:06.104Z] echo Agent pid 38 killed; [2023-10-26T21:40:06.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T21:40:06.419Z] + git semver [Pipeline] } [2023-10-26T21:40:06.690Z] $ docker stop --time=1 9a070bb0e060fb601d1501debb037efe22fab5d3fcf4b6bee767c3dcd1ef6948 [2023-10-26T21:40:08.018Z] $ docker rm -f --volumes 9a070bb0e060fb601d1501debb037efe22fab5d3fcf4b6bee767c3dcd1ef6948 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T21:40:08.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T21:40:08.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:40:08.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T21:40:08.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:40:08.713Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:40:08.742Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T21:40:09.065Z] $ docker top 477da46246bc561b28833c3dbe19f42468221494dd294f056afcfc6c79657edf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T21:40:09.151Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T21:40:09.151Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T21:40:09.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T21:40:09.267Z] $ docker exec 477da46246bc561b28833c3dbe19f42468221494dd294f056afcfc6c79657edf ssh-agent [2023-10-26T21:40:09.370Z] SSH_AUTH_SOCK=/tmp/ssh-gyRRsA8Svb7n/agent.32 [2023-10-26T21:40:09.370Z] SSH_AGENT_PID=38 [2023-10-26T21:40:09.375Z] Running ssh-add (command line suppressed) [2023-10-26T21:40:09.464Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6198788525051217470.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6198788525051217470.key) [2023-10-26T21:40:09.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T21:40:09.758Z] + git semver push [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,924 [run_push] DEBUG push [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,925 [execute] INFO git cat-file --batch-check [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,928 [execute] INFO git rev-list 8aa35cdc8745113d5cca21b92a43951a07edc5c8 -- [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,929 [execute] DEBUG Popen(['git', 'rev-list', '8aa35cdc8745113d5cca21b92a43951a07edc5c8', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,933 [execute] INFO git fetch -v origin [2023-10-26T21:40:10.016Z] 2023-10-26 21:40:09,934 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-26T21:40:10.584Z] 2023-10-26 21:40:10,460 [run_push] DEBUG no remote changes detected [2023-10-26T21:40:10.584Z] 2023-10-26 21:40:10,460 [execute] INFO git push origin semver [2023-10-26T21:40:10.584Z] 2023-10-26 21:40:10,461 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-26T21:40:11.523Z] 2023-10-26 21:40:11,317 [run_push] DEBUG push all version tags [2023-10-26T21:40:11.523Z] 2023-10-26 21:40:11,318 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-26T21:40:11.523Z] 2023-10-26 21:40:11,318 [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-26T21:40:12.090Z] 2023-10-26 21:40:12,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-26T21:40:12.090Z] 3.0.1-dev.9 [Pipeline] } [2023-10-26T21:40:12.098Z] $ docker exec --env ******** --env ******** 477da46246bc561b28833c3dbe19f42468221494dd294f056afcfc6c79657edf ssh-agent -k [2023-10-26T21:40:12.204Z] unset SSH_AUTH_SOCK; [2023-10-26T21:40:12.207Z] unset SSH_AGENT_PID; [2023-10-26T21:40:12.208Z] echo Agent pid 38 killed; [2023-10-26T21:40:12.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T21:40:12.521Z] + git semver [Pipeline] } [2023-10-26T21:40:12.793Z] $ docker stop --time=1 477da46246bc561b28833c3dbe19f42468221494dd294f056afcfc6c79657edf [2023-10-26T21:40:14.089Z] $ docker rm -f --volumes 477da46246bc561b28833c3dbe19f42468221494dd294f056afcfc6c79657edf [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-26T21:40:14.663Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-10-26T21:40:14.663Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-26T21:40:14.663Z] total 16 [2023-10-26T21:40:14.663Z] drwxr-xr-x 3 root root 4096 Oct 26 21:23 . [2023-10-26T21:40:14.663Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 21:40 .. [2023-10-26T21:40:14.663Z] drwxr-xr-x 2 root root 4096 Oct 26 21:23 cost [2023-10-26T21:40:14.663Z] -rw-r--r-- 1 root root 82 Oct 26 21:23 cost.csv [2023-10-26T21:40:14.663Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-26T21:40:14.663Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-26T21:40:14.663Z] total 16 [2023-10-26T21:40:14.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:23 . [2023-10-26T21:40:14.663Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 21:40 .. [2023-10-26T21:40:14.663Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 21:23 cost [2023-10-26T21:40:14.663Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 26 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:14.952Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:15.807Z] ---> package-listing.sh [2023-10-26T21:40:15.807Z] ++ facter osfamily [2023-10-26T21:40:15.807Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-26T21:40:16.099Z] + OS_FAMILY=debian [2023-10-26T21:40:16.099Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-10-26T21:40:16.099Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-26T21:40:16.099Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-26T21:40:16.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-26T21:40:16.099Z] + PACKAGES=/tmp/packages_start.txt [2023-10-26T21:40:16.099Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-26T21:40:16.099Z] + PACKAGES=/tmp/packages_end.txt [2023-10-26T21:40:16.099Z] + case "${OS_FAMILY}" in [2023-10-26T21:40:16.099Z] + dpkg -l [2023-10-26T21:40:16.099Z] + grep '^ii' [2023-10-26T21:40:16.099Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-26T21:40:16.099Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-26T21:40:16.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-26T21:40:16.099Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-26T21:40:16.099Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-10-26T21:40:16.099Z] + 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-26T21:40:16.228Z] 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-26T21:40:16.591Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T21:40:16.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T21:40:16.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T21:40:16.970Z] prd-ubuntu20.04-docker-8c-8g-12070 does not seem to be running inside a container [2023-10-26T21:40:17.001Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T21:40:17.272Z] $ docker top 5b97195166b47951fe6444bd1a824e6cdb8e9519baacdb00465f4fada3849f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T21:40:17.622Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-26T21:40:17.909Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-26T21:40:18.194Z] + ls /var/log/sa-host [2023-10-26T21:40:18.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T21:40:18.258Z] provisioning config files... [2023-10-26T21:40:18.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config129139667946365386tmp [Pipeline] { [Pipeline] echo [2023-10-26T21:40:18.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:18.563Z] ---> create-netrc.sh [Pipeline] } [2023-10-26T21:40:18.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:18.896Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-26T21:40:18.904Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:19.187Z] ---> sudo-logs.sh [2023-10-26T21:40:19.187Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-26T21:40:19.217Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:19.500Z] ---> job-cost.sh [2023-10-26T21:40:19.501Z] lf-activate-venv: SKIPPING [2023-10-26T21:40:19.501Z] DEBUG: total: 0.2199999988079071 [2023-10-26T21:40:19.501Z] INFO: Retrieving Stack Cost... [2023-10-26T21:40:20.068Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T21:40:20.328Z] INFO: Archiving Costs [Pipeline] echo [2023-10-26T21:40:20.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T21:40:20.622Z] ---> logs-deploy.sh [2023-10-26T21:40:20.622Z] lf-activate-venv: SKIPPING [2023-10-26T21:40:20.622Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/14 [2023-10-26T21:40:20.622Z] INFO: archiving workspace using pattern(s): [2023-10-26T21:40:21.559Z] Archives upload complete. [2023-10-26T21:40:21.559Z] INFO: archiving logs to Nexus