Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 107fe58427ec1d433094d7ddff71861b5f8fbb1b 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-ssh220606223734426701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9071135523837965906.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3585279361870162848.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh736117116151059427.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-ssh7873381721838244601.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.20 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-4563 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 107fe58427ec1d433094d7ddff71861b5f8fbb1b (main) Commit message: "Merge pull request #23 from FelixTing/update-sdk" > 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 107fe58427ec1d433094d7ddff71861b5f8fbb1b # timeout=10 > git rev-list --no-walk 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T11:00:33.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T11:00:33.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T11:00:33.060Z] ========================================================= [2023-08-25T11:00:33.060Z] EdgeX Global Pipelines Version Info [2023-08-25T11:00:33.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:33.808Z] ------------------- [2023-08-25T11:00:33.808Z] stable info: [2023-08-25T11:00:33.808Z] ------------------- [2023-08-25T11:00:33.808Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T11:00:33.808Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T11:00:33.808Z] Message: update stable to v1.0.253 [2023-08-25T11:00:34.379Z] ------------------- [2023-08-25T11:00:34.379Z] experimental info: [2023-08-25T11:00:34.379Z] ------------------- [2023-08-25T11:00:34.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T11:00:34.379Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T11:00:34.379Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T11:00:34.514Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-08-25T11:00:34.527Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-08-25T11:00:34.537Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T11:00:34.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T11:00:34.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T11:00:34.574Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T11:00:34.589Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T11:00:34.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T11:00:34.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T11:00:34.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T11:00:34.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T11:00:34.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-08-25T11:00:34.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T11:00:34.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T11:00:34.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T11:00:34.747Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T11:00:34.764Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T11:00:34.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T11:00:34.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T11:00:34.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T11:00:34.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T11:00:34.837Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T11:00:34.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T11:00:34.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T11:00:34.883Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T11:00:34.902Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T11:00:34.916Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T11:00:34.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T11:00:34.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T11:00:34.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T11:00:34.983Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] echo [2023-08-25T11:00:35.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 107fe58 [Pipeline] echo [2023-08-25T11:00:35.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:00:35.054Z] provisioning config files... [2023-08-25T11:00:35.066Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9862374656167961265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:35.370Z] ---> docker-login.sh [2023-08-25T11:00:35.370Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:00:36.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:36.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:36.312Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:36.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:36.312Z] [2023-08-25T11:00:36.312Z] Login Succeeded [2023-08-25T11:00:36.312Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:00:36.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:36.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:36.312Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:36.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:36.312Z] [2023-08-25T11:00:36.312Z] Login Succeeded [2023-08-25T11:00:36.312Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:00:36.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:36.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:36.312Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:36.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:36.312Z] [2023-08-25T11:00:36.312Z] Login Succeeded [2023-08-25T11:00:36.312Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:00:36.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:36.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:36.574Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:36.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:36.574Z] [2023-08-25T11:00:36.574Z] Login Succeeded [2023-08-25T11:00:36.574Z] docker.io [2023-08-25T11:00:36.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:36.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:36.836Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:36.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:36.836Z] [2023-08-25T11:00:36.836Z] Login Succeeded [2023-08-25T11:00:36.836Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:00:36.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T11:00:37.210Z] + git rev-list -1 --merges 107fe58427ec1d433094d7ddff71861b5f8fbb1b~1..107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] echo [2023-08-25T11:00:37.251Z] -----------> git rev-list -1 --merges 107fe58427ec1d433094d7ddff71861b5f8fbb1b~1..107fe58427ec1d433094d7ddff71861b5f8fbb1b 107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:00:37.251Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b [false] [Pipeline] sh [2023-08-25T11:00:37.535Z] + git log --format=format:%s -1 107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] echo [2023-08-25T11:00:37.547Z] ========================================================= [2023-08-25T11:00:37.547Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T11:00:37.547Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:00:37.892Z] + git log --format=format:%s -1 107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] echo [2023-08-25T11:00:37.902Z] [semverPrep] GIT_COMMIT: 107fe58427ec1d433094d7ddff71861b5f8fbb1b, Commit Message: Merge pull request #23 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T11:00:37.915Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T11:00:38.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:00:38.261Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T11:00:38.261Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T11:00:38.261Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T11:00:38.261Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T11:00:38.261Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T11:00:38.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:38.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:38.599Z] [2023-08-25T11:00:38.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:38.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:39.156Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T11:00:39.156Z] b85a868b505f: Pulling fs layer [2023-08-25T11:00:39.156Z] e2be974225ed: Pulling fs layer [2023-08-25T11:00:39.156Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T11:00:39.156Z] 988bab9f4d93: Pulling fs layer [2023-08-25T11:00:39.156Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T11:00:39.156Z] eaf3925da568: Pulling fs layer [2023-08-25T11:00:39.156Z] bab4dde63d76: Pulling fs layer [2023-08-25T11:00:39.156Z] bde34c3a00c8: Pulling fs layer [2023-08-25T11:00:39.156Z] b352a97aabf1: Pulling fs layer [2023-08-25T11:00:39.156Z] 1469e6f7b9e6: Waiting [2023-08-25T11:00:39.156Z] eaf3925da568: Waiting [2023-08-25T11:00:39.156Z] bab4dde63d76: Waiting [2023-08-25T11:00:39.156Z] bde34c3a00c8: Waiting [2023-08-25T11:00:39.156Z] 4872d77fe225: Pulling fs layer [2023-08-25T11:00:39.156Z] b352a97aabf1: Waiting [2023-08-25T11:00:39.156Z] 4872d77fe225: Waiting [2023-08-25T11:00:39.156Z] 5851b861e8e6: Pulling fs layer [2023-08-25T11:00:39.156Z] 5851b861e8e6: Waiting [2023-08-25T11:00:39.156Z] e2be974225ed: Verifying Checksum [2023-08-25T11:00:39.156Z] e2be974225ed: Download complete [2023-08-25T11:00:39.417Z] 988bab9f4d93: Verifying Checksum [2023-08-25T11:00:39.417Z] 988bab9f4d93: Download complete [2023-08-25T11:00:39.417Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T11:00:39.417Z] 1469e6f7b9e6: Download complete [2023-08-25T11:00:39.417Z] eaf3925da568: Verifying Checksum [2023-08-25T11:00:39.417Z] eaf3925da568: Download complete [2023-08-25T11:00:39.417Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T11:00:39.417Z] 339a4e72a1f5: Download complete [2023-08-25T11:00:39.417Z] bde34c3a00c8: Download complete [2023-08-25T11:00:39.417Z] b352a97aabf1: Download complete [2023-08-25T11:00:39.417Z] 4872d77fe225: Verifying Checksum [2023-08-25T11:00:39.417Z] 4872d77fe225: Download complete [2023-08-25T11:00:39.417Z] 5851b861e8e6: Verifying Checksum [2023-08-25T11:00:39.417Z] 5851b861e8e6: Download complete [2023-08-25T11:00:39.676Z] b85a868b505f: Verifying Checksum [2023-08-25T11:00:39.676Z] b85a868b505f: Download complete [2023-08-25T11:00:39.935Z] bab4dde63d76: Verifying Checksum [2023-08-25T11:00:39.935Z] bab4dde63d76: Download complete [2023-08-25T11:00:40.875Z] b85a868b505f: Pull complete [2023-08-25T11:00:40.875Z] e2be974225ed: Pull complete [2023-08-25T11:00:41.445Z] 339a4e72a1f5: Pull complete [2023-08-25T11:00:41.445Z] 988bab9f4d93: Pull complete [2023-08-25T11:00:41.710Z] 1469e6f7b9e6: Pull complete [2023-08-25T11:00:41.970Z] eaf3925da568: Pull complete [2023-08-25T11:00:43.874Z] bab4dde63d76: Pull complete [2023-08-25T11:00:44.133Z] bde34c3a00c8: Pull complete [2023-08-25T11:00:44.392Z] b352a97aabf1: Pull complete [2023-08-25T11:00:44.392Z] 4872d77fe225: Pull complete [2023-08-25T11:00:44.653Z] 5851b861e8e6: Pull complete [2023-08-25T11:00:44.653Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T11:00:44.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:44.653Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:00:44.742Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:00:44.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:00:52.873Z] $ docker top 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 -eo pid,comm [2023-08-25T11:00:52.974Z] 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-08-25T11:00:52.974Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:00:53.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:00:53.008Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:00:53.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:00:53.172Z] $ docker exec 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 ssh-agent [2023-08-25T11:00:53.340Z] SSH_AUTH_SOCK=/tmp/ssh-U1iCPOLnTrE4/agent.14 [2023-08-25T11:00:53.340Z] SSH_AGENT_PID=20 [2023-08-25T11:00:53.346Z] Running ssh-add (command line suppressed) [2023-08-25T11:00:53.443Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4400146380662269102.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4400146380662269102.key) [2023-08-25T11:00:53.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:00:53.772Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T11:00:53.791Z] $ docker exec --env ******** --env ******** 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 ssh-agent -k [2023-08-25T11:00:54.105Z] unset SSH_AUTH_SOCK; [2023-08-25T11:00:54.105Z] unset SSH_AGENT_PID; [2023-08-25T11:00:54.106Z] echo Agent pid 20 killed; [2023-08-25T11:00:54.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T11:00:54.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:00:54.156Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:00:54.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:00:54.267Z] $ docker exec 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 ssh-agent [2023-08-25T11:00:54.388Z] SSH_AUTH_SOCK=/tmp/ssh-DNAOjcUdb9Ql/agent.52 [2023-08-25T11:00:54.388Z] SSH_AGENT_PID=58 [2023-08-25T11:00:54.394Z] Running ssh-add (command line suppressed) [2023-08-25T11:00:54.502Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6827513498691573413.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6827513498691573413.key) [2023-08-25T11:00:54.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:00:54.800Z] + git semver init [2023-08-25T11:00:55.375Z] 2023-08-25 11:00:55,250 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T11:00:55.375Z] 2023-08-25 11:00:55,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-08-25T11:00:55.375Z] 2023-08-25 11:00:55,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-08-25T11:00:55.375Z] 2023-08-25 11:00:55,253 [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-08-25T11:00:57.281Z] 2023-08-25 11:00:57,283 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-08-25T11:00:57.281Z] 2023-08-25 11:00:57,284 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-08-25T11:00:57.281Z] 2023-08-25 11:00:57,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:00:57.281Z] 2023-08-25 11:00:57,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:00:57.281Z] 3.0.1-dev.2 [Pipeline] } [2023-08-25T11:00:57.560Z] $ docker exec --env ******** --env ******** 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 ssh-agent -k [2023-08-25T11:00:57.646Z] unset SSH_AUTH_SOCK; [2023-08-25T11:00:57.646Z] unset SSH_AGENT_PID; [2023-08-25T11:00:57.647Z] echo Agent pid 58 killed; [2023-08-25T11:00:57.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:00:57.971Z] + git semver [Pipeline] } [2023-08-25T11:00:58.248Z] $ docker stop --time=1 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 [2023-08-25T11:00:59.640Z] $ docker rm -f --volumes 7e0a2d5189028bbae9c509e3ad18bf0f064998787b89b0d281fd554e6712b057 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:00:59.979Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T11:01:00.180Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T11:01:00.182Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.2 [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-08-25T11:01:00.342Z] provisioning config files... [2023-08-25T11:01:00.351Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7406191657468669248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:01:00.652Z] ---> docker-login.sh [2023-08-25T11:01:00.652Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:01:00.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:00.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:00.652Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:00.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:00.652Z] [2023-08-25T11:01:00.652Z] Login Succeeded [2023-08-25T11:01:00.652Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:01:00.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:00.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:00.652Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:00.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:00.652Z] [2023-08-25T11:01:00.652Z] Login Succeeded [2023-08-25T11:01:00.652Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:01:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:00.912Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:00.912Z] [2023-08-25T11:01:00.912Z] Login Succeeded [2023-08-25T11:01:00.912Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:01:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:00.912Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:00.912Z] [2023-08-25T11:01:00.912Z] Login Succeeded [2023-08-25T11:01:00.912Z] docker.io [2023-08-25T11:01:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:01.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:01.482Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:01.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:01.482Z] [2023-08-25T11:01:01.482Z] Login Succeeded [2023-08-25T11:01:01.482Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:01:01.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:01:01.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:01:01.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:01:01.586Z] ========================================================= [2023-08-25T11:01:01.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T11:01:01.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:01:01.894Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T11:01:01.894Z] Sending build context to Docker daemon 11.1MB [2023-08-25T11:01:01.894Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:01:01.894Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:01:02.154Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T11:01:02.154Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T11:01:02.154Z] 6911f1a30b25: Pulling fs layer [2023-08-25T11:01:02.154Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T11:01:02.154Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T11:01:02.154Z] ec0bb842ea78: Pulling fs layer [2023-08-25T11:01:02.154Z] 40a00589a448: Pulling fs layer [2023-08-25T11:01:02.154Z] 6c08303d61cc: Pulling fs layer [2023-08-25T11:01:02.154Z] 798269fcf238: Pulling fs layer [2023-08-25T11:01:02.154Z] ec0bb842ea78: Waiting [2023-08-25T11:01:02.154Z] 40a00589a448: Waiting [2023-08-25T11:01:02.154Z] 798269fcf238: Waiting [2023-08-25T11:01:02.154Z] 6911f1a30b25: Verifying Checksum [2023-08-25T11:01:02.154Z] 6911f1a30b25: Download complete [2023-08-25T11:01:02.154Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T11:01:02.154Z] 6863d3e3a2b1: Download complete [2023-08-25T11:01:02.154Z] ec0bb842ea78: Verifying Checksum [2023-08-25T11:01:02.154Z] ec0bb842ea78: Download complete [2023-08-25T11:01:02.154Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T11:01:02.154Z] 4db1b89c0bd1: Download complete [2023-08-25T11:01:02.154Z] 40a00589a448: Verifying Checksum [2023-08-25T11:01:02.154Z] 40a00589a448: Download complete [2023-08-25T11:01:02.416Z] 4db1b89c0bd1: Pull complete [2023-08-25T11:01:02.706Z] 6911f1a30b25: Pull complete [2023-08-25T11:01:02.965Z] 798269fcf238: Verifying Checksum [2023-08-25T11:01:02.965Z] 798269fcf238: Download complete [2023-08-25T11:01:02.965Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T11:01:02.965Z] e194b8c5c2a9: Download complete [2023-08-25T11:01:03.221Z] 6c08303d61cc: Download complete [2023-08-25T11:01:06.527Z] e194b8c5c2a9: Pull complete [2023-08-25T11:01:06.786Z] 6863d3e3a2b1: Pull complete [2023-08-25T11:01:07.045Z] ec0bb842ea78: Pull complete [2023-08-25T11:01:07.611Z] 40a00589a448: Pull complete [2023-08-25T11:01:10.138Z] 6c08303d61cc: Pull complete [2023-08-25T11:01:10.704Z] 798269fcf238: Pull complete [2023-08-25T11:01:10.704Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T11:01:10.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T11:01:10.704Z] ---> ec979cd7f677 [2023-08-25T11:01:10.704Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:01:15.294Z] Still waiting to schedule task [2023-08-25T11:01:15.294Z] ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:15.294Z] ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:15.294Z] ‘prd-ubuntu20.04-docker-8c-8g-4566’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:15.295Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4567’ is offline [2023-08-25T11:01:18.837Z] ---> Running in ec9d68cd361f [2023-08-25T11:01:18.837Z] Removing intermediate container ec9d68cd361f [2023-08-25T11:01:18.837Z] ---> 36fff2503960 [2023-08-25T11:01:18.837Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:01:18.837Z] ---> Running in 6284f73ef419 [2023-08-25T11:01:18.837Z] Removing intermediate container 6284f73ef419 [2023-08-25T11:01:18.837Z] ---> b1221c4d04f3 [2023-08-25T11:01:18.837Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:01:19.097Z] ---> Running in e602a27d1262 [2023-08-25T11:01:19.097Z] Removing intermediate container e602a27d1262 [2023-08-25T11:01:19.097Z] ---> 27a42cc5fcb2 [2023-08-25T11:01:19.097Z] Step 6/12 : WORKDIR /device-uart [2023-08-25T11:01:19.097Z] ---> Running in 3d60771476cc [2023-08-25T11:01:19.097Z] Removing intermediate container 3d60771476cc [2023-08-25T11:01:19.097Z] ---> 93cc88170b69 [2023-08-25T11:01:19.097Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:01:19.097Z] ---> Running in 561bd58f80ba [2023-08-25T11:01:19.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:01:19.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:01:19.873Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:01:19.873Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:01:19.873Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:01:19.873Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:01:19.873Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:01:19.873Z] OK: 269 MiB in 57 packages [2023-08-25T11:01:20.441Z] Removing intermediate container 561bd58f80ba [2023-08-25T11:01:20.441Z] ---> e71e00f97d73 [2023-08-25T11:01:20.441Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-25T11:01:20.699Z] ---> 31c76945d5f1 [2023-08-25T11:01:20.699Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:01:20.699Z] ---> Running in caa9721ef278 [2023-08-25T11:01:59.480Z] Removing intermediate container caa9721ef278 [2023-08-25T11:01:59.480Z] ---> e251eb2a74e3 [2023-08-25T11:01:59.480Z] Step 10/12 : COPY . . [2023-08-25T11:01:59.480Z] ---> 891b31a563bf [2023-08-25T11:01:59.480Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:01:59.480Z] ---> Running in a75a8393b7c5 [2023-08-25T11:01:59.480Z] Removing intermediate container a75a8393b7c5 [2023-08-25T11:01:59.480Z] ---> 2fb99e8a76f5 [2023-08-25T11:01:59.480Z] Step 12/12 : RUN ${MAKE} [2023-08-25T11:01:59.480Z] ---> Running in 7f9e1e60fc94 [2023-08-25T11:01:59.480Z] noop [2023-08-25T11:01:59.480Z] Removing intermediate container 7f9e1e60fc94 [2023-08-25T11:01:59.480Z] ---> 9dd156edf6da [2023-08-25T11:01:59.480Z] Successfully built 9dd156edf6da [2023-08-25T11:01:59.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:01:59.785Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T11:01:59.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:01:59.858Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:01:59.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T11:02:00.221Z] $ docker top 75f136116f1ece7f7a93c94de2771a000e4f6d24d617ef86c3f366a19416e3ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:02:00.564Z] + go version [2023-08-25T11:02:00.564Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T11:02:00.579Z] $ docker stop --time=1 75f136116f1ece7f7a93c94de2771a000e4f6d24d617ef86c3f366a19416e3ff [2023-08-25T11:02:01.903Z] $ docker rm -f --volumes 75f136116f1ece7f7a93c94de2771a000e4f6d24d617ef86c3f366a19416e3ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:02.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T11:02:02.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:02:02.391Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:02:02.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T11:02:02.788Z] $ docker top 3259994eb68bbe113587d72e65597981a27d3129ea6417f3038fb99cce7edf35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:02:03.133Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:02:03.429Z] + make test [2023-08-25T11:02:03.429Z] go test ./... -coverprofile=coverage.out [2023-08-25T11:02:08.686Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-08-25T11:02:18.647Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-08-25T11:02:18.647Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-08-25T11:02:25.202Z] go vet ./... [2023-08-25T11:02:28.480Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:02:28.480Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:02:28.480Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:02:28.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:02:28.505Z] $ docker stop --time=1 3259994eb68bbe113587d72e65597981a27d3129ea6417f3038fb99cce7edf35 [2023-08-25T11:02:32.826Z] $ docker rm -f --volumes 3259994eb68bbe113587d72e65597981a27d3129ea6417f3038fb99cce7edf35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:02:33.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:02:33.309Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T11:02:33.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:02:34.135Z] + ls -al . [2023-08-25T11:02:34.135Z] total 144 [2023-08-25T11:02:34.135Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 11:02 . [2023-08-25T11:02:34.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 .. [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:00 .dockerignore [2023-08-25T11:02:34.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:00 .git [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 11:00 .gitignore [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:00 .golangci.yml [2023-08-25T11:02:34.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:00 .semver [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 11:00 Attribution.txt [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 11:00 Dockerfile [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:00 GOVERNANCE.md [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 11:00 Jenkinsfile [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:00 LICENSE [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 25 11:00 Makefile [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 11:00 OWNERS.md [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 11:00 README.md [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION [2023-08-25T11:02:34.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 bin [2023-08-25T11:02:34.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 cmd [2023-08-25T11:02:34.135Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 11:02 coverage.out [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 11:00 go.mod [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 11:00 go.sum [2023-08-25T11:02:34.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 internal [2023-08-25T11:02:34.135Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:34.520Z] + 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=107fe58427ec1d433094d7ddff71861b5f8fbb1b --label arch=amd64 --label version=3.0.1-dev.2 . [2023-08-25T11:02:34.520Z] Sending build context to Docker daemon 11.11MB [2023-08-25T11:02:34.520Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:02:34.520Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T11:02:34.520Z] ---> 9dd156edf6da [2023-08-25T11:02:34.520Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:02:34.778Z] ---> Running in 8670487d1648 [2023-08-25T11:02:34.779Z] Removing intermediate container 8670487d1648 [2023-08-25T11:02:34.779Z] ---> 66e273ff78f2 [2023-08-25T11:02:34.779Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:02:34.779Z] ---> Running in 7e27a59ac184 [2023-08-25T11:02:35.037Z] Removing intermediate container 7e27a59ac184 [2023-08-25T11:02:35.037Z] ---> 2317f7bd9db2 [2023-08-25T11:02:35.037Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:02:35.037Z] ---> Running in f9c350e56e88 [2023-08-25T11:02:35.037Z] Removing intermediate container f9c350e56e88 [2023-08-25T11:02:35.037Z] ---> b692e7158a96 [2023-08-25T11:02:35.037Z] Step 6/25 : WORKDIR /device-uart [2023-08-25T11:02:35.037Z] ---> Running in 70422d6c18a9 [2023-08-25T11:02:35.037Z] Removing intermediate container 70422d6c18a9 [2023-08-25T11:02:35.037Z] ---> d951a3590721 [2023-08-25T11:02:35.037Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:02:35.037Z] ---> Running in 8c7f1d74af7c [2023-08-25T11:02:35.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:35.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:35.556Z] OK: 269 MiB in 57 packages [2023-08-25T11:02:36.123Z] Removing intermediate container 8c7f1d74af7c [2023-08-25T11:02:36.123Z] ---> befeabcbb41d [2023-08-25T11:02:36.123Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-25T11:02:36.123Z] ---> d41c9671ddcd [2023-08-25T11:02:36.123Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:02:36.123Z] ---> Running in b3c4423ee119 [2023-08-25T11:02:36.690Z] Removing intermediate container b3c4423ee119 [2023-08-25T11:02:36.690Z] ---> 2ab20e83041f [2023-08-25T11:02:36.690Z] Step 10/25 : COPY . . [2023-08-25T11:02:37.258Z] ---> c8f62a551031 [2023-08-25T11:02:37.258Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:02:37.258Z] ---> Running in ca0c8062ba3f [2023-08-25T11:02:37.517Z] Removing intermediate container ca0c8062ba3f [2023-08-25T11:02:37.517Z] ---> 4c1b66e5c112 [2023-08-25T11:02:37.517Z] Step 12/25 : RUN ${MAKE} [2023-08-25T11:02:37.517Z] ---> Running in be82c90ac1ba [2023-08-25T11:02:37.774Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.2 -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-08-25T11:02:59.718Z] Removing intermediate container be82c90ac1ba [2023-08-25T11:02:59.718Z] ---> 728e27e4c286 [2023-08-25T11:02:59.718Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T11:02:59.718Z] 3.17: Pulling from library/alpine [2023-08-25T11:02:59.718Z] 9398808236ff: Pulling fs layer [2023-08-25T11:02:59.718Z] 9398808236ff: Verifying Checksum [2023-08-25T11:02:59.718Z] 9398808236ff: Download complete [2023-08-25T11:02:59.718Z] 9398808236ff: Pull complete [2023-08-25T11:02:59.719Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:02:59.719Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:02:59.719Z] ---> 1e0b8b5322fc [2023-08-25T11:02:59.719Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-25T11:02:59.719Z] ---> Running in b6d3a8406713 [2023-08-25T11:02:59.719Z] Removing intermediate container b6d3a8406713 [2023-08-25T11:02:59.719Z] ---> ead27c4a38ba [2023-08-25T11:02:59.719Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:02:59.719Z] ---> Running in 7f4f6c74fcf3 [2023-08-25T11:02:59.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:59.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:59.977Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:02:59.978Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:02:59.978Z] OK: 7 MiB in 16 packages [2023-08-25T11:03:00.546Z] Removing intermediate container 7f4f6c74fcf3 [2023-08-25T11:03:00.546Z] ---> 0af3778ac7b7 [2023-08-25T11:03:00.546Z] Step 16/25 : WORKDIR / [2023-08-25T11:03:00.546Z] ---> Running in d07ffffb15e6 [2023-08-25T11:03:00.546Z] Removing intermediate container d07ffffb15e6 [2023-08-25T11:03:00.546Z] ---> 558b78b364ee [2023-08-25T11:03:00.546Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-08-25T11:03:00.546Z] ---> f9058c1dd381 [2023-08-25T11:03:00.546Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-08-25T11:03:00.812Z] ---> 49535121e823 [2023-08-25T11:03:00.812Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-08-25T11:03:01.754Z] ---> 4a75ab93b07c [2023-08-25T11:03:01.754Z] Step 20/25 : EXPOSE 59995 [2023-08-25T11:03:01.754Z] ---> Running in 6197177be380 [2023-08-25T11:03:01.754Z] Removing intermediate container 6197177be380 [2023-08-25T11:03:01.754Z] ---> 93ca5e876a95 [2023-08-25T11:03:01.754Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-08-25T11:03:01.754Z] ---> Running in 50d54f8d08d1 [2023-08-25T11:03:02.014Z] Removing intermediate container 50d54f8d08d1 [2023-08-25T11:03:02.014Z] ---> 4acc0331ebbf [2023-08-25T11:03:02.014Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:03:02.014Z] ---> Running in b398d797e476 [2023-08-25T11:03:02.014Z] Removing intermediate container b398d797e476 [2023-08-25T11:03:02.014Z] ---> 3414588b43d3 [2023-08-25T11:03:02.014Z] Step 23/25 : LABEL arch=amd64 [2023-08-25T11:03:02.014Z] ---> Running in 7ca98e6f69d4 [2023-08-25T11:03:02.014Z] Removing intermediate container 7ca98e6f69d4 [2023-08-25T11:03:02.014Z] ---> 654c0cb69205 [2023-08-25T11:03:02.014Z] Step 24/25 : LABEL git_sha=107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:03:02.271Z] ---> Running in 2f3985f5739b [2023-08-25T11:03:02.271Z] Removing intermediate container 2f3985f5739b [2023-08-25T11:03:02.271Z] ---> 4f8d1c4a6c9b [2023-08-25T11:03:02.271Z] Step 25/25 : LABEL version=3.0.1-dev.2 [2023-08-25T11:03:02.271Z] ---> Running in c8a34f11c64e [2023-08-25T11:03:02.271Z] Removing intermediate container c8a34f11c64e [2023-08-25T11:03:02.271Z] ---> cf6c6abbb0e0 [2023-08-25T11:03:02.272Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:03:02.272Z] Successfully built cf6c6abbb0e0 [2023-08-25T11:03:02.272Z] 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-08-25T11:03:02.366Z] provisioning config files... [2023-08-25T11:03:02.374Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config95360813332129313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:03:02.671Z] ---> docker-login.sh [2023-08-25T11:03:02.671Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:03:02.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:02.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:02.671Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:02.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:02.671Z] [2023-08-25T11:03:02.671Z] Login Succeeded [2023-08-25T11:03:02.671Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:03:02.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:02.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:02.671Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:02.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:02.671Z] [2023-08-25T11:03:02.671Z] Login Succeeded [2023-08-25T11:03:02.671Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:03:02.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:02.929Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:02.929Z] [2023-08-25T11:03:02.929Z] Login Succeeded [2023-08-25T11:03:02.929Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:03:02.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:02.929Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:02.929Z] [2023-08-25T11:03:02.929Z] Login Succeeded [2023-08-25T11:03:02.929Z] docker.io [2023-08-25T11:03:02.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:03.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:03.189Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:03.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:03.189Z] [2023-08-25T11:03:03.189Z] Login Succeeded [2023-08-25T11:03:03.189Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:03:03.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:03:03.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:03:03.260Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-08-25T11:03:03.260Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:03:03.260Z] latest [2023-08-25T11:03:03.260Z] 3.0.1-dev.2 [2023-08-25T11:03:03.260Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:03:03.260Z] main [2023-08-25T11:03:03.260Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:03.589Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:03.905Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:03:03.905Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-25T11:03:03.905Z] 2609c4ed1254: Preparing [2023-08-25T11:03:03.905Z] 380c72bdfea1: Preparing [2023-08-25T11:03:03.905Z] edca8fcb216f: Preparing [2023-08-25T11:03:03.905Z] 23081204f48b: Preparing [2023-08-25T11:03:03.905Z] 36b50b131297: Preparing [2023-08-25T11:03:03.905Z] 36b50b131297: Layer already exists [2023-08-25T11:03:03.905Z] 380c72bdfea1: Pushed [2023-08-25T11:03:03.905Z] edca8fcb216f: Pushed [2023-08-25T11:03:03.905Z] 23081204f48b: Pushed [2023-08-25T11:03:06.439Z] 2609c4ed1254: Pushed [2023-08-25T11:03:06.439Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b: digest: sha256:8988e8741fceda9147e7c59ea7be92cd37d6eb603c0995745845a1ef6632e0fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:06.763Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:07.080Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-08-25T11:03:07.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-25T11:03:07.081Z] 2609c4ed1254: Preparing [2023-08-25T11:03:07.081Z] 380c72bdfea1: Preparing [2023-08-25T11:03:07.081Z] edca8fcb216f: Preparing [2023-08-25T11:03:07.081Z] 23081204f48b: Preparing [2023-08-25T11:03:07.081Z] 36b50b131297: Preparing [2023-08-25T11:03:07.081Z] 380c72bdfea1: Layer already exists [2023-08-25T11:03:07.081Z] 23081204f48b: Layer already exists [2023-08-25T11:03:07.081Z] edca8fcb216f: Layer already exists [2023-08-25T11:03:07.081Z] 36b50b131297: Layer already exists [2023-08-25T11:03:07.081Z] 2609c4ed1254: Layer already exists [2023-08-25T11:03:07.081Z] latest: digest: sha256:8988e8741fceda9147e7c59ea7be92cd37d6eb603c0995745845a1ef6632e0fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:07.403Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:07.716Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.2 [2023-08-25T11:03:07.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-25T11:03:07.716Z] 2609c4ed1254: Preparing [2023-08-25T11:03:07.716Z] 380c72bdfea1: Preparing [2023-08-25T11:03:07.716Z] edca8fcb216f: Preparing [2023-08-25T11:03:07.716Z] 23081204f48b: Preparing [2023-08-25T11:03:07.716Z] 36b50b131297: Preparing [2023-08-25T11:03:07.716Z] edca8fcb216f: Layer already exists [2023-08-25T11:03:07.716Z] 36b50b131297: Layer already exists [2023-08-25T11:03:07.716Z] 2609c4ed1254: Layer already exists [2023-08-25T11:03:07.716Z] 23081204f48b: Layer already exists [2023-08-25T11:03:07.716Z] 380c72bdfea1: Layer already exists [2023-08-25T11:03:07.716Z] 3.0.1-dev.2: digest: sha256:8988e8741fceda9147e7c59ea7be92cd37d6eb603c0995745845a1ef6632e0fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:08.031Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:08.334Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:03:08.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-25T11:03:08.334Z] 2609c4ed1254: Preparing [2023-08-25T11:03:08.334Z] 380c72bdfea1: Preparing [2023-08-25T11:03:08.334Z] edca8fcb216f: Preparing [2023-08-25T11:03:08.334Z] 23081204f48b: Preparing [2023-08-25T11:03:08.334Z] 36b50b131297: Preparing [2023-08-25T11:03:08.334Z] 2609c4ed1254: Layer already exists [2023-08-25T11:03:08.334Z] 23081204f48b: Layer already exists [2023-08-25T11:03:08.334Z] edca8fcb216f: Layer already exists [2023-08-25T11:03:08.334Z] 380c72bdfea1: Layer already exists [2023-08-25T11:03:08.334Z] 36b50b131297: Layer already exists [2023-08-25T11:03:08.334Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2: digest: sha256:8988e8741fceda9147e7c59ea7be92cd37d6eb603c0995745845a1ef6632e0fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:08.639Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:08.962Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-08-25T11:03:08.962Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-25T11:03:08.962Z] 2609c4ed1254: Preparing [2023-08-25T11:03:08.962Z] 380c72bdfea1: Preparing [2023-08-25T11:03:08.962Z] edca8fcb216f: Preparing [2023-08-25T11:03:08.962Z] 23081204f48b: Preparing [2023-08-25T11:03:08.962Z] 36b50b131297: Preparing [2023-08-25T11:03:08.962Z] 23081204f48b: Layer already exists [2023-08-25T11:03:08.962Z] 36b50b131297: Layer already exists [2023-08-25T11:03:08.962Z] 2609c4ed1254: Layer already exists [2023-08-25T11:03:08.962Z] 380c72bdfea1: Layer already exists [2023-08-25T11:03:08.962Z] edca8fcb216f: Layer already exists [2023-08-25T11:03:08.962Z] main: digest: sha256:8988e8741fceda9147e7c59ea7be92cd37d6eb603c0995745845a1ef6632e0fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:03:09.014Z] ===================================================== [Pipeline] echo [2023-08-25T11:03:09.027Z] taggedImages: [2023-08-25T11:03:09.027Z] - nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:03:09.027Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-08-25T11:03:09.027Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.2 [2023-08-25T11:03:09.027Z] - nexus3.edgexfoundry.org:10004/device-uart:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:03:09.027Z] - 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-08-25T11:03:09.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:03:09.411Z] [2023-08-25T11:03:09.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:09.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:03:09.710Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T11:03:09.710Z] 5eb5b503b376: Pulling fs layer [2023-08-25T11:03:09.710Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T11:03:09.710Z] ec43610c2a17: Pulling fs layer [2023-08-25T11:03:09.710Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T11:03:09.710Z] 33b1e0a273af: Pulling fs layer [2023-08-25T11:03:09.710Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T11:03:09.710Z] 2f39f015ded8: Pulling fs layer [2023-08-25T11:03:09.710Z] 5d3b04190fa2: Waiting [2023-08-25T11:03:09.710Z] 3a2ae6a8a46f: Waiting [2023-08-25T11:03:09.710Z] 33b1e0a273af: Waiting [2023-08-25T11:03:09.710Z] 5c69ac0246d0: Download complete [2023-08-25T11:03:09.710Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T11:03:09.710Z] 3a2ae6a8a46f: Download complete [2023-08-25T11:03:09.710Z] 33b1e0a273af: Verifying Checksum [2023-08-25T11:03:09.710Z] 33b1e0a273af: Download complete [2023-08-25T11:03:09.710Z] 5d3b04190fa2: Download complete [2023-08-25T11:03:09.968Z] ec43610c2a17: Verifying Checksum [2023-08-25T11:03:09.968Z] ec43610c2a17: Download complete [2023-08-25T11:03:09.968Z] 5eb5b503b376: Verifying Checksum [2023-08-25T11:03:09.968Z] 5eb5b503b376: Download complete [2023-08-25T11:03:10.533Z] 2f39f015ded8: Verifying Checksum [2023-08-25T11:03:10.533Z] 2f39f015ded8: Download complete [2023-08-25T11:03:11.100Z] 5eb5b503b376: Pull complete [2023-08-25T11:03:11.358Z] 5c69ac0246d0: Pull complete [2023-08-25T11:03:11.616Z] ec43610c2a17: Pull complete [2023-08-25T11:03:11.616Z] 3a2ae6a8a46f: Pull complete [2023-08-25T11:03:11.873Z] 33b1e0a273af: Pull complete [2023-08-25T11:03:11.873Z] 5d3b04190fa2: Pull complete [2023-08-25T11:03:16.052Z] 2f39f015ded8: Pull complete [2023-08-25T11:03:16.052Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T11:03:16.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:03:16.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:03:16.129Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:03:16.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T11:03:22.402Z] $ docker top a8d75057bcc3eb2c572fde99b4ce1691c10c193ec10cd620edb0df6a82fc2336 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:03:22.771Z] ---> job-cost.sh [2023-08-25T11:03:22.771Z] lf-activate-venv: SKIPPING [2023-08-25T11:03:22.771Z] INFO: No Stack... [2023-08-25T11:03:23.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:03:23.289Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:03:23.576Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-08-25T11:03:23.577Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:03:23.589Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [2023-08-25T11:03:23.597Z] Resource [jenkins-edgexfoundry-device-uart-main-8-stack-cost] did not exist. Created. [2023-08-25T11:03:23.597Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:03:23.895Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T11:03:23.925Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:03:23.931Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:03:23.951Z] $ docker stop --time=1 a8d75057bcc3eb2c572fde99b4ce1691c10c193ec10cd620edb0df6a82fc2336 [2023-08-25T11:03:25.085Z] $ docker rm -f --volumes a8d75057bcc3eb2c572fde99b4ce1691c10c193ec10cd620edb0df6a82fc2336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T11:07:32.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4570 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-08-25T11:07:32.350Z] Running in /w/workspace/device-uart/8 [Pipeline] { [Pipeline] checkout [2023-08-25T11:07:32.393Z] The recommended git tool is: git [2023-08-25T11:07:39.711Z] using credential edgex-jenkins-ssh [2023-08-25T11:07:39.730Z] Cloning the remote Git repository [2023-08-25T11:07:39.795Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-08-25T11:07:39.926Z] > git init /w/workspace/device-uart/8 # timeout=10 [2023-08-25T11:07:40.137Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-08-25T11:07:40.139Z] > git --version # timeout=10 [2023-08-25T11:07:40.165Z] > git --version # 'git version 2.25.1' [2023-08-25T11:07:40.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T11:07:40.384Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:07:41.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-08-25T11:07:41.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:07:42.896Z] Avoid second fetch [2023-08-25T11:07:42.897Z] Checking out Revision 107fe58427ec1d433094d7ddff71861b5f8fbb1b (main) [2023-08-25T11:07:43.751Z] Commit message: "Merge pull request #23 from FelixTing/update-sdk" [2023-08-25T11:07:42.920Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T11:07:43.015Z] > git checkout -f 107fe58427ec1d433094d7ddff71861b5f8fbb1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:07:44.822Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T11:07:44.822Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:07:44.822Z] Dload Upload Total Spent Left Speed [2023-08-25T11:07:44.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-08-25T11:07:45.518Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T11:07:45.879Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-08-25T11:07:45.880Z] sudo tee /etc/docker/daemon.new [2023-08-25T11:07:45.880Z] { [2023-08-25T11:07:45.880Z] "registry-mirrors": [ [2023-08-25T11:07:45.880Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T11:07:45.880Z] ], [2023-08-25T11:07:45.880Z] "bip": "10.250.0.254/24", [2023-08-25T11:07:45.880Z] "hosts": [ [2023-08-25T11:07:45.880Z] "tcp://0.0.0.0:5555", [2023-08-25T11:07:45.880Z] "unix:///var/run/docker.sock" [2023-08-25T11:07:45.880Z] ], [2023-08-25T11:07:45.880Z] "mtu": 1458, [2023-08-25T11:07:45.880Z] "selinux-enabled": true, [2023-08-25T11:07:45.880Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T11:07:45.880Z] } [Pipeline] sh [2023-08-25T11:07:46.227Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T11:07:46.585Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:08:04.911Z] provisioning config files... [2023-08-25T11:08:04.948Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/8@tmp/config1034511383345012157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:08:05.324Z] ---> docker-login.sh [2023-08-25T11:08:05.324Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:08:05.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:08:06.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:08:06.185Z] Configure a credential helper to remove this warning. See [2023-08-25T11:08:06.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:08:06.185Z] [2023-08-25T11:08:06.185Z] Login Succeeded [2023-08-25T11:08:06.185Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:08:06.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:08:06.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:08:06.458Z] Configure a credential helper to remove this warning. See [2023-08-25T11:08:06.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:08:06.458Z] [2023-08-25T11:08:06.458Z] Login Succeeded [2023-08-25T11:08:06.458Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:08:06.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:08:07.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:08:07.000Z] Configure a credential helper to remove this warning. See [2023-08-25T11:08:07.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:08:07.000Z] [2023-08-25T11:08:07.000Z] Login Succeeded [2023-08-25T11:08:07.000Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:08:07.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:08:07.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:08:07.275Z] Configure a credential helper to remove this warning. See [2023-08-25T11:08:07.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:08:07.275Z] [2023-08-25T11:08:07.275Z] Login Succeeded [2023-08-25T11:08:07.275Z] docker.io [2023-08-25T11:08:07.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:08:07.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:08:07.818Z] Configure a credential helper to remove this warning. See [2023-08-25T11:08:07.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:08:07.818Z] [2023-08-25T11:08:07.818Z] Login Succeeded [2023-08-25T11:08:07.818Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:08:07.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:08:08.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:08:08.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:08:08.212Z] ========================================================= [2023-08-25T11:08:08.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T11:08:08.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:08:08.591Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T11:08:08.865Z] Sending build context to Docker daemon 5.59MB [2023-08-25T11:08:08.866Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:08:08.866Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:08:09.139Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T11:08:09.139Z] edb6bdbacee9: Pulling fs layer [2023-08-25T11:08:09.139Z] 5f9638ab2659: Pulling fs layer [2023-08-25T11:08:09.139Z] 8d51d6327a98: Pulling fs layer [2023-08-25T11:08:09.139Z] 8b374f2dd631: Pulling fs layer [2023-08-25T11:08:09.139Z] ec14aa9079de: Pulling fs layer [2023-08-25T11:08:09.139Z] 2f466654f4bb: Pulling fs layer [2023-08-25T11:08:09.139Z] 554e91adad29: Pulling fs layer [2023-08-25T11:08:09.139Z] 8b374f2dd631: Waiting [2023-08-25T11:08:09.139Z] ec14aa9079de: Waiting [2023-08-25T11:08:09.139Z] 2f466654f4bb: Waiting [2023-08-25T11:08:09.139Z] 554e91adad29: Waiting [2023-08-25T11:08:09.139Z] 5f9638ab2659: Verifying Checksum [2023-08-25T11:08:09.139Z] 5f9638ab2659: Download complete [2023-08-25T11:08:09.139Z] 8b374f2dd631: Verifying Checksum [2023-08-25T11:08:09.139Z] 8b374f2dd631: Download complete [2023-08-25T11:08:09.139Z] ec14aa9079de: Verifying Checksum [2023-08-25T11:08:09.139Z] ec14aa9079de: Download complete [2023-08-25T11:08:09.139Z] edb6bdbacee9: Verifying Checksum [2023-08-25T11:08:09.139Z] edb6bdbacee9: Download complete [2023-08-25T11:08:10.592Z] edb6bdbacee9: Pull complete [2023-08-25T11:08:10.592Z] 554e91adad29: Verifying Checksum [2023-08-25T11:08:10.592Z] 554e91adad29: Download complete [2023-08-25T11:08:10.866Z] 5f9638ab2659: Pull complete [2023-08-25T11:08:11.849Z] 2f466654f4bb: Verifying Checksum [2023-08-25T11:08:11.849Z] 2f466654f4bb: Download complete [2023-08-25T11:08:11.849Z] 8d51d6327a98: Verifying Checksum [2023-08-25T11:08:11.849Z] 8d51d6327a98: Download complete [2023-08-25T11:08:24.196Z] 8d51d6327a98: Pull complete [2023-08-25T11:08:24.196Z] 8b374f2dd631: Pull complete [2023-08-25T11:08:24.196Z] ec14aa9079de: Pull complete [2023-08-25T11:08:29.562Z] 2f466654f4bb: Pull complete [2023-08-25T11:08:31.520Z] 554e91adad29: Pull complete [2023-08-25T11:08:31.520Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T11:08:31.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T11:08:31.520Z] ---> 1e15ea492957 [2023-08-25T11:08:31.520Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:08:33.492Z] ---> Running in f38578ed1340 [2023-08-25T11:08:33.763Z] Removing intermediate container f38578ed1340 [2023-08-25T11:08:33.763Z] ---> 43d7c6d52ddf [2023-08-25T11:08:33.763Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:08:33.763Z] ---> Running in c2ce1b43e464 [2023-08-25T11:08:34.032Z] Removing intermediate container c2ce1b43e464 [2023-08-25T11:08:34.032Z] ---> 5bf9f151b2e1 [2023-08-25T11:08:34.032Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:08:34.308Z] ---> Running in ff920033f9ca [2023-08-25T11:08:34.592Z] Removing intermediate container ff920033f9ca [2023-08-25T11:08:34.592Z] ---> 0bdec5f8f31d [2023-08-25T11:08:34.592Z] Step 6/12 : WORKDIR /device-uart [2023-08-25T11:08:34.592Z] ---> Running in 8a7f17ce7663 [2023-08-25T11:08:35.193Z] Removing intermediate container 8a7f17ce7663 [2023-08-25T11:08:35.193Z] ---> bed0816b386a [2023-08-25T11:08:35.193Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:08:35.193Z] ---> Running in 4e219ad3a883 [2023-08-25T11:08:36.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:08:37.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:08:38.636Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:08:38.636Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:08:38.636Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:08:38.636Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:08:38.636Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:08:38.908Z] OK: 268 MiB in 57 packages [2023-08-25T11:08:40.880Z] Removing intermediate container 4e219ad3a883 [2023-08-25T11:08:40.880Z] ---> 711fbac688f7 [2023-08-25T11:08:40.880Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-25T11:08:41.211Z] ---> 38056d6ac9bd [2023-08-25T11:08:41.211Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:08:41.516Z] ---> Running in 55cb6b00cb05 [2023-08-25T11:10:03.244Z] Removing intermediate container 55cb6b00cb05 [2023-08-25T11:10:03.244Z] ---> d11a64722459 [2023-08-25T11:10:03.244Z] Step 10/12 : COPY . . [2023-08-25T11:10:03.244Z] ---> c1d77a34a467 [2023-08-25T11:10:03.244Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:10:03.244Z] ---> Running in 09d2c0b7d803 [2023-08-25T11:10:03.244Z] Removing intermediate container 09d2c0b7d803 [2023-08-25T11:10:03.244Z] ---> f67977e17947 [2023-08-25T11:10:03.244Z] Step 12/12 : RUN ${MAKE} [2023-08-25T11:10:03.244Z] ---> Running in 336afff9fce5 [2023-08-25T11:10:03.244Z] noop [2023-08-25T11:10:03.244Z] Removing intermediate container 336afff9fce5 [2023-08-25T11:10:03.244Z] ---> 15bb303ec03b [2023-08-25T11:10:03.244Z] Successfully built 15bb303ec03b [2023-08-25T11:10:03.244Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:10:03.609Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:10:03.609Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:10:03.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-4570 does not seem to be running inside a container [2023-08-25T11:10:03.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@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-08-25T11:10:05.381Z] $ docker top 39c8507dd2575a643826442a4b424f0e2d8b81c8781c78d772bae461b5f5b790 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:10:06.265Z] + go version [2023-08-25T11:10:06.265Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T11:10:06.281Z] $ docker stop --time=1 39c8507dd2575a643826442a4b424f0e2d8b81c8781c78d772bae461b5f5b790 [2023-08-25T11:10:08.015Z] $ docker rm -f --volumes 39c8507dd2575a643826442a4b424f0e2d8b81c8781c78d772bae461b5f5b790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:10:08.622Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:10:08.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:10:08.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-4570 does not seem to be running inside a container [2023-08-25T11:10:08.900Z] $ 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/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@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-08-25T11:10:10.243Z] $ docker top 37916f38f99276dd042c45dfd1f88e8d15c8d802687cf89461b57942294f154b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:10:11.116Z] + git config --global --add safe.directory /w/workspace/device-uart/8 [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:10:11.785Z] + make test [2023-08-25T11:10:11.785Z] go test ./... -coverprofile=coverage.out [2023-08-25T11:10:50.702Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-08-25T11:12:57.392Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-08-25T11:12:57.392Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-08-25T11:12:57.392Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T11:12:57.392Z] go vet ./... [2023-08-25T11:13:24.086Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:13:24.086Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:13:24.086Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:13:24.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:13:24.108Z] $ docker stop --time=1 37916f38f99276dd042c45dfd1f88e8d15c8d802687cf89461b57942294f154b [2023-08-25T11:13:26.521Z] $ docker rm -f --volumes 37916f38f99276dd042c45dfd1f88e8d15c8d802687cf89461b57942294f154b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:13:27.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:13:27.650Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T11:13:28.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:13:28.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:13:28.725Z] + ls -al . [2023-08-25T11:13:28.725Z] total 140 [2023-08-25T11:13:28.725Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 11:10 . [2023-08-25T11:13:28.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:07 .. [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:07 .dockerignore [2023-08-25T11:13:28.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:07 .git [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 11:07 .gitignore [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:07 .golangci.yml [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 11:07 Attribution.txt [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 11:07 Dockerfile [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:07 GOVERNANCE.md [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 11:07 Jenkinsfile [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:07 LICENSE [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 25 11:07 Makefile [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 11:07 OWNERS.md [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 11:07 README.md [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION [2023-08-25T11:13:28.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:07 bin [2023-08-25T11:13:28.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:07 cmd [2023-08-25T11:13:28.725Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 11:10 coverage.out [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 11:07 go.mod [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 11:07 go.sum [2023-08-25T11:13:28.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:07 internal [2023-08-25T11:13:28.725Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:29.056Z] + 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=107fe58427ec1d433094d7ddff71861b5f8fbb1b --label arch=arm64 --label version=3.0.1-dev.2 . [2023-08-25T11:13:29.321Z] Sending build context to Docker daemon 5.591MB [2023-08-25T11:13:29.321Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:13:29.321Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T11:13:29.321Z] ---> 15bb303ec03b [2023-08-25T11:13:29.321Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:13:29.321Z] ---> Running in 2001a71caa03 [2023-08-25T11:13:29.590Z] Removing intermediate container 2001a71caa03 [2023-08-25T11:13:29.590Z] ---> 373bd3df8219 [2023-08-25T11:13:29.590Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:13:29.859Z] ---> Running in c0daefd20dfb [2023-08-25T11:13:30.129Z] Removing intermediate container c0daefd20dfb [2023-08-25T11:13:30.129Z] ---> 77a677d3c518 [2023-08-25T11:13:30.129Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:13:30.129Z] ---> Running in a0ab7e410eda [2023-08-25T11:13:30.396Z] Removing intermediate container a0ab7e410eda [2023-08-25T11:13:30.396Z] ---> 630f445f7b29 [2023-08-25T11:13:30.396Z] Step 6/25 : WORKDIR /device-uart [2023-08-25T11:13:30.396Z] ---> Running in 360d8722e2a6 [2023-08-25T11:13:30.664Z] Removing intermediate container 360d8722e2a6 [2023-08-25T11:13:30.664Z] ---> 4d22d7e0547e [2023-08-25T11:13:30.664Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:13:30.934Z] ---> Running in 344a060079fb [2023-08-25T11:13:31.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:13:32.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:13:33.128Z] OK: 268 MiB in 57 packages [2023-08-25T11:13:34.088Z] Removing intermediate container 344a060079fb [2023-08-25T11:13:34.088Z] ---> 3f55773f71b9 [2023-08-25T11:13:34.088Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-25T11:13:34.355Z] ---> e3b758789a2b [2023-08-25T11:13:34.355Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:13:34.624Z] ---> Running in db441eadf9cb [2023-08-25T11:13:38.883Z] Removing intermediate container db441eadf9cb [2023-08-25T11:13:38.883Z] ---> d5c1f297c03b [2023-08-25T11:13:38.883Z] Step 10/25 : COPY . . [2023-08-25T11:13:39.151Z] ---> 91f7aaaf0178 [2023-08-25T11:13:39.151Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:13:39.151Z] ---> Running in d9db430bca97 [2023-08-25T11:13:39.418Z] Removing intermediate container d9db430bca97 [2023-08-25T11:13:39.418Z] ---> 1c2dce710579 [2023-08-25T11:13:39.418Z] Step 12/25 : RUN ${MAKE} [2023-08-25T11:13:39.418Z] ---> Running in 74c5c7c0d9ce [2023-08-25T11:13:40.375Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.2 -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-08-25T11:16:02.081Z] Removing intermediate container 74c5c7c0d9ce [2023-08-25T11:16:02.081Z] ---> da946e39568e [2023-08-25T11:16:02.081Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T11:16:02.081Z] 3.17: Pulling from library/alpine [2023-08-25T11:16:02.081Z] 4060ece20d7a: Pulling fs layer [2023-08-25T11:16:02.081Z] 4060ece20d7a: Verifying Checksum [2023-08-25T11:16:02.081Z] 4060ece20d7a: Download complete [2023-08-25T11:16:02.081Z] 4060ece20d7a: Pull complete [2023-08-25T11:16:02.081Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:16:02.081Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:16:02.081Z] ---> 8650cd65339b [2023-08-25T11:16:02.081Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-25T11:16:02.081Z] ---> Running in 314d8d9ba287 [2023-08-25T11:16:02.081Z] Removing intermediate container 314d8d9ba287 [2023-08-25T11:16:02.081Z] ---> 0a0acad3eb87 [2023-08-25T11:16:02.081Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:16:02.081Z] ---> Running in dd94960b904a [2023-08-25T11:16:02.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:16:02.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:16:02.081Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:16:02.081Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:16:02.081Z] OK: 8 MiB in 16 packages [2023-08-25T11:16:02.081Z] Removing intermediate container dd94960b904a [2023-08-25T11:16:02.081Z] ---> 0d2e4d59848a [2023-08-25T11:16:02.081Z] Step 16/25 : WORKDIR / [2023-08-25T11:16:02.081Z] ---> Running in 885ca2aa05bc [2023-08-25T11:16:02.081Z] Removing intermediate container 885ca2aa05bc [2023-08-25T11:16:02.081Z] ---> c04954de8b42 [2023-08-25T11:16:02.081Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-08-25T11:16:02.081Z] ---> f76ef720467c [2023-08-25T11:16:02.081Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-08-25T11:16:02.081Z] ---> 4b346520438f [2023-08-25T11:16:02.081Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-08-25T11:16:02.081Z] ---> c41f3e7efd1b [2023-08-25T11:16:02.081Z] Step 20/25 : EXPOSE 59995 [2023-08-25T11:16:02.081Z] ---> Running in 6c042282990d [2023-08-25T11:16:02.081Z] Removing intermediate container 6c042282990d [2023-08-25T11:16:02.081Z] ---> 8a842fce6a6a [2023-08-25T11:16:02.081Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-08-25T11:16:02.081Z] ---> Running in d31a34adf39a [2023-08-25T11:16:02.081Z] Removing intermediate container d31a34adf39a [2023-08-25T11:16:02.081Z] ---> 7599a5a04cbb [2023-08-25T11:16:02.081Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:16:02.081Z] ---> Running in 4bd9ffd0dfde [2023-08-25T11:16:02.348Z] Removing intermediate container 4bd9ffd0dfde [2023-08-25T11:16:02.349Z] ---> 7055a0f5f79d [2023-08-25T11:16:02.349Z] Step 23/25 : LABEL arch=arm64 [2023-08-25T11:16:02.349Z] ---> Running in 3f3bb8b46b26 [2023-08-25T11:16:02.614Z] Removing intermediate container 3f3bb8b46b26 [2023-08-25T11:16:02.614Z] ---> 3d66eb8d6bad [2023-08-25T11:16:02.614Z] Step 24/25 : LABEL git_sha=107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:16:02.884Z] ---> Running in a1ecbecb2d52 [2023-08-25T11:16:03.150Z] Removing intermediate container a1ecbecb2d52 [2023-08-25T11:16:03.150Z] ---> 433aa19c0861 [2023-08-25T11:16:03.150Z] Step 25/25 : LABEL version=3.0.1-dev.2 [2023-08-25T11:16:03.150Z] ---> Running in 8ae21ad3d932 [2023-08-25T11:16:03.415Z] Removing intermediate container 8ae21ad3d932 [2023-08-25T11:16:03.415Z] ---> fcf101a7c93b [2023-08-25T11:16:03.415Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:16:03.415Z] Successfully built fcf101a7c93b [2023-08-25T11:16:03.415Z] 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-08-25T11:16:03.508Z] provisioning config files... [2023-08-25T11:16:03.520Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/8@tmp/config10876640666945394666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:16:03.843Z] ---> docker-login.sh [2023-08-25T11:16:03.843Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:16:03.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:16:04.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:16:04.112Z] Configure a credential helper to remove this warning. See [2023-08-25T11:16:04.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:16:04.112Z] [2023-08-25T11:16:04.112Z] Login Succeeded [2023-08-25T11:16:04.112Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:16:04.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:16:04.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:16:04.379Z] Configure a credential helper to remove this warning. See [2023-08-25T11:16:04.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:16:04.379Z] [2023-08-25T11:16:04.379Z] Login Succeeded [2023-08-25T11:16:04.379Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:16:04.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:16:04.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:16:04.645Z] Configure a credential helper to remove this warning. See [2023-08-25T11:16:04.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:16:04.645Z] [2023-08-25T11:16:04.645Z] Login Succeeded [2023-08-25T11:16:04.645Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:16:04.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:16:05.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:16:05.178Z] Configure a credential helper to remove this warning. See [2023-08-25T11:16:05.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:16:05.178Z] [2023-08-25T11:16:05.178Z] Login Succeeded [2023-08-25T11:16:05.178Z] docker.io [2023-08-25T11:16:05.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:16:05.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:16:05.709Z] Configure a credential helper to remove this warning. See [2023-08-25T11:16:05.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:16:05.709Z] [2023-08-25T11:16:05.709Z] Login Succeeded [2023-08-25T11:16:05.709Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:16:05.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:16:05.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:16:05.777Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-08-25T11:16:05.777Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:16:05.777Z] latest [2023-08-25T11:16:05.777Z] 3.0.1-dev.2 [2023-08-25T11:16:05.777Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:16:05.777Z] main [2023-08-25T11:16:05.777Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:06.120Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:06.460Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:16:06.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-25T11:16:06.460Z] 699be7b7faf8: Preparing [2023-08-25T11:16:06.460Z] 1dc16c0fda38: Preparing [2023-08-25T11:16:06.460Z] 06599182c5da: Preparing [2023-08-25T11:16:06.460Z] 85f214732ddd: Preparing [2023-08-25T11:16:06.460Z] d2d9d24a8c2a: Preparing [2023-08-25T11:16:06.460Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:16:06.727Z] 1dc16c0fda38: Pushed [2023-08-25T11:16:06.727Z] 85f214732ddd: Pushed [2023-08-25T11:16:06.727Z] 06599182c5da: Pushed [2023-08-25T11:16:13.354Z] 699be7b7faf8: Pushed [2023-08-25T11:16:13.354Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b: digest: sha256:f4fca12eae2fe6f248e50b772b254d32e02315ee94243ec855334e3ea999f813 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:13.698Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:14.051Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-08-25T11:16:14.051Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-25T11:16:14.051Z] 699be7b7faf8: Preparing [2023-08-25T11:16:14.051Z] 1dc16c0fda38: Preparing [2023-08-25T11:16:14.051Z] 06599182c5da: Preparing [2023-08-25T11:16:14.051Z] 85f214732ddd: Preparing [2023-08-25T11:16:14.051Z] d2d9d24a8c2a: Preparing [2023-08-25T11:16:14.051Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:16:14.051Z] 1dc16c0fda38: Layer already exists [2023-08-25T11:16:14.051Z] 699be7b7faf8: Layer already exists [2023-08-25T11:16:14.051Z] 85f214732ddd: Layer already exists [2023-08-25T11:16:14.051Z] 06599182c5da: Layer already exists [2023-08-25T11:16:14.051Z] latest: digest: sha256:f4fca12eae2fe6f248e50b772b254d32e02315ee94243ec855334e3ea999f813 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:14.402Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:14.742Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.2 [2023-08-25T11:16:14.742Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-25T11:16:14.742Z] 699be7b7faf8: Preparing [2023-08-25T11:16:14.742Z] 1dc16c0fda38: Preparing [2023-08-25T11:16:14.742Z] 06599182c5da: Preparing [2023-08-25T11:16:14.742Z] 85f214732ddd: Preparing [2023-08-25T11:16:14.742Z] d2d9d24a8c2a: Preparing [2023-08-25T11:16:14.742Z] 06599182c5da: Layer already exists [2023-08-25T11:16:14.742Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:16:14.742Z] 1dc16c0fda38: Layer already exists [2023-08-25T11:16:14.742Z] 699be7b7faf8: Layer already exists [2023-08-25T11:16:14.742Z] 85f214732ddd: Layer already exists [2023-08-25T11:16:14.742Z] 3.0.1-dev.2: digest: sha256:f4fca12eae2fe6f248e50b772b254d32e02315ee94243ec855334e3ea999f813 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:15.122Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:15.479Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:16:15.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-25T11:16:15.479Z] 699be7b7faf8: Preparing [2023-08-25T11:16:15.479Z] 1dc16c0fda38: Preparing [2023-08-25T11:16:15.479Z] 06599182c5da: Preparing [2023-08-25T11:16:15.479Z] 85f214732ddd: Preparing [2023-08-25T11:16:15.479Z] d2d9d24a8c2a: Preparing [2023-08-25T11:16:15.479Z] 06599182c5da: Layer already exists [2023-08-25T11:16:15.479Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:16:15.479Z] 1dc16c0fda38: Layer already exists [2023-08-25T11:16:15.479Z] 85f214732ddd: Layer already exists [2023-08-25T11:16:15.479Z] 699be7b7faf8: Layer already exists [2023-08-25T11:16:15.479Z] 107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2: digest: sha256:f4fca12eae2fe6f248e50b772b254d32e02315ee94243ec855334e3ea999f813 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:15.830Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:16.188Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-08-25T11:16:16.188Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-25T11:16:16.188Z] 699be7b7faf8: Preparing [2023-08-25T11:16:16.188Z] 1dc16c0fda38: Preparing [2023-08-25T11:16:16.188Z] 06599182c5da: Preparing [2023-08-25T11:16:16.188Z] 85f214732ddd: Preparing [2023-08-25T11:16:16.188Z] d2d9d24a8c2a: Preparing [2023-08-25T11:16:16.189Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:16:16.189Z] 1dc16c0fda38: Layer already exists [2023-08-25T11:16:16.189Z] 699be7b7faf8: Layer already exists [2023-08-25T11:16:16.189Z] 06599182c5da: Layer already exists [2023-08-25T11:16:16.189Z] 85f214732ddd: Layer already exists [2023-08-25T11:16:16.457Z] main: digest: sha256:f4fca12eae2fe6f248e50b772b254d32e02315ee94243ec855334e3ea999f813 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:16:16.522Z] ===================================================== [Pipeline] echo [2023-08-25T11:16:16.535Z] taggedImages: [2023-08-25T11:16:16.535Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b [2023-08-25T11:16:16.535Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-08-25T11:16:16.535Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.2 [2023-08-25T11:16:16.535Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:107fe58427ec1d433094d7ddff71861b5f8fbb1b-3.0.1-dev.2 [2023-08-25T11:16:16.535Z] - 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-08-25T11:16:16.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:16:16.896Z] [2023-08-25T11:16:16.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:17.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:16:17.223Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T11:16:17.223Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T11:16:17.223Z] 04944245beec: Pulling fs layer [2023-08-25T11:16:17.223Z] 699f458cf7ca: Pulling fs layer [2023-08-25T11:16:17.223Z] 765212b225bb: Pulling fs layer [2023-08-25T11:16:17.223Z] f23df028b6ca: Pulling fs layer [2023-08-25T11:16:17.223Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T11:16:17.223Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T11:16:17.223Z] f23df028b6ca: Waiting [2023-08-25T11:16:17.223Z] 2437ff75d9bd: Waiting [2023-08-25T11:16:17.223Z] 765212b225bb: Waiting [2023-08-25T11:16:17.223Z] d65c8cfc05b1: Waiting [2023-08-25T11:16:17.498Z] 04944245beec: Verifying Checksum [2023-08-25T11:16:17.498Z] 04944245beec: Download complete [2023-08-25T11:16:17.498Z] 765212b225bb: Verifying Checksum [2023-08-25T11:16:17.498Z] 765212b225bb: Download complete [2023-08-25T11:16:17.498Z] f23df028b6ca: Verifying Checksum [2023-08-25T11:16:17.498Z] f23df028b6ca: Download complete [2023-08-25T11:16:17.498Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T11:16:17.498Z] d65c8cfc05b1: Download complete [2023-08-25T11:16:17.498Z] 699f458cf7ca: Verifying Checksum [2023-08-25T11:16:17.498Z] 699f458cf7ca: Download complete [2023-08-25T11:16:18.080Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T11:16:18.080Z] 8998bd30e6a1: Download complete [2023-08-25T11:16:20.025Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T11:16:20.025Z] 2437ff75d9bd: Download complete [2023-08-25T11:16:22.603Z] 8998bd30e6a1: Pull complete [2023-08-25T11:16:23.186Z] 04944245beec: Pull complete [2023-08-25T11:16:24.598Z] 699f458cf7ca: Pull complete [2023-08-25T11:16:24.598Z] 765212b225bb: Pull complete [2023-08-25T11:16:25.187Z] f23df028b6ca: Pull complete [2023-08-25T11:16:25.453Z] d65c8cfc05b1: Pull complete [2023-08-25T11:16:40.431Z] 2437ff75d9bd: Pull complete [2023-08-25T11:16:40.431Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T11:16:40.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:16:40.431Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:16:40.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-4570 does not seem to be running inside a container [2023-08-25T11:16:40.675Z] $ 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/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@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-08-25T11:16:43.061Z] $ docker top b8a4b0bc6ea6d44e20c997e9e43f643ddf5a638527cb46de3e5e1eb2b7a12257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:16:43.893Z] ---> job-cost.sh [2023-08-25T11:16:43.893Z] lf-activate-venv: SKIPPING [2023-08-25T11:16:43.893Z] INFO: No Stack... [2023-08-25T11:16:44.470Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T11:16:45.048Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:16:45.365Z] + cat /w/workspace/device-uart/8/archives/cost.csv [2023-08-25T11:16:45.365Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:16:45.428Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [2023-08-25T11:16:45.434Z] Resource [jenkins-edgexfoundry-device-uart-main-8-stack-cost] did not exist. Created. [2023-08-25T11:16:45.434Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:16:45.763Z] /w/workspace/device-uart/8@tmp/durable-c00549fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T11:16:46.093Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T11:16:46.118Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T11:16:46.162Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:16:46.172Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:16:46.185Z] $ docker stop --time=1 b8a4b0bc6ea6d44e20c997e9e43f643ddf5a638527cb46de3e5e1eb2b7a12257 [2023-08-25T11:16:47.686Z] $ docker rm -f --volumes b8a4b0bc6ea6d44e20c997e9e43f643ddf5a638527cb46de3e5e1eb2b7a12257 [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-08-25T11:16:48.063Z] provisioning config files... [2023-08-25T11:16:48.070Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17961442463544001562tmp [Pipeline] { [Pipeline] sh [2023-08-25T11:16:48.362Z] + set +x [2023-08-25T11:16:48.362Z] + curl -s https://codecov.io/bash [2023-08-25T11:16:48.362Z] + bash -s -- [2023-08-25T11:16:48.362Z] [2023-08-25T11:16:48.362Z] _____ _ [2023-08-25T11:16:48.362Z] / ____| | | [2023-08-25T11:16:48.362Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T11:16:48.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T11:16:48.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T11:16:48.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T11:16:48.362Z] Bash-1.0.6 [2023-08-25T11:16:48.362Z] [2023-08-25T11:16:48.362Z] [2023-08-25T11:16:48.362Z] ==> git version 2.25.1 found [2023-08-25T11:16:48.362Z] ==> 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-08-25T11:16:48.362Z] Release-Date: 2020-01-08 [2023-08-25T11:16:48.362Z] 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-08-25T11:16:48.362Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T11:16:48.362Z] ==> Jenkins CI detected. [2023-08-25T11:16:48.362Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-08-25T11:16:48.362Z] project root: . [2023-08-25T11:16:48.362Z] --> token set from env [2023-08-25T11:16:48.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T11:16:48.362Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T11:16:48.362Z] ==> Python coveragepy not found [2023-08-25T11:16:48.362Z] ==> Searching for coverage reports in: [2023-08-25T11:16:48.362Z] + . [2023-08-25T11:16:48.362Z] -> Found 1 reports [2023-08-25T11:16:48.362Z] ==> Detecting git/mercurial file structure [2023-08-25T11:16:48.623Z] ==> Reading reports [2023-08-25T11:16:48.623Z] + ./coverage.out bytes=10 [2023-08-25T11:16:48.623Z] ==> Appending adjustments [2023-08-25T11:16:48.623Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T11:16:48.623Z] + Found adjustments [2023-08-25T11:16:48.623Z] ==> Gzipping contents [2023-08-25T11:16:48.623Z] 4.0K /tmp/codecov.EAKqvI.gz [2023-08-25T11:16:48.623Z] ==> Uploading reports [2023-08-25T11:16:48.623Z] url: https://codecov.io [2023-08-25T11:16:48.623Z] query: branch=main&commit=107fe58427ec1d433094d7ddff71861b5f8fbb1b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:16:48.623Z] -> Pinging Codecov [2023-08-25T11:16:48.623Z] 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=107fe58427ec1d433094d7ddff71861b5f8fbb1b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:16:48.623Z] -> Uploading to [2023-08-25T11:16:48.623Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/B9AA6E0BBD74AE3A32605C7A7C664919/107fe58427ec1d433094d7ddff71861b5f8fbb1b/4ee914ec-a0a3-44a3-bcfb-292a38e7ffa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d37e9bc2c67e85c75dc7baeb96234dd7bab394ad83660a913c3b195db2df3860 [2023-08-25T11:16:48.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:16:48.623Z] Dload Upload Total Spent Left Speed [2023-08-25T11:16:48.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3350 --:--:-- --:--:-- --:--:-- 3350 [2023-08-25T11:16:48.884Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] } [2023-08-25T11:16:48.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T11:16:48.995Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T11:16:49.008Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:49.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:16:49.314Z] [2023-08-25T11:16:49.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:16:49.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:16:49.623Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T11:16:49.623Z] df9b9388f04a: Pulling fs layer [2023-08-25T11:16:49.623Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T11:16:49.623Z] 25bc292e5bac: Pulling fs layer [2023-08-25T11:16:49.623Z] 114826534d7a: Pulling fs layer [2023-08-25T11:16:49.623Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T11:16:49.624Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T11:16:49.624Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T11:16:49.624Z] 114826534d7a: Waiting [2023-08-25T11:16:49.624Z] 8a3aa393b2d8: Waiting [2023-08-25T11:16:49.624Z] 4657fd5d0bcf: Waiting [2023-08-25T11:16:49.624Z] 25bc292e5bac: Download complete [2023-08-25T11:16:49.624Z] 52dc419b0ee2: Download complete [2023-08-25T11:16:49.624Z] 4657fd5d0bcf: Download complete [2023-08-25T11:16:49.624Z] df9b9388f04a: Verifying Checksum [2023-08-25T11:16:49.883Z] df9b9388f04a: Pull complete [2023-08-25T11:16:49.883Z] 52dc419b0ee2: Pull complete [2023-08-25T11:16:49.883Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T11:16:49.883Z] 6ad1cebc031e: Download complete [2023-08-25T11:16:50.150Z] 25bc292e5bac: Pull complete [2023-08-25T11:16:50.407Z] 114826534d7a: Verifying Checksum [2023-08-25T11:16:50.407Z] 114826534d7a: Download complete [2023-08-25T11:16:50.665Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T11:16:50.665Z] 8a3aa393b2d8: Download complete [2023-08-25T11:16:53.954Z] 114826534d7a: Pull complete [2023-08-25T11:16:53.954Z] 4657fd5d0bcf: Pull complete [2023-08-25T11:16:53.954Z] 6ad1cebc031e: Pull complete [2023-08-25T11:16:57.235Z] 8a3aa393b2d8: Pull complete [2023-08-25T11:16:57.235Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T11:16:57.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:16:57.235Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:16:57.325Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:16:57.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-25T11:17:01.529Z] $ docker top d85b1bd450aa7e480ac9d6e7fb19d3850f2453b029e737c3c62529b44bf7788e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T11:17:01.591Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-08-25T11:17:01.872Z] + set -o pipefail [2023-08-25T11:17:01.872Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-08-25T11:17:06.069Z] [2023-08-25T11:17:06.069Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-08-25T11:17:06.069Z] [2023-08-25T11:17:06.069Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/f6f32b33-bcd0-4e73-beae-77664ea9931c [2023-08-25T11:17:06.069Z] [2023-08-25T11:17:06.069Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T11:17:06.069Z] [2023-08-25T11:17:06.329Z] [2023-08-25T11:17:06.329Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T11:17:06.329Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T11:17:06.329Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T11:17:06.342Z] $ docker stop --time=1 d85b1bd450aa7e480ac9d6e7fb19d3850f2453b029e737c3c62529b44bf7788e [2023-08-25T11:17:10.568Z] $ docker rm -f --volumes d85b1bd450aa7e480ac9d6e7fb19d3850f2453b029e737c3c62529b44bf7788e [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-08-25T11:17:11.294Z] + git log --format=format:%s -1 107fe58427ec1d433094d7ddff71861b5f8fbb1b [Pipeline] sh [2023-08-25T11:17:11.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:17:11.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:11.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:17:11.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:17:11.965Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:17:11.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:17:12.428Z] $ docker top 29bc90e932adcda19eb8129b1f2c00dc39c38b64a65cf57b34709195371fc9d0 -eo pid,comm [2023-08-25T11:17:12.476Z] 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-08-25T11:17:12.476Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:17:12.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:17:12.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:17:12.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:17:12.643Z] $ docker exec 29bc90e932adcda19eb8129b1f2c00dc39c38b64a65cf57b34709195371fc9d0 ssh-agent [2023-08-25T11:17:12.750Z] SSH_AUTH_SOCK=/tmp/ssh-AeBYO7wVQ07l/agent.33 [2023-08-25T11:17:12.750Z] SSH_AGENT_PID=39 [2023-08-25T11:17:12.756Z] Running ssh-add (command line suppressed) [2023-08-25T11:17:12.862Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1752523313120139172.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1752523313120139172.key) [2023-08-25T11:17:12.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:17:13.167Z] + git semver tag [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,338 [run_tag] DEBUG tag force:False [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,338 [check_head_tag] DEBUG check head tag [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,339 [execute] INFO git cat-file --batch-check [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,343 [execute] INFO git cat-file --batch [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,349 [execute] INFO git tag -a v3.0.1-dev.2 -m v3.0.1-dev.2 [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,350 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.2', '-m', 'v3.0.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:17:13.427Z] 2023-08-25 11:17:13,354 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:13.427Z] 3.0.1-dev.2 [Pipeline] } [2023-08-25T11:17:13.439Z] $ docker exec --env ******** --env ******** 29bc90e932adcda19eb8129b1f2c00dc39c38b64a65cf57b34709195371fc9d0 ssh-agent -k [2023-08-25T11:17:13.537Z] unset SSH_AUTH_SOCK; [2023-08-25T11:17:13.537Z] unset SSH_AGENT_PID; [2023-08-25T11:17:13.538Z] echo Agent pid 39 killed; [2023-08-25T11:17:13.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:17:13.860Z] + git semver [Pipeline] } [2023-08-25T11:17:14.135Z] $ docker stop --time=1 29bc90e932adcda19eb8129b1f2c00dc39c38b64a65cf57b34709195371fc9d0 [2023-08-25T11:17:15.420Z] $ docker rm -f --volumes 29bc90e932adcda19eb8129b1f2c00dc39c38b64a65cf57b34709195371fc9d0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:15.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:17:15.818Z] [2023-08-25T11:17:15.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:16.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:17:16.143Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T11:17:16.143Z] ab5ef0e58194: Pulling fs layer [2023-08-25T11:17:16.143Z] 9712f1f96733: Pulling fs layer [2023-08-25T11:17:16.143Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T11:17:16.143Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T11:17:16.143Z] e9a5061849ea: Pulling fs layer [2023-08-25T11:17:16.143Z] d747dcd14b5f: Pulling fs layer [2023-08-25T11:17:16.143Z] 2de7ff778b66: Pulling fs layer [2023-08-25T11:17:16.143Z] d747dcd14b5f: Waiting [2023-08-25T11:17:16.143Z] 0d9ebad4ef96: Waiting [2023-08-25T11:17:16.143Z] 2de7ff778b66: Waiting [2023-08-25T11:17:16.143Z] e9a5061849ea: Waiting [2023-08-25T11:17:16.714Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T11:17:16.714Z] 63f879dbbcfc: Download complete [2023-08-25T11:17:16.714Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T11:17:16.714Z] 0d9ebad4ef96: Download complete [2023-08-25T11:17:16.714Z] d747dcd14b5f: Verifying Checksum [2023-08-25T11:17:16.714Z] d747dcd14b5f: Download complete [2023-08-25T11:17:16.714Z] ab5ef0e58194: Verifying Checksum [2023-08-25T11:17:16.714Z] ab5ef0e58194: Download complete [2023-08-25T11:17:16.714Z] e9a5061849ea: Verifying Checksum [2023-08-25T11:17:16.714Z] e9a5061849ea: Download complete [2023-08-25T11:17:16.972Z] 2de7ff778b66: Verifying Checksum [2023-08-25T11:17:16.972Z] 2de7ff778b66: Download complete [2023-08-25T11:17:19.500Z] ab5ef0e58194: Pull complete [2023-08-25T11:17:19.500Z] 9712f1f96733: Pull complete [2023-08-25T11:17:20.065Z] 63f879dbbcfc: Pull complete [2023-08-25T11:17:24.250Z] 0d9ebad4ef96: Pull complete [2023-08-25T11:17:24.250Z] e9a5061849ea: Pull complete [2023-08-25T11:17:24.250Z] d747dcd14b5f: Pull complete [2023-08-25T11:17:25.627Z] 2de7ff778b66: Pull complete [2023-08-25T11:17:25.627Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T11:17:25.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:17:25.627Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:17:25.715Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:17:25.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-25T11:17:32.037Z] $ docker top 04c7d0ff504ae8b716d8d8545cae5f76b48353d1e68e69f69bd24315d3b44e31 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:17:32.108Z] provisioning config files... [2023-08-25T11:17:32.114Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13676210921557068795tmp [2023-08-25T11:17:32.123Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17549766169594762118tmp [2023-08-25T11:17:32.131Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6181205105502595819tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:17:32.148Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:32.431Z] ---> sigul-configuration.sh [2023-08-25T11:17:32.431Z] gpg: directory `/root/.gnupg' created [2023-08-25T11:17:32.431Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T11:17:32.431Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T11:17:32.431Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T11:17:32.431Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T11:17:32.431Z] gpg: CAST5 encrypted data [2023-08-25T11:17:32.431Z] gpg: encrypted with 1 passphrase [2023-08-25T11:17:32.431Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T11:17:32.715Z] + mkdir /home/jenkins [2023-08-25T11:17:32.715Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T11:17:32.999Z] + 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-08-25T11:17:33.007Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:33.292Z] ---> sigul-install.sh [2023-08-25T11:17:33.292Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T11:17:33.576Z] + git tag --list [2023-08-25T11:17:33.577Z] v0.0.0 [2023-08-25T11:17:33.577Z] v0.0.1-dev.1 [2023-08-25T11:17:33.577Z] v0.0.1-dev.2 [2023-08-25T11:17:33.577Z] v0.0.1-dev.3 [2023-08-25T11:17:33.577Z] v0.0.1-dev.4 [2023-08-25T11:17:33.577Z] v3.0.0 [2023-08-25T11:17:33.577Z] v3.0.1-dev.1 [2023-08-25T11:17:33.577Z] v3.0.1-dev.2 [Pipeline] sh [2023-08-25T11:17:33.866Z] + lftools sign git-tag v3.0.1-dev.2 [2023-08-25T11:17:34.434Z] Signing Git tag with Sigul... [2023-08-25T11:17:34.434Z] Signing v3.0.1-dev.2 [Pipeline] echo [2023-08-25T11:17:34.702Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:34.987Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T11:17:34.994Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T11:17:35.019Z] $ docker stop --time=1 04c7d0ff504ae8b716d8d8545cae5f76b48353d1e68e69f69bd24315d3b44e31 [2023-08-25T11:17:36.322Z] $ docker rm -f --volumes 04c7d0ff504ae8b716d8d8545cae5f76b48353d1e68e69f69bd24315d3b44e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T11:17:36.719Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:17:36.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:37.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:17:37.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:17:37.090Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:17:37.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:17:37.453Z] $ docker top 5580cfa08366927fe572ce99d2b7b796b48fcadc05abe2bdb21616e65936ffe1 -eo pid,comm [2023-08-25T11:17:37.500Z] 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-08-25T11:17:37.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:17:37.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:17:37.534Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:17:37.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:17:37.658Z] $ docker exec 5580cfa08366927fe572ce99d2b7b796b48fcadc05abe2bdb21616e65936ffe1 ssh-agent [2023-08-25T11:17:37.761Z] SSH_AUTH_SOCK=/tmp/ssh-IeRFfGK7cbAg/agent.32 [2023-08-25T11:17:37.761Z] SSH_AGENT_PID=38 [2023-08-25T11:17:37.765Z] Running ssh-add (command line suppressed) [2023-08-25T11:17:37.861Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9157216976756809576.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9157216976756809576.key) [2023-08-25T11:17:37.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:17:38.158Z] + git semver bump pre [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [bump_version] DEBUG bumping version:3.0.1-dev.2 on axis:pre with prefix:dev [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [bump_version] DEBUG bumped version:3.0.1-dev.3 [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [write_version] DEBUG write version:3.0.1-dev.3 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,336 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,339 [execute] INFO git cat-file --batch-check [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,344 [execute] INFO git cat-file --batch [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:17:38.417Z] 2023-08-25 11:17:38,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:38.417Z] 3.0.1-dev.3 [Pipeline] } [2023-08-25T11:17:38.429Z] $ docker exec --env ******** --env ******** 5580cfa08366927fe572ce99d2b7b796b48fcadc05abe2bdb21616e65936ffe1 ssh-agent -k [2023-08-25T11:17:38.524Z] unset SSH_AUTH_SOCK; [2023-08-25T11:17:38.524Z] unset SSH_AGENT_PID; [2023-08-25T11:17:38.524Z] echo Agent pid 38 killed; [2023-08-25T11:17:38.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:17:38.836Z] + git semver [Pipeline] } [2023-08-25T11:17:39.110Z] $ docker stop --time=1 5580cfa08366927fe572ce99d2b7b796b48fcadc05abe2bdb21616e65936ffe1 [2023-08-25T11:17:40.435Z] $ docker rm -f --volumes 5580cfa08366927fe572ce99d2b7b796b48fcadc05abe2bdb21616e65936ffe1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:17:40.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:17:40.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:41.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:17:41.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:17:41.132Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:17:41.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:17:41.486Z] $ docker top 157ef4e8454c6e31b3a5364ff15353c715225de3c7c9fade542dd35edc3de4d4 -eo pid,comm [2023-08-25T11:17:41.527Z] 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-08-25T11:17:41.527Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:17:41.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:17:41.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:17:41.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:17:41.680Z] $ docker exec 157ef4e8454c6e31b3a5364ff15353c715225de3c7c9fade542dd35edc3de4d4 ssh-agent [2023-08-25T11:17:41.775Z] SSH_AUTH_SOCK=/tmp/ssh-IgyvLQTkg96j/agent.32 [2023-08-25T11:17:41.775Z] SSH_AGENT_PID=38 [2023-08-25T11:17:41.780Z] Running ssh-add (command line suppressed) [2023-08-25T11:17:41.880Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5221659229156142116.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5221659229156142116.key) [2023-08-25T11:17:41.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:17:42.177Z] + git semver push [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,347 [run_push] DEBUG push [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,347 [execute] INFO git cat-file --batch-check [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,351 [execute] INFO git rev-list 9e12b111618e2465933be52ace7afcffb75e7f5e -- [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,351 [execute] DEBUG Popen(['git', 'rev-list', '9e12b111618e2465933be52ace7afcffb75e7f5e', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,356 [execute] INFO git fetch -v origin [2023-08-25T11:17:42.436Z] 2023-08-25 11:17:42,356 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T11:17:43.004Z] 2023-08-25 11:17:42,807 [run_push] DEBUG no remote changes detected [2023-08-25T11:17:43.004Z] 2023-08-25 11:17:42,808 [execute] INFO git push origin semver [2023-08-25T11:17:43.004Z] 2023-08-25 11:17:42,808 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:17:43.942Z] 2023-08-25 11:17:43,712 [run_push] DEBUG push all version tags [2023-08-25T11:17:43.942Z] 2023-08-25 11:17:43,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T11:17:43.942Z] 2023-08-25 11:17:43,713 [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-08-25T11:17:44.511Z] 2023-08-25 11:17:44,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-25T11:17:44.511Z] 3.0.1-dev.3 [Pipeline] } [2023-08-25T11:17:44.522Z] $ docker exec --env ******** --env ******** 157ef4e8454c6e31b3a5364ff15353c715225de3c7c9fade542dd35edc3de4d4 ssh-agent -k [2023-08-25T11:17:44.615Z] unset SSH_AUTH_SOCK; [2023-08-25T11:17:44.615Z] unset SSH_AGENT_PID; [2023-08-25T11:17:44.615Z] echo Agent pid 38 killed; [2023-08-25T11:17:44.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:17:44.927Z] + git semver [Pipeline] } [2023-08-25T11:17:45.202Z] $ docker stop --time=1 157ef4e8454c6e31b3a5364ff15353c715225de3c7c9fade542dd35edc3de4d4 [2023-08-25T11:17:46.477Z] $ docker rm -f --volumes 157ef4e8454c6e31b3a5364ff15353c715225de3c7c9fade542dd35edc3de4d4 [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-08-25T11:17:47.008Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-08-25T11:17:47.008Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-25T11:17:47.008Z] total 16 [2023-08-25T11:17:47.008Z] drwxr-xr-x 3 root root 4096 Aug 25 11:03 . [2023-08-25T11:17:47.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:17 .. [2023-08-25T11:17:47.008Z] drwxr-xr-x 2 root root 4096 Aug 25 11:03 cost [2023-08-25T11:17:47.008Z] -rw-r--r-- 1 root root 81 Aug 25 11:03 cost.csv [2023-08-25T11:17:47.008Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-25T11:17:47.008Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-25T11:17:47.008Z] total 16 [2023-08-25T11:17:47.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:03 . [2023-08-25T11:17:47.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:17 .. [2023-08-25T11:17:47.008Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 11:03 cost [2023-08-25T11:17:47.008Z] -rw-r--r-- 1 jenkins jenkins 81 Aug 25 11:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:47.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:48.151Z] ---> package-listing.sh [2023-08-25T11:17:48.152Z] ++ facter osfamily [2023-08-25T11:17:48.152Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T11:17:48.411Z] + OS_FAMILY=debian [2023-08-25T11:17:48.411Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-08-25T11:17:48.411Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T11:17:48.411Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T11:17:48.411Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T11:17:48.411Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T11:17:48.411Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-08-25T11:17:48.411Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T11:17:48.411Z] + case "${OS_FAMILY}" in [2023-08-25T11:17:48.411Z] + dpkg -l [2023-08-25T11:17:48.411Z] + grep '^ii' [2023-08-25T11:17:48.411Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T11:17:48.411Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T11:17:48.411Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T11:17:48.411Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-08-25T11:17:48.411Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-08-25T11:17:48.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-08-25T11:17:48.422Z] 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-08-25T11:17:48.700Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:17:49.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:17:49.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:17:49.327Z] prd-ubuntu20.04-docker-8c-8g-4563 does not seem to be running inside a container [2023-08-25T11:17:49.400Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T11:17:49.610Z] $ docker top 251b62ef4e94e525ea359086507543f6807880dc97ec0b49f62d2fd351206473 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:17:49.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T11:17:50.305Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T11:17:50.590Z] + ls /var/log/sa-host [2023-08-25T11:17:50.590Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:17:50.650Z] provisioning config files... [2023-08-25T11:17:50.658Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6186159745947652652tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:17:50.669Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:50.949Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T11:17:50.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:51.293Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T11:17:51.299Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:51.580Z] ---> sudo-logs.sh [2023-08-25T11:17:51.580Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T11:17:51.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:51.895Z] ---> job-cost.sh [2023-08-25T11:17:51.895Z] lf-activate-venv: SKIPPING [2023-08-25T11:17:51.895Z] DEBUG: total: 0.2199999988079071 [2023-08-25T11:17:51.895Z] INFO: Retrieving Stack Cost... [2023-08-25T11:17:52.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:17:52.721Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T11:17:52.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:17:53.015Z] ---> logs-deploy.sh [2023-08-25T11:17:53.016Z] lf-activate-venv: SKIPPING [2023-08-25T11:17:53.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/8 [2023-08-25T11:17:53.016Z] INFO: archiving workspace using pattern(s): [2023-08-25T11:17:53.950Z] Archives upload complete. [2023-08-25T11:17:53.951Z] INFO: archiving logs to Nexus