Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa6f5852468eb49835cee0d79cba99231dc0852e 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-ssh3136343668060739834.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh2322846249750599238.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh9347761409660619803.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh10244442516725341450.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-ssh13447386533185559654.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-17084 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 fa6f5852468eb49835cee0d79cba99231dc0852e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa6f5852468eb49835cee0d79cba99231dc0852e # timeout=10 Commit message: "Merge pull request #32 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0" > git rev-list --no-walk 5ecf853e9146b6aac4215f7018ae941eb175f8eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T19:27:55.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T19:27:55.162Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T19:27:55.179Z] ========================================================= [2023-11-08T19:27:55.179Z] EdgeX Global Pipelines Version Info [2023-11-08T19:27:55.179Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:27:55.877Z] ------------------- [2023-11-08T19:27:55.877Z] stable info: [2023-11-08T19:27:55.877Z] ------------------- [2023-11-08T19:27:55.877Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T19:27:55.877Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T19:27:55.877Z] Message: update stable to v1.0.257 [2023-11-08T19:27:56.448Z] ------------------- [2023-11-08T19:27:56.448Z] experimental info: [2023-11-08T19:27:56.448Z] ------------------- [2023-11-08T19:27:56.448Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T19:27:56.448Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T19:27:56.448Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T19:27:56.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-11-08T19:27:56.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-11-08T19:27:56.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T19:27:56.662Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T19:27:56.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T19:27:56.688Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T19:27:56.699Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T19:27:56.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T19:27:56.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T19:27:56.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T19:27:56.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T19:27:56.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-11-08T19:27:56.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T19:27:56.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T19:27:56.807Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T19:27:56.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T19:27:56.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T19:27:56.847Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T19:27:56.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T19:27:56.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T19:27:56.885Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T19:27:56.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T19:27:56.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T19:27:56.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T19:27:56.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T19:27:56.973Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T19:27:56.990Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T19:27:57.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-08T19:27:57.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-08T19:27:57.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-08T19:27:57.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] echo [2023-11-08T19:27:57.053Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa6f585 [Pipeline] echo [2023-11-08T19:27:57.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:27:57.105Z] provisioning config files... [2023-11-08T19:27:57.119Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14620644532367054338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:27:57.422Z] ---> docker-login.sh [2023-11-08T19:27:57.422Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:27:57.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:27:57.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:27:57.683Z] Configure a credential helper to remove this warning. See [2023-11-08T19:27:57.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:27:57.683Z] [2023-11-08T19:27:57.683Z] Login Succeeded [2023-11-08T19:27:57.683Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:27:57.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:27:57.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:27:57.944Z] Configure a credential helper to remove this warning. See [2023-11-08T19:27:57.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:27:57.944Z] [2023-11-08T19:27:57.944Z] Login Succeeded [2023-11-08T19:27:57.944Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:27:57.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:27:57.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:27:57.944Z] Configure a credential helper to remove this warning. See [2023-11-08T19:27:57.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:27:57.944Z] [2023-11-08T19:27:57.944Z] Login Succeeded [2023-11-08T19:27:57.944Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:27:57.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:27:57.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:27:57.944Z] Configure a credential helper to remove this warning. See [2023-11-08T19:27:57.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:27:57.944Z] [2023-11-08T19:27:57.944Z] Login Succeeded [2023-11-08T19:27:57.944Z] docker.io [2023-11-08T19:27:58.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:27:58.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:27:58.463Z] Configure a credential helper to remove this warning. See [2023-11-08T19:27:58.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:27:58.463Z] [2023-11-08T19:27:58.463Z] Login Succeeded [2023-11-08T19:27:58.463Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:27:58.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T19:27:58.825Z] + git rev-list -1 --merges fa6f5852468eb49835cee0d79cba99231dc0852e~1..fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] echo [2023-11-08T19:27:58.867Z] -----------> git rev-list -1 --merges fa6f5852468eb49835cee0d79cba99231dc0852e~1..fa6f5852468eb49835cee0d79cba99231dc0852e fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:27:58.867Z] fa6f5852468eb49835cee0d79cba99231dc0852e [false] [Pipeline] sh [2023-11-08T19:27:59.151Z] + git log --format=format:%s -1 fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] echo [2023-11-08T19:27:59.165Z] ========================================================= [2023-11-08T19:27:59.165Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T19:27:59.165Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:27:59.492Z] + git log --format=format:%s -1 fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] echo [2023-11-08T19:27:59.504Z] [semverPrep] GIT_COMMIT: fa6f5852468eb49835cee0d79cba99231dc0852e, Commit Message: Merge pull request #32 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0 [Pipeline] echo [2023-11-08T19:27:59.513Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T19:27:59.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:27:59.863Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T19:27:59.863Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T19:27:59.863Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T19:27:59.863Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T19:27:59.863Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T19:27:59.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:28:00.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:28:00.411Z] [2023-11-08T19:28:00.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:28:00.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:28:00.709Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T19:28:00.709Z] b85a868b505f: Pulling fs layer [2023-11-08T19:28:00.709Z] e2be974225ed: Pulling fs layer [2023-11-08T19:28:00.709Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T19:28:00.709Z] 988bab9f4d93: Pulling fs layer [2023-11-08T19:28:00.709Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T19:28:00.709Z] eaf3925da568: Pulling fs layer [2023-11-08T19:28:00.709Z] bab4dde63d76: Pulling fs layer [2023-11-08T19:28:00.709Z] bde34c3a00c8: Pulling fs layer [2023-11-08T19:28:00.709Z] b352a97aabf1: Pulling fs layer [2023-11-08T19:28:00.709Z] 4872d77fe225: Pulling fs layer [2023-11-08T19:28:00.709Z] 5851b861e8e6: Pulling fs layer [2023-11-08T19:28:00.709Z] 4872d77fe225: Waiting [2023-11-08T19:28:00.709Z] 5851b861e8e6: Waiting [2023-11-08T19:28:00.709Z] b352a97aabf1: Waiting [2023-11-08T19:28:00.709Z] eaf3925da568: Waiting [2023-11-08T19:28:00.709Z] bab4dde63d76: Waiting [2023-11-08T19:28:00.709Z] bde34c3a00c8: Waiting [2023-11-08T19:28:00.709Z] 988bab9f4d93: Waiting [2023-11-08T19:28:00.709Z] 1469e6f7b9e6: Waiting [2023-11-08T19:28:00.709Z] e2be974225ed: Download complete [2023-11-08T19:28:00.709Z] 988bab9f4d93: Download complete [2023-11-08T19:28:00.709Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T19:28:00.709Z] 1469e6f7b9e6: Download complete [2023-11-08T19:28:00.967Z] eaf3925da568: Verifying Checksum [2023-11-08T19:28:00.967Z] eaf3925da568: Download complete [2023-11-08T19:28:00.967Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T19:28:00.967Z] 339a4e72a1f5: Download complete [2023-11-08T19:28:00.967Z] bde34c3a00c8: Verifying Checksum [2023-11-08T19:28:00.967Z] bde34c3a00c8: Download complete [2023-11-08T19:28:00.967Z] b352a97aabf1: Download complete [2023-11-08T19:28:00.967Z] 4872d77fe225: Download complete [2023-11-08T19:28:00.967Z] 5851b861e8e6: Verifying Checksum [2023-11-08T19:28:00.967Z] 5851b861e8e6: Download complete [2023-11-08T19:28:00.967Z] b85a868b505f: Download complete [2023-11-08T19:28:01.226Z] bab4dde63d76: Verifying Checksum [2023-11-08T19:28:02.163Z] b85a868b505f: Pull complete [2023-11-08T19:28:02.163Z] e2be974225ed: Pull complete [2023-11-08T19:28:02.731Z] 339a4e72a1f5: Pull complete [2023-11-08T19:28:02.731Z] 988bab9f4d93: Pull complete [2023-11-08T19:28:02.990Z] 1469e6f7b9e6: Pull complete [2023-11-08T19:28:02.990Z] eaf3925da568: Pull complete [2023-11-08T19:28:04.894Z] bab4dde63d76: Pull complete [2023-11-08T19:28:04.894Z] bde34c3a00c8: Pull complete [2023-11-08T19:28:04.894Z] b352a97aabf1: Pull complete [2023-11-08T19:28:04.894Z] 4872d77fe225: Pull complete [2023-11-08T19:28:04.894Z] 5851b861e8e6: Pull complete [2023-11-08T19:28:04.894Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T19:28:04.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:28:04.894Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:28:04.982Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:28:05.018Z] $ 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-11-08T19:28:08.458Z] $ docker top 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f -eo pid,comm [2023-11-08T19:28:08.521Z] 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-11-08T19:28:08.521Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:28:08.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:28:08.556Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:28:08.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:28:08.680Z] $ docker exec 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f ssh-agent [2023-11-08T19:28:08.793Z] SSH_AUTH_SOCK=/tmp/ssh-irl2Ep7P4QAZ/agent.33 [2023-11-08T19:28:08.793Z] SSH_AGENT_PID=39 [2023-11-08T19:28:08.800Z] Running ssh-add (command line suppressed) [2023-11-08T19:28:08.903Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9948528614322408495.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9948528614322408495.key) [2023-11-08T19:28:08.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:28:09.218Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T19:28:09.237Z] $ docker exec --env ******** --env ******** 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f ssh-agent -k [2023-11-08T19:28:09.328Z] unset SSH_AUTH_SOCK; [2023-11-08T19:28:09.328Z] unset SSH_AGENT_PID; [2023-11-08T19:28:09.328Z] echo Agent pid 39 killed; [2023-11-08T19:28:09.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T19:28:09.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:28:09.367Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:28:09.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:28:09.488Z] $ docker exec 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f ssh-agent [2023-11-08T19:28:09.597Z] SSH_AUTH_SOCK=/tmp/ssh-7zSv1yeuLogm/agent.74 [2023-11-08T19:28:09.597Z] SSH_AGENT_PID=80 [2023-11-08T19:28:09.602Z] Running ssh-add (command line suppressed) [2023-11-08T19:28:09.709Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10765402974715781156.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10765402974715781156.key) [2023-11-08T19:28:09.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:28:10.016Z] + git semver init [2023-11-08T19:28:10.277Z] 2023-11-08 19:28:10,204 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T19:28:10.277Z] 2023-11-08 19:28:10,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-11-08T19:28:10.277Z] 2023-11-08 19:28:10,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-11-08T19:28:10.277Z] 2023-11-08 19:28:10,205 [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-11-08T19:28:11.218Z] 2023-11-08 19:28:11,184 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-11-08T19:28:11.218Z] 2023-11-08 19:28:11,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-11-08T19:28:11.218Z] 2023-11-08 19:28:11,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:28:11.218Z] 2023-11-08 19:28:11,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:28:11.218Z] 3.0.1-dev.10 [Pipeline] } [2023-11-08T19:28:11.229Z] $ docker exec --env ******** --env ******** 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f ssh-agent -k [2023-11-08T19:28:11.329Z] unset SSH_AUTH_SOCK; [2023-11-08T19:28:11.330Z] unset SSH_AGENT_PID; [2023-11-08T19:28:11.330Z] echo Agent pid 80 killed; [2023-11-08T19:28:11.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:28:11.653Z] + git semver [Pipeline] } [2023-11-08T19:28:11.929Z] $ docker stop --time=1 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f [2023-11-08T19:28:13.251Z] $ docker rm -f --volumes 69954d1702a60ae28aab63568a3f0a2c4d08cb4639ebf14ca802a3170876c75f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:28:13.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T19:28:13.824Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T19:28:13.828Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.10 [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-11-08T19:28:14.070Z] provisioning config files... [2023-11-08T19:28:14.080Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6445141530431201899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:28:14.382Z] ---> docker-login.sh [2023-11-08T19:28:14.382Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:28:14.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:14.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:14.382Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:14.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:14.382Z] [2023-11-08T19:28:14.382Z] Login Succeeded [2023-11-08T19:28:14.382Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:28:14.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:14.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:14.382Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:14.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:14.382Z] [2023-11-08T19:28:14.382Z] Login Succeeded [2023-11-08T19:28:14.382Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:28:14.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:14.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:14.642Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:14.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:14.642Z] [2023-11-08T19:28:14.642Z] Login Succeeded [2023-11-08T19:28:14.642Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:28:14.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:14.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:14.642Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:14.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:14.642Z] [2023-11-08T19:28:14.642Z] Login Succeeded [2023-11-08T19:28:14.642Z] docker.io [2023-11-08T19:28:14.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:15.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:15.161Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:15.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:15.161Z] [2023-11-08T19:28:15.161Z] Login Succeeded [2023-11-08T19:28:15.161Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:28:15.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T19:28:15.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:28:15.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:28:15.285Z] ========================================================= [2023-11-08T19:28:15.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T19:28:15.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:28:15.628Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T19:28:15.628Z] Sending build context to Docker daemon 11.19MB [2023-11-08T19:28:15.628Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:28:15.628Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T19:28:15.628Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T19:28:15.628Z] 7264a8db6415: Pulling fs layer [2023-11-08T19:28:15.628Z] c4d48a809fc2: Pulling fs layer [2023-11-08T19:28:15.628Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T19:28:15.628Z] ad3a456e5733: Pulling fs layer [2023-11-08T19:28:15.628Z] 33e27b845d1e: Pulling fs layer [2023-11-08T19:28:15.628Z] c68163c4e522: Pulling fs layer [2023-11-08T19:28:15.628Z] 50da416c3ac9: Pulling fs layer [2023-11-08T19:28:15.628Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T19:28:15.628Z] 33e27b845d1e: Waiting [2023-11-08T19:28:15.628Z] 50da416c3ac9: Waiting [2023-11-08T19:28:15.628Z] c68163c4e522: Waiting [2023-11-08T19:28:15.628Z] ad3a456e5733: Waiting [2023-11-08T19:28:15.628Z] 23d2d4c4bb30: Waiting [2023-11-08T19:28:15.890Z] c4d48a809fc2: Verifying Checksum [2023-11-08T19:28:15.890Z] ad3a456e5733: Verifying Checksum [2023-11-08T19:28:15.890Z] ad3a456e5733: Download complete [2023-11-08T19:28:15.890Z] 33e27b845d1e: Verifying Checksum [2023-11-08T19:28:15.890Z] 33e27b845d1e: Download complete [2023-11-08T19:28:15.890Z] 7264a8db6415: Verifying Checksum [2023-11-08T19:28:15.890Z] 7264a8db6415: Download complete [2023-11-08T19:28:15.890Z] c68163c4e522: Verifying Checksum [2023-11-08T19:28:15.890Z] c68163c4e522: Download complete [2023-11-08T19:28:15.890Z] 7264a8db6415: Pull complete [2023-11-08T19:28:16.154Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T19:28:16.154Z] 23d2d4c4bb30: Download complete [2023-11-08T19:28:16.154Z] c4d48a809fc2: Pull complete [2023-11-08T19:28:16.413Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T19:28:16.413Z] 4f1c88b9dad5: Download complete [2023-11-08T19:28:16.673Z] 50da416c3ac9: Verifying Checksum [2023-11-08T19:28:16.673Z] 50da416c3ac9: Download complete [2023-11-08T19:28:19.966Z] 4f1c88b9dad5: Pull complete [2023-11-08T19:28:19.966Z] ad3a456e5733: Pull complete [2023-11-08T19:28:19.966Z] 33e27b845d1e: Pull complete [2023-11-08T19:28:19.966Z] c68163c4e522: Pull complete [2023-11-08T19:28:22.505Z] 50da416c3ac9: Pull complete [2023-11-08T19:28:22.766Z] 23d2d4c4bb30: Pull complete [2023-11-08T19:28:22.766Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T19:28:22.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T19:28:22.766Z] ---> 0786185ac409 [2023-11-08T19:28:22.766Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T19:28:29.026Z] Still waiting to schedule task [2023-11-08T19:28:29.027Z] ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T19:28:29.027Z] ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T19:28:29.027Z] ‘prd-ubuntu20.04-docker-8c-8g-17086’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T19:28:29.027Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17087’ is offline [2023-11-08T19:28:29.343Z] ---> Running in 87cacac91802 [2023-11-08T19:28:29.343Z] Removing intermediate container 87cacac91802 [2023-11-08T19:28:29.343Z] ---> f27321a52c3a [2023-11-08T19:28:29.343Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:28:29.343Z] ---> Running in 03e10ea31f82 [2023-11-08T19:28:29.343Z] Removing intermediate container 03e10ea31f82 [2023-11-08T19:28:29.343Z] ---> b21eed267f59 [2023-11-08T19:28:29.343Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:28:29.343Z] ---> Running in f1fd8cd17c07 [2023-11-08T19:28:29.343Z] Removing intermediate container f1fd8cd17c07 [2023-11-08T19:28:29.343Z] ---> de56563be193 [2023-11-08T19:28:29.343Z] Step 6/12 : WORKDIR /device-uart [2023-11-08T19:28:29.343Z] ---> Running in 7e9acaf6f6fc [2023-11-08T19:28:29.343Z] Removing intermediate container 7e9acaf6f6fc [2023-11-08T19:28:29.343Z] ---> a0244019d217 [2023-11-08T19:28:29.343Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:28:29.343Z] ---> Running in 3c7c3b989448 [2023-11-08T19:28:29.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:28:29.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:28:29.603Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T19:28:29.603Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T19:28:29.603Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T19:28:29.603Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T19:28:29.603Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:28:29.880Z] OK: 268 MiB in 56 packages [2023-11-08T19:28:30.448Z] Removing intermediate container 3c7c3b989448 [2023-11-08T19:28:30.448Z] ---> d86d2704b6d4 [2023-11-08T19:28:30.448Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T19:28:30.448Z] ---> 3b934c6849a0 [2023-11-08T19:28:30.448Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:28:30.448Z] ---> Running in 4b7916ba4e1f [2023-11-08T19:29:09.249Z] Removing intermediate container 4b7916ba4e1f [2023-11-08T19:29:09.249Z] ---> 6d09c0b766ac [2023-11-08T19:29:09.249Z] Step 10/12 : COPY . . [2023-11-08T19:29:09.826Z] ---> 5f9392ca9c3d [2023-11-08T19:29:09.826Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:29:10.086Z] ---> Running in 688a4e5edeeb [2023-11-08T19:29:10.086Z] Removing intermediate container 688a4e5edeeb [2023-11-08T19:29:10.086Z] ---> f56768efda28 [2023-11-08T19:29:10.086Z] Step 12/12 : RUN ${MAKE} [2023-11-08T19:29:10.086Z] ---> Running in 980da29dcd80 [2023-11-08T19:29:10.345Z] noop [2023-11-08T19:29:10.604Z] Removing intermediate container 980da29dcd80 [2023-11-08T19:29:10.604Z] ---> 16a93eec1021 [2023-11-08T19:29:10.604Z] Successfully built 16a93eec1021 [2023-11-08T19:29:10.604Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:10.968Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T19:29:10.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:29:11.060Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:29:11.092Z] $ 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-11-08T19:29:11.447Z] $ docker top 88dcc30cb690884bfb889153c9d7eee8e547bc3b6325ee22aae3af07c55bd6cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:29:11.802Z] + go version [2023-11-08T19:29:11.802Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T19:29:11.813Z] $ docker stop --time=1 88dcc30cb690884bfb889153c9d7eee8e547bc3b6325ee22aae3af07c55bd6cb [2023-11-08T19:29:13.084Z] $ docker rm -f --volumes 88dcc30cb690884bfb889153c9d7eee8e547bc3b6325ee22aae3af07c55bd6cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:13.626Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T19:29:13.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:29:13.699Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:29:13.737Z] $ 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-11-08T19:29:14.071Z] $ docker top 3ddc9d1a1c7ab82d67f10011ec06032b03ebaaa8faa8bb77afc1fdbc8ab05838 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:29:14.421Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-11-08T19:29:14.720Z] + make test [2023-11-08T19:29:14.720Z] go test ./... -coverprofile=coverage.out [2023-11-08T19:29:16.108Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-08T19:29:28.345Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-08T19:29:28.345Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-08T19:29:38.316Z] go vet ./... [2023-11-08T19:29:40.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T19:29:40.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T19:29:40.848Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T19:29:40.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T19:29:40.871Z] $ docker stop --time=1 3ddc9d1a1c7ab82d67f10011ec06032b03ebaaa8faa8bb77afc1fdbc8ab05838 [2023-11-08T19:29:42.477Z] $ docker rm -f --volumes 3ddc9d1a1c7ab82d67f10011ec06032b03ebaaa8faa8bb77afc1fdbc8ab05838 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:29:42.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T19:29:43.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T19:29:43.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T19:29:43.734Z] + ls -al . [2023-11-08T19:29:43.734Z] total 152 [2023-11-08T19:29:43.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:29 . [2023-11-08T19:29:43.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:27 .. [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 19:27 .dockerignore [2023-11-08T19:29:43.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:29 .git [2023-11-08T19:29:43.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:27 .github [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 19:27 .gitignore [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 19:27 .golangci.yml [2023-11-08T19:29:43.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:28 .semver [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 8 19:27 Attribution.txt [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 1777 Nov 8 19:27 Dockerfile [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:27 GOVERNANCE.md [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 8 19:27 Jenkinsfile [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 19:27 LICENSE [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 8 19:27 Makefile [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 19:27 OWNERS.md [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 8 19:27 README.md [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 19:28 VERSION [2023-11-08T19:29:43.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:27 bin [2023-11-08T19:29:43.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:27 cmd [2023-11-08T19:29:43.734Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 19:29 coverage.out [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 3674 Nov 8 19:27 go.mod [2023-11-08T19:29:43.734Z] -rw-rw-r-- 1 jenkins jenkins 35219 Nov 8 19:27 go.sum [2023-11-08T19:29:43.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:27 internal [2023-11-08T19:29:43.735Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 19:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:44.036Z] + 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=fa6f5852468eb49835cee0d79cba99231dc0852e --label arch=amd64 --label version=3.0.1-dev.10 . [2023-11-08T19:29:44.036Z] Sending build context to Docker daemon 11.19MB [2023-11-08T19:29:44.036Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:29:44.036Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T19:29:44.036Z] ---> 16a93eec1021 [2023-11-08T19:29:44.036Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T19:29:44.295Z] ---> Running in 230adb3a7025 [2023-11-08T19:29:44.295Z] Removing intermediate container 230adb3a7025 [2023-11-08T19:29:44.295Z] ---> e4dfc6998221 [2023-11-08T19:29:44.295Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:29:44.295Z] ---> Running in cee444e3002d [2023-11-08T19:29:44.554Z] Removing intermediate container cee444e3002d [2023-11-08T19:29:44.554Z] ---> c7f5dc31534e [2023-11-08T19:29:44.554Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:29:44.554Z] ---> Running in 396f2f6ebbde [2023-11-08T19:29:44.554Z] Removing intermediate container 396f2f6ebbde [2023-11-08T19:29:44.554Z] ---> 2d0349897ec4 [2023-11-08T19:29:44.554Z] Step 6/25 : WORKDIR /device-uart [2023-11-08T19:29:44.554Z] ---> Running in 253c6ae92c92 [2023-11-08T19:29:44.554Z] Removing intermediate container 253c6ae92c92 [2023-11-08T19:29:44.554Z] ---> aa5e72cb94a7 [2023-11-08T19:29:44.554Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:29:44.813Z] ---> Running in 4733cf8cd6f4 [2023-11-08T19:29:45.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:29:45.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:29:45.333Z] OK: 268 MiB in 56 packages [2023-11-08T19:29:45.593Z] Removing intermediate container 4733cf8cd6f4 [2023-11-08T19:29:45.593Z] ---> 7c6547616119 [2023-11-08T19:29:45.594Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T19:29:45.594Z] ---> c2a5c9341dab [2023-11-08T19:29:45.594Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:29:45.853Z] ---> Running in 56ea1babfeec [2023-11-08T19:29:46.421Z] Removing intermediate container 56ea1babfeec [2023-11-08T19:29:46.421Z] ---> 08a63cd8ca4d [2023-11-08T19:29:46.421Z] Step 10/25 : COPY . . [2023-11-08T19:29:46.990Z] ---> a68e8a7568ad [2023-11-08T19:29:46.990Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:29:46.990Z] ---> Running in 205f72db8cfa [2023-11-08T19:29:47.250Z] Removing intermediate container 205f72db8cfa [2023-11-08T19:29:47.250Z] ---> cf36c80cc30c [2023-11-08T19:29:47.250Z] Step 12/25 : RUN ${MAKE} [2023-11-08T19:29:47.250Z] ---> Running in b5b8c6b4f598 [2023-11-08T19:29:47.509Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-08T19:30:09.435Z] Removing intermediate container b5b8c6b4f598 [2023-11-08T19:30:09.435Z] ---> bd0ce548d9a9 [2023-11-08T19:30:09.435Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T19:30:09.695Z] 3.18: Pulling from library/alpine [2023-11-08T19:30:09.954Z] 96526aa774ef: Pulling fs layer [2023-11-08T19:30:10.228Z] 96526aa774ef: Verifying Checksum [2023-11-08T19:30:10.228Z] 96526aa774ef: Download complete [2023-11-08T19:30:10.487Z] 96526aa774ef: Pull complete [2023-11-08T19:30:10.487Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T19:30:10.487Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T19:30:10.487Z] ---> 8ca4688f4f35 [2023-11-08T19:30:10.487Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-08T19:30:10.487Z] ---> Running in 1538f117a6bb [2023-11-08T19:30:10.744Z] Removing intermediate container 1538f117a6bb [2023-11-08T19:30:10.744Z] ---> 3c691aa78c0a [2023-11-08T19:30:10.744Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T19:30:10.744Z] ---> Running in f3b5c2b55c55 [2023-11-08T19:30:11.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:30:11.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:30:11.263Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T19:30:11.263Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:30:11.263Z] OK: 7 MiB in 16 packages [2023-11-08T19:30:12.200Z] Removing intermediate container f3b5c2b55c55 [2023-11-08T19:30:12.200Z] ---> 09ae6ea56459 [2023-11-08T19:30:12.200Z] Step 16/25 : WORKDIR / [2023-11-08T19:30:12.200Z] ---> Running in 75a1cec07ff5 [2023-11-08T19:30:12.200Z] Removing intermediate container 75a1cec07ff5 [2023-11-08T19:30:12.200Z] ---> f4794f4f630b [2023-11-08T19:30:12.200Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-08T19:30:12.200Z] ---> c4b4a38d6831 [2023-11-08T19:30:12.200Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-11-08T19:30:12.458Z] ---> 3e0924556ec5 [2023-11-08T19:30:12.458Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-11-08T19:30:13.395Z] ---> dcee66b435c6 [2023-11-08T19:30:13.395Z] Step 20/25 : EXPOSE 59995 [2023-11-08T19:30:13.395Z] ---> Running in 239e0b55a66d [2023-11-08T19:30:13.395Z] Removing intermediate container 239e0b55a66d [2023-11-08T19:30:13.395Z] ---> 9c76cea4e36d [2023-11-08T19:30:13.395Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-11-08T19:30:13.395Z] ---> Running in b7bcbdec5f90 [2023-11-08T19:30:13.653Z] Removing intermediate container b7bcbdec5f90 [2023-11-08T19:30:13.653Z] ---> d1e8f0f0f571 [2023-11-08T19:30:13.653Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T19:30:13.653Z] ---> Running in 50c824fc96e2 [2023-11-08T19:30:13.653Z] Removing intermediate container 50c824fc96e2 [2023-11-08T19:30:13.654Z] ---> 6f07958864d0 [2023-11-08T19:30:13.654Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T19:30:13.654Z] ---> Running in a069b4bde037 [2023-11-08T19:30:13.654Z] Removing intermediate container a069b4bde037 [2023-11-08T19:30:13.654Z] ---> cda543aee347 [2023-11-08T19:30:13.654Z] Step 24/25 : LABEL git_sha=fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:30:13.654Z] ---> Running in be9c081d626e [2023-11-08T19:30:13.913Z] Removing intermediate container be9c081d626e [2023-11-08T19:30:13.913Z] ---> bad8350e8518 [2023-11-08T19:30:13.913Z] Step 25/25 : LABEL version=3.0.1-dev.10 [2023-11-08T19:30:13.913Z] ---> Running in a47ff98e1955 [2023-11-08T19:30:13.913Z] Removing intermediate container a47ff98e1955 [2023-11-08T19:30:13.913Z] ---> 121fb2cba869 [2023-11-08T19:30:13.913Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T19:30:13.913Z] Successfully built 121fb2cba869 [2023-11-08T19:30:13.913Z] 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-11-08T19:30:14.033Z] provisioning config files... [2023-11-08T19:30:14.042Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5616422614172036407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:14.345Z] ---> docker-login.sh [2023-11-08T19:30:14.345Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:30:14.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:30:14.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:30:14.345Z] Configure a credential helper to remove this warning. See [2023-11-08T19:30:14.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:30:14.345Z] [2023-11-08T19:30:14.345Z] Login Succeeded [2023-11-08T19:30:14.345Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:30:14.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:30:14.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:30:14.345Z] Configure a credential helper to remove this warning. See [2023-11-08T19:30:14.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:30:14.345Z] [2023-11-08T19:30:14.345Z] Login Succeeded [2023-11-08T19:30:14.345Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:30:14.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:30:14.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:30:14.610Z] Configure a credential helper to remove this warning. See [2023-11-08T19:30:14.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:30:14.610Z] [2023-11-08T19:30:14.610Z] Login Succeeded [2023-11-08T19:30:14.610Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:30:14.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:30:14.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:30:14.610Z] Configure a credential helper to remove this warning. See [2023-11-08T19:30:14.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:30:14.610Z] [2023-11-08T19:30:14.610Z] Login Succeeded [2023-11-08T19:30:14.610Z] docker.io [2023-11-08T19:30:14.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:30:14.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:30:14.870Z] Configure a credential helper to remove this warning. See [2023-11-08T19:30:14.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:30:14.870Z] [2023-11-08T19:30:14.870Z] Login Succeeded [2023-11-08T19:30:14.870Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:30:14.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:30:14.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:30:14.927Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-11-08T19:30:14.927Z] fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:30:14.927Z] latest [2023-11-08T19:30:14.927Z] 3.0.1-dev.10 [2023-11-08T19:30:14.927Z] fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:30:14.927Z] main [2023-11-08T19:30:14.927Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:15.240Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:15.552Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:30:15.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-08T19:30:15.553Z] 9188168d04ed: Preparing [2023-11-08T19:30:15.553Z] 35f455fa508b: Preparing [2023-11-08T19:30:15.553Z] 10fde922733c: Preparing [2023-11-08T19:30:15.553Z] 825dc33a41d7: Preparing [2023-11-08T19:30:15.553Z] cc2447e1835a: Preparing [2023-11-08T19:30:15.553Z] 10fde922733c: Pushed [2023-11-08T19:30:15.553Z] 35f455fa508b: Pushed [2023-11-08T19:30:15.553Z] 825dc33a41d7: Pushed [2023-11-08T19:30:15.812Z] cc2447e1835a: Layer already exists [2023-11-08T19:30:18.349Z] 9188168d04ed: Pushed [2023-11-08T19:30:18.609Z] fa6f5852468eb49835cee0d79cba99231dc0852e: digest: sha256:251b9c8df7d46996da2c549f4d55d5c77ebe37a102e5cee10bb85f9106eaa582 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:19.190Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:19.496Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-11-08T19:30:19.496Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-08T19:30:19.496Z] 9188168d04ed: Preparing [2023-11-08T19:30:19.496Z] 35f455fa508b: Preparing [2023-11-08T19:30:19.496Z] 10fde922733c: Preparing [2023-11-08T19:30:19.496Z] 825dc33a41d7: Preparing [2023-11-08T19:30:19.496Z] cc2447e1835a: Preparing [2023-11-08T19:30:19.496Z] 10fde922733c: Layer already exists [2023-11-08T19:30:19.496Z] 35f455fa508b: Layer already exists [2023-11-08T19:30:19.496Z] 9188168d04ed: Layer already exists [2023-11-08T19:30:19.496Z] cc2447e1835a: Layer already exists [2023-11-08T19:30:19.496Z] 825dc33a41d7: Layer already exists [2023-11-08T19:30:19.496Z] latest: digest: sha256:251b9c8df7d46996da2c549f4d55d5c77ebe37a102e5cee10bb85f9106eaa582 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:19.815Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:20.120Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.10 [2023-11-08T19:30:20.120Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-08T19:30:20.120Z] 9188168d04ed: Preparing [2023-11-08T19:30:20.120Z] 35f455fa508b: Preparing [2023-11-08T19:30:20.120Z] 10fde922733c: Preparing [2023-11-08T19:30:20.120Z] 825dc33a41d7: Preparing [2023-11-08T19:30:20.120Z] cc2447e1835a: Preparing [2023-11-08T19:30:20.120Z] 9188168d04ed: Layer already exists [2023-11-08T19:30:20.120Z] 10fde922733c: Layer already exists [2023-11-08T19:30:20.120Z] 35f455fa508b: Layer already exists [2023-11-08T19:30:20.120Z] 825dc33a41d7: Layer already exists [2023-11-08T19:30:20.120Z] cc2447e1835a: Layer already exists [2023-11-08T19:30:20.120Z] 3.0.1-dev.10: digest: sha256:251b9c8df7d46996da2c549f4d55d5c77ebe37a102e5cee10bb85f9106eaa582 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:20.431Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:20.738Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:30:20.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-08T19:30:20.738Z] 9188168d04ed: Preparing [2023-11-08T19:30:20.738Z] 35f455fa508b: Preparing [2023-11-08T19:30:20.738Z] 10fde922733c: Preparing [2023-11-08T19:30:20.738Z] 825dc33a41d7: Preparing [2023-11-08T19:30:20.738Z] cc2447e1835a: Preparing [2023-11-08T19:30:20.738Z] cc2447e1835a: Layer already exists [2023-11-08T19:30:20.738Z] 10fde922733c: Layer already exists [2023-11-08T19:30:20.738Z] 9188168d04ed: Layer already exists [2023-11-08T19:30:20.738Z] 35f455fa508b: Layer already exists [2023-11-08T19:30:20.738Z] 825dc33a41d7: Layer already exists [2023-11-08T19:30:20.738Z] fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10: digest: sha256:251b9c8df7d46996da2c549f4d55d5c77ebe37a102e5cee10bb85f9106eaa582 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:21.063Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:21.375Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-11-08T19:30:21.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-08T19:30:21.375Z] 9188168d04ed: Preparing [2023-11-08T19:30:21.375Z] 35f455fa508b: Preparing [2023-11-08T19:30:21.375Z] 10fde922733c: Preparing [2023-11-08T19:30:21.375Z] 825dc33a41d7: Preparing [2023-11-08T19:30:21.375Z] cc2447e1835a: Preparing [2023-11-08T19:30:21.375Z] 9188168d04ed: Layer already exists [2023-11-08T19:30:21.375Z] 825dc33a41d7: Layer already exists [2023-11-08T19:30:21.375Z] cc2447e1835a: Layer already exists [2023-11-08T19:30:21.375Z] 10fde922733c: Layer already exists [2023-11-08T19:30:21.375Z] 35f455fa508b: Layer already exists [2023-11-08T19:30:21.375Z] main: digest: sha256:251b9c8df7d46996da2c549f4d55d5c77ebe37a102e5cee10bb85f9106eaa582 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:30:21.440Z] ===================================================== [Pipeline] echo [2023-11-08T19:30:21.451Z] taggedImages: [2023-11-08T19:30:21.451Z] - nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:30:21.451Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-11-08T19:30:21.451Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.10 [2023-11-08T19:30:21.451Z] - nexus3.edgexfoundry.org:10004/device-uart:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:30:21.451Z] - 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-11-08T19:30:21.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:30:21.837Z] [2023-11-08T19:30:21.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:22.144Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:30:22.144Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T19:30:22.144Z] 5eb5b503b376: Pulling fs layer [2023-11-08T19:30:22.144Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T19:30:22.144Z] ec43610c2a17: Pulling fs layer [2023-11-08T19:30:22.144Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T19:30:22.144Z] 33b1e0a273af: Pulling fs layer [2023-11-08T19:30:22.144Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T19:30:22.144Z] 2f39f015ded8: Pulling fs layer [2023-11-08T19:30:22.144Z] 33b1e0a273af: Waiting [2023-11-08T19:30:22.144Z] 2f39f015ded8: Waiting [2023-11-08T19:30:22.144Z] 5d3b04190fa2: Waiting [2023-11-08T19:30:22.144Z] 3a2ae6a8a46f: Waiting [2023-11-08T19:30:22.144Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T19:30:22.144Z] 5c69ac0246d0: Download complete [2023-11-08T19:30:22.144Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T19:30:22.144Z] 3a2ae6a8a46f: Download complete [2023-11-08T19:30:22.144Z] 33b1e0a273af: Verifying Checksum [2023-11-08T19:30:22.144Z] 33b1e0a273af: Download complete [2023-11-08T19:30:22.144Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T19:30:22.144Z] 5d3b04190fa2: Download complete [2023-11-08T19:30:22.144Z] ec43610c2a17: Verifying Checksum [2023-11-08T19:30:22.144Z] ec43610c2a17: Download complete [2023-11-08T19:30:22.404Z] 5eb5b503b376: Download complete [2023-11-08T19:30:22.972Z] 2f39f015ded8: Verifying Checksum [2023-11-08T19:30:22.972Z] 2f39f015ded8: Download complete [2023-11-08T19:30:23.538Z] 5eb5b503b376: Pull complete [2023-11-08T19:30:23.798Z] 5c69ac0246d0: Pull complete [2023-11-08T19:30:24.057Z] ec43610c2a17: Pull complete [2023-11-08T19:30:24.316Z] 3a2ae6a8a46f: Pull complete [2023-11-08T19:30:24.316Z] 33b1e0a273af: Pull complete [2023-11-08T19:30:24.575Z] 5d3b04190fa2: Pull complete [2023-11-08T19:30:28.765Z] 2f39f015ded8: Pull complete [2023-11-08T19:30:28.765Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T19:30:28.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:30:28.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:28.847Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:30:28.877Z] $ 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-11-08T19:30:36.914Z] $ docker top dca065e150eb91dee867800aefac2a82bc7cef3154fed959a0839d5d30e6d874 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:37.290Z] ---> job-cost.sh [2023-11-08T19:30:37.290Z] lf-activate-venv: SKIPPING [2023-11-08T19:30:37.290Z] INFO: No Stack... [2023-11-08T19:30:37.550Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:30:37.810Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:30:38.099Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-11-08T19:30:38.100Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T19:30:38.117Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [2023-11-08T19:30:38.123Z] Resource [jenkins-edgexfoundry-device-uart-main-16-stack-cost] did not exist. Created. [2023-11-08T19:30:38.123Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:30:38.424Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T19:30:38.460Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:30:38.471Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:30:38.487Z] $ docker stop --time=1 dca065e150eb91dee867800aefac2a82bc7cef3154fed959a0839d5d30e6d874 [2023-11-08T19:30:39.652Z] $ docker rm -f --volumes dca065e150eb91dee867800aefac2a82bc7cef3154fed959a0839d5d30e6d874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T19:30:55.351Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17088 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-11-08T19:30:55.367Z] Running in /w/workspace/device-uart/16 [Pipeline] { [Pipeline] checkout [2023-11-08T19:30:55.408Z] The recommended git tool is: git [2023-11-08T19:31:01.487Z] using credential edgex-jenkins-ssh [2023-11-08T19:31:01.504Z] Cloning the remote Git repository [2023-11-08T19:31:01.553Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-11-08T19:31:01.657Z] > git init /w/workspace/device-uart/16 # timeout=10 [2023-11-08T19:31:01.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-08T19:31:01.810Z] > git --version # timeout=10 [2023-11-08T19:31:01.830Z] > git --version # 'git version 2.25.1' [2023-11-08T19:31:01.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T19:31:02.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:31:04.117Z] Avoid second fetch [2023-11-08T19:31:04.117Z] Checking out Revision fa6f5852468eb49835cee0d79cba99231dc0852e (main) [2023-11-08T19:31:03.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-08T19:31:03.266Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:31:04.133Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T19:31:04.222Z] > git checkout -f fa6f5852468eb49835cee0d79cba99231dc0852e # timeout=10 [2023-11-08T19:31:04.699Z] Commit message: "Merge pull request #32 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:31:05.548Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T19:31:05.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:31:05.548Z] Dload Upload Total Spent Left Speed [2023-11-08T19:31:05.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2023-11-08T19:31:06.195Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T19:31:06.532Z] + sudo+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T19:31:06.533Z] tee /etc/docker/daemon.new [2023-11-08T19:31:06.533Z] { [2023-11-08T19:31:06.533Z] "registry-mirrors": [ [2023-11-08T19:31:06.533Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T19:31:06.533Z] ], [2023-11-08T19:31:06.533Z] "bip": "10.250.0.254/24", [2023-11-08T19:31:06.533Z] "hosts": [ [2023-11-08T19:31:06.533Z] "tcp://0.0.0.0:5555", [2023-11-08T19:31:06.533Z] "unix:///var/run/docker.sock" [2023-11-08T19:31:06.533Z] ], [2023-11-08T19:31:06.533Z] "mtu": 1458, [2023-11-08T19:31:06.533Z] "selinux-enabled": true, [2023-11-08T19:31:06.533Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T19:31:06.533Z] } [Pipeline] sh [2023-11-08T19:31:06.871Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T19:31:07.213Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:31:25.508Z] provisioning config files... [2023-11-08T19:31:25.535Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/16@tmp/config863292381839267000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:31:25.895Z] ---> docker-login.sh [2023-11-08T19:31:25.895Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:31:26.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:31:26.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:31:26.488Z] Configure a credential helper to remove this warning. See [2023-11-08T19:31:26.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:31:26.488Z] [2023-11-08T19:31:26.488Z] Login Succeeded [2023-11-08T19:31:26.488Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:31:26.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:31:26.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:31:26.759Z] Configure a credential helper to remove this warning. See [2023-11-08T19:31:26.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:31:26.759Z] [2023-11-08T19:31:26.759Z] Login Succeeded [2023-11-08T19:31:27.030Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:31:27.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:31:27.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:31:27.306Z] Configure a credential helper to remove this warning. See [2023-11-08T19:31:27.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:31:27.306Z] [2023-11-08T19:31:27.306Z] Login Succeeded [2023-11-08T19:31:27.306Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:31:27.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:31:27.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:31:27.577Z] Configure a credential helper to remove this warning. See [2023-11-08T19:31:27.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:31:27.577Z] [2023-11-08T19:31:27.577Z] Login Succeeded [2023-11-08T19:31:27.577Z] docker.io [2023-11-08T19:31:27.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:31:28.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:31:28.442Z] Configure a credential helper to remove this warning. See [2023-11-08T19:31:28.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:31:28.442Z] [2023-11-08T19:31:28.442Z] Login Succeeded [2023-11-08T19:31:28.442Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:31:28.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T19:31:28.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:31:28.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:31:28.777Z] ========================================================= [2023-11-08T19:31:28.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T19:31:28.777Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:31:29.141Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T19:31:29.413Z] Sending build context to Docker daemon 5.645MB [2023-11-08T19:31:29.413Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:31:29.413Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T19:31:29.683Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T19:31:29.683Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T19:31:29.683Z] 5d54e960e981: Pulling fs layer [2023-11-08T19:31:29.683Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T19:31:29.683Z] f0e02332f6b5: Pulling fs layer [2023-11-08T19:31:29.683Z] cefa15bbcfad: Pulling fs layer [2023-11-08T19:31:29.684Z] 17808c966233: Pulling fs layer [2023-11-08T19:31:29.684Z] f4c1fc716caa: Pulling fs layer [2023-11-08T19:31:29.684Z] f0e02332f6b5: Waiting [2023-11-08T19:31:29.684Z] cefa15bbcfad: Waiting [2023-11-08T19:31:29.684Z] 17808c966233: Waiting [2023-11-08T19:31:29.684Z] f4c1fc716caa: Waiting [2023-11-08T19:31:29.684Z] 5d54e960e981: Download complete [2023-11-08T19:31:29.684Z] f0e02332f6b5: Verifying Checksum [2023-11-08T19:31:29.684Z] f0e02332f6b5: Download complete [2023-11-08T19:31:29.684Z] cefa15bbcfad: Verifying Checksum [2023-11-08T19:31:29.684Z] cefa15bbcfad: Download complete [2023-11-08T19:31:29.684Z] 9fda8d8052c6: Verifying Checksum [2023-11-08T19:31:29.684Z] 9fda8d8052c6: Download complete [2023-11-08T19:31:30.287Z] f4c1fc716caa: Verifying Checksum [2023-11-08T19:31:30.287Z] f4c1fc716caa: Download complete [2023-11-08T19:31:30.556Z] 9fda8d8052c6: Pull complete [2023-11-08T19:31:31.152Z] 5d54e960e981: Pull complete [2023-11-08T19:31:31.747Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T19:31:31.747Z] c4a7e357bf2a: Download complete [2023-11-08T19:31:32.719Z] 17808c966233: Verifying Checksum [2023-11-08T19:31:32.719Z] 17808c966233: Download complete [2023-11-08T19:31:45.051Z] c4a7e357bf2a: Pull complete [2023-11-08T19:31:45.051Z] f0e02332f6b5: Pull complete [2023-11-08T19:31:45.051Z] cefa15bbcfad: Pull complete [2023-11-08T19:31:53.270Z] 17808c966233: Pull complete [2023-11-08T19:31:55.923Z] f4c1fc716caa: Pull complete [2023-11-08T19:31:55.923Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T19:31:56.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T19:31:56.225Z] ---> ea914061e18c [2023-11-08T19:31:56.225Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T19:31:57.671Z] ---> Running in e32fb9b7f6bc [2023-11-08T19:31:58.264Z] Removing intermediate container e32fb9b7f6bc [2023-11-08T19:31:58.264Z] ---> 9517b69f7770 [2023-11-08T19:31:58.264Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:31:58.264Z] ---> Running in a991d8e34d65 [2023-11-08T19:31:58.534Z] Removing intermediate container a991d8e34d65 [2023-11-08T19:31:58.534Z] ---> 5181caa6c2e9 [2023-11-08T19:31:58.534Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:31:58.534Z] ---> Running in cfd60548f466 [2023-11-08T19:31:58.804Z] Removing intermediate container cfd60548f466 [2023-11-08T19:31:58.804Z] ---> 67088fca4cfc [2023-11-08T19:31:58.804Z] Step 6/12 : WORKDIR /device-uart [2023-11-08T19:31:59.078Z] ---> Running in 60973f0525fe [2023-11-08T19:31:59.348Z] Removing intermediate container 60973f0525fe [2023-11-08T19:31:59.348Z] ---> 79bc4127eb76 [2023-11-08T19:31:59.348Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:31:59.348Z] ---> Running in 9d3f05398528 [2023-11-08T19:32:00.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:32:01.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:32:02.457Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T19:32:02.457Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T19:32:02.457Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T19:32:02.457Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T19:32:02.457Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:32:02.457Z] OK: 270 MiB in 56 packages [2023-11-08T19:32:03.425Z] Removing intermediate container 9d3f05398528 [2023-11-08T19:32:03.425Z] ---> 41b31a739d29 [2023-11-08T19:32:03.425Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T19:32:04.014Z] ---> cef11a01e2ec [2023-11-08T19:32:04.014Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:32:04.284Z] ---> Running in 920b95cb3b81 [2023-11-08T19:33:40.979Z] Removing intermediate container 920b95cb3b81 [2023-11-08T19:33:40.979Z] ---> 630022c21d80 [2023-11-08T19:33:40.979Z] Step 10/12 : COPY . . [2023-11-08T19:33:40.979Z] ---> a4a40b2497f8 [2023-11-08T19:33:40.979Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:33:40.979Z] ---> Running in b5dc3610b06d [2023-11-08T19:33:40.979Z] Removing intermediate container b5dc3610b06d [2023-11-08T19:33:40.979Z] ---> da02d5dfcbc2 [2023-11-08T19:33:40.979Z] Step 12/12 : RUN ${MAKE} [2023-11-08T19:33:40.979Z] ---> Running in 9cc56fedd08a [2023-11-08T19:33:40.979Z] noop [2023-11-08T19:33:40.979Z] Removing intermediate container 9cc56fedd08a [2023-11-08T19:33:40.979Z] ---> 4fb61b978212 [2023-11-08T19:33:40.979Z] Successfully built 4fb61b978212 [2023-11-08T19:33:40.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:33:41.346Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T19:33:41.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:33:41.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-17088 does not seem to be running inside a container [2023-11-08T19:33:41.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/16 -v /w/workspace/device-uart/16:/w/workspace/device-uart/16:rw,z -v /w/workspace/device-uart/16@tmp:/w/workspace/device-uart/16@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-11-08T19:33:42.933Z] $ docker top 7db6cb068c8fe52aced440f0fb2e1e4a075889161b37b31bdd3a91c8a6c47ced -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:33:43.785Z] + go version [2023-11-08T19:33:43.786Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T19:33:43.788Z] $ docker stop --time=1 7db6cb068c8fe52aced440f0fb2e1e4a075889161b37b31bdd3a91c8a6c47ced [2023-11-08T19:33:45.422Z] $ docker rm -f --volumes 7db6cb068c8fe52aced440f0fb2e1e4a075889161b37b31bdd3a91c8a6c47ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:33:45.977Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T19:33:45.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:33:46.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-17088 does not seem to be running inside a container [2023-11-08T19:33:46.219Z] $ 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/16 -v /w/workspace/device-uart/16:/w/workspace/device-uart/16:rw,z -v /w/workspace/device-uart/16@tmp:/w/workspace/device-uart/16@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-11-08T19:33:48.959Z] $ docker top 1764e82479c403ad9b140a09a787f16f043dcf19b98aea6157c1e66312fd0e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:33:49.806Z] + git config --global --add safe.directory /w/workspace/device-uart/16 [Pipeline] fileExists [Pipeline] sh [2023-11-08T19:33:50.173Z] + make test [2023-11-08T19:33:50.173Z] go test ./... -coverprofile=coverage.out [2023-11-08T19:33:54.436Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-08T19:35:31.142Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-08T19:35:31.142Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-08T19:35:31.142Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T19:35:31.142Z] go vet ./... [2023-11-08T19:36:03.421Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T19:36:03.421Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T19:36:03.421Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T19:36:03.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T19:36:03.449Z] $ docker stop --time=1 1764e82479c403ad9b140a09a787f16f043dcf19b98aea6157c1e66312fd0e04 [2023-11-08T19:36:05.489Z] $ docker rm -f --volumes 1764e82479c403ad9b140a09a787f16f043dcf19b98aea6157c1e66312fd0e04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:36:06.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T19:36:06.696Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T19:36:07.164Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:36:07.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T19:36:07.881Z] + ls -al . [2023-11-08T19:36:07.881Z] total 148 [2023-11-08T19:36:07.881Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 19:33 . [2023-11-08T19:36:07.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:31 .. [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 19:31 .dockerignore [2023-11-08T19:36:07.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:31 .git [2023-11-08T19:36:07.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:31 .github [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 19:31 .gitignore [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 19:31 .golangci.yml [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 8 19:31 Attribution.txt [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 1777 Nov 8 19:31 Dockerfile [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:31 GOVERNANCE.md [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 8 19:31 Jenkinsfile [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 19:31 LICENSE [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 8 19:31 Makefile [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 19:31 OWNERS.md [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 8 19:31 README.md [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 19:28 VERSION [2023-11-08T19:36:07.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:31 bin [2023-11-08T19:36:07.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:31 cmd [2023-11-08T19:36:07.881Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 19:33 coverage.out [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 3674 Nov 8 19:31 go.mod [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 35219 Nov 8 19:31 go.sum [2023-11-08T19:36:07.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:31 internal [2023-11-08T19:36:07.881Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 19:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:36:08.217Z] + 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=fa6f5852468eb49835cee0d79cba99231dc0852e --label arch=arm64 --label version=3.0.1-dev.10 . [2023-11-08T19:36:08.484Z] Sending build context to Docker daemon 5.646MB [2023-11-08T19:36:08.484Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:36:08.484Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T19:36:08.484Z] ---> 4fb61b978212 [2023-11-08T19:36:08.484Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T19:36:09.896Z] ---> Running in 4d6d0507cd48 [2023-11-08T19:36:10.190Z] Removing intermediate container 4d6d0507cd48 [2023-11-08T19:36:10.190Z] ---> cc90fc2c9fed [2023-11-08T19:36:10.190Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:36:10.190Z] ---> Running in 5785af6702aa [2023-11-08T19:36:10.458Z] Removing intermediate container 5785af6702aa [2023-11-08T19:36:10.458Z] ---> 1447f2ca0c7d [2023-11-08T19:36:10.458Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:36:10.458Z] ---> Running in ff03098623cf [2023-11-08T19:36:11.040Z] Removing intermediate container ff03098623cf [2023-11-08T19:36:11.040Z] ---> f86c024b95c3 [2023-11-08T19:36:11.040Z] Step 6/25 : WORKDIR /device-uart [2023-11-08T19:36:11.040Z] ---> Running in c7d43973e107 [2023-11-08T19:36:11.307Z] Removing intermediate container c7d43973e107 [2023-11-08T19:36:11.307Z] ---> 793d68433e11 [2023-11-08T19:36:11.307Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:36:11.598Z] ---> Running in adae44bb4adf [2023-11-08T19:36:12.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:36:13.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:36:14.111Z] OK: 270 MiB in 56 packages [2023-11-08T19:36:16.070Z] Removing intermediate container adae44bb4adf [2023-11-08T19:36:16.070Z] ---> e3b8818732e8 [2023-11-08T19:36:16.070Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T19:36:16.339Z] ---> ffc2e6471623 [2023-11-08T19:36:16.339Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:36:16.339Z] ---> Running in eaec7f4ced96 [2023-11-08T19:36:20.614Z] Removing intermediate container eaec7f4ced96 [2023-11-08T19:36:20.614Z] ---> 786c148f44a6 [2023-11-08T19:36:20.614Z] Step 10/25 : COPY . . [2023-11-08T19:36:24.869Z] ---> f1f34fb3a10d [2023-11-08T19:36:24.869Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:36:24.869Z] ---> Running in ba9e788c6d17 [2023-11-08T19:36:26.280Z] Removing intermediate container ba9e788c6d17 [2023-11-08T19:36:26.280Z] ---> 3f53da5c6e79 [2023-11-08T19:36:26.280Z] Step 12/25 : RUN ${MAKE} [2023-11-08T19:36:26.280Z] ---> Running in c0a7b7fc86f0 [2023-11-08T19:36:28.899Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-08T19:38:20.623Z] Removing intermediate container c0a7b7fc86f0 [2023-11-08T19:38:20.623Z] ---> 37d0d16d6d30 [2023-11-08T19:38:20.623Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T19:38:20.623Z] 3.18: Pulling from library/alpine [2023-11-08T19:38:20.623Z] 579b34f0a95b: Pulling fs layer [2023-11-08T19:38:20.623Z] 579b34f0a95b: Download complete [2023-11-08T19:38:20.623Z] 579b34f0a95b: Pull complete [2023-11-08T19:38:20.623Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T19:38:20.623Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T19:38:20.623Z] ---> 3cc203321400 [2023-11-08T19:38:20.623Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-08T19:38:20.623Z] ---> Running in 740e6d2a8409 [2023-11-08T19:38:20.623Z] Removing intermediate container 740e6d2a8409 [2023-11-08T19:38:20.623Z] ---> a50b57ce078c [2023-11-08T19:38:20.623Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T19:38:20.623Z] ---> Running in 474259500b63 [2023-11-08T19:38:21.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:38:21.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:38:22.745Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T19:38:22.745Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:38:22.745Z] OK: 8 MiB in 16 packages [2023-11-08T19:38:23.701Z] Removing intermediate container 474259500b63 [2023-11-08T19:38:23.701Z] ---> 71d501f8055e [2023-11-08T19:38:23.701Z] Step 16/25 : WORKDIR / [2023-11-08T19:38:23.701Z] ---> Running in eb86d2e0e9c1 [2023-11-08T19:38:23.967Z] Removing intermediate container eb86d2e0e9c1 [2023-11-08T19:38:23.967Z] ---> a1219ef04163 [2023-11-08T19:38:23.967Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-08T19:38:24.551Z] ---> aedafb8ef90e [2023-11-08T19:38:24.551Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-11-08T19:38:25.135Z] ---> 2eedf0b04b8b [2023-11-08T19:38:25.135Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-11-08T19:38:26.540Z] ---> a3525feb4ed2 [2023-11-08T19:38:26.540Z] Step 20/25 : EXPOSE 59995 [2023-11-08T19:38:26.540Z] ---> Running in 4526cf6a5081 [2023-11-08T19:38:26.806Z] Removing intermediate container 4526cf6a5081 [2023-11-08T19:38:26.806Z] ---> 10bbe3ee0850 [2023-11-08T19:38:26.806Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-11-08T19:38:26.806Z] ---> Running in ffe32464ca83 [2023-11-08T19:38:27.074Z] Removing intermediate container ffe32464ca83 [2023-11-08T19:38:27.074Z] ---> 7b8a29173252 [2023-11-08T19:38:27.074Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T19:38:27.340Z] ---> Running in af769303bbaa [2023-11-08T19:38:27.607Z] Removing intermediate container af769303bbaa [2023-11-08T19:38:27.607Z] ---> 91fcd649cf58 [2023-11-08T19:38:27.607Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T19:38:27.607Z] ---> Running in 0e0870ddf2d5 [2023-11-08T19:38:27.877Z] Removing intermediate container 0e0870ddf2d5 [2023-11-08T19:38:27.877Z] ---> 14974c337360 [2023-11-08T19:38:27.877Z] Step 24/25 : LABEL git_sha=fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:38:27.877Z] ---> Running in ec1d706c46e5 [2023-11-08T19:38:28.145Z] Removing intermediate container ec1d706c46e5 [2023-11-08T19:38:28.145Z] ---> 45d12d690035 [2023-11-08T19:38:28.145Z] Step 25/25 : LABEL version=3.0.1-dev.10 [2023-11-08T19:38:28.412Z] ---> Running in 5ed650cf1329 [2023-11-08T19:38:28.678Z] Removing intermediate container 5ed650cf1329 [2023-11-08T19:38:28.679Z] ---> fce344327e7b [2023-11-08T19:38:28.679Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T19:38:28.679Z] Successfully built fce344327e7b [2023-11-08T19:38:28.679Z] 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-11-08T19:38:28.783Z] provisioning config files... [2023-11-08T19:38:28.796Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/16@tmp/config4421272568974675159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:38:29.134Z] ---> docker-login.sh [2023-11-08T19:38:29.134Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:38:29.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:38:29.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:38:29.404Z] Configure a credential helper to remove this warning. See [2023-11-08T19:38:29.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:38:29.404Z] [2023-11-08T19:38:29.404Z] Login Succeeded [2023-11-08T19:38:29.404Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:38:29.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:38:29.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:38:29.670Z] Configure a credential helper to remove this warning. See [2023-11-08T19:38:29.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:38:29.670Z] [2023-11-08T19:38:29.670Z] Login Succeeded [2023-11-08T19:38:29.670Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:38:29.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:38:30.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:38:30.201Z] Configure a credential helper to remove this warning. See [2023-11-08T19:38:30.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:38:30.201Z] [2023-11-08T19:38:30.201Z] Login Succeeded [2023-11-08T19:38:30.201Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:38:30.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:38:30.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:38:30.468Z] Configure a credential helper to remove this warning. See [2023-11-08T19:38:30.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:38:30.468Z] [2023-11-08T19:38:30.468Z] Login Succeeded [2023-11-08T19:38:30.468Z] docker.io [2023-11-08T19:38:30.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:38:30.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:38:30.999Z] Configure a credential helper to remove this warning. See [2023-11-08T19:38:30.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:38:30.999Z] [2023-11-08T19:38:30.999Z] Login Succeeded [2023-11-08T19:38:30.999Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:38:31.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:38:31.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:38:31.067Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-11-08T19:38:31.067Z] fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:38:31.067Z] latest [2023-11-08T19:38:31.067Z] 3.0.1-dev.10 [2023-11-08T19:38:31.067Z] fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:38:31.067Z] main [2023-11-08T19:38:31.067Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:31.411Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:31.753Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:38:31.753Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-08T19:38:31.753Z] 7785ba634cf5: Preparing [2023-11-08T19:38:31.753Z] 447786e6fec0: Preparing [2023-11-08T19:38:31.753Z] f9f8437a2fe5: Preparing [2023-11-08T19:38:31.753Z] f5c3e735d49e: Preparing [2023-11-08T19:38:31.753Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:38:31.753Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:38:32.018Z] f5c3e735d49e: Pushed [2023-11-08T19:38:32.018Z] 447786e6fec0: Pushed [2023-11-08T19:38:32.018Z] f9f8437a2fe5: Pushed [2023-11-08T19:38:37.345Z] 7785ba634cf5: Pushed [2023-11-08T19:38:37.610Z] fa6f5852468eb49835cee0d79cba99231dc0852e: digest: sha256:41cf209d413ca2020f1b207547fa6b3b6c0c57c3e64c8e2b8da46d01ef7b5e87 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:37.952Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:38.296Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-11-08T19:38:38.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-08T19:38:38.297Z] 7785ba634cf5: Preparing [2023-11-08T19:38:38.297Z] 447786e6fec0: Preparing [2023-11-08T19:38:38.297Z] f9f8437a2fe5: Preparing [2023-11-08T19:38:38.297Z] f5c3e735d49e: Preparing [2023-11-08T19:38:38.297Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:38:38.297Z] 7785ba634cf5: Layer already exists [2023-11-08T19:38:38.297Z] f9f8437a2fe5: Layer already exists [2023-11-08T19:38:38.297Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:38:38.297Z] 447786e6fec0: Layer already exists [2023-11-08T19:38:38.297Z] f5c3e735d49e: Layer already exists [2023-11-08T19:38:38.297Z] latest: digest: sha256:41cf209d413ca2020f1b207547fa6b3b6c0c57c3e64c8e2b8da46d01ef7b5e87 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:38.926Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:39.259Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.10 [2023-11-08T19:38:39.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-08T19:38:39.259Z] 7785ba634cf5: Preparing [2023-11-08T19:38:39.259Z] 447786e6fec0: Preparing [2023-11-08T19:38:39.259Z] f9f8437a2fe5: Preparing [2023-11-08T19:38:39.259Z] f5c3e735d49e: Preparing [2023-11-08T19:38:39.259Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:38:39.259Z] f9f8437a2fe5: Layer already exists [2023-11-08T19:38:39.259Z] 7785ba634cf5: Layer already exists [2023-11-08T19:38:39.259Z] f5c3e735d49e: Layer already exists [2023-11-08T19:38:39.259Z] 447786e6fec0: Layer already exists [2023-11-08T19:38:39.259Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:38:39.259Z] 3.0.1-dev.10: digest: sha256:41cf209d413ca2020f1b207547fa6b3b6c0c57c3e64c8e2b8da46d01ef7b5e87 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:39.688Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:40.037Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:38:40.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-08T19:38:40.037Z] 7785ba634cf5: Preparing [2023-11-08T19:38:40.037Z] 447786e6fec0: Preparing [2023-11-08T19:38:40.037Z] f9f8437a2fe5: Preparing [2023-11-08T19:38:40.037Z] f5c3e735d49e: Preparing [2023-11-08T19:38:40.037Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:38:40.037Z] 447786e6fec0: Layer already exists [2023-11-08T19:38:40.037Z] 7785ba634cf5: Layer already exists [2023-11-08T19:38:40.037Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:38:40.037Z] f5c3e735d49e: Layer already exists [2023-11-08T19:38:40.037Z] f9f8437a2fe5: Layer already exists [2023-11-08T19:38:40.037Z] fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10: digest: sha256:41cf209d413ca2020f1b207547fa6b3b6c0c57c3e64c8e2b8da46d01ef7b5e87 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:40.393Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:40.745Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-11-08T19:38:40.745Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-08T19:38:40.745Z] 7785ba634cf5: Preparing [2023-11-08T19:38:40.745Z] 447786e6fec0: Preparing [2023-11-08T19:38:40.745Z] f9f8437a2fe5: Preparing [2023-11-08T19:38:40.745Z] f5c3e735d49e: Preparing [2023-11-08T19:38:40.745Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:38:40.745Z] 447786e6fec0: Layer already exists [2023-11-08T19:38:40.745Z] 7785ba634cf5: Layer already exists [2023-11-08T19:38:40.745Z] f9f8437a2fe5: Layer already exists [2023-11-08T19:38:40.745Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:38:40.745Z] f5c3e735d49e: Layer already exists [2023-11-08T19:38:40.745Z] main: digest: sha256:41cf209d413ca2020f1b207547fa6b3b6c0c57c3e64c8e2b8da46d01ef7b5e87 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:38:41.059Z] ===================================================== [Pipeline] echo [2023-11-08T19:38:41.066Z] taggedImages: [2023-11-08T19:38:41.066Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e [2023-11-08T19:38:41.066Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-11-08T19:38:41.066Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.10 [2023-11-08T19:38:41.066Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:fa6f5852468eb49835cee0d79cba99231dc0852e-3.0.1-dev.10 [2023-11-08T19:38:41.066Z] - 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-11-08T19:38:41.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:38:41.427Z] [2023-11-08T19:38:41.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:38:41.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:38:41.775Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T19:38:41.775Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T19:38:41.775Z] 04944245beec: Pulling fs layer [2023-11-08T19:38:41.775Z] 699f458cf7ca: Pulling fs layer [2023-11-08T19:38:41.775Z] 765212b225bb: Pulling fs layer [2023-11-08T19:38:41.775Z] f23df028b6ca: Pulling fs layer [2023-11-08T19:38:41.775Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T19:38:41.775Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T19:38:41.775Z] 765212b225bb: Waiting [2023-11-08T19:38:41.775Z] f23df028b6ca: Waiting [2023-11-08T19:38:41.775Z] d65c8cfc05b1: Waiting [2023-11-08T19:38:42.040Z] 04944245beec: Verifying Checksum [2023-11-08T19:38:42.040Z] 04944245beec: Download complete [2023-11-08T19:38:42.040Z] 765212b225bb: Verifying Checksum [2023-11-08T19:38:42.040Z] 765212b225bb: Download complete [2023-11-08T19:38:42.040Z] f23df028b6ca: Verifying Checksum [2023-11-08T19:38:42.040Z] f23df028b6ca: Download complete [2023-11-08T19:38:42.040Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T19:38:42.040Z] d65c8cfc05b1: Download complete [2023-11-08T19:38:42.306Z] 699f458cf7ca: Download complete [2023-11-08T19:38:42.574Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T19:38:42.574Z] 8998bd30e6a1: Download complete [2023-11-08T19:38:45.153Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T19:38:45.153Z] 2437ff75d9bd: Download complete [2023-11-08T19:38:47.104Z] 8998bd30e6a1: Pull complete [2023-11-08T19:38:47.369Z] 04944245beec: Pull complete [2023-11-08T19:38:48.779Z] 699f458cf7ca: Pull complete [2023-11-08T19:38:49.046Z] 765212b225bb: Pull complete [2023-11-08T19:38:50.002Z] f23df028b6ca: Pull complete [2023-11-08T19:38:50.268Z] d65c8cfc05b1: Pull complete [2023-11-08T19:39:08.475Z] 2437ff75d9bd: Pull complete [2023-11-08T19:39:08.475Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T19:39:08.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:39:08.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:39:08.670Z] prd-ubuntu20.04-docker-arm64-4c-16g-17088 does not seem to be running inside a container [2023-11-08T19:39:08.734Z] $ 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/16 -v /w/workspace/device-uart/16:/w/workspace/device-uart/16:rw,z -v /w/workspace/device-uart/16@tmp:/w/workspace/device-uart/16@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-11-08T19:39:11.300Z] $ docker top 96ebd4f4c2e6ab5ece530171e92ea51b3df8e20daebb8afcbfd1c663b9f42cc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:39:12.144Z] ---> job-cost.sh [2023-11-08T19:39:12.144Z] lf-activate-venv: SKIPPING [2023-11-08T19:39:12.144Z] INFO: No Stack... [2023-11-08T19:39:12.411Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T19:39:13.365Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:39:13.683Z] + cat /w/workspace/device-uart/16/archives/cost.csv [2023-11-08T19:39:13.683Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T19:39:14.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [2023-11-08T19:39:14.018Z] Resource [jenkins-edgexfoundry-device-uart-main-16-stack-cost] did not exist. Created. [2023-11-08T19:39:14.018Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:39:14.657Z] /w/workspace/device-uart/16@tmp/durable-594dd9e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T19:39:14.993Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T19:39:15.020Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T19:39:15.065Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:39:15.074Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:39:15.086Z] $ docker stop --time=1 96ebd4f4c2e6ab5ece530171e92ea51b3df8e20daebb8afcbfd1c663b9f42cc0 [2023-11-08T19:39:16.547Z] $ docker rm -f --volumes 96ebd4f4c2e6ab5ece530171e92ea51b3df8e20daebb8afcbfd1c663b9f42cc0 [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-11-08T19:39:16.911Z] provisioning config files... [2023-11-08T19:39:16.918Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5109404734980783245tmp [Pipeline] { [Pipeline] sh [2023-11-08T19:39:17.219Z] + set +x [2023-11-08T19:39:17.220Z] + curl -s https://codecov.io/bash [2023-11-08T19:39:17.220Z] + bash -s -- [2023-11-08T19:39:17.220Z] [2023-11-08T19:39:17.220Z] _____ _ [2023-11-08T19:39:17.220Z] / ____| | | [2023-11-08T19:39:17.220Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T19:39:17.220Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T19:39:17.220Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T19:39:17.220Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T19:39:17.220Z] Bash-1.0.6 [2023-11-08T19:39:17.220Z] [2023-11-08T19:39:17.220Z] [2023-11-08T19:39:17.220Z] ==> git version 2.25.1 found [2023-11-08T19:39:17.220Z] ==> 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-11-08T19:39:17.220Z] Release-Date: 2020-01-08 [2023-11-08T19:39:17.220Z] 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-11-08T19:39:17.220Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T19:39:17.220Z] ==> Jenkins CI detected. [2023-11-08T19:39:17.220Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-11-08T19:39:17.220Z] project root: . [2023-11-08T19:39:17.220Z] --> token set from env [2023-11-08T19:39:17.220Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T19:39:17.220Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T19:39:17.220Z] ==> Python coveragepy not found [2023-11-08T19:39:17.220Z] ==> Searching for coverage reports in: [2023-11-08T19:39:17.220Z] + . [2023-11-08T19:39:17.220Z] -> Found 1 reports [2023-11-08T19:39:17.220Z] ==> Detecting git/mercurial file structure [2023-11-08T19:39:17.220Z] ==> Reading reports [2023-11-08T19:39:17.220Z] + ./coverage.out bytes=10 [2023-11-08T19:39:17.220Z] ==> Appending adjustments [2023-11-08T19:39:17.220Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T19:39:17.480Z] + Found adjustments [2023-11-08T19:39:17.480Z] ==> Gzipping contents [2023-11-08T19:39:17.480Z] 4.0K /tmp/codecov.8R4Cbj.gz [2023-11-08T19:39:17.480Z] ==> Uploading reports [2023-11-08T19:39:17.480Z] url: https://codecov.io [2023-11-08T19:39:17.480Z] query: branch=main&commit=fa6f5852468eb49835cee0d79cba99231dc0852e&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T19:39:17.480Z] -> Pinging Codecov [2023-11-08T19:39:17.480Z] 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=fa6f5852468eb49835cee0d79cba99231dc0852e&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T19:39:17.480Z] -> Uploading to [2023-11-08T19:39:17.480Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/B9AA6E0BBD74AE3A32605C7A7C664919/fa6f5852468eb49835cee0d79cba99231dc0852e/d49f9a0b-7d13-4d30-a53e-82a561782a58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T193917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5200883ad1de9ce5ce5e972c39b49133290405a88dd2745bf47e50f4eeb1556 [2023-11-08T19:39:17.480Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:39:17.480Z] Dload Upload Total Spent Left Speed [2023-11-08T19:39:17.739Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2565 --:--:-- --:--:-- --:--:-- 2565 [2023-11-08T19:39:17.739Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] } [2023-11-08T19:39:17.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-08T19:39:17.889Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-08T19:39:17.901Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:39:18.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:39:18.211Z] [2023-11-08T19:39:18.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:39:18.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:39:18.516Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-08T19:39:18.516Z] df9b9388f04a: Pulling fs layer [2023-11-08T19:39:18.516Z] 52dc419b0ee2: Pulling fs layer [2023-11-08T19:39:18.516Z] 25bc292e5bac: Pulling fs layer [2023-11-08T19:39:18.516Z] 114826534d7a: Pulling fs layer [2023-11-08T19:39:18.516Z] 4657fd5d0bcf: Pulling fs layer [2023-11-08T19:39:18.516Z] 6ad1cebc031e: Pulling fs layer [2023-11-08T19:39:18.516Z] 8a3aa393b2d8: Pulling fs layer [2023-11-08T19:39:18.516Z] 114826534d7a: Waiting [2023-11-08T19:39:18.516Z] 4657fd5d0bcf: Waiting [2023-11-08T19:39:18.516Z] 6ad1cebc031e: Waiting [2023-11-08T19:39:18.516Z] 25bc292e5bac: Download complete [2023-11-08T19:39:18.516Z] 52dc419b0ee2: Download complete [2023-11-08T19:39:18.516Z] 4657fd5d0bcf: Verifying Checksum [2023-11-08T19:39:18.516Z] 4657fd5d0bcf: Download complete [2023-11-08T19:39:18.516Z] df9b9388f04a: Verifying Checksum [2023-11-08T19:39:18.776Z] 6ad1cebc031e: Verifying Checksum [2023-11-08T19:39:18.776Z] 6ad1cebc031e: Download complete [2023-11-08T19:39:18.776Z] df9b9388f04a: Pull complete [2023-11-08T19:39:18.776Z] 52dc419b0ee2: Pull complete [2023-11-08T19:39:18.776Z] 25bc292e5bac: Pull complete [2023-11-08T19:39:19.342Z] 114826534d7a: Verifying Checksum [2023-11-08T19:39:19.342Z] 114826534d7a: Download complete [2023-11-08T19:39:19.342Z] 8a3aa393b2d8: Verifying Checksum [2023-11-08T19:39:19.342Z] 8a3aa393b2d8: Download complete [2023-11-08T19:39:22.620Z] 114826534d7a: Pull complete [2023-11-08T19:39:22.620Z] 4657fd5d0bcf: Pull complete [2023-11-08T19:39:22.878Z] 6ad1cebc031e: Pull complete [2023-11-08T19:39:25.405Z] 8a3aa393b2d8: Pull complete [2023-11-08T19:39:25.405Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-08T19:39:25.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:39:25.405Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:39:25.600Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:39:25.626Z] $ 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-11-08T19:39:31.597Z] $ docker top 40bd5b18dad801967fef396ea1dfbba22f453fd77a23ea1f029534c1a29b79ce -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-08T19:39:31.663Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-11-08T19:39:31.940Z] + set -o pipefail [2023-11-08T19:39:31.941Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-11-08T19:39:38.509Z] [2023-11-08T19:39:38.509Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-11-08T19:39:38.509Z] [2023-11-08T19:39:38.509Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/75e08ff3-d8aa-4d24-8c70-e8039c43aa6f [2023-11-08T19:39:38.509Z] [2023-11-08T19:39:38.509Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-08T19:39:38.509Z] [2023-11-08T19:39:38.769Z] [2023-11-08T19:39:38.769Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-08T19:39:38.769Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-08T19:39:38.769Z] More details here: https://snyk.co/ue1NS [2023-11-08T19:39:38.769Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-08T19:39:38.769Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-08T19:39:38.768Z] $ docker stop --time=1 40bd5b18dad801967fef396ea1dfbba22f453fd77a23ea1f029534c1a29b79ce [2023-11-08T19:39:43.553Z] $ docker rm -f --volumes 40bd5b18dad801967fef396ea1dfbba22f453fd77a23ea1f029534c1a29b79ce [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-11-08T19:39:44.279Z] + git log --format=format:%s -1 fa6f5852468eb49835cee0d79cba99231dc0852e [Pipeline] sh [2023-11-08T19:39:44.574Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:39:44.574Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:39:44.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:39:44.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:39:44.953Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:39:44.976Z] $ 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-11-08T19:39:45.423Z] $ docker top 7c8d3b67ce609039e21dfc82353109e1ceb6038c9a305d41ce784ab07de40101 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:39:45.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:39:45.522Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:39:45.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:39:45.620Z] $ docker exec 7c8d3b67ce609039e21dfc82353109e1ceb6038c9a305d41ce784ab07de40101 ssh-agent [2023-11-08T19:39:45.736Z] SSH_AUTH_SOCK=/tmp/ssh-NBNeLYTHmgnh/agent.32 [2023-11-08T19:39:45.736Z] SSH_AGENT_PID=38 [2023-11-08T19:39:45.742Z] Running ssh-add (command line suppressed) [2023-11-08T19:39:45.827Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4875850796926068219.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4875850796926068219.key) [2023-11-08T19:39:45.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:39:46.136Z] + git semver tag [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,307 [run_tag] DEBUG tag force:False [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,308 [check_head_tag] DEBUG check head tag [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,308 [execute] INFO git cat-file --batch-check [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,312 [execute] INFO git cat-file --batch [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,321 [execute] INFO git tag -a v3.0.1-dev.10 -m v3.0.1-dev.10 [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,321 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.10', '-m', 'v3.0.1-dev.10'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:39:46.395Z] 2023-11-08 19:39:46,327 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:39:46.395Z] 3.0.1-dev.10 [Pipeline] } [2023-11-08T19:39:46.395Z] $ docker exec --env ******** --env ******** 7c8d3b67ce609039e21dfc82353109e1ceb6038c9a305d41ce784ab07de40101 ssh-agent -k [2023-11-08T19:39:46.477Z] unset SSH_AUTH_SOCK; [2023-11-08T19:39:46.479Z] unset SSH_AGENT_PID; [2023-11-08T19:39:46.479Z] echo Agent pid 38 killed; [2023-11-08T19:39:46.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:39:46.804Z] + git semver [Pipeline] } [2023-11-08T19:39:47.064Z] $ docker stop --time=1 7c8d3b67ce609039e21dfc82353109e1ceb6038c9a305d41ce784ab07de40101 [2023-11-08T19:39:48.313Z] $ docker rm -f --volumes 7c8d3b67ce609039e21dfc82353109e1ceb6038c9a305d41ce784ab07de40101 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:39:48.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:39:48.699Z] [2023-11-08T19:39:48.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:39:48.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:39:48.995Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-08T19:39:48.995Z] ab5ef0e58194: Pulling fs layer [2023-11-08T19:39:48.995Z] 9712f1f96733: Pulling fs layer [2023-11-08T19:39:48.995Z] 63f879dbbcfc: Pulling fs layer [2023-11-08T19:39:48.995Z] 0d9ebad4ef96: Pulling fs layer [2023-11-08T19:39:48.995Z] e9a5061849ea: Pulling fs layer [2023-11-08T19:39:48.995Z] d747dcd14b5f: Pulling fs layer [2023-11-08T19:39:48.995Z] 2de7ff778b66: Pulling fs layer [2023-11-08T19:39:48.995Z] d747dcd14b5f: Waiting [2023-11-08T19:39:48.995Z] e9a5061849ea: Waiting [2023-11-08T19:39:48.995Z] 0d9ebad4ef96: Waiting [2023-11-08T19:39:48.995Z] 2de7ff778b66: Waiting [2023-11-08T19:39:48.995Z] 9712f1f96733: Download complete [2023-11-08T19:39:49.254Z] 63f879dbbcfc: Verifying Checksum [2023-11-08T19:39:49.254Z] 63f879dbbcfc: Download complete [2023-11-08T19:39:49.512Z] e9a5061849ea: Verifying Checksum [2023-11-08T19:39:49.512Z] e9a5061849ea: Download complete [2023-11-08T19:39:49.512Z] d747dcd14b5f: Download complete [2023-11-08T19:39:49.512Z] ab5ef0e58194: Verifying Checksum [2023-11-08T19:39:49.512Z] ab5ef0e58194: Download complete [2023-11-08T19:39:49.512Z] 0d9ebad4ef96: Verifying Checksum [2023-11-08T19:39:49.512Z] 0d9ebad4ef96: Download complete [2023-11-08T19:39:49.512Z] 2de7ff778b66: Verifying Checksum [2023-11-08T19:39:49.512Z] 2de7ff778b66: Download complete [2023-11-08T19:39:52.795Z] ab5ef0e58194: Pull complete [2023-11-08T19:39:52.795Z] 9712f1f96733: Pull complete [2023-11-08T19:39:53.052Z] 63f879dbbcfc: Pull complete [2023-11-08T19:39:57.286Z] 0d9ebad4ef96: Pull complete [2023-11-08T19:39:57.286Z] e9a5061849ea: Pull complete [2023-11-08T19:39:57.286Z] d747dcd14b5f: Pull complete [2023-11-08T19:39:58.221Z] 2de7ff778b66: Pull complete [2023-11-08T19:39:58.221Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-08T19:39:58.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:39:58.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:39:58.303Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:39:58.328Z] $ 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-11-08T19:40:06.478Z] $ docker top b5168e80c0ca8ca75da8aec3ef1f0955fad142583a2cd8ea7e70662ed1b1c3ca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:40:06.558Z] provisioning config files... [2023-11-08T19:40:06.567Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7727064945894365130tmp [2023-11-08T19:40:06.577Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config445238897888510433tmp [2023-11-08T19:40:06.586Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13889333079509571043tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:40:06.602Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:06.890Z] ---> sigul-configuration.sh [2023-11-08T19:40:06.890Z] gpg: directory `/root/.gnupg' created [2023-11-08T19:40:06.890Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-08T19:40:06.890Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-08T19:40:06.890Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-08T19:40:06.890Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-08T19:40:06.890Z] gpg: CAST5 encrypted data [2023-11-08T19:40:06.890Z] gpg: encrypted with 1 passphrase [2023-11-08T19:40:06.890Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-08T19:40:07.180Z] + mkdir /home/jenkins [2023-11-08T19:40:07.180Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-08T19:40:07.465Z] + 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-11-08T19:40:07.474Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:07.758Z] ---> sigul-install.sh [2023-11-08T19:40:07.758Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-08T19:40:08.044Z] + git tag --list [2023-11-08T19:40:08.044Z] v0.0.0 [2023-11-08T19:40:08.044Z] v0.0.1-dev.1 [2023-11-08T19:40:08.044Z] v0.0.1-dev.2 [2023-11-08T19:40:08.044Z] v0.0.1-dev.3 [2023-11-08T19:40:08.044Z] v0.0.1-dev.4 [2023-11-08T19:40:08.044Z] v3.0.0 [2023-11-08T19:40:08.044Z] v3.0.1-dev.1 [2023-11-08T19:40:08.044Z] v3.0.1-dev.10 [2023-11-08T19:40:08.044Z] v3.0.1-dev.2 [2023-11-08T19:40:08.044Z] v3.0.1-dev.3 [2023-11-08T19:40:08.044Z] v3.0.1-dev.4 [2023-11-08T19:40:08.044Z] v3.0.1-dev.5 [2023-11-08T19:40:08.044Z] v3.0.1-dev.6 [2023-11-08T19:40:08.044Z] v3.0.1-dev.7 [2023-11-08T19:40:08.044Z] v3.0.1-dev.8 [2023-11-08T19:40:08.044Z] v3.0.1-dev.9 [Pipeline] sh [2023-11-08T19:40:08.329Z] + lftools sign git-tag v3.0.1-dev.10 [2023-11-08T19:40:08.897Z] Signing Git tag with Sigul... [2023-11-08T19:40:08.897Z] Signing v3.0.1-dev.10 [Pipeline] echo [2023-11-08T19:40:09.165Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:09.447Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-08T19:40:09.453Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-08T19:40:09.460Z] $ docker stop --time=1 b5168e80c0ca8ca75da8aec3ef1f0955fad142583a2cd8ea7e70662ed1b1c3ca [2023-11-08T19:40:10.740Z] $ docker rm -f --volumes b5168e80c0ca8ca75da8aec3ef1f0955fad142583a2cd8ea7e70662ed1b1c3ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-08T19:40:11.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:40:11.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:40:11.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:40:11.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:40:11.525Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:40:11.538Z] $ 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-11-08T19:40:11.879Z] $ docker top dbe6f722da0997d4c1922ad1a4ae0201ec7d1f1fb6665e97b075160cd36ef077 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:40:11.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:40:11.970Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:40:12.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:40:12.061Z] $ docker exec dbe6f722da0997d4c1922ad1a4ae0201ec7d1f1fb6665e97b075160cd36ef077 ssh-agent [2023-11-08T19:40:12.177Z] SSH_AUTH_SOCK=/tmp/ssh-9UtsdnocVlwn/agent.31 [2023-11-08T19:40:12.177Z] SSH_AGENT_PID=37 [2023-11-08T19:40:12.182Z] Running ssh-add (command line suppressed) [2023-11-08T19:40:12.266Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14495245678786932191.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14495245678786932191.key) [2023-11-08T19:40:12.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:40:12.582Z] + git semver bump pre [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [bump_version] DEBUG bumping version:3.0.1-dev.10 on axis:pre with prefix:dev [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [bump_version] DEBUG bumped version:3.0.1-dev.11 [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [write_version] DEBUG write version:3.0.1-dev.11 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,735 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,739 [execute] INFO git cat-file --batch-check [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,745 [execute] INFO git cat-file --batch [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:40:12.842Z] 2023-11-08 19:40:12,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:40:12.842Z] 3.0.1-dev.11 [Pipeline] } [2023-11-08T19:40:12.840Z] $ docker exec --env ******** --env ******** dbe6f722da0997d4c1922ad1a4ae0201ec7d1f1fb6665e97b075160cd36ef077 ssh-agent -k [2023-11-08T19:40:12.940Z] unset SSH_AUTH_SOCK; [2023-11-08T19:40:12.940Z] unset SSH_AGENT_PID; [2023-11-08T19:40:12.940Z] echo Agent pid 37 killed; [2023-11-08T19:40:12.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:40:13.273Z] + git semver [Pipeline] } [2023-11-08T19:40:13.533Z] $ docker stop --time=1 dbe6f722da0997d4c1922ad1a4ae0201ec7d1f1fb6665e97b075160cd36ef077 [2023-11-08T19:40:15.995Z] $ docker rm -f --volumes dbe6f722da0997d4c1922ad1a4ae0201ec7d1f1fb6665e97b075160cd36ef077 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:40:16.519Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:40:16.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:40:16.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:40:16.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:40:16.891Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:40:16.913Z] $ 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-11-08T19:40:17.242Z] $ docker top ba4ea583caec3b17863248993ca722a34c44b3e6f6965e04628027258d33e3bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:40:17.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:40:17.342Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:40:17.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:40:17.452Z] $ docker exec ba4ea583caec3b17863248993ca722a34c44b3e6f6965e04628027258d33e3bd ssh-agent [2023-11-08T19:40:17.583Z] SSH_AUTH_SOCK=/tmp/ssh-5UyjUIp9dVBh/agent.32 [2023-11-08T19:40:17.583Z] SSH_AGENT_PID=39 [2023-11-08T19:40:17.588Z] Running ssh-add (command line suppressed) [2023-11-08T19:40:17.682Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4317714041022919450.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4317714041022919450.key) [2023-11-08T19:40:17.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:40:17.995Z] + git semver push [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,169 [run_push] DEBUG push [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,170 [execute] INFO git cat-file --batch-check [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,173 [execute] INFO git rev-list a2048fd1a39c424e4de7d8d3a8c6ce68cb975f19 -- [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,173 [execute] DEBUG Popen(['git', 'rev-list', 'a2048fd1a39c424e4de7d8d3a8c6ce68cb975f19', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,178 [execute] INFO git fetch -v origin [2023-11-08T19:40:18.255Z] 2023-11-08 19:40:18,178 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-08T19:40:18.825Z] 2023-11-08 19:40:18,739 [run_push] DEBUG no remote changes detected [2023-11-08T19:40:18.825Z] 2023-11-08 19:40:18,739 [execute] INFO git push origin semver [2023-11-08T19:40:18.825Z] 2023-11-08 19:40:18,739 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:40:19.761Z] 2023-11-08 19:40:19,663 [run_push] DEBUG push all version tags [2023-11-08T19:40:19.761Z] 2023-11-08 19:40:19,663 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-08T19:40:19.761Z] 2023-11-08 19:40:19,664 [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-11-08T19:40:20.699Z] 2023-11-08 19:40:20,420 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-08T19:40:20.699Z] 3.0.1-dev.11 [Pipeline] } [2023-11-08T19:40:20.698Z] $ docker exec --env ******** --env ******** ba4ea583caec3b17863248993ca722a34c44b3e6f6965e04628027258d33e3bd ssh-agent -k [2023-11-08T19:40:20.795Z] unset SSH_AUTH_SOCK; [2023-11-08T19:40:20.796Z] unset SSH_AGENT_PID; [2023-11-08T19:40:20.796Z] echo Agent pid 39 killed; [2023-11-08T19:40:20.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:40:21.127Z] + git semver [Pipeline] } [2023-11-08T19:40:21.388Z] $ docker stop --time=1 ba4ea583caec3b17863248993ca722a34c44b3e6f6965e04628027258d33e3bd [2023-11-08T19:40:22.671Z] $ docker rm -f --volumes ba4ea583caec3b17863248993ca722a34c44b3e6f6965e04628027258d33e3bd [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-11-08T19:40:23.263Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-11-08T19:40:23.263Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-08T19:40:23.263Z] total 16 [2023-11-08T19:40:23.263Z] drwxr-xr-x 3 root root 4096 Nov 8 19:30 . [2023-11-08T19:40:23.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:40 .. [2023-11-08T19:40:23.263Z] drwxr-xr-x 2 root root 4096 Nov 8 19:30 cost [2023-11-08T19:40:23.263Z] -rw-r--r-- 1 root root 82 Nov 8 19:30 cost.csv [2023-11-08T19:40:23.263Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-08T19:40:23.263Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-08T19:40:23.263Z] total 16 [2023-11-08T19:40:23.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:30 . [2023-11-08T19:40:23.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:40 .. [2023-11-08T19:40:23.263Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:30 cost [2023-11-08T19:40:23.263Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 8 19:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:23.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:24.409Z] ---> package-listing.sh [2023-11-08T19:40:24.409Z] ++ facter osfamily [2023-11-08T19:40:24.409Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T19:40:24.668Z] + OS_FAMILY=debian [2023-11-08T19:40:24.668Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-11-08T19:40:24.668Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T19:40:24.668Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T19:40:24.668Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T19:40:24.668Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T19:40:24.668Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-11-08T19:40:24.668Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T19:40:24.668Z] + case "${OS_FAMILY}" in [2023-11-08T19:40:24.668Z] + dpkg -l [2023-11-08T19:40:24.668Z] + grep '^ii' [2023-11-08T19:40:24.668Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T19:40:24.668Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T19:40:24.668Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T19:40:24.668Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-11-08T19:40:24.668Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-11-08T19:40:24.668Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-11-08T19:40:24.679Z] 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-11-08T19:40:24.957Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:40:25.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:40:25.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:40:25.589Z] prd-ubuntu20.04-docker-8c-8g-17084 does not seem to be running inside a container [2023-11-08T19:40:25.608Z] $ 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-11-08T19:40:25.830Z] $ docker top 211f8986cd746fe029dba8b0364ab74183edb443752f45167c9965accad9827f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:40:26.191Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T19:40:26.478Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T19:40:26.764Z] + ls /var/log/sa-host [2023-11-08T19:40:26.764Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:40:26.839Z] provisioning config files... [2023-11-08T19:40:26.848Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1585179672229315364tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:40:26.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:27.151Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T19:40:27.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:27.476Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T19:40:27.485Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:27.769Z] ---> sudo-logs.sh [2023-11-08T19:40:27.769Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T19:40:27.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:28.088Z] ---> job-cost.sh [2023-11-08T19:40:28.088Z] lf-activate-venv: SKIPPING [2023-11-08T19:40:28.088Z] DEBUG: total: 0.2199999988079071 [2023-11-08T19:40:28.088Z] INFO: Retrieving Stack Cost... [2023-11-08T19:40:28.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:40:28.917Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T19:40:28.931Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:40:29.212Z] ---> logs-deploy.sh [2023-11-08T19:40:29.212Z] lf-activate-venv: SKIPPING [2023-11-08T19:40:29.212Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/16 [2023-11-08T19:40:29.212Z] INFO: archiving workspace using pattern(s): [2023-11-08T19:40:30.150Z] Archives upload complete. [2023-11-08T19:40:30.150Z] INFO: archiving logs to Nexus