Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0197f7477711c065f24c514fa051c7e38d133d4f 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-ssh1916698700537237431.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-ssh11971730153985947108.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-ssh17497413279677476137.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-ssh9494974084639621493.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-ssh10360857486275040802.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-7232 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 0197f7477711c065f24c514fa051c7e38d133d4f (main) Commit message: "Merge pull request #25 from ernestojeda/create-release" > 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 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 > git rev-list --no-walk eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:56:32.514Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:56:32.574Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:56:32.596Z] ========================================================= [2023-09-20T20:56:32.596Z] EdgeX Global Pipelines Version Info [2023-09-20T20:56:32.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:33.305Z] ------------------- [2023-09-20T20:56:33.305Z] stable info: [2023-09-20T20:56:33.305Z] ------------------- [2023-09-20T20:56:33.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:56:33.305Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:56:33.305Z] Message: update stable to v1.0.254 [2023-09-20T20:56:33.873Z] ------------------- [2023-09-20T20:56:33.873Z] experimental info: [2023-09-20T20:56:33.873Z] ------------------- [2023-09-20T20:56:33.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:56:33.873Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:56:33.873Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:56:34.031Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-09-20T20:56:34.045Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-09-20T20:56:34.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:56:34.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:56:34.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:56:34.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:56:34.111Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:56:34.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:56:34.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:56:34.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:56:34.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:56:34.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-09-20T20:56:34.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:56:34.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:56:34.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:56:34.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:56:34.228Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:34.242Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:34.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:56:34.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:56:34.276Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:56:34.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:56:34.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:56:34.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:56:34.326Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:56:34.485Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:56:34.499Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:56:34.511Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:56:34.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:56:34.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:56:34.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] echo [2023-09-20T20:56:34.558Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0197f74 [Pipeline] echo [2023-09-20T20:56:34.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:56:34.599Z] provisioning config files... [2023-09-20T20:56:34.614Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3654971546695927084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:34.915Z] ---> docker-login.sh [2023-09-20T20:56:34.915Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:35.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:35.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:35.175Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:35.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:35.175Z] [2023-09-20T20:56:35.175Z] Login Succeeded [2023-09-20T20:56:35.175Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:35.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:35.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:35.175Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:35.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:35.175Z] [2023-09-20T20:56:35.175Z] Login Succeeded [2023-09-20T20:56:35.175Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:35.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:35.436Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:35.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:35.436Z] [2023-09-20T20:56:35.436Z] Login Succeeded [2023-09-20T20:56:35.436Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:35.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:35.436Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:35.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:35.436Z] [2023-09-20T20:56:35.436Z] Login Succeeded [2023-09-20T20:56:35.436Z] docker.io [2023-09-20T20:56:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:35.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:35.696Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:35.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:35.696Z] [2023-09-20T20:56:35.696Z] Login Succeeded [2023-09-20T20:56:35.696Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:35.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:56:36.071Z] + git rev-list -1 --merges 0197f7477711c065f24c514fa051c7e38d133d4f~1..0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] echo [2023-09-20T20:56:36.116Z] -----------> git rev-list -1 --merges 0197f7477711c065f24c514fa051c7e38d133d4f~1..0197f7477711c065f24c514fa051c7e38d133d4f 0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T20:56:36.116Z] 0197f7477711c065f24c514fa051c7e38d133d4f [false] [Pipeline] sh [2023-09-20T20:56:36.400Z] + git log --format=format:%s -1 0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] echo [2023-09-20T20:56:36.414Z] ========================================================= [2023-09-20T20:56:36.414Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:56:36.414Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:56:36.748Z] + git log --format=format:%s -1 0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] echo [2023-09-20T20:56:36.779Z] [semverPrep] GIT_COMMIT: 0197f7477711c065f24c514fa051c7e38d133d4f, Commit Message: Merge pull request #25 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:56:36.787Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:56:37.125Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:56:37.125Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:56:37.125Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:56:37.125Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:56:37.125Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:56:37.125Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:56:37.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:37.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:37.476Z] [2023-09-20T20:56:37.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:37.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:37.771Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:56:37.771Z] b85a868b505f: Pulling fs layer [2023-09-20T20:56:37.771Z] e2be974225ed: Pulling fs layer [2023-09-20T20:56:37.771Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:56:37.771Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:56:37.771Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:56:37.771Z] eaf3925da568: Pulling fs layer [2023-09-20T20:56:37.771Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:56:37.771Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:56:37.771Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:56:37.771Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:56:37.771Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:56:37.771Z] 988bab9f4d93: Waiting [2023-09-20T20:56:37.771Z] b352a97aabf1: Waiting [2023-09-20T20:56:37.771Z] 1469e6f7b9e6: Waiting [2023-09-20T20:56:37.771Z] eaf3925da568: Waiting [2023-09-20T20:56:37.771Z] 4872d77fe225: Waiting [2023-09-20T20:56:37.771Z] bab4dde63d76: Waiting [2023-09-20T20:56:37.771Z] 5851b861e8e6: Waiting [2023-09-20T20:56:37.771Z] bde34c3a00c8: Waiting [2023-09-20T20:56:37.771Z] e2be974225ed: Download complete [2023-09-20T20:56:37.771Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:56:37.771Z] 988bab9f4d93: Download complete [2023-09-20T20:56:37.771Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:56:37.771Z] 1469e6f7b9e6: Download complete [2023-09-20T20:56:37.771Z] eaf3925da568: Verifying Checksum [2023-09-20T20:56:37.771Z] eaf3925da568: Download complete [2023-09-20T20:56:37.771Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:56:37.771Z] 339a4e72a1f5: Download complete [2023-09-20T20:56:38.030Z] bde34c3a00c8: Download complete [2023-09-20T20:56:38.030Z] b352a97aabf1: Download complete [2023-09-20T20:56:38.030Z] 4872d77fe225: Verifying Checksum [2023-09-20T20:56:38.030Z] 4872d77fe225: Download complete [2023-09-20T20:56:38.030Z] 5851b861e8e6: Verifying Checksum [2023-09-20T20:56:38.030Z] 5851b861e8e6: Download complete [2023-09-20T20:56:38.030Z] b85a868b505f: Download complete [2023-09-20T20:56:38.289Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:56:38.290Z] bab4dde63d76: Download complete [2023-09-20T20:56:39.224Z] b85a868b505f: Pull complete [2023-09-20T20:56:39.483Z] e2be974225ed: Pull complete [2023-09-20T20:56:39.742Z] 339a4e72a1f5: Pull complete [2023-09-20T20:56:40.000Z] 988bab9f4d93: Pull complete [2023-09-20T20:56:40.260Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:56:40.260Z] eaf3925da568: Pull complete [2023-09-20T20:56:41.642Z] bab4dde63d76: Pull complete [2023-09-20T20:56:41.901Z] bde34c3a00c8: Pull complete [2023-09-20T20:56:41.901Z] b352a97aabf1: Pull complete [2023-09-20T20:56:41.901Z] 4872d77fe225: Pull complete [2023-09-20T20:56:42.160Z] 5851b861e8e6: Pull complete [2023-09-20T20:56:42.160Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:56:42.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:42.160Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:42.261Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T20:56:42.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:56:44.994Z] $ docker top 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 -eo pid,comm [2023-09-20T20:56:45.042Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:56:45.042Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:56:45.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:45.083Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:45.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:45.201Z] $ docker exec 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 ssh-agent [2023-09-20T20:56:45.296Z] SSH_AUTH_SOCK=/tmp/ssh-W42ne8vu1Gyn/agent.33 [2023-09-20T20:56:45.296Z] SSH_AGENT_PID=39 [2023-09-20T20:56:45.303Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:45.410Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18081963096119807332.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18081963096119807332.key) [2023-09-20T20:56:45.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:45.705Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:56:45.733Z] $ docker exec --env ******** --env ******** 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 ssh-agent -k [2023-09-20T20:56:45.828Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:45.828Z] unset SSH_AGENT_PID; [2023-09-20T20:56:45.829Z] echo Agent pid 39 killed; [2023-09-20T20:56:45.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:56:45.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:45.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:45.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:45.972Z] $ docker exec 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 ssh-agent [2023-09-20T20:56:46.068Z] SSH_AUTH_SOCK=/tmp/ssh-InMB7Ci8xPQA/agent.71 [2023-09-20T20:56:46.068Z] SSH_AGENT_PID=77 [2023-09-20T20:56:46.072Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:46.196Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10880279885452233436.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10880279885452233436.key) [2023-09-20T20:56:46.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:46.497Z] + git semver init [2023-09-20T20:56:46.756Z] 2023-09-20 20:56:46,676 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:56:46.757Z] 2023-09-20 20:56:46,677 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-09-20T20:56:46.757Z] 2023-09-20 20:56:46,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-09-20T20:56:46.757Z] 2023-09-20 20:56:46,678 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:56:47.693Z] 2023-09-20 20:56:47,491 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-09-20T20:56:47.693Z] 2023-09-20 20:56:47,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-09-20T20:56:47.693Z] 2023-09-20 20:56:47,492 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T20:56:47.693Z] 2023-09-20 20:56:47,492 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T20:56:47.693Z] 3.0.1-dev.4 [Pipeline] } [2023-09-20T20:56:47.708Z] $ docker exec --env ******** --env ******** 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 ssh-agent -k [2023-09-20T20:56:47.800Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:47.800Z] unset SSH_AGENT_PID; [2023-09-20T20:56:47.802Z] echo Agent pid 77 killed; [2023-09-20T20:56:47.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:56:48.113Z] + git semver [Pipeline] } [2023-09-20T20:56:48.389Z] $ docker stop --time=1 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 [2023-09-20T20:56:49.677Z] $ docker rm -f --volumes 94aa5b5c65502ad397077f701e8571c45db140aa3a920789f612fcfbe895ee69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:56:50.009Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:56:50.223Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:56:50.226Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:56:50.350Z] provisioning config files... [2023-09-20T20:56:50.360Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1095233374079541280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:50.652Z] ---> docker-login.sh [2023-09-20T20:56:50.653Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:50.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:50.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:50.653Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:50.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:50.653Z] [2023-09-20T20:56:50.653Z] Login Succeeded [2023-09-20T20:56:50.653Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:50.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:50.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:50.653Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:50.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:50.653Z] [2023-09-20T20:56:50.653Z] Login Succeeded [2023-09-20T20:56:50.653Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:50.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:50.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:50.912Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:50.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:50.912Z] [2023-09-20T20:56:50.912Z] Login Succeeded [2023-09-20T20:56:50.912Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:50.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:50.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:50.912Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:50.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:50.912Z] [2023-09-20T20:56:50.912Z] Login Succeeded [2023-09-20T20:56:50.912Z] docker.io [2023-09-20T20:56:50.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:51.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:51.170Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:51.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:51.170Z] [2023-09-20T20:56:51.170Z] Login Succeeded [2023-09-20T20:56:51.170Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:51.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:56:51.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:51.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:51.265Z] ========================================================= [2023-09-20T20:56:51.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:56:51.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:51.568Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:56:51.568Z] Sending build context to Docker daemon 11.11MB [2023-09-20T20:56:51.568Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:56:51.568Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:56:51.568Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:56:51.568Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:56:51.568Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:56:51.568Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:56:51.568Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:56:51.568Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:56:51.568Z] c68163c4e522: Pulling fs layer [2023-09-20T20:56:51.568Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:56:51.568Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:56:51.568Z] 33e27b845d1e: Waiting [2023-09-20T20:56:51.568Z] c68163c4e522: Waiting [2023-09-20T20:56:51.568Z] ad3a456e5733: Waiting [2023-09-20T20:56:51.568Z] 50da416c3ac9: Waiting [2023-09-20T20:56:51.568Z] 23d2d4c4bb30: Waiting [2023-09-20T20:56:51.568Z] c4d48a809fc2: Download complete [2023-09-20T20:56:51.568Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:56:51.568Z] ad3a456e5733: Download complete [2023-09-20T20:56:51.828Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:56:51.828Z] 33e27b845d1e: Download complete [2023-09-20T20:56:51.828Z] 7264a8db6415: Download complete [2023-09-20T20:56:51.828Z] c68163c4e522: Verifying Checksum [2023-09-20T20:56:51.828Z] c68163c4e522: Download complete [2023-09-20T20:56:51.828Z] 7264a8db6415: Pull complete [2023-09-20T20:56:52.087Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:56:52.087Z] 23d2d4c4bb30: Download complete [2023-09-20T20:56:52.087Z] c4d48a809fc2: Pull complete [2023-09-20T20:56:52.087Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:56:52.087Z] 4f1c88b9dad5: Download complete [2023-09-20T20:56:52.653Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:56:52.653Z] 50da416c3ac9: Download complete [2023-09-20T20:56:55.187Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:56:55.187Z] ad3a456e5733: Pull complete [2023-09-20T20:56:55.454Z] 33e27b845d1e: Pull complete [2023-09-20T20:56:55.454Z] c68163c4e522: Pull complete [2023-09-20T20:56:57.982Z] 50da416c3ac9: Pull complete [2023-09-20T20:56:57.982Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:56:57.982Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:56:57.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:56:57.982Z] ---> 0786185ac409 [2023-09-20T20:56:57.982Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:57:02.187Z] ---> Running in 32589e8e5737 [2023-09-20T20:57:02.187Z] Removing intermediate container 32589e8e5737 [2023-09-20T20:57:02.187Z] ---> 888e90071979 [2023-09-20T20:57:02.187Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:57:02.187Z] ---> Running in bc1da8794dff [2023-09-20T20:57:02.187Z] Removing intermediate container bc1da8794dff [2023-09-20T20:57:02.187Z] ---> c2804790798a [2023-09-20T20:57:02.187Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:57:02.187Z] ---> Running in 7d23bdf1962c [2023-09-20T20:57:02.187Z] Removing intermediate container 7d23bdf1962c [2023-09-20T20:57:02.187Z] ---> 286123c642ac [2023-09-20T20:57:02.187Z] Step 6/12 : WORKDIR /device-uart [2023-09-20T20:57:02.187Z] ---> Running in 047f9a415aa8 [2023-09-20T20:57:02.187Z] Removing intermediate container 047f9a415aa8 [2023-09-20T20:57:02.187Z] ---> 4eb196434f4c [2023-09-20T20:57:02.187Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:57:02.187Z] ---> Running in e8eab6c809ea [2023-09-20T20:57:02.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:02.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:02.707Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:57:02.707Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:57:02.707Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:57:02.990Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:57:02.990Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:57:02.990Z] OK: 268 MiB in 56 packages [2023-09-20T20:57:03.248Z] Removing intermediate container e8eab6c809ea [2023-09-20T20:57:03.249Z] ---> d07b7028b30b [2023-09-20T20:57:03.249Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T20:57:03.249Z] ---> b68713786252 [2023-09-20T20:57:03.249Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:57:03.506Z] ---> Running in 69bae59c63d0 [2023-09-20T20:57:05.313Z] Still waiting to schedule task [2023-09-20T20:57:05.313Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:05.313Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-8c-8g-7238’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-8c-8g-7239’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7231’ is offline [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7234’ is offline [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7235’ is offline [2023-09-20T20:57:05.313Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7237’ is offline [2023-09-20T20:57:35.580Z] Removing intermediate container 69bae59c63d0 [2023-09-20T20:57:35.580Z] ---> 98be3dec736b [2023-09-20T20:57:35.580Z] Step 10/12 : COPY . . [2023-09-20T20:57:35.580Z] ---> 502a0bd32c23 [2023-09-20T20:57:35.580Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:57:35.580Z] ---> Running in 5feb6ce7ea7b [2023-09-20T20:57:35.580Z] Removing intermediate container 5feb6ce7ea7b [2023-09-20T20:57:35.580Z] ---> bcf23158084b [2023-09-20T20:57:35.580Z] Step 12/12 : RUN ${MAKE} [2023-09-20T20:57:35.580Z] ---> Running in 138e1ae4e251 [2023-09-20T20:57:35.580Z] noop [2023-09-20T20:57:35.580Z] Removing intermediate container 138e1ae4e251 [2023-09-20T20:57:35.580Z] ---> 8e1e2b0289df [2023-09-20T20:57:35.580Z] Successfully built 8e1e2b0289df [2023-09-20T20:57:35.580Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:35.887Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:35.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:35.959Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T20:57:35.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:57:36.313Z] $ docker top 7330681fb38dacc357a61d3d2b5b8e54fd0dadb3a1558116f00f146625d6b31c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:36.646Z] + go version [2023-09-20T20:57:36.646Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:57:36.659Z] $ docker stop --time=1 7330681fb38dacc357a61d3d2b5b8e54fd0dadb3a1558116f00f146625d6b31c [2023-09-20T20:57:37.927Z] $ docker rm -f --volumes 7330681fb38dacc357a61d3d2b5b8e54fd0dadb3a1558116f00f146625d6b31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:38.336Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:38.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:38.401Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T20:57:38.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:57:38.750Z] $ docker top 6468cd4750d7b0142204ab6a839298a09472fbd4f1202fcfa79851fc899379ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:39.075Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:57:39.367Z] + make test [2023-09-20T20:57:39.367Z] go test ./... -coverprofile=coverage.out [2023-09-20T20:57:40.741Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-20T20:57:50.709Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-20T20:57:50.709Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-20T20:57:54.890Z] go vet ./... [2023-09-20T20:57:58.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:57:58.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:57:58.166Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:57:58.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:57:58.191Z] $ docker stop --time=1 6468cd4750d7b0142204ab6a839298a09472fbd4f1202fcfa79851fc899379ff [2023-09-20T20:58:01.259Z] $ docker rm -f --volumes 6468cd4750d7b0142204ab6a839298a09472fbd4f1202fcfa79851fc899379ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:58:01.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:58:01.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:58:02.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:58:02.469Z] + ls -al . [2023-09-20T20:58:02.469Z] total 148 [2023-09-20T20:58:02.469Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:57 . [2023-09-20T20:58:02.469Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:56 .. [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:56 .dockerignore [2023-09-20T20:58:02.469Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:57 .git [2023-09-20T20:58:02.469Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 .github [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 20:56 .gitignore [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:56 .golangci.yml [2023-09-20T20:58:02.469Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 .semver [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 20:56 Attribution.txt [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 20:56 Dockerfile [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:56 GOVERNANCE.md [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 20:56 Jenkinsfile [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:56 LICENSE [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 20:56 Makefile [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 20:56 OWNERS.md [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 20:56 README.md [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION [2023-09-20T20:58:02.469Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:56 bin [2023-09-20T20:58:02.469Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 cmd [2023-09-20T20:58:02.469Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 20:57 coverage.out [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 20:56 go.mod [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 20:56 go.sum [2023-09-20T20:58:02.469Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 internal [2023-09-20T20:58:02.469Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:02.837Z] + 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=0197f7477711c065f24c514fa051c7e38d133d4f --label arch=amd64 --label version=3.0.1-dev.4 . [2023-09-20T20:58:02.837Z] Sending build context to Docker daemon 11.12MB [2023-09-20T20:58:02.837Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:58:02.837Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:58:02.837Z] ---> 8e1e2b0289df [2023-09-20T20:58:02.837Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:58:02.837Z] ---> Running in 83d65dd730f4 [2023-09-20T20:58:03.116Z] Removing intermediate container 83d65dd730f4 [2023-09-20T20:58:03.116Z] ---> 78c4276b7631 [2023-09-20T20:58:03.116Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:58:03.116Z] ---> Running in 35137e32c3d6 [2023-09-20T20:58:03.116Z] Removing intermediate container 35137e32c3d6 [2023-09-20T20:58:03.116Z] ---> c52de7f44a4d [2023-09-20T20:58:03.116Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:58:03.116Z] ---> Running in 57435beedf53 [2023-09-20T20:58:03.116Z] Removing intermediate container 57435beedf53 [2023-09-20T20:58:03.116Z] ---> 7c9ff6c25ad1 [2023-09-20T20:58:03.116Z] Step 6/25 : WORKDIR /device-uart [2023-09-20T20:58:03.116Z] ---> Running in 4fe21c11ba76 [2023-09-20T20:58:03.388Z] Removing intermediate container 4fe21c11ba76 [2023-09-20T20:58:03.388Z] ---> cddbc0255f6c [2023-09-20T20:58:03.388Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:58:03.388Z] ---> Running in 85af2fd18672 [2023-09-20T20:58:03.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:03.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:03.937Z] OK: 268 MiB in 56 packages [2023-09-20T20:58:04.195Z] Removing intermediate container 85af2fd18672 [2023-09-20T20:58:04.195Z] ---> 4912d14be9b6 [2023-09-20T20:58:04.195Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T20:58:04.453Z] ---> b879d0b02c5d [2023-09-20T20:58:04.453Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:58:04.453Z] ---> Running in 806cea8d4e47 [2023-09-20T20:58:05.019Z] Removing intermediate container 806cea8d4e47 [2023-09-20T20:58:05.019Z] ---> 72baae514309 [2023-09-20T20:58:05.019Z] Step 10/25 : COPY . . [2023-09-20T20:58:05.587Z] ---> 006c7f8eb348 [2023-09-20T20:58:05.587Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:58:05.587Z] ---> Running in 90f5824b40a3 [2023-09-20T20:58:05.587Z] Removing intermediate container 90f5824b40a3 [2023-09-20T20:58:05.587Z] ---> e8a908f19f35 [2023-09-20T20:58:05.587Z] Step 12/25 : RUN ${MAKE} [2023-09-20T20:58:05.587Z] ---> Running in 5ab607f100ed [2023-09-20T20:58:05.844Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-20T20:58:23.917Z] Removing intermediate container 5ab607f100ed [2023-09-20T20:58:23.917Z] ---> f6a5e01f42d2 [2023-09-20T20:58:23.917Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:58:23.917Z] 3.18: Pulling from library/alpine [2023-09-20T20:58:23.917Z] 7264a8db6415: Already exists [2023-09-20T20:58:24.175Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:58:24.175Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:58:24.175Z] ---> 7e01a0d0a1dc [2023-09-20T20:58:24.175Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T20:58:24.175Z] ---> Running in 13877fa91369 [2023-09-20T20:58:24.175Z] Removing intermediate container 13877fa91369 [2023-09-20T20:58:24.175Z] ---> 0927fa8ad7b5 [2023-09-20T20:58:24.175Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:58:24.175Z] ---> Running in 8a5d6b24a77f [2023-09-20T20:58:24.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:24.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:24.694Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:58:24.694Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:58:24.694Z] OK: 7 MiB in 16 packages [2023-09-20T20:58:25.260Z] Removing intermediate container 8a5d6b24a77f [2023-09-20T20:58:25.260Z] ---> a1466d2e5b6c [2023-09-20T20:58:25.260Z] Step 16/25 : WORKDIR / [2023-09-20T20:58:25.260Z] ---> Running in 665ec1313a70 [2023-09-20T20:58:25.260Z] Removing intermediate container 665ec1313a70 [2023-09-20T20:58:25.260Z] ---> d97f861e9845 [2023-09-20T20:58:25.260Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-20T20:58:25.260Z] ---> 0927b16149e7 [2023-09-20T20:58:25.260Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-20T20:58:25.518Z] ---> fc037ccd37a0 [2023-09-20T20:58:25.518Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-20T20:58:27.104Z] ---> a1e46f7c5bf4 [2023-09-20T20:58:27.104Z] Step 20/25 : EXPOSE 59995 [2023-09-20T20:58:27.104Z] ---> Running in a12c1174863f [2023-09-20T20:58:27.104Z] Removing intermediate container a12c1174863f [2023-09-20T20:58:27.104Z] ---> 3320428fa6da [2023-09-20T20:58:27.104Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-20T20:58:27.104Z] ---> Running in 3c848cccb333 [2023-09-20T20:58:27.104Z] Removing intermediate container 3c848cccb333 [2023-09-20T20:58:27.104Z] ---> 48b6f53f1e52 [2023-09-20T20:58:27.104Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T20:58:27.104Z] ---> Running in ce48616c5a39 [2023-09-20T20:58:27.104Z] Removing intermediate container ce48616c5a39 [2023-09-20T20:58:27.104Z] ---> 0e2182448fbb [2023-09-20T20:58:27.104Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T20:58:27.104Z] ---> Running in d4667a5ea20c [2023-09-20T20:58:27.104Z] Removing intermediate container d4667a5ea20c [2023-09-20T20:58:27.104Z] ---> f49f3d771bf8 [2023-09-20T20:58:27.104Z] Step 24/25 : LABEL git_sha=0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T20:58:27.104Z] ---> Running in b1d3a33c1209 [2023-09-20T20:58:27.104Z] Removing intermediate container b1d3a33c1209 [2023-09-20T20:58:27.104Z] ---> 70388db39c14 [2023-09-20T20:58:27.104Z] Step 25/25 : LABEL version=3.0.1-dev.4 [2023-09-20T20:58:27.104Z] ---> Running in ef1b8fffd104 [2023-09-20T20:58:27.104Z] Removing intermediate container ef1b8fffd104 [2023-09-20T20:58:27.104Z] ---> 769d5730e454 [2023-09-20T20:58:27.104Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:58:27.104Z] Successfully built 769d5730e454 [2023-09-20T20:58:27.104Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:58:27.223Z] provisioning config files... [2023-09-20T20:58:27.233Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17657130084304089073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:58:27.528Z] ---> docker-login.sh [2023-09-20T20:58:27.528Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:58:27.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:27.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:27.528Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:27.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:27.528Z] [2023-09-20T20:58:27.528Z] Login Succeeded [2023-09-20T20:58:27.528Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:58:27.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:27.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:27.528Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:27.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:27.528Z] [2023-09-20T20:58:27.528Z] Login Succeeded [2023-09-20T20:58:27.528Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:58:27.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:27.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:27.787Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:27.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:27.787Z] [2023-09-20T20:58:27.787Z] Login Succeeded [2023-09-20T20:58:27.787Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:58:27.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:28.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:28.046Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:28.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:28.046Z] [2023-09-20T20:58:28.046Z] Login Succeeded [2023-09-20T20:58:28.046Z] docker.io [2023-09-20T20:58:28.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:28.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:28.305Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:28.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:28.305Z] [2023-09-20T20:58:28.305Z] Login Succeeded [2023-09-20T20:58:28.305Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:58:28.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:58:28.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:58:28.373Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-09-20T20:58:28.373Z] 0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T20:58:28.373Z] latest [2023-09-20T20:58:28.373Z] 3.0.1-dev.4 [2023-09-20T20:58:28.373Z] 0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T20:58:28.373Z] main [2023-09-20T20:58:28.373Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:28.695Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:29.008Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T20:58:29.008Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-20T20:58:29.008Z] 86e96b613dd4: Preparing [2023-09-20T20:58:29.008Z] d05240db8c49: Preparing [2023-09-20T20:58:29.008Z] c41783c56146: Preparing [2023-09-20T20:58:29.008Z] b5c3651d64f2: Preparing [2023-09-20T20:58:29.008Z] 4693057ce236: Preparing [2023-09-20T20:58:29.008Z] 4693057ce236: Layer already exists [2023-09-20T20:58:29.008Z] b5c3651d64f2: Pushed [2023-09-20T20:58:29.008Z] d05240db8c49: Pushed [2023-09-20T20:58:29.008Z] c41783c56146: Pushed [2023-09-20T20:58:31.538Z] 86e96b613dd4: Pushed [2023-09-20T20:58:31.796Z] 0197f7477711c065f24c514fa051c7e38d133d4f: digest: sha256:63a963a973fb9204acb859dad76da13524e2130ee7d87838efd97094a5a2d63c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:32.111Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:32.419Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-09-20T20:58:32.419Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-20T20:58:32.419Z] 86e96b613dd4: Preparing [2023-09-20T20:58:32.419Z] d05240db8c49: Preparing [2023-09-20T20:58:32.419Z] c41783c56146: Preparing [2023-09-20T20:58:32.419Z] b5c3651d64f2: Preparing [2023-09-20T20:58:32.419Z] 4693057ce236: Preparing [2023-09-20T20:58:32.419Z] c41783c56146: Layer already exists [2023-09-20T20:58:32.419Z] 4693057ce236: Layer already exists [2023-09-20T20:58:32.419Z] d05240db8c49: Layer already exists [2023-09-20T20:58:32.419Z] 86e96b613dd4: Layer already exists [2023-09-20T20:58:32.419Z] b5c3651d64f2: Layer already exists [2023-09-20T20:58:32.419Z] latest: digest: sha256:63a963a973fb9204acb859dad76da13524e2130ee7d87838efd97094a5a2d63c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:32.733Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:33.037Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.4 [2023-09-20T20:58:33.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-20T20:58:33.037Z] 86e96b613dd4: Preparing [2023-09-20T20:58:33.037Z] d05240db8c49: Preparing [2023-09-20T20:58:33.037Z] c41783c56146: Preparing [2023-09-20T20:58:33.037Z] b5c3651d64f2: Preparing [2023-09-20T20:58:33.037Z] 4693057ce236: Preparing [2023-09-20T20:58:33.037Z] b5c3651d64f2: Layer already exists [2023-09-20T20:58:33.037Z] d05240db8c49: Layer already exists [2023-09-20T20:58:33.037Z] 4693057ce236: Layer already exists [2023-09-20T20:58:33.037Z] 86e96b613dd4: Layer already exists [2023-09-20T20:58:33.037Z] c41783c56146: Layer already exists [2023-09-20T20:58:33.037Z] 3.0.1-dev.4: digest: sha256:63a963a973fb9204acb859dad76da13524e2130ee7d87838efd97094a5a2d63c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:33.349Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:33.660Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T20:58:33.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-20T20:58:33.660Z] 86e96b613dd4: Preparing [2023-09-20T20:58:33.660Z] d05240db8c49: Preparing [2023-09-20T20:58:33.660Z] c41783c56146: Preparing [2023-09-20T20:58:33.660Z] b5c3651d64f2: Preparing [2023-09-20T20:58:33.660Z] 4693057ce236: Preparing [2023-09-20T20:58:33.660Z] c41783c56146: Layer already exists [2023-09-20T20:58:33.660Z] d05240db8c49: Layer already exists [2023-09-20T20:58:33.660Z] b5c3651d64f2: Layer already exists [2023-09-20T20:58:33.660Z] 86e96b613dd4: Layer already exists [2023-09-20T20:58:33.660Z] 4693057ce236: Layer already exists [2023-09-20T20:58:33.660Z] 0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4: digest: sha256:63a963a973fb9204acb859dad76da13524e2130ee7d87838efd97094a5a2d63c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:33.978Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:34.288Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-09-20T20:58:34.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-09-20T20:58:34.288Z] 86e96b613dd4: Preparing [2023-09-20T20:58:34.288Z] d05240db8c49: Preparing [2023-09-20T20:58:34.288Z] c41783c56146: Preparing [2023-09-20T20:58:34.288Z] b5c3651d64f2: Preparing [2023-09-20T20:58:34.288Z] 4693057ce236: Preparing [2023-09-20T20:58:34.288Z] 86e96b613dd4: Layer already exists [2023-09-20T20:58:34.288Z] d05240db8c49: Layer already exists [2023-09-20T20:58:34.288Z] c41783c56146: Layer already exists [2023-09-20T20:58:34.288Z] 4693057ce236: Layer already exists [2023-09-20T20:58:34.288Z] b5c3651d64f2: Layer already exists [2023-09-20T20:58:34.288Z] main: digest: sha256:63a963a973fb9204acb859dad76da13524e2130ee7d87838efd97094a5a2d63c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:58:34.331Z] ===================================================== [Pipeline] echo [2023-09-20T20:58:34.345Z] taggedImages: [2023-09-20T20:58:34.345Z] - nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T20:58:34.345Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-09-20T20:58:34.345Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.4 [2023-09-20T20:58:34.345Z] - nexus3.edgexfoundry.org:10004/device-uart:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T20:58:34.345Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:34.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:34.711Z] [2023-09-20T20:58:34.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:35.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:35.009Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:58:35.009Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:58:35.009Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:58:35.009Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:58:35.009Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:58:35.009Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:58:35.009Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:58:35.009Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:58:35.009Z] 33b1e0a273af: Waiting [2023-09-20T20:58:35.009Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:58:35.009Z] 5d3b04190fa2: Waiting [2023-09-20T20:58:35.009Z] 2f39f015ded8: Waiting [2023-09-20T20:58:35.009Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T20:58:35.009Z] 5c69ac0246d0: Download complete [2023-09-20T20:58:35.009Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:58:35.009Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:58:35.009Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:58:35.009Z] 33b1e0a273af: Download complete [2023-09-20T20:58:35.268Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T20:58:35.268Z] 5d3b04190fa2: Download complete [2023-09-20T20:58:35.268Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:58:35.268Z] ec43610c2a17: Download complete [2023-09-20T20:58:35.268Z] 5eb5b503b376: Download complete [2023-09-20T20:58:35.838Z] 2f39f015ded8: Download complete [2023-09-20T20:58:36.403Z] 5eb5b503b376: Pull complete [2023-09-20T20:58:36.403Z] 5c69ac0246d0: Pull complete [2023-09-20T20:58:36.970Z] ec43610c2a17: Pull complete [2023-09-20T20:58:36.970Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:58:37.230Z] 33b1e0a273af: Pull complete [2023-09-20T20:58:37.230Z] 5d3b04190fa2: Pull complete [2023-09-20T20:58:41.422Z] 2f39f015ded8: Pull complete [2023-09-20T20:58:41.422Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:58:41.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:41.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:41.504Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T20:58:41.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:58:45.117Z] $ docker top 8b19ab40fc73fe6d17a11f9a53758d51f4099a8922a6237c5728a60eb0ad9d72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:58:45.475Z] ---> job-cost.sh [2023-09-20T20:58:45.475Z] lf-activate-venv: SKIPPING [2023-09-20T20:58:45.475Z] INFO: No Stack... [2023-09-20T20:58:45.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:58:45.993Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:58:46.285Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-09-20T20:58:46.285Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:58:46.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [2023-09-20T20:58:46.305Z] Resource [jenkins-edgexfoundry-device-uart-main-10-stack-cost] did not exist. Created. [2023-09-20T20:58:46.305Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:58:46.600Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:58:46.626Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:58:46.632Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:58:46.652Z] $ docker stop --time=1 8b19ab40fc73fe6d17a11f9a53758d51f4099a8922a6237c5728a60eb0ad9d72 [2023-09-20T20:58:47.816Z] $ docker rm -f --volumes 8b19ab40fc73fe6d17a11f9a53758d51f4099a8922a6237c5728a60eb0ad9d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:59:33.733Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7249 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-09-20T20:59:33.747Z] Running in /w/workspace/device-uart/10 [Pipeline] { [Pipeline] checkout [2023-09-20T20:59:33.793Z] The recommended git tool is: git [2023-09-20T20:59:42.430Z] using credential edgex-jenkins-ssh [2023-09-20T20:59:42.461Z] Cloning the remote Git repository [2023-09-20T20:59:42.533Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-09-20T20:59:42.680Z] > git init /w/workspace/device-uart/10 # timeout=10 [2023-09-20T20:59:42.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-09-20T20:59:42.886Z] > git --version # timeout=10 [2023-09-20T20:59:42.915Z] > git --version # 'git version 2.25.1' [2023-09-20T20:59:42.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:59:43.144Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:45.710Z] Avoid second fetch [2023-09-20T20:59:45.710Z] Checking out Revision 0197f7477711c065f24c514fa051c7e38d133d4f (main) [2023-09-20T20:59:44.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-09-20T20:59:44.450Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:45.738Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:59:46.571Z] Commit message: "Merge pull request #25 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:59:45.857Z] > git checkout -f 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 [2023-09-20T20:59:47.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:59:47.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:59:47.496Z] Dload Upload Total Spent Left Speed [2023-09-20T20:59:47.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-09-20T20:59:48.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:59:48.655Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:59:48.655Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:59:48.655Z] { [2023-09-20T20:59:48.655Z] "registry-mirrors": [ [2023-09-20T20:59:48.655Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:59:48.655Z] ], [2023-09-20T20:59:48.655Z] "bip": "10.250.0.254/24", [2023-09-20T20:59:48.655Z] "hosts": [ [2023-09-20T20:59:48.655Z] "tcp://0.0.0.0:5555", [2023-09-20T20:59:48.655Z] "unix:///var/run/docker.sock" [2023-09-20T20:59:48.655Z] ], [2023-09-20T20:59:48.655Z] "mtu": 1458, [2023-09-20T20:59:48.655Z] "selinux-enabled": true, [2023-09-20T20:59:48.655Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:59:48.655Z] } [Pipeline] sh [2023-09-20T20:59:49.027Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:59:49.407Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:00:07.815Z] provisioning config files... [2023-09-20T21:00:07.852Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/10@tmp/config15662937822286058625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:00:08.250Z] ---> docker-login.sh [2023-09-20T21:00:08.250Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:00:08.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:00:09.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:00:09.132Z] Configure a credential helper to remove this warning. See [2023-09-20T21:00:09.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:00:09.132Z] [2023-09-20T21:00:09.132Z] Login Succeeded [2023-09-20T21:00:09.132Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:00:09.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:00:09.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:00:09.411Z] Configure a credential helper to remove this warning. See [2023-09-20T21:00:09.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:00:09.411Z] [2023-09-20T21:00:09.411Z] Login Succeeded [2023-09-20T21:00:09.688Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:00:09.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:00:09.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:00:09.964Z] Configure a credential helper to remove this warning. See [2023-09-20T21:00:09.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:00:09.964Z] [2023-09-20T21:00:09.964Z] Login Succeeded [2023-09-20T21:00:09.964Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:00:10.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:00:10.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:00:10.521Z] Configure a credential helper to remove this warning. See [2023-09-20T21:00:10.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:00:10.521Z] [2023-09-20T21:00:10.521Z] Login Succeeded [2023-09-20T21:00:10.521Z] docker.io [2023-09-20T21:00:10.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:00:11.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:00:11.072Z] Configure a credential helper to remove this warning. See [2023-09-20T21:00:11.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:00:11.072Z] [2023-09-20T21:00:11.072Z] Login Succeeded [2023-09-20T21:00:11.072Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:00:11.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T21:00:11.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:00:11.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:00:11.515Z] ========================================================= [2023-09-20T21:00:11.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T21:00:11.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:00:11.903Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T21:00:12.504Z] Sending build context to Docker daemon 5.6MB [2023-09-20T21:00:12.504Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:00:12.504Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T21:00:12.780Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T21:00:12.780Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T21:00:12.780Z] 5d54e960e981: Pulling fs layer [2023-09-20T21:00:12.780Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T21:00:12.780Z] f0e02332f6b5: Pulling fs layer [2023-09-20T21:00:12.780Z] cefa15bbcfad: Pulling fs layer [2023-09-20T21:00:12.780Z] 17808c966233: Pulling fs layer [2023-09-20T21:00:12.780Z] f4c1fc716caa: Pulling fs layer [2023-09-20T21:00:12.780Z] cefa15bbcfad: Waiting [2023-09-20T21:00:12.780Z] f0e02332f6b5: Waiting [2023-09-20T21:00:12.780Z] 17808c966233: Waiting [2023-09-20T21:00:12.780Z] f4c1fc716caa: Waiting [2023-09-20T21:00:12.780Z] 5d54e960e981: Verifying Checksum [2023-09-20T21:00:12.780Z] 5d54e960e981: Download complete [2023-09-20T21:00:12.780Z] f0e02332f6b5: Verifying Checksum [2023-09-20T21:00:12.780Z] f0e02332f6b5: Download complete [2023-09-20T21:00:12.780Z] cefa15bbcfad: Verifying Checksum [2023-09-20T21:00:12.780Z] cefa15bbcfad: Download complete [2023-09-20T21:00:12.780Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T21:00:12.780Z] 9fda8d8052c6: Download complete [2023-09-20T21:00:13.398Z] f4c1fc716caa: Verifying Checksum [2023-09-20T21:00:13.398Z] f4c1fc716caa: Download complete [2023-09-20T21:00:13.999Z] 9fda8d8052c6: Pull complete [2023-09-20T21:00:14.608Z] 5d54e960e981: Pull complete [2023-09-20T21:00:14.608Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T21:00:14.608Z] c4a7e357bf2a: Download complete [2023-09-20T21:00:15.649Z] 17808c966233: Verifying Checksum [2023-09-20T21:00:15.649Z] 17808c966233: Download complete [2023-09-20T21:00:28.077Z] c4a7e357bf2a: Pull complete [2023-09-20T21:00:28.077Z] f0e02332f6b5: Pull complete [2023-09-20T21:00:28.077Z] cefa15bbcfad: Pull complete [2023-09-20T21:00:34.867Z] 17808c966233: Pull complete [2023-09-20T21:00:36.899Z] f4c1fc716caa: Pull complete [2023-09-20T21:00:36.899Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:00:36.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:00:36.899Z] ---> ea914061e18c [2023-09-20T21:00:36.899Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:00:38.879Z] ---> Running in 78da9aabcaa1 [2023-09-20T21:00:39.155Z] Removing intermediate container 78da9aabcaa1 [2023-09-20T21:00:39.155Z] ---> 47f421dbdd10 [2023-09-20T21:00:39.155Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:00:39.155Z] ---> Running in 662507aaa669 [2023-09-20T21:00:39.748Z] Removing intermediate container 662507aaa669 [2023-09-20T21:00:39.748Z] ---> d3eccdf660db [2023-09-20T21:00:39.748Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:00:39.748Z] ---> Running in 41d20188afa3 [2023-09-20T21:00:40.022Z] Removing intermediate container 41d20188afa3 [2023-09-20T21:00:40.022Z] ---> 55bd00cf9bae [2023-09-20T21:00:40.022Z] Step 6/12 : WORKDIR /device-uart [2023-09-20T21:00:40.022Z] ---> Running in b04a0043a159 [2023-09-20T21:00:40.650Z] Removing intermediate container b04a0043a159 [2023-09-20T21:00:40.650Z] ---> 602f2e3a60a5 [2023-09-20T21:00:40.650Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:00:40.650Z] ---> Running in 6d0fd744d149 [2023-09-20T21:00:42.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:42.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:44.327Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T21:00:44.327Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T21:00:44.327Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T21:00:44.327Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T21:00:44.327Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:00:44.327Z] OK: 270 MiB in 56 packages [2023-09-20T21:00:45.800Z] Removing intermediate container 6d0fd744d149 [2023-09-20T21:00:45.800Z] ---> df4f4f37e3d2 [2023-09-20T21:00:45.800Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T21:00:46.076Z] ---> 3cff20fee5d1 [2023-09-20T21:00:46.076Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:00:46.352Z] ---> Running in 48e1fd378f5d [2023-09-20T21:02:08.142Z] Removing intermediate container 48e1fd378f5d [2023-09-20T21:02:08.142Z] ---> 033123eab319 [2023-09-20T21:02:08.142Z] Step 10/12 : COPY . . [2023-09-20T21:02:08.142Z] ---> b6b03522c540 [2023-09-20T21:02:08.142Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:02:08.142Z] ---> Running in f4edbce8e6d0 [2023-09-20T21:02:08.142Z] Removing intermediate container f4edbce8e6d0 [2023-09-20T21:02:08.142Z] ---> 6ec8382365b3 [2023-09-20T21:02:08.142Z] Step 12/12 : RUN ${MAKE} [2023-09-20T21:02:08.142Z] ---> Running in 626ef9a4542b [2023-09-20T21:02:08.142Z] noop [2023-09-20T21:02:08.142Z] Removing intermediate container 626ef9a4542b [2023-09-20T21:02:08.142Z] ---> 1eaf2a04efb5 [2023-09-20T21:02:08.142Z] Successfully built 1eaf2a04efb5 [2023-09-20T21:02:08.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:02:08.532Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:02:08.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:02:08.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-7249 does not seem to be running inside a container [2023-09-20T21:02:08.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:02:10.438Z] $ docker top c3b4af1da8f3efd90a42cb95b270f2895ebece09b533ad050627dfb35f038da2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:02:11.393Z] + go version [2023-09-20T21:02:11.393Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:02:11.426Z] $ docker stop --time=1 c3b4af1da8f3efd90a42cb95b270f2895ebece09b533ad050627dfb35f038da2 [2023-09-20T21:02:13.239Z] $ docker rm -f --volumes c3b4af1da8f3efd90a42cb95b270f2895ebece09b533ad050627dfb35f038da2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:02:13.862Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:02:13.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:02:14.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-7249 does not seem to be running inside a container [2023-09-20T21:02:14.217Z] $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:02:15.738Z] $ docker top bf6bc4136dadf1c7e2117df4e730b7d5bd5b934369e7db29193305b49c6cd5cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:02:16.673Z] + git config --global --add safe.directory /w/workspace/device-uart/10 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:02:17.353Z] + make test [2023-09-20T21:02:17.353Z] go test ./... -coverprofile=coverage.out [2023-09-20T21:02:22.776Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-20T21:04:44.661Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-20T21:04:44.661Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-20T21:04:44.661Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:04:44.661Z] go vet ./... [2023-09-20T21:05:02.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:05:02.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:05:02.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:05:03.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:05:03.608Z] $ docker stop --time=1 bf6bc4136dadf1c7e2117df4e730b7d5bd5b934369e7db29193305b49c6cd5cc [2023-09-20T21:05:05.706Z] $ docker rm -f --volumes bf6bc4136dadf1c7e2117df4e730b7d5bd5b934369e7db29193305b49c6cd5cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:05:07.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:05:07.208Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:05:07.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:05:08.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:05:08.602Z] + ls -al . [2023-09-20T21:05:08.602Z] total 144 [2023-09-20T21:05:08.602Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 21:02 . [2023-09-20T21:05:08.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:59 .dockerignore [2023-09-20T21:05:08.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git [2023-09-20T21:05:08.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 20:59 .gitignore [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:59 .golangci.yml [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 20:59 Attribution.txt [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 20:59 Dockerfile [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 20:59 Jenkinsfile [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:59 LICENSE [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 20:59 Makefile [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 20:59 OWNERS.md [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 20:59 README.md [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION [2023-09-20T21:05:08.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 bin [2023-09-20T21:05:08.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 cmd [2023-09-20T21:05:08.602Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 21:02 coverage.out [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 20:59 go.mod [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 20:59 go.sum [2023-09-20T21:05:08.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 internal [2023-09-20T21:05:08.602Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:05:08.983Z] + 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=0197f7477711c065f24c514fa051c7e38d133d4f --label arch=arm64 --label version=3.0.1-dev.4 . [2023-09-20T21:05:09.255Z] Sending build context to Docker daemon 5.601MB [2023-09-20T21:05:09.255Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:05:09.255Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T21:05:09.255Z] ---> 1eaf2a04efb5 [2023-09-20T21:05:09.255Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:05:09.529Z] ---> Running in 086cbc6c05e6 [2023-09-20T21:05:10.126Z] Removing intermediate container 086cbc6c05e6 [2023-09-20T21:05:10.126Z] ---> 56421f3f09de [2023-09-20T21:05:10.126Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:05:10.126Z] ---> Running in c02093d0de94 [2023-09-20T21:05:10.403Z] Removing intermediate container c02093d0de94 [2023-09-20T21:05:10.403Z] ---> 06c6ae707aa1 [2023-09-20T21:05:10.403Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:05:10.403Z] ---> Running in eca8174dcf0c [2023-09-20T21:05:10.998Z] Removing intermediate container eca8174dcf0c [2023-09-20T21:05:10.998Z] ---> 77b86d55103e [2023-09-20T21:05:10.998Z] Step 6/25 : WORKDIR /device-uart [2023-09-20T21:05:10.998Z] ---> Running in e6c96cbb5fa7 [2023-09-20T21:05:11.268Z] Removing intermediate container e6c96cbb5fa7 [2023-09-20T21:05:11.268Z] ---> 4483ec1a8498 [2023-09-20T21:05:11.268Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:05:11.543Z] ---> Running in 8330e18746e2 [2023-09-20T21:05:12.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:05:13.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:05:15.084Z] OK: 270 MiB in 56 packages [2023-09-20T21:05:16.065Z] Removing intermediate container 8330e18746e2 [2023-09-20T21:05:16.065Z] ---> e68d46736b23 [2023-09-20T21:05:16.065Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T21:05:16.657Z] ---> 808944a5bc67 [2023-09-20T21:05:16.657Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:05:16.657Z] ---> Running in 8f5acab1d889 [2023-09-20T21:05:23.357Z] Removing intermediate container 8f5acab1d889 [2023-09-20T21:05:23.357Z] ---> 4dbdb18afe17 [2023-09-20T21:05:23.357Z] Step 10/25 : COPY . . [2023-09-20T21:05:23.357Z] ---> 1f19c4a690b4 [2023-09-20T21:05:23.357Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:05:23.357Z] ---> Running in b3023994cec8 [2023-09-20T21:05:23.641Z] Removing intermediate container b3023994cec8 [2023-09-20T21:05:23.641Z] ---> a4ad4f0e29c8 [2023-09-20T21:05:23.641Z] Step 12/25 : RUN ${MAKE} [2023-09-20T21:05:23.641Z] ---> Running in 49fb1a0270c1 [2023-09-20T21:05:24.631Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-20T21:08:01.457Z] Removing intermediate container 49fb1a0270c1 [2023-09-20T21:08:01.457Z] ---> 15c1f4fda64c [2023-09-20T21:08:01.457Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T21:08:01.457Z] 3.18: Pulling from library/alpine [2023-09-20T21:08:01.457Z] 9fda8d8052c6: Already exists [2023-09-20T21:08:01.457Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:08:01.457Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:08:01.457Z] ---> f6648c04cd6c [2023-09-20T21:08:01.457Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T21:08:01.457Z] ---> Running in 80ab69122cd3 [2023-09-20T21:08:01.457Z] Removing intermediate container 80ab69122cd3 [2023-09-20T21:08:01.457Z] ---> 79e6a5baa1d2 [2023-09-20T21:08:01.457Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T21:08:01.457Z] ---> Running in dd39e3eb3a54 [2023-09-20T21:08:01.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:08:01.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:08:01.457Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T21:08:01.457Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:08:01.457Z] OK: 8 MiB in 16 packages [2023-09-20T21:08:01.457Z] Removing intermediate container dd39e3eb3a54 [2023-09-20T21:08:01.457Z] ---> f924649684d1 [2023-09-20T21:08:01.457Z] Step 16/25 : WORKDIR / [2023-09-20T21:08:01.457Z] ---> Running in a58bea9b7baa [2023-09-20T21:08:01.457Z] Removing intermediate container a58bea9b7baa [2023-09-20T21:08:01.457Z] ---> a2d345723de1 [2023-09-20T21:08:01.457Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-20T21:08:01.457Z] ---> 797a9e789adb [2023-09-20T21:08:01.457Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-20T21:08:01.457Z] ---> cba3115e390c [2023-09-20T21:08:01.457Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-20T21:08:01.457Z] ---> b455ca7285cd [2023-09-20T21:08:01.457Z] Step 20/25 : EXPOSE 59995 [2023-09-20T21:08:01.457Z] ---> Running in c68df4f108e5 [2023-09-20T21:08:01.457Z] Removing intermediate container c68df4f108e5 [2023-09-20T21:08:01.457Z] ---> 95f8cb7ad445 [2023-09-20T21:08:01.457Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-20T21:08:01.457Z] ---> Running in 656d81f4ae6b [2023-09-20T21:08:01.457Z] Removing intermediate container 656d81f4ae6b [2023-09-20T21:08:01.457Z] ---> 6f274c2cf0d6 [2023-09-20T21:08:01.457Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T21:08:01.457Z] ---> Running in 89b5b553dc5d [2023-09-20T21:08:01.457Z] Removing intermediate container 89b5b553dc5d [2023-09-20T21:08:01.457Z] ---> dacd7d5dfa01 [2023-09-20T21:08:01.457Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T21:08:01.457Z] ---> Running in d743bd7fa1d4 [2023-09-20T21:08:01.457Z] Removing intermediate container d743bd7fa1d4 [2023-09-20T21:08:01.457Z] ---> ff22d161dda8 [2023-09-20T21:08:01.457Z] Step 24/25 : LABEL git_sha=0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T21:08:01.457Z] ---> Running in f5cb70f9904d [2023-09-20T21:08:01.457Z] Removing intermediate container f5cb70f9904d [2023-09-20T21:08:01.457Z] ---> 52f064e9ffaf [2023-09-20T21:08:01.457Z] Step 25/25 : LABEL version=3.0.1-dev.4 [2023-09-20T21:08:01.457Z] ---> Running in a8374c3f6a01 [2023-09-20T21:08:01.457Z] Removing intermediate container a8374c3f6a01 [2023-09-20T21:08:01.457Z] ---> bef7ae35484c [2023-09-20T21:08:01.457Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:08:01.457Z] Successfully built bef7ae35484c [2023-09-20T21:08:01.457Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:08:01.584Z] provisioning config files... [2023-09-20T21:08:01.605Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/10@tmp/config9504002786912694248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:01.964Z] ---> docker-login.sh [2023-09-20T21:08:01.964Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:08:02.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:02.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:02.236Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:02.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:02.236Z] [2023-09-20T21:08:02.236Z] Login Succeeded [2023-09-20T21:08:02.236Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:08:02.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:02.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:02.781Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:02.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:02.781Z] [2023-09-20T21:08:02.781Z] Login Succeeded [2023-09-20T21:08:02.781Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:08:03.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:03.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:03.327Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:03.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:03.327Z] [2023-09-20T21:08:03.327Z] Login Succeeded [2023-09-20T21:08:03.327Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:08:03.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:03.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:03.602Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:03.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:03.602Z] [2023-09-20T21:08:03.602Z] Login Succeeded [2023-09-20T21:08:03.602Z] docker.io [2023-09-20T21:08:04.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:04.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:04.470Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:04.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:04.470Z] [2023-09-20T21:08:04.470Z] Login Succeeded [2023-09-20T21:08:04.470Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:08:04.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:08:04.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:08:04.545Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-09-20T21:08:04.545Z] 0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T21:08:04.545Z] latest [2023-09-20T21:08:04.545Z] 3.0.1-dev.4 [2023-09-20T21:08:04.545Z] 0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T21:08:04.545Z] main [2023-09-20T21:08:04.545Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:04.926Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:05.325Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T21:08:05.325Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-20T21:08:05.325Z] 1228b9851313: Preparing [2023-09-20T21:08:05.325Z] 5c4c245967e6: Preparing [2023-09-20T21:08:05.325Z] b85a9845f9b8: Preparing [2023-09-20T21:08:05.325Z] d5f5239f2340: Preparing [2023-09-20T21:08:05.325Z] b2191e2be29d: Preparing [2023-09-20T21:08:05.606Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:05.606Z] b85a9845f9b8: Pushed [2023-09-20T21:08:05.606Z] 5c4c245967e6: Pushed [2023-09-20T21:08:05.606Z] d5f5239f2340: Pushed [2023-09-20T21:08:13.869Z] 1228b9851313: Pushed [2023-09-20T21:08:13.869Z] 0197f7477711c065f24c514fa051c7e38d133d4f: digest: sha256:8f970ddb4adfc413b513dfd363b7586cf6e793adfa2f5cbb74f6ba62a18d6803 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:14.253Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:14.629Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-09-20T21:08:14.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-20T21:08:14.629Z] 1228b9851313: Preparing [2023-09-20T21:08:14.629Z] 5c4c245967e6: Preparing [2023-09-20T21:08:14.629Z] b85a9845f9b8: Preparing [2023-09-20T21:08:14.629Z] d5f5239f2340: Preparing [2023-09-20T21:08:14.629Z] b2191e2be29d: Preparing [2023-09-20T21:08:14.629Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:14.629Z] d5f5239f2340: Layer already exists [2023-09-20T21:08:14.629Z] 5c4c245967e6: Layer already exists [2023-09-20T21:08:14.629Z] b85a9845f9b8: Layer already exists [2023-09-20T21:08:14.629Z] 1228b9851313: Layer already exists [2023-09-20T21:08:14.903Z] latest: digest: sha256:8f970ddb4adfc413b513dfd363b7586cf6e793adfa2f5cbb74f6ba62a18d6803 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:15.282Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:15.721Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.4 [2023-09-20T21:08:15.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-20T21:08:15.721Z] 1228b9851313: Preparing [2023-09-20T21:08:15.721Z] 5c4c245967e6: Preparing [2023-09-20T21:08:15.721Z] b85a9845f9b8: Preparing [2023-09-20T21:08:15.721Z] d5f5239f2340: Preparing [2023-09-20T21:08:15.721Z] b2191e2be29d: Preparing [2023-09-20T21:08:15.721Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:15.721Z] 1228b9851313: Layer already exists [2023-09-20T21:08:15.721Z] b85a9845f9b8: Layer already exists [2023-09-20T21:08:15.721Z] 5c4c245967e6: Layer already exists [2023-09-20T21:08:15.721Z] d5f5239f2340: Layer already exists [2023-09-20T21:08:15.998Z] 3.0.1-dev.4: digest: sha256:8f970ddb4adfc413b513dfd363b7586cf6e793adfa2f5cbb74f6ba62a18d6803 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:16.382Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:16.763Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T21:08:16.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-20T21:08:16.763Z] 1228b9851313: Preparing [2023-09-20T21:08:16.763Z] 5c4c245967e6: Preparing [2023-09-20T21:08:16.763Z] b85a9845f9b8: Preparing [2023-09-20T21:08:16.763Z] d5f5239f2340: Preparing [2023-09-20T21:08:16.763Z] b2191e2be29d: Preparing [2023-09-20T21:08:16.763Z] b85a9845f9b8: Layer already exists [2023-09-20T21:08:16.763Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:16.763Z] 1228b9851313: Layer already exists [2023-09-20T21:08:16.763Z] d5f5239f2340: Layer already exists [2023-09-20T21:08:16.763Z] 5c4c245967e6: Layer already exists [2023-09-20T21:08:17.043Z] 0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4: digest: sha256:8f970ddb4adfc413b513dfd363b7586cf6e793adfa2f5cbb74f6ba62a18d6803 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:17.430Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:17.844Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-09-20T21:08:17.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-09-20T21:08:17.844Z] 1228b9851313: Preparing [2023-09-20T21:08:17.844Z] 5c4c245967e6: Preparing [2023-09-20T21:08:17.844Z] b85a9845f9b8: Preparing [2023-09-20T21:08:17.844Z] d5f5239f2340: Preparing [2023-09-20T21:08:17.844Z] b2191e2be29d: Preparing [2023-09-20T21:08:17.844Z] 1228b9851313: Layer already exists [2023-09-20T21:08:17.844Z] b85a9845f9b8: Layer already exists [2023-09-20T21:08:17.844Z] 5c4c245967e6: Layer already exists [2023-09-20T21:08:17.844Z] d5f5239f2340: Layer already exists [2023-09-20T21:08:17.844Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:18.122Z] main: digest: sha256:8f970ddb4adfc413b513dfd363b7586cf6e793adfa2f5cbb74f6ba62a18d6803 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:08:18.176Z] ===================================================== [Pipeline] echo [2023-09-20T21:08:18.186Z] taggedImages: [2023-09-20T21:08:18.186Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f [2023-09-20T21:08:18.186Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-09-20T21:08:18.186Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.4 [2023-09-20T21:08:18.186Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:0197f7477711c065f24c514fa051c7e38d133d4f-3.0.1-dev.4 [2023-09-20T21:08:18.186Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:18.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:18.568Z] [2023-09-20T21:08:18.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:18.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:19.188Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:08:19.188Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:08:19.188Z] 04944245beec: Pulling fs layer [2023-09-20T21:08:19.188Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:08:19.188Z] 765212b225bb: Pulling fs layer [2023-09-20T21:08:19.188Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:08:19.188Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:08:19.188Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:08:19.188Z] f23df028b6ca: Waiting [2023-09-20T21:08:19.188Z] d65c8cfc05b1: Waiting [2023-09-20T21:08:19.188Z] 2437ff75d9bd: Waiting [2023-09-20T21:08:19.188Z] 765212b225bb: Waiting [2023-09-20T21:08:19.188Z] 04944245beec: Verifying Checksum [2023-09-20T21:08:19.188Z] 04944245beec: Download complete [2023-09-20T21:08:19.188Z] 765212b225bb: Verifying Checksum [2023-09-20T21:08:19.188Z] 765212b225bb: Download complete [2023-09-20T21:08:19.188Z] f23df028b6ca: Download complete [2023-09-20T21:08:19.188Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:08:19.188Z] d65c8cfc05b1: Download complete [2023-09-20T21:08:19.459Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:08:19.459Z] 699f458cf7ca: Download complete [2023-09-20T21:08:19.730Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:08:19.730Z] 8998bd30e6a1: Download complete [2023-09-20T21:08:22.348Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:08:22.348Z] 2437ff75d9bd: Download complete [2023-09-20T21:08:24.306Z] 8998bd30e6a1: Pull complete [2023-09-20T21:08:24.895Z] 04944245beec: Pull complete [2023-09-20T21:08:26.312Z] 699f458cf7ca: Pull complete [2023-09-20T21:08:26.313Z] 765212b225bb: Pull complete [2023-09-20T21:08:27.272Z] f23df028b6ca: Pull complete [2023-09-20T21:08:27.272Z] d65c8cfc05b1: Pull complete [2023-09-20T21:08:42.300Z] 2437ff75d9bd: Pull complete [2023-09-20T21:08:42.300Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:08:42.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:42.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:42.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-7249 does not seem to be running inside a container [2023-09-20T21:08:42.607Z] $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T21:08:45.840Z] $ docker top ea96e559a08b5f05051a98c5f34bed7b67ee68ba7a1b7f07d74efd6ab155ef20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:46.781Z] ---> job-cost.sh [2023-09-20T21:08:46.781Z] lf-activate-venv: SKIPPING [2023-09-20T21:08:46.781Z] INFO: No Stack... [2023-09-20T21:08:47.371Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:08:48.769Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:08:49.451Z] + cat+ /w/workspace/device-uart/10/archives/cost.csv [2023-09-20T21:08:49.451Z] cut -d, -f6 [Pipeline] lock [2023-09-20T21:08:49.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [2023-09-20T21:08:49.573Z] Resource [jenkins-edgexfoundry-device-uart-main-10-stack-cost] did not exist. Created. [2023-09-20T21:08:49.573Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:08:50.306Z] /w/workspace/device-uart/10@tmp/durable-df01aa18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:08:50.985Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:08:51.012Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:08:51.076Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:08:51.082Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:08:51.105Z] $ docker stop --time=1 ea96e559a08b5f05051a98c5f34bed7b67ee68ba7a1b7f07d74efd6ab155ef20 [2023-09-20T21:08:52.712Z] $ docker rm -f --volumes ea96e559a08b5f05051a98c5f34bed7b67ee68ba7a1b7f07d74efd6ab155ef20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-20T21:08:53.137Z] provisioning config files... [2023-09-20T21:08:53.146Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17170360338633535161tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:08:53.439Z] + set +x [2023-09-20T21:08:53.439Z] + + bash -s -- [2023-09-20T21:08:53.439Z] curl -s https://codecov.io/bash [2023-09-20T21:08:53.439Z] [2023-09-20T21:08:53.439Z] _____ _ [2023-09-20T21:08:53.439Z] / ____| | | [2023-09-20T21:08:53.439Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:08:53.439Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:08:53.439Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:08:53.439Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:08:53.439Z] Bash-1.0.6 [2023-09-20T21:08:53.439Z] [2023-09-20T21:08:53.439Z] [2023-09-20T21:08:53.439Z] ==> git version 2.25.1 found [2023-09-20T21:08:53.439Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-20T21:08:53.439Z] Release-Date: 2020-01-08 [2023-09-20T21:08:53.439Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T21:08:53.439Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:08:53.439Z] ==> Jenkins CI detected. [2023-09-20T21:08:53.439Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-09-20T21:08:53.439Z] project root: . [2023-09-20T21:08:53.439Z] --> token set from env [2023-09-20T21:08:53.439Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:08:53.439Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:08:53.439Z] ==> Python coveragepy not found [2023-09-20T21:08:53.439Z] ==> Searching for coverage reports in: [2023-09-20T21:08:53.439Z] + . [2023-09-20T21:08:53.439Z] -> Found 1 reports [2023-09-20T21:08:53.439Z] ==> Detecting git/mercurial file structure [2023-09-20T21:08:53.439Z] ==> Reading reports [2023-09-20T21:08:53.439Z] + ./coverage.out bytes=10 [2023-09-20T21:08:53.439Z] ==> Appending adjustments [2023-09-20T21:08:53.439Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:08:53.439Z] + Found adjustments [2023-09-20T21:08:53.439Z] ==> Gzipping contents [2023-09-20T21:08:53.699Z] 4.0K /tmp/codecov.eUtQ4u.gz [2023-09-20T21:08:53.699Z] ==> Uploading reports [2023-09-20T21:08:53.699Z] url: https://codecov.io [2023-09-20T21:08:53.699Z] query: branch=main&commit=0197f7477711c065f24c514fa051c7e38d133d4f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:08:53.699Z] -> Pinging Codecov [2023-09-20T21:08:53.699Z] 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=0197f7477711c065f24c514fa051c7e38d133d4f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:08:53.699Z] -> Uploading to [2023-09-20T21:08:53.699Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/B9AA6E0BBD74AE3A32605C7A7C664919/0197f7477711c065f24c514fa051c7e38d133d4f/2a91f94a-0785-412d-abd4-2fac4fa9f458.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T210853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be16de39b9c407517f7e583366e9499c943e88a7b67edabe07dadf952c47c68e [2023-09-20T21:08:53.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:08:53.699Z] Dload Upload Total Spent Left Speed [2023-09-20T21:08:53.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3465 --:--:-- --:--:-- --:--:-- 3465 [2023-09-20T21:08:53.959Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] } [2023-09-20T21:08:53.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:08:54.110Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:08:54.121Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:54.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:54.415Z] [2023-09-20T21:08:54.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:54.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:54.710Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:08:54.710Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:08:54.710Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:08:54.710Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:08:54.710Z] 114826534d7a: Pulling fs layer [2023-09-20T21:08:54.710Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:08:54.710Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:08:54.710Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:08:54.710Z] 6ad1cebc031e: Waiting [2023-09-20T21:08:54.710Z] 4657fd5d0bcf: Waiting [2023-09-20T21:08:54.710Z] 8a3aa393b2d8: Waiting [2023-09-20T21:08:54.710Z] 114826534d7a: Waiting [2023-09-20T21:08:54.710Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:08:54.710Z] 25bc292e5bac: Download complete [2023-09-20T21:08:54.710Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T21:08:54.710Z] 52dc419b0ee2: Download complete [2023-09-20T21:08:54.710Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T21:08:54.710Z] 4657fd5d0bcf: Download complete [2023-09-20T21:08:54.710Z] df9b9388f04a: Download complete [2023-09-20T21:08:54.969Z] df9b9388f04a: Pull complete [2023-09-20T21:08:54.969Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:08:54.969Z] 52dc419b0ee2: Pull complete [2023-09-20T21:08:54.969Z] 25bc292e5bac: Pull complete [2023-09-20T21:08:55.535Z] 114826534d7a: Verifying Checksum [2023-09-20T21:08:55.535Z] 114826534d7a: Download complete [2023-09-20T21:08:55.535Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:08:55.535Z] 8a3aa393b2d8: Download complete [2023-09-20T21:08:58.810Z] 114826534d7a: Pull complete [2023-09-20T21:08:58.810Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:08:59.073Z] 6ad1cebc031e: Pull complete [2023-09-20T21:09:02.356Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:09:02.356Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:09:02.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:09:02.356Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:02.436Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:02.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T21:09:07.307Z] $ docker top a3b3049ee960e008c9e7207f418efcf88e675ac33b2876698b333b5311ea4460 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:09:07.365Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-09-20T21:09:07.641Z] + set -o pipefail [2023-09-20T21:09:07.641Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-09-20T21:09:12.916Z] [2023-09-20T21:09:12.917Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-09-20T21:09:12.917Z] [2023-09-20T21:09:12.917Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/4da1ef9d-7a36-4f0b-a63e-5574f68d3df7 [2023-09-20T21:09:12.917Z] [2023-09-20T21:09:12.917Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:09:12.917Z] [2023-09-20T21:09:12.917Z] [2023-09-20T21:09:12.917Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:09:12.917Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:09:12.917Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:09:12.929Z] $ docker stop --time=1 a3b3049ee960e008c9e7207f418efcf88e675ac33b2876698b333b5311ea4460 [2023-09-20T21:09:16.795Z] $ docker rm -f --volumes a3b3049ee960e008c9e7207f418efcf88e675ac33b2876698b333b5311ea4460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:09:17.510Z] + git log --format=format:%s -1 0197f7477711c065f24c514fa051c7e38d133d4f [Pipeline] sh [2023-09-20T21:09:17.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:17.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:18.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:18.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:18.167Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:18.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:18.666Z] $ docker top c671520f1fa073572691dd9f908e073ef6da8ac25e0fae00484e2d6bcb627bda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:18.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:18.753Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:18.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:18.892Z] $ docker exec c671520f1fa073572691dd9f908e073ef6da8ac25e0fae00484e2d6bcb627bda ssh-agent [2023-09-20T21:09:19.004Z] SSH_AUTH_SOCK=/tmp/ssh-8ll1dqlkxVsj/agent.32 [2023-09-20T21:09:19.004Z] SSH_AGENT_PID=38 [2023-09-20T21:09:19.008Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:19.107Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14422985700946988658.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14422985700946988658.key) [2023-09-20T21:09:19.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:19.405Z] + git semver tag [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,594 [run_tag] DEBUG tag force:False [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,594 [check_head_tag] DEBUG check head tag [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,595 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,599 [execute] INFO git cat-file --batch [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,607 [execute] INFO git tag -a v3.0.1-dev.4 -m v3.0.1-dev.4 [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.4', '-m', 'v3.0.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:19.662Z] 2023-09-20 21:09:19,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:19.662Z] 3.0.1-dev.4 [Pipeline] } [2023-09-20T21:09:19.672Z] $ docker exec --env ******** --env ******** c671520f1fa073572691dd9f908e073ef6da8ac25e0fae00484e2d6bcb627bda ssh-agent -k [2023-09-20T21:09:19.779Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:19.779Z] unset SSH_AGENT_PID; [2023-09-20T21:09:19.779Z] echo Agent pid 38 killed; [2023-09-20T21:09:19.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:20.096Z] + git semver [Pipeline] } [2023-09-20T21:09:20.369Z] $ docker stop --time=1 c671520f1fa073572691dd9f908e073ef6da8ac25e0fae00484e2d6bcb627bda [2023-09-20T21:09:21.643Z] $ docker rm -f --volumes c671520f1fa073572691dd9f908e073ef6da8ac25e0fae00484e2d6bcb627bda [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:22.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:22.027Z] [2023-09-20T21:09:22.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:22.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:22.322Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:09:22.322Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:09:22.322Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:09:22.322Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:09:22.322Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:09:22.322Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:09:22.322Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:09:22.322Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:09:22.322Z] 0d9ebad4ef96: Waiting [2023-09-20T21:09:22.322Z] e9a5061849ea: Waiting [2023-09-20T21:09:22.322Z] d747dcd14b5f: Waiting [2023-09-20T21:09:22.322Z] 9712f1f96733: Verifying Checksum [2023-09-20T21:09:22.322Z] 9712f1f96733: Download complete [2023-09-20T21:09:22.584Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:09:22.584Z] 63f879dbbcfc: Download complete [2023-09-20T21:09:22.844Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:09:22.844Z] e9a5061849ea: Download complete [2023-09-20T21:09:22.844Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:09:22.844Z] d747dcd14b5f: Download complete [2023-09-20T21:09:22.844Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:09:22.844Z] ab5ef0e58194: Download complete [2023-09-20T21:09:22.844Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:09:22.844Z] 0d9ebad4ef96: Download complete [2023-09-20T21:09:23.102Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:09:23.102Z] 2de7ff778b66: Download complete [2023-09-20T21:09:25.632Z] ab5ef0e58194: Pull complete [2023-09-20T21:09:25.632Z] 9712f1f96733: Pull complete [2023-09-20T21:09:26.199Z] 63f879dbbcfc: Pull complete [2023-09-20T21:09:29.480Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:09:29.738Z] e9a5061849ea: Pull complete [2023-09-20T21:09:29.738Z] d747dcd14b5f: Pull complete [2023-09-20T21:09:30.672Z] 2de7ff778b66: Pull complete [2023-09-20T21:09:30.672Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:09:30.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:30.672Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:30.746Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:30.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T21:09:35.277Z] $ docker top 6d72e1be07a649dfa5082f61a5a25b4e17f804452b410a651d5db31d7b4a98ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:09:35.344Z] provisioning config files... [2023-09-20T21:09:35.359Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config551763935452444620tmp [2023-09-20T21:09:35.367Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17573426532836189688tmp [2023-09-20T21:09:35.375Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1552086327911095634tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:09:35.390Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:35.667Z] ---> sigul-configuration.sh [2023-09-20T21:09:35.667Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:09:35.667Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:09:35.667Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:09:35.667Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:09:35.667Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:09:35.667Z] gpg: CAST5 encrypted data [2023-09-20T21:09:35.667Z] gpg: encrypted with 1 passphrase [2023-09-20T21:09:35.667Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:09:35.946Z] + mkdir /home/jenkins [2023-09-20T21:09:35.946Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:09:36.229Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-20T21:09:36.236Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:36.516Z] ---> sigul-install.sh [2023-09-20T21:09:36.517Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:09:36.805Z] + git tag --list [2023-09-20T21:09:36.805Z] v0.0.0 [2023-09-20T21:09:36.805Z] v0.0.1-dev.1 [2023-09-20T21:09:36.805Z] v0.0.1-dev.2 [2023-09-20T21:09:36.805Z] v0.0.1-dev.3 [2023-09-20T21:09:36.805Z] v0.0.1-dev.4 [2023-09-20T21:09:36.805Z] v3.0.0 [2023-09-20T21:09:36.805Z] v3.0.1-dev.1 [2023-09-20T21:09:36.805Z] v3.0.1-dev.2 [2023-09-20T21:09:36.805Z] v3.0.1-dev.3 [2023-09-20T21:09:36.805Z] v3.0.1-dev.4 [Pipeline] sh [2023-09-20T21:09:37.091Z] + lftools sign git-tag v3.0.1-dev.4 [2023-09-20T21:09:37.658Z] Signing Git tag with Sigul... [2023-09-20T21:09:37.658Z] Signing v3.0.1-dev.4 [Pipeline] echo [2023-09-20T21:09:37.925Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:38.211Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:09:38.219Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:09:38.238Z] $ docker stop --time=1 6d72e1be07a649dfa5082f61a5a25b4e17f804452b410a651d5db31d7b4a98ed [2023-09-20T21:09:39.480Z] $ docker rm -f --volumes 6d72e1be07a649dfa5082f61a5a25b4e17f804452b410a651d5db31d7b4a98ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:09:39.886Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:39.886Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:40.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:40.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:40.258Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:40.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:40.627Z] $ docker top 95a1d08c4a0f9af6caf591e0097630a1041ff7e7edbac80ecc5189bf3d808a3d -eo pid,comm [2023-09-20T21:09:40.669Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:09:40.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:40.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:40.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:40.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:40.814Z] $ docker exec 95a1d08c4a0f9af6caf591e0097630a1041ff7e7edbac80ecc5189bf3d808a3d ssh-agent [2023-09-20T21:09:40.912Z] SSH_AUTH_SOCK=/tmp/ssh-rrixnPzT7Vwb/agent.33 [2023-09-20T21:09:40.912Z] SSH_AGENT_PID=39 [2023-09-20T21:09:40.917Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:41.017Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7200711842714897119.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7200711842714897119.key) [2023-09-20T21:09:41.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:41.309Z] + git semver bump pre [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [bump_version] DEBUG bumping version:3.0.1-dev.4 on axis:pre with prefix:dev [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [bump_version] DEBUG bumped version:3.0.1-dev.5 [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [write_version] DEBUG write version:3.0.1-dev.5 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,464 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,466 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,471 [execute] INFO git cat-file --batch [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:41.567Z] 2023-09-20 21:09:41,475 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:41.567Z] 3.0.1-dev.5 [Pipeline] } [2023-09-20T21:09:41.575Z] $ docker exec --env ******** --env ******** 95a1d08c4a0f9af6caf591e0097630a1041ff7e7edbac80ecc5189bf3d808a3d ssh-agent -k [2023-09-20T21:09:41.660Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:41.660Z] unset SSH_AGENT_PID; [2023-09-20T21:09:41.660Z] echo Agent pid 39 killed; [2023-09-20T21:09:41.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:41.975Z] + git semver [Pipeline] } [2023-09-20T21:09:42.246Z] $ docker stop --time=1 95a1d08c4a0f9af6caf591e0097630a1041ff7e7edbac80ecc5189bf3d808a3d [2023-09-20T21:09:43.489Z] $ docker rm -f --volumes 95a1d08c4a0f9af6caf591e0097630a1041ff7e7edbac80ecc5189bf3d808a3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:09:43.828Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:43.828Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:44.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:44.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:44.193Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:44.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:44.559Z] $ docker top 56350d95990008761b6a1f40fa3c2ebda8df94794d16f6dad226fb0e206802e5 -eo pid,comm [2023-09-20T21:09:44.599Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:09:44.599Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:44.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:44.642Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:44.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:44.757Z] $ docker exec 56350d95990008761b6a1f40fa3c2ebda8df94794d16f6dad226fb0e206802e5 ssh-agent [2023-09-20T21:09:44.859Z] SSH_AUTH_SOCK=/tmp/ssh-oF7X8vvnHeot/agent.34 [2023-09-20T21:09:44.859Z] SSH_AGENT_PID=40 [2023-09-20T21:09:44.863Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:44.958Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15945777644352519668.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15945777644352519668.key) [2023-09-20T21:09:44.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:45.257Z] + git semver push [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,432 [run_push] DEBUG push [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,433 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,436 [execute] INFO git rev-list 4163a0d35126b6d579e2313e5d80da793b54903f -- [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,437 [execute] DEBUG Popen(['git', 'rev-list', '4163a0d35126b6d579e2313e5d80da793b54903f', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,441 [execute] INFO git fetch -v origin [2023-09-20T21:09:45.515Z] 2023-09-20 21:09:45,441 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:09:46.092Z] 2023-09-20 21:09:45,901 [run_push] DEBUG no remote changes detected [2023-09-20T21:09:46.092Z] 2023-09-20 21:09:45,902 [execute] INFO git push origin semver [2023-09-20T21:09:46.092Z] 2023-09-20 21:09:45,902 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:47.028Z] 2023-09-20 21:09:46,887 [run_push] DEBUG push all version tags [2023-09-20T21:09:47.028Z] 2023-09-20 21:09:46,888 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:09:47.028Z] 2023-09-20 21:09:46,888 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:47.963Z] 2023-09-20 21:09:47,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-09-20T21:09:47.963Z] 3.0.1-dev.5 [Pipeline] } [2023-09-20T21:09:47.972Z] $ docker exec --env ******** --env ******** 56350d95990008761b6a1f40fa3c2ebda8df94794d16f6dad226fb0e206802e5 ssh-agent -k [2023-09-20T21:09:48.067Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:48.067Z] unset SSH_AGENT_PID; [2023-09-20T21:09:48.067Z] echo Agent pid 40 killed; [2023-09-20T21:09:48.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:48.388Z] + git semver [Pipeline] } [2023-09-20T21:09:48.659Z] $ docker stop --time=1 56350d95990008761b6a1f40fa3c2ebda8df94794d16f6dad226fb0e206802e5 [2023-09-20T21:09:49.925Z] $ docker rm -f --volumes 56350d95990008761b6a1f40fa3c2ebda8df94794d16f6dad226fb0e206802e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-20T21:09:50.447Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-09-20T21:09:50.447Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-20T21:09:50.447Z] total 16 [2023-09-20T21:09:50.447Z] drwxr-xr-x 3 root root 4096 Sep 20 20:58 . [2023-09-20T21:09:50.447Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 21:09 .. [2023-09-20T21:09:50.447Z] drwxr-xr-x 2 root root 4096 Sep 20 20:58 cost [2023-09-20T21:09:50.447Z] -rw-r--r-- 1 root root 82 Sep 20 20:58 cost.csv [2023-09-20T21:09:50.447Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-20T21:09:50.447Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-09-20T21:09:50.447Z] total 16 [2023-09-20T21:09:50.447Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:58 . [2023-09-20T21:09:50.447Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 21:09 .. [2023-09-20T21:09:50.447Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:58 cost [2023-09-20T21:09:50.447Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 20 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:50.733Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:51.590Z] ---> package-listing.sh [2023-09-20T21:09:51.590Z] ++ facter osfamily [2023-09-20T21:09:51.590Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:09:51.849Z] + OS_FAMILY=debian [2023-09-20T21:09:51.849Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-09-20T21:09:51.849Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:51.849Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:51.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:09:51.849Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:51.850Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-09-20T21:09:51.850Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:51.850Z] + case "${OS_FAMILY}" in [2023-09-20T21:09:51.850Z] + dpkg -l [2023-09-20T21:09:51.850Z] + grep '^ii' [2023-09-20T21:09:51.850Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:09:51.850Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:09:51.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:09:51.850Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-09-20T21:09:51.850Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-09-20T21:09:51.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-09-20T21:09:51.859Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T21:09:52.166Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:52.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:09:52.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:52.687Z] prd-ubuntu20.04-docker-8c-8g-7232 does not seem to be running inside a container [2023-09-20T21:09:52.713Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:09:52.881Z] $ docker top 4d81df06f985c81f81b100775c85989e6691ce30d7b3eeeed628605967d8202b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:09:53.214Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:09:53.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:09:53.774Z] + ls /var/log/sa-host [2023-09-20T21:09:53.774Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:09:53.839Z] provisioning config files... [2023-09-20T21:09:53.847Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6517505988896559280tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:09:53.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:54.140Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:09:54.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:54.470Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:09:54.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:54.757Z] ---> sudo-logs.sh [2023-09-20T21:09:54.757Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:09:54.785Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:55.080Z] ---> job-cost.sh [2023-09-20T21:09:55.080Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:55.080Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:09:55.080Z] INFO: Retrieving Stack Cost... [2023-09-20T21:09:55.339Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:09:55.599Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:09:55.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:56.151Z] ---> logs-deploy.sh [2023-09-20T21:09:56.151Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:56.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/10 [2023-09-20T21:09:56.151Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:09:57.085Z] Archives upload complete. [2023-09-20T21:09:57.085Z] INFO: archiving logs to Nexus