Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a7611fe9d2266d68c2062e26c6ab482e9781192 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-ssh3357164573782604680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh12886579197550485714.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh12021545642950736732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh4792250649735349453.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-ssh4727758273895819005.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3217’ Running on prd-ubuntu20.04-docker-8c-8g-3220 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 5a7611fe9d2266d68c2062e26c6ab482e9781192 (main) Commit message: "Merge pull request #21 from jackchenjc/pkg-errors-removal" > 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 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 > git rev-list --no-walk f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:38:01.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:38:01.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:38:01.889Z] ========================================================= [2023-08-09T10:38:01.889Z] EdgeX Global Pipelines Version Info [2023-08-09T10:38:01.889Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:02.598Z] ------------------- [2023-08-09T10:38:02.598Z] stable info: [2023-08-09T10:38:02.598Z] ------------------- [2023-08-09T10:38:02.598Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:38:02.598Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:38:02.598Z] Message: update stable to v1.0.250 [2023-08-09T10:38:03.168Z] ------------------- [2023-08-09T10:38:03.168Z] experimental info: [2023-08-09T10:38:03.168Z] ------------------- [2023-08-09T10:38:03.168Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:38:03.168Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:38:03.168Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:38:03.335Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-08-09T10:38:03.348Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-08-09T10:38:03.362Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:38:03.376Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:38:03.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:38:03.400Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:38:03.411Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:38:03.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:38:03.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:38:03.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:38:03.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:38:03.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-08-09T10:38:03.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:38:03.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:38:03.540Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:38:03.556Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:38:03.571Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:38:03.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:38:03.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:38:03.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:38:03.620Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:38:03.640Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:38:03.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:38:03.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:38:03.679Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:38:03.692Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:38:03.708Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:38:03.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T10:38:03.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T10:38:03.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T10:38:03.765Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] echo [2023-08-09T10:38:03.781Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a7611f [Pipeline] echo [2023-08-09T10:38:03.792Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:38:03.836Z] provisioning config files... [2023-08-09T10:38:03.849Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12753790772497648123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:04.148Z] ---> docker-login.sh [2023-08-09T10:38:04.148Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:38:04.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:04.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:04.408Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:04.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:04.408Z] [2023-08-09T10:38:04.408Z] Login Succeeded [2023-08-09T10:38:04.408Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:38:04.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:04.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:04.408Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:04.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:04.408Z] [2023-08-09T10:38:04.408Z] Login Succeeded [2023-08-09T10:38:04.408Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:38:04.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:04.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:04.666Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:04.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:04.666Z] [2023-08-09T10:38:04.666Z] Login Succeeded [2023-08-09T10:38:04.666Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:38:04.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:04.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:04.666Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:04.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:04.666Z] [2023-08-09T10:38:04.666Z] Login Succeeded [2023-08-09T10:38:04.666Z] docker.io [2023-08-09T10:38:04.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:04.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:04.926Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:04.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:04.926Z] [2023-08-09T10:38:04.926Z] Login Succeeded [2023-08-09T10:38:04.926Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:38:04.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:38:05.275Z] + git rev-list -1 --merges 5a7611fe9d2266d68c2062e26c6ab482e9781192~1..5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] echo [2023-08-09T10:38:05.318Z] -----------> git rev-list -1 --merges 5a7611fe9d2266d68c2062e26c6ab482e9781192~1..5a7611fe9d2266d68c2062e26c6ab482e9781192 5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:38:05.318Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192 [false] [Pipeline] sh [2023-08-09T10:38:05.606Z] + git log --format=format:%s -1 5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] echo [2023-08-09T10:38:05.621Z] ========================================================= [2023-08-09T10:38:05.621Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:38:05.621Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:38:05.940Z] + git log --format=format:%s -1 5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] echo [2023-08-09T10:38:05.969Z] [semverPrep] GIT_COMMIT: 5a7611fe9d2266d68c2062e26c6ab482e9781192, Commit Message: Merge pull request #21 from jackchenjc/pkg-errors-removal [Pipeline] echo [2023-08-09T10:38:05.977Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:38:06.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:38:06.325Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:38:06.325Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:38:06.325Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:38:06.325Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:38:06.325Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:38:06.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:06.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:38:06.679Z] [2023-08-09T10:38:06.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:06.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:38:06.976Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:38:06.976Z] b85a868b505f: Pulling fs layer [2023-08-09T10:38:06.976Z] e2be974225ed: Pulling fs layer [2023-08-09T10:38:06.976Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:38:06.976Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:38:06.976Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:38:06.976Z] eaf3925da568: Pulling fs layer [2023-08-09T10:38:06.976Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:38:06.976Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:38:06.976Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:38:06.976Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:38:06.976Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:38:06.976Z] b352a97aabf1: Waiting [2023-08-09T10:38:06.976Z] 988bab9f4d93: Waiting [2023-08-09T10:38:06.976Z] bab4dde63d76: Waiting [2023-08-09T10:38:06.976Z] bde34c3a00c8: Waiting [2023-08-09T10:38:06.976Z] eaf3925da568: Waiting [2023-08-09T10:38:06.976Z] 4872d77fe225: Waiting [2023-08-09T10:38:06.976Z] 1469e6f7b9e6: Waiting [2023-08-09T10:38:06.976Z] e2be974225ed: Verifying Checksum [2023-08-09T10:38:06.976Z] e2be974225ed: Download complete [2023-08-09T10:38:06.976Z] 988bab9f4d93: Verifying Checksum [2023-08-09T10:38:06.976Z] 988bab9f4d93: Download complete [2023-08-09T10:38:06.976Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:38:06.976Z] 1469e6f7b9e6: Download complete [2023-08-09T10:38:07.236Z] eaf3925da568: Verifying Checksum [2023-08-09T10:38:07.236Z] eaf3925da568: Download complete [2023-08-09T10:38:07.236Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:38:07.236Z] 339a4e72a1f5: Download complete [2023-08-09T10:38:07.236Z] bde34c3a00c8: Verifying Checksum [2023-08-09T10:38:07.236Z] bde34c3a00c8: Download complete [2023-08-09T10:38:07.236Z] b352a97aabf1: Verifying Checksum [2023-08-09T10:38:07.236Z] b352a97aabf1: Download complete [2023-08-09T10:38:07.236Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:38:07.236Z] 4872d77fe225: Download complete [2023-08-09T10:38:07.236Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:38:07.236Z] 5851b861e8e6: Download complete [2023-08-09T10:38:07.236Z] b85a868b505f: Verifying Checksum [2023-08-09T10:38:07.236Z] b85a868b505f: Download complete [2023-08-09T10:38:07.495Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:38:07.495Z] bab4dde63d76: Download complete [2023-08-09T10:38:08.432Z] b85a868b505f: Pull complete [2023-08-09T10:38:08.691Z] e2be974225ed: Pull complete [2023-08-09T10:38:09.259Z] 339a4e72a1f5: Pull complete [2023-08-09T10:38:09.259Z] 988bab9f4d93: Pull complete [2023-08-09T10:38:09.518Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:38:09.518Z] eaf3925da568: Pull complete [2023-08-09T10:38:11.793Z] bab4dde63d76: Pull complete [2023-08-09T10:38:11.793Z] bde34c3a00c8: Pull complete [2023-08-09T10:38:11.793Z] b352a97aabf1: Pull complete [2023-08-09T10:38:11.793Z] 4872d77fe225: Pull complete [2023-08-09T10:38:11.793Z] 5851b861e8e6: Pull complete [2023-08-09T10:38:11.793Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:38:11.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:38:11.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:38:11.909Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:38:11.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:38:14.741Z] $ docker top 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 -eo pid,comm [2023-08-09T10:38:14.793Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:38:14.793Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:38:14.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:38:14.835Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:38:14.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:38:14.964Z] $ docker exec 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 ssh-agent [2023-08-09T10:38:15.080Z] SSH_AUTH_SOCK=/tmp/ssh-rHFjy5Dt3nTP/agent.33 [2023-08-09T10:38:15.080Z] SSH_AGENT_PID=39 [2023-08-09T10:38:15.088Z] Running ssh-add (command line suppressed) [2023-08-09T10:38:15.202Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3462272850449623679.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3462272850449623679.key) [2023-08-09T10:38:15.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:38:15.515Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:38:15.537Z] $ docker exec --env ******** --env ******** 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 ssh-agent -k [2023-08-09T10:38:15.638Z] unset SSH_AUTH_SOCK; [2023-08-09T10:38:15.639Z] unset SSH_AGENT_PID; [2023-08-09T10:38:15.639Z] echo Agent pid 39 killed; [2023-08-09T10:38:15.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:38:15.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:38:15.675Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:38:15.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:38:15.802Z] $ docker exec 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 ssh-agent [2023-08-09T10:38:15.919Z] SSH_AUTH_SOCK=/tmp/ssh-VFsz4MB4xHcg/agent.71 [2023-08-09T10:38:15.919Z] SSH_AGENT_PID=77 [2023-08-09T10:38:15.924Z] Running ssh-add (command line suppressed) [2023-08-09T10:38:16.031Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2729984318391739434.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2729984318391739434.key) [2023-08-09T10:38:16.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:38:16.329Z] + git semver init [2023-08-09T10:38:16.589Z] 2023-08-09 10:38:16,512 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:38:16.589Z] 2023-08-09 10:38:16,512 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-08-09T10:38:16.589Z] 2023-08-09 10:38:16,513 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-08-09T10:38:16.589Z] 2023-08-09 10:38:16,513 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:38:18.200Z] 2023-08-09 10:38:18,023 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-08-09T10:38:18.200Z] 2023-08-09 10:38:18,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-08-09T10:38:18.200Z] 2023-08-09 10:38:18,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:38:18.200Z] 2023-08-09 10:38:18,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:38:18.200Z] 3.0.1-dev.1 [Pipeline] } [2023-08-09T10:38:18.212Z] $ docker exec --env ******** --env ******** 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 ssh-agent -k [2023-08-09T10:38:18.312Z] unset SSH_AUTH_SOCK; [2023-08-09T10:38:18.313Z] unset SSH_AGENT_PID; [2023-08-09T10:38:18.313Z] echo Agent pid 77 killed; [2023-08-09T10:38:18.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:38:18.625Z] + git semver [Pipeline] } [2023-08-09T10:38:18.899Z] $ docker stop --time=1 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 [2023-08-09T10:38:20.157Z] $ docker rm -f --volumes 771c5f7509497c48aabd76c2b9ce1e60e8f677eef171c4673d7ba8487045e455 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:38:20.497Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:38:20.715Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:38:20.718Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:38:20.832Z] provisioning config files... [2023-08-09T10:38:20.840Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13058035886279401108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:21.136Z] ---> docker-login.sh [2023-08-09T10:38:21.136Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:38:21.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:21.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:21.136Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:21.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:21.136Z] [2023-08-09T10:38:21.136Z] Login Succeeded [2023-08-09T10:38:21.136Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:38:21.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:21.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:21.136Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:21.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:21.136Z] [2023-08-09T10:38:21.136Z] Login Succeeded [2023-08-09T10:38:21.136Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:38:21.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:21.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:21.396Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:21.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:21.396Z] [2023-08-09T10:38:21.396Z] Login Succeeded [2023-08-09T10:38:21.396Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:38:21.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:21.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:21.396Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:21.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:21.396Z] [2023-08-09T10:38:21.396Z] Login Succeeded [2023-08-09T10:38:21.396Z] docker.io [2023-08-09T10:38:21.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:21.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:21.914Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:21.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:21.914Z] [2023-08-09T10:38:21.914Z] Login Succeeded [2023-08-09T10:38:21.914Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:38:21.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:38:21.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:38:22.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:38:22.019Z] ========================================================= [2023-08-09T10:38:22.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:38:22.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:22.338Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:38:22.338Z] Sending build context to Docker daemon 11.09MB [2023-08-09T10:38:22.338Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:38:22.338Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:38:22.338Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:38:22.338Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:38:22.338Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:38:22.338Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:38:22.338Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:38:22.338Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:38:22.338Z] 40a00589a448: Pulling fs layer [2023-08-09T10:38:22.338Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:38:22.338Z] 798269fcf238: Pulling fs layer [2023-08-09T10:38:22.338Z] ec0bb842ea78: Waiting [2023-08-09T10:38:22.338Z] 40a00589a448: Waiting [2023-08-09T10:38:22.338Z] 6863d3e3a2b1: Waiting [2023-08-09T10:38:22.338Z] 6c08303d61cc: Waiting [2023-08-09T10:38:22.338Z] 798269fcf238: Waiting [2023-08-09T10:38:22.338Z] 6911f1a30b25: Download complete [2023-08-09T10:38:22.338Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:38:22.338Z] 6863d3e3a2b1: Download complete [2023-08-09T10:38:22.598Z] ec0bb842ea78: Verifying Checksum [2023-08-09T10:38:22.599Z] ec0bb842ea78: Download complete [2023-08-09T10:38:22.599Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:38:22.599Z] 4db1b89c0bd1: Download complete [2023-08-09T10:38:22.599Z] 40a00589a448: Verifying Checksum [2023-08-09T10:38:22.599Z] 40a00589a448: Download complete [2023-08-09T10:38:22.599Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:38:22.859Z] 6911f1a30b25: Pull complete [2023-08-09T10:38:23.118Z] 798269fcf238: Verifying Checksum [2023-08-09T10:38:23.118Z] 798269fcf238: Download complete [2023-08-09T10:38:23.118Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:38:23.118Z] e194b8c5c2a9: Download complete [2023-08-09T10:38:23.378Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:38:23.378Z] 6c08303d61cc: Download complete [2023-08-09T10:38:27.586Z] e194b8c5c2a9: Pull complete [2023-08-09T10:38:27.586Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:38:27.586Z] ec0bb842ea78: Pull complete [2023-08-09T10:38:27.586Z] 40a00589a448: Pull complete [2023-08-09T10:38:30.763Z] 6c08303d61cc: Pull complete [2023-08-09T10:38:31.329Z] 798269fcf238: Pull complete [2023-08-09T10:38:31.329Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:38:31.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:38:31.329Z] ---> ec979cd7f677 [2023-08-09T10:38:31.329Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:38:35.524Z] ---> Running in 65f35f668355 [2023-08-09T10:38:35.783Z] Removing intermediate container 65f35f668355 [2023-08-09T10:38:35.783Z] ---> 555b59fe96ca [2023-08-09T10:38:35.783Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:38:35.783Z] ---> Running in 7ae6d90d8822 [2023-08-09T10:38:35.783Z] Removing intermediate container 7ae6d90d8822 [2023-08-09T10:38:35.783Z] ---> 2e537f2f9780 [2023-08-09T10:38:35.783Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:38:35.783Z] ---> Running in 601794583b6b [2023-08-09T10:38:35.796Z] Still waiting to schedule task [2023-08-09T10:38:35.796Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3219’ [2023-08-09T10:38:36.042Z] Removing intermediate container 601794583b6b [2023-08-09T10:38:36.042Z] ---> 5d2ee94ac424 [2023-08-09T10:38:36.042Z] Step 6/12 : WORKDIR /device-uart [2023-08-09T10:38:36.042Z] ---> Running in 9ccab0eeabe4 [2023-08-09T10:38:36.043Z] Removing intermediate container 9ccab0eeabe4 [2023-08-09T10:38:36.043Z] ---> 3cd3b12eaa59 [2023-08-09T10:38:36.043Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:38:36.043Z] ---> Running in 98cb945963c7 [2023-08-09T10:38:36.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:36.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:36.821Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:38:36.821Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:38:36.821Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:38:36.821Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:38:36.821Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:38:36.821Z] OK: 269 MiB in 57 packages [2023-08-09T10:38:37.391Z] Removing intermediate container 98cb945963c7 [2023-08-09T10:38:37.391Z] ---> cbace261deba [2023-08-09T10:38:37.391Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T10:38:37.649Z] ---> 79985028c76a [2023-08-09T10:38:37.649Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:38:37.649Z] ---> Running in 0256b7a9b00a [2023-08-09T10:39:09.740Z] Removing intermediate container 0256b7a9b00a [2023-08-09T10:39:09.740Z] ---> 5e5b05bc8e5f [2023-08-09T10:39:09.740Z] Step 10/12 : COPY . . [2023-08-09T10:39:09.740Z] ---> 1d0bbe45c104 [2023-08-09T10:39:09.740Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:39:09.740Z] ---> Running in ab3d48551d8c [2023-08-09T10:39:09.740Z] Removing intermediate container ab3d48551d8c [2023-08-09T10:39:09.740Z] ---> 8734312326f0 [2023-08-09T10:39:09.740Z] Step 12/12 : RUN ${MAKE} [2023-08-09T10:39:09.740Z] ---> Running in f355e513f143 [2023-08-09T10:39:09.740Z] noop [2023-08-09T10:39:09.740Z] Removing intermediate container f355e513f143 [2023-08-09T10:39:09.740Z] ---> 4391cd966516 [2023-08-09T10:39:09.740Z] Successfully built 4391cd966516 [2023-08-09T10:39:09.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:10.051Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:39:10.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:39:10.120Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:39:10.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:39:10.499Z] $ docker top b74f2f0ba7f97394647df6313089d112eb81db6438686d42c55c18ef04588a89 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:39:10.837Z] + go version [2023-08-09T10:39:10.837Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:39:10.851Z] $ docker stop --time=1 b74f2f0ba7f97394647df6313089d112eb81db6438686d42c55c18ef04588a89 [2023-08-09T10:39:12.093Z] $ docker rm -f --volumes b74f2f0ba7f97394647df6313089d112eb81db6438686d42c55c18ef04588a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:12.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:39:12.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:39:12.574Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:39:12.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:39:12.935Z] $ docker top 1a584c2f72cd117ce9f380afa934549a7d15711da88eb2ff817c21441634a8f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:39:13.270Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:39:13.561Z] + make test [2023-08-09T10:39:13.561Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:39:20.607Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-08-09T10:39:31.147Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-08-09T10:39:31.147Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-08-09T10:39:37.699Z] go vet ./... [2023-08-09T10:39:40.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:39:40.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:39:40.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:39:40.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:39:41.561Z] $ docker stop --time=1 1a584c2f72cd117ce9f380afa934549a7d15711da88eb2ff817c21441634a8f9 [2023-08-09T10:39:45.109Z] $ docker rm -f --volumes 1a584c2f72cd117ce9f380afa934549a7d15711da88eb2ff817c21441634a8f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:39:45.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:39:45.042Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:39:45.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:39:45.819Z] + ls -al . [2023-08-09T10:39:45.819Z] total 140 [2023-08-09T10:39:45.819Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 9 10:39 . [2023-08-09T10:39:45.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:38 .. [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:38 .dockerignore [2023-08-09T10:39:45.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:38 .git [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:38 .gitignore [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:38 .golangci.yml [2023-08-09T10:39:45.819Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:38 .semver [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 8872 Aug 9 10:38 Attribution.txt [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 1777 Aug 9 10:38 Dockerfile [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:38 GOVERNANCE.md [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 9 10:38 Jenkinsfile [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:38 LICENSE [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 1641 Aug 9 10:38 Makefile [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:38 OWNERS.md [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 7340 Aug 9 10:38 README.md [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:38 VERSION [2023-08-09T10:39:45.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:38 bin [2023-08-09T10:39:45.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:38 cmd [2023-08-09T10:39:45.819Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:39 coverage.out [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 3244 Aug 9 10:38 go.mod [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 31451 Aug 9 10:38 go.sum [2023-08-09T10:39:45.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:38 internal [2023-08-09T10:39:45.819Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:46.175Z] + 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=5a7611fe9d2266d68c2062e26c6ab482e9781192 --label arch=amd64 --label version=3.0.1-dev.1 . [2023-08-09T10:39:46.175Z] Sending build context to Docker daemon 11.09MB [2023-08-09T10:39:46.175Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:39:46.175Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:39:46.175Z] ---> 4391cd966516 [2023-08-09T10:39:46.175Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:39:46.175Z] ---> Running in 43fdaab5e8a3 [2023-08-09T10:39:46.432Z] Removing intermediate container 43fdaab5e8a3 [2023-08-09T10:39:46.432Z] ---> 26e4e47447cf [2023-08-09T10:39:46.432Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:39:46.432Z] ---> Running in 9aa54c6f2c07 [2023-08-09T10:39:46.432Z] Removing intermediate container 9aa54c6f2c07 [2023-08-09T10:39:46.432Z] ---> 357243acb6fe [2023-08-09T10:39:46.432Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:39:46.432Z] ---> Running in 7750e8b1ed84 [2023-08-09T10:39:46.432Z] Removing intermediate container 7750e8b1ed84 [2023-08-09T10:39:46.432Z] ---> b8e2607eff2f [2023-08-09T10:39:46.432Z] Step 6/25 : WORKDIR /device-uart [2023-08-09T10:39:46.432Z] ---> Running in 1d7dd963628b [2023-08-09T10:39:46.692Z] Removing intermediate container 1d7dd963628b [2023-08-09T10:39:46.692Z] ---> 77f8b182cb90 [2023-08-09T10:39:46.692Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:39:46.692Z] ---> Running in c2bd95d1378c [2023-08-09T10:39:46.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:46.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:47.208Z] OK: 269 MiB in 57 packages [2023-08-09T10:39:47.466Z] Removing intermediate container c2bd95d1378c [2023-08-09T10:39:47.466Z] ---> 553cb1d71524 [2023-08-09T10:39:47.466Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T10:39:47.726Z] ---> 4d802a4c6c65 [2023-08-09T10:39:47.726Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:39:47.726Z] ---> Running in b82650f3baf5 [2023-08-09T10:39:48.869Z] Removing intermediate container b82650f3baf5 [2023-08-09T10:39:48.869Z] ---> e184b7da317b [2023-08-09T10:39:48.869Z] Step 10/25 : COPY . . [2023-08-09T10:39:49.128Z] ---> fb4230e81037 [2023-08-09T10:39:49.128Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:39:49.128Z] ---> Running in 452e9d1785b2 [2023-08-09T10:39:49.128Z] Removing intermediate container 452e9d1785b2 [2023-08-09T10:39:49.128Z] ---> be3ce468efce [2023-08-09T10:39:49.128Z] Step 12/25 : RUN ${MAKE} [2023-08-09T10:39:49.128Z] ---> Running in 55df389e4b29 [2023-08-09T10:39:49.386Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-08-09T10:40:11.328Z] Removing intermediate container 55df389e4b29 [2023-08-09T10:40:11.328Z] ---> 74ba3c91ac50 [2023-08-09T10:40:11.328Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:40:11.328Z] 3.17: Pulling from library/alpine [2023-08-09T10:40:11.328Z] 9398808236ff: Pulling fs layer [2023-08-09T10:40:11.328Z] 9398808236ff: Download complete [2023-08-09T10:40:11.328Z] 9398808236ff: Pull complete [2023-08-09T10:40:11.328Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:40:11.328Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:40:11.328Z] ---> 1e0b8b5322fc [2023-08-09T10:40:11.329Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-09T10:40:11.329Z] ---> Running in 500f14603a25 [2023-08-09T10:40:11.329Z] Removing intermediate container 500f14603a25 [2023-08-09T10:40:11.329Z] ---> 8438e1db3bcf [2023-08-09T10:40:11.329Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:40:11.329Z] ---> Running in 7056d4658fd7 [2023-08-09T10:40:11.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:40:11.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:40:11.329Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:40:11.329Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:40:11.329Z] OK: 7 MiB in 16 packages [2023-08-09T10:40:11.329Z] Removing intermediate container 7056d4658fd7 [2023-08-09T10:40:11.329Z] ---> cf78cfd44ce4 [2023-08-09T10:40:11.329Z] Step 16/25 : WORKDIR / [2023-08-09T10:40:11.329Z] ---> Running in c42aa00d30f9 [2023-08-09T10:40:11.329Z] Removing intermediate container c42aa00d30f9 [2023-08-09T10:40:11.329Z] ---> 52dea0e3c2e4 [2023-08-09T10:40:11.329Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-08-09T10:40:11.329Z] ---> d52da84128b3 [2023-08-09T10:40:11.329Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-08-09T10:40:11.588Z] ---> 97a4ce3ad18e [2023-08-09T10:40:11.588Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-08-09T10:40:12.526Z] ---> 11bdb53e52f9 [2023-08-09T10:40:12.526Z] Step 20/25 : EXPOSE 59995 [2023-08-09T10:40:12.526Z] ---> Running in c64f2b229b0c [2023-08-09T10:40:12.526Z] Removing intermediate container c64f2b229b0c [2023-08-09T10:40:12.526Z] ---> aa2f297359e1 [2023-08-09T10:40:12.526Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-08-09T10:40:12.786Z] ---> Running in 37b5ef79a611 [2023-08-09T10:40:12.786Z] Removing intermediate container 37b5ef79a611 [2023-08-09T10:40:12.786Z] ---> fbb817f05419 [2023-08-09T10:40:12.786Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T10:40:12.786Z] ---> Running in 4a02915204f1 [2023-08-09T10:40:12.786Z] Removing intermediate container 4a02915204f1 [2023-08-09T10:40:12.786Z] ---> eb0c93ff8892 [2023-08-09T10:40:12.786Z] Step 23/25 : LABEL arch=amd64 [2023-08-09T10:40:12.786Z] ---> Running in 0f7f00c566fa [2023-08-09T10:40:13.046Z] Removing intermediate container 0f7f00c566fa [2023-08-09T10:40:13.046Z] ---> b15cf3b5b14b [2023-08-09T10:40:13.046Z] Step 24/25 : LABEL git_sha=5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:40:13.046Z] ---> Running in 364b5be4af84 [2023-08-09T10:40:13.046Z] Removing intermediate container 364b5be4af84 [2023-08-09T10:40:13.046Z] ---> 94689ee295eb [2023-08-09T10:40:13.046Z] Step 25/25 : LABEL version=3.0.1-dev.1 [2023-08-09T10:40:13.046Z] ---> Running in 93d2bde692ae [2023-08-09T10:40:13.046Z] Removing intermediate container 93d2bde692ae [2023-08-09T10:40:13.046Z] ---> 34dc0c44b8d1 [2023-08-09T10:40:13.046Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:40:13.046Z] Successfully built 34dc0c44b8d1 [2023-08-09T10:40:13.046Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:40:13.140Z] provisioning config files... [2023-08-09T10:40:13.149Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10264668140730078123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:40:13.451Z] ---> docker-login.sh [2023-08-09T10:40:13.451Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:40:13.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:13.451Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:13.451Z] [2023-08-09T10:40:13.451Z] Login Succeeded [2023-08-09T10:40:13.451Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:40:13.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:13.451Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:13.451Z] [2023-08-09T10:40:13.451Z] Login Succeeded [2023-08-09T10:40:13.451Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:40:13.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:13.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:13.710Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:13.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:13.710Z] [2023-08-09T10:40:13.710Z] Login Succeeded [2023-08-09T10:40:13.710Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:40:13.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:13.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:13.710Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:13.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:13.710Z] [2023-08-09T10:40:13.710Z] Login Succeeded [2023-08-09T10:40:13.710Z] docker.io [2023-08-09T10:40:13.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:13.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:13.973Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:13.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:13.973Z] [2023-08-09T10:40:13.973Z] Login Succeeded [2023-08-09T10:40:13.973Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:40:13.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:40:14.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:40:14.026Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-08-09T10:40:14.026Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:40:14.026Z] latest [2023-08-09T10:40:14.026Z] 3.0.1-dev.1 [2023-08-09T10:40:14.026Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:40:14.026Z] main [2023-08-09T10:40:14.026Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:14.331Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:14.696Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:40:14.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-09T10:40:14.696Z] b2e2ec853112: Preparing [2023-08-09T10:40:14.696Z] 4a12a0a97317: Preparing [2023-08-09T10:40:14.696Z] 1439be10b35b: Preparing [2023-08-09T10:40:14.696Z] 3964ace3cda0: Preparing [2023-08-09T10:40:14.696Z] 36b50b131297: Preparing [2023-08-09T10:40:14.696Z] 36b50b131297: Layer already exists [2023-08-09T10:40:14.696Z] 3964ace3cda0: Pushed [2023-08-09T10:40:14.696Z] 1439be10b35b: Pushed [2023-08-09T10:40:14.696Z] 4a12a0a97317: Pushed [2023-08-09T10:40:17.229Z] b2e2ec853112: Pushed [2023-08-09T10:40:17.229Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192: digest: sha256:6f26fdc7bde681f0c6f6810199e9f4f77140b8c9f34a7af10707ee3c8cefddf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:17.535Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:17.845Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-08-09T10:40:17.845Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-09T10:40:17.845Z] b2e2ec853112: Preparing [2023-08-09T10:40:17.845Z] 4a12a0a97317: Preparing [2023-08-09T10:40:17.845Z] 1439be10b35b: Preparing [2023-08-09T10:40:17.845Z] 3964ace3cda0: Preparing [2023-08-09T10:40:17.845Z] 36b50b131297: Preparing [2023-08-09T10:40:17.845Z] 3964ace3cda0: Layer already exists [2023-08-09T10:40:17.845Z] 1439be10b35b: Layer already exists [2023-08-09T10:40:17.845Z] 36b50b131297: Layer already exists [2023-08-09T10:40:17.845Z] b2e2ec853112: Layer already exists [2023-08-09T10:40:17.845Z] 4a12a0a97317: Layer already exists [2023-08-09T10:40:17.845Z] latest: digest: sha256:6f26fdc7bde681f0c6f6810199e9f4f77140b8c9f34a7af10707ee3c8cefddf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:18.162Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:18.468Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.1 [2023-08-09T10:40:18.468Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-09T10:40:18.468Z] b2e2ec853112: Preparing [2023-08-09T10:40:18.468Z] 4a12a0a97317: Preparing [2023-08-09T10:40:18.468Z] 1439be10b35b: Preparing [2023-08-09T10:40:18.468Z] 3964ace3cda0: Preparing [2023-08-09T10:40:18.468Z] 36b50b131297: Preparing [2023-08-09T10:40:18.468Z] b2e2ec853112: Layer already exists [2023-08-09T10:40:18.468Z] 3964ace3cda0: Layer already exists [2023-08-09T10:40:18.468Z] 36b50b131297: Layer already exists [2023-08-09T10:40:18.468Z] 1439be10b35b: Layer already exists [2023-08-09T10:40:18.468Z] 4a12a0a97317: Layer already exists [2023-08-09T10:40:18.468Z] 3.0.1-dev.1: digest: sha256:6f26fdc7bde681f0c6f6810199e9f4f77140b8c9f34a7af10707ee3c8cefddf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:18.775Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:19.084Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:40:19.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-09T10:40:19.084Z] b2e2ec853112: Preparing [2023-08-09T10:40:19.084Z] 4a12a0a97317: Preparing [2023-08-09T10:40:19.084Z] 1439be10b35b: Preparing [2023-08-09T10:40:19.084Z] 3964ace3cda0: Preparing [2023-08-09T10:40:19.084Z] 36b50b131297: Preparing [2023-08-09T10:40:19.084Z] 36b50b131297: Layer already exists [2023-08-09T10:40:19.084Z] b2e2ec853112: Layer already exists [2023-08-09T10:40:19.084Z] 1439be10b35b: Layer already exists [2023-08-09T10:40:19.084Z] 3964ace3cda0: Layer already exists [2023-08-09T10:40:19.084Z] 4a12a0a97317: Layer already exists [2023-08-09T10:40:19.084Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1: digest: sha256:6f26fdc7bde681f0c6f6810199e9f4f77140b8c9f34a7af10707ee3c8cefddf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:19.394Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:19.705Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-08-09T10:40:19.706Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-08-09T10:40:19.706Z] b2e2ec853112: Preparing [2023-08-09T10:40:19.706Z] 4a12a0a97317: Preparing [2023-08-09T10:40:19.706Z] 1439be10b35b: Preparing [2023-08-09T10:40:19.706Z] 3964ace3cda0: Preparing [2023-08-09T10:40:19.706Z] 36b50b131297: Preparing [2023-08-09T10:40:19.706Z] b2e2ec853112: Layer already exists [2023-08-09T10:40:19.706Z] 4a12a0a97317: Layer already exists [2023-08-09T10:40:19.706Z] 36b50b131297: Layer already exists [2023-08-09T10:40:19.706Z] 1439be10b35b: Layer already exists [2023-08-09T10:40:19.706Z] 3964ace3cda0: Layer already exists [2023-08-09T10:40:19.706Z] main: digest: sha256:6f26fdc7bde681f0c6f6810199e9f4f77140b8c9f34a7af10707ee3c8cefddf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:40:19.750Z] ===================================================== [Pipeline] echo [2023-08-09T10:40:19.760Z] taggedImages: [2023-08-09T10:40:19.760Z] - nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:40:19.760Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-08-09T10:40:19.760Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.1 [2023-08-09T10:40:19.760Z] - nexus3.edgexfoundry.org:10004/device-uart:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:40:19.760Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:20.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:40:20.142Z] [2023-08-09T10:40:20.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:20.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:40:20.439Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:40:20.439Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:40:20.439Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:40:20.439Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:40:20.439Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:40:20.439Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:40:20.439Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:40:20.439Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:40:20.439Z] 33b1e0a273af: Waiting [2023-08-09T10:40:20.439Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:40:20.439Z] 5d3b04190fa2: Waiting [2023-08-09T10:40:20.439Z] 2f39f015ded8: Waiting [2023-08-09T10:40:20.439Z] 5c69ac0246d0: Download complete [2023-08-09T10:40:20.439Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:40:20.439Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:40:20.439Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:40:20.439Z] 33b1e0a273af: Download complete [2023-08-09T10:40:20.439Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:40:20.439Z] ec43610c2a17: Download complete [2023-08-09T10:40:20.700Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:40:20.700Z] 5eb5b503b376: Download complete [2023-08-09T10:40:21.267Z] 2f39f015ded8: Download complete [2023-08-09T10:40:21.833Z] 5eb5b503b376: Pull complete [2023-08-09T10:40:22.092Z] 5c69ac0246d0: Pull complete [2023-08-09T10:40:22.350Z] ec43610c2a17: Pull complete [2023-08-09T10:40:22.350Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:40:22.607Z] 33b1e0a273af: Pull complete [2023-08-09T10:40:22.865Z] 5d3b04190fa2: Pull complete [2023-08-09T10:40:27.054Z] 2f39f015ded8: Pull complete [2023-08-09T10:40:27.054Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:40:27.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:40:27.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:27.132Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:40:27.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:40:32.344Z] $ docker top 0518cbfe6b8bb0caf85d8d3ad56708e59af1e9b63b4d7f7e21bba33f3960cfdc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:40:32.718Z] ---> job-cost.sh [2023-08-09T10:40:32.718Z] lf-activate-venv: SKIPPING [2023-08-09T10:40:32.718Z] INFO: No Stack... [2023-08-09T10:40:32.976Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:40:33.544Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:40:33.834Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-08-09T10:40:33.834Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:40:33.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [2023-08-09T10:40:33.857Z] Resource [jenkins-edgexfoundry-device-uart-main-7-stack-cost] did not exist. Created. [2023-08-09T10:40:33.857Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:40:34.159Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:40:34.189Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:40:34.195Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:40:34.218Z] $ docker stop --time=1 0518cbfe6b8bb0caf85d8d3ad56708e59af1e9b63b4d7f7e21bba33f3960cfdc [2023-08-09T10:40:35.380Z] $ docker rm -f --volumes 0518cbfe6b8bb0caf85d8d3ad56708e59af1e9b63b4d7f7e21bba33f3960cfdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:41:24.631Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3224 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-08-09T10:41:24.646Z] Running in /w/workspace/device-uart/7 [Pipeline] { [Pipeline] checkout [2023-08-09T10:41:24.701Z] The recommended git tool is: git [2023-08-09T10:41:30.487Z] using credential edgex-jenkins-ssh [2023-08-09T10:41:30.507Z] Cloning the remote Git repository [2023-08-09T10:41:30.557Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-08-09T10:41:30.667Z] > git init /w/workspace/device-uart/7 # timeout=10 [2023-08-09T10:41:30.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-08-09T10:41:30.834Z] > git --version # timeout=10 [2023-08-09T10:41:30.856Z] > git --version # 'git version 2.25.1' [2023-08-09T10:41:30.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:41:31.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:41:33.188Z] Avoid second fetch [2023-08-09T10:41:33.188Z] Checking out Revision 5a7611fe9d2266d68c2062e26c6ab482e9781192 (main) [2023-08-09T10:41:32.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-08-09T10:41:32.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:41:33.208Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:41:33.290Z] > git checkout -f 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 [2023-08-09T10:41:33.823Z] Commit message: "Merge pull request #21 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:41:34.651Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:41:34.651Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:41:34.651Z] Dload Upload Total Spent Left Speed [2023-08-09T10:41:34.651Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-08-09T10:41:35.425Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:41:35.765Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:41:35.765Z] + sudo tee /etc/docker/daemon.new [2023-08-09T10:41:35.765Z] { [2023-08-09T10:41:35.765Z] "registry-mirrors": [ [2023-08-09T10:41:35.765Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:41:35.765Z] ], [2023-08-09T10:41:35.765Z] "bip": "10.250.0.254/24", [2023-08-09T10:41:35.765Z] "hosts": [ [2023-08-09T10:41:35.765Z] "tcp://0.0.0.0:5555", [2023-08-09T10:41:35.765Z] "unix:///var/run/docker.sock" [2023-08-09T10:41:35.765Z] ], [2023-08-09T10:41:35.765Z] "mtu": 1458, [2023-08-09T10:41:35.765Z] "selinux-enabled": true, [2023-08-09T10:41:35.765Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:41:35.765Z] } [Pipeline] sh [2023-08-09T10:41:36.109Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:41:36.464Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:41:54.755Z] provisioning config files... [2023-08-09T10:41:54.785Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/7@tmp/config9608134311850889021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:41:55.153Z] ---> docker-login.sh [2023-08-09T10:41:55.154Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:41:55.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:56.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:56.011Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:56.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:56.011Z] [2023-08-09T10:41:56.011Z] Login Succeeded [2023-08-09T10:41:56.011Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:41:56.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:56.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:56.281Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:56.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:56.281Z] [2023-08-09T10:41:56.281Z] Login Succeeded [2023-08-09T10:41:56.281Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:41:56.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:56.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:56.550Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:56.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:56.550Z] [2023-08-09T10:41:56.550Z] Login Succeeded [2023-08-09T10:41:56.550Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:41:56.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:57.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:57.089Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:57.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:57.089Z] [2023-08-09T10:41:57.089Z] Login Succeeded [2023-08-09T10:41:57.089Z] docker.io [2023-08-09T10:41:57.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:57.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:57.674Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:57.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:57.674Z] [2023-08-09T10:41:57.674Z] Login Succeeded [2023-08-09T10:41:57.674Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:41:57.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:41:57.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:41:57.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:41:58.004Z] ========================================================= [2023-08-09T10:41:58.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:41:58.004Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:58.349Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:41:58.618Z] Sending build context to Docker daemon 5.583MB [2023-08-09T10:41:58.618Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:41:58.618Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:42:00.050Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:42:00.050Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:42:00.050Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:42:00.050Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:42:00.050Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:42:00.050Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:42:00.050Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:42:00.050Z] 554e91adad29: Pulling fs layer [2023-08-09T10:42:00.050Z] ec14aa9079de: Waiting [2023-08-09T10:42:00.050Z] 2f466654f4bb: Waiting [2023-08-09T10:42:00.050Z] 554e91adad29: Waiting [2023-08-09T10:42:00.050Z] 8b374f2dd631: Waiting [2023-08-09T10:42:00.050Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:42:00.050Z] 5f9638ab2659: Download complete [2023-08-09T10:42:00.050Z] 8b374f2dd631: Download complete [2023-08-09T10:42:00.050Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:42:00.050Z] ec14aa9079de: Download complete [2023-08-09T10:42:00.050Z] edb6bdbacee9: Verifying Checksum [2023-08-09T10:42:00.050Z] edb6bdbacee9: Download complete [2023-08-09T10:42:01.048Z] edb6bdbacee9: Pull complete [2023-08-09T10:42:01.317Z] 554e91adad29: Verifying Checksum [2023-08-09T10:42:01.317Z] 554e91adad29: Download complete [2023-08-09T10:42:01.599Z] 5f9638ab2659: Pull complete [2023-08-09T10:42:02.570Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:42:02.570Z] 8d51d6327a98: Download complete [2023-08-09T10:42:02.570Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:42:02.570Z] 2f466654f4bb: Download complete [2023-08-09T10:42:14.920Z] 8d51d6327a98: Pull complete [2023-08-09T10:42:14.920Z] 8b374f2dd631: Pull complete [2023-08-09T10:42:14.920Z] ec14aa9079de: Pull complete [2023-08-09T10:42:21.615Z] 2f466654f4bb: Pull complete [2023-08-09T10:42:23.574Z] 554e91adad29: Pull complete [2023-08-09T10:42:23.574Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:42:23.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:42:23.574Z] ---> 1e15ea492957 [2023-08-09T10:42:23.574Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:42:26.174Z] ---> Running in 4b2fbd6d1836 [2023-08-09T10:42:26.174Z] Removing intermediate container 4b2fbd6d1836 [2023-08-09T10:42:26.174Z] ---> 2ef979972e41 [2023-08-09T10:42:26.174Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:42:26.174Z] ---> Running in a545f6d2d139 [2023-08-09T10:42:26.445Z] Removing intermediate container a545f6d2d139 [2023-08-09T10:42:26.445Z] ---> 42eeb4142f62 [2023-08-09T10:42:26.445Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:42:26.714Z] ---> Running in 9128c3cc15a4 [2023-08-09T10:42:26.995Z] Removing intermediate container 9128c3cc15a4 [2023-08-09T10:42:26.995Z] ---> 1cfcb98d8784 [2023-08-09T10:42:26.995Z] Step 6/12 : WORKDIR /device-uart [2023-08-09T10:42:26.995Z] ---> Running in d95b376b9bf7 [2023-08-09T10:42:27.585Z] Removing intermediate container d95b376b9bf7 [2023-08-09T10:42:27.585Z] ---> 2d7dd4da8d35 [2023-08-09T10:42:27.585Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:42:27.585Z] ---> Running in e95bb1f729e6 [2023-08-09T10:42:28.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:42:29.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:42:30.499Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:42:30.500Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:42:30.500Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:42:30.771Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:42:30.771Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:42:30.771Z] OK: 268 MiB in 57 packages [2023-08-09T10:42:31.856Z] Removing intermediate container e95bb1f729e6 [2023-08-09T10:42:31.856Z] ---> 2b548a2fda5e [2023-08-09T10:42:31.856Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T10:42:32.468Z] ---> 232341f6f915 [2023-08-09T10:42:32.468Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:42:32.468Z] ---> Running in 2304a4ffa48a [2023-08-09T10:43:54.169Z] Removing intermediate container 2304a4ffa48a [2023-08-09T10:43:54.169Z] ---> 83c29ffbde1b [2023-08-09T10:43:54.169Z] Step 10/12 : COPY . . [2023-08-09T10:43:54.169Z] ---> 866899e48a1e [2023-08-09T10:43:54.169Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:43:54.169Z] ---> Running in 01125883eabd [2023-08-09T10:43:54.169Z] Removing intermediate container 01125883eabd [2023-08-09T10:43:54.169Z] ---> 8f2ad6533294 [2023-08-09T10:43:54.169Z] Step 12/12 : RUN ${MAKE} [2023-08-09T10:43:54.169Z] ---> Running in 5ab2a0f1cef6 [2023-08-09T10:43:54.169Z] noop [2023-08-09T10:43:54.169Z] Removing intermediate container 5ab2a0f1cef6 [2023-08-09T10:43:54.169Z] ---> 6aff3ee0a5bd [2023-08-09T10:43:54.169Z] Successfully built 6aff3ee0a5bd [2023-08-09T10:43:54.169Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:43:54.533Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:43:54.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:43:54.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-3224 does not seem to be running inside a container [2023-08-09T10:43:54.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:43:56.054Z] $ docker top e90436d24b9e3fe4dec4500e90342295382730d7875030dae5dc25e953d67404 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:43:56.894Z] + go version [2023-08-09T10:43:56.894Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:43:56.917Z] $ docker stop --time=1 e90436d24b9e3fe4dec4500e90342295382730d7875030dae5dc25e953d67404 [2023-08-09T10:43:58.568Z] $ docker rm -f --volumes e90436d24b9e3fe4dec4500e90342295382730d7875030dae5dc25e953d67404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:43:59.100Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:43:59.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:43:59.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-3224 does not seem to be running inside a container [2023-08-09T10:43:59.363Z] $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:44:00.562Z] $ docker top 5305b8134aa4e9a4a5f798dd75ac0517327e9352dcdb4a57ee3adf620a100063 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:44:01.398Z] + git config --global --add safe.directory /w/workspace/device-uart/7 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:44:02.051Z] + make test [2023-08-09T10:44:02.051Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:44:40.931Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-08-09T10:47:02.671Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-08-09T10:47:02.671Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-08-09T10:47:02.671Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:47:02.671Z] go vet ./... [2023-08-09T10:47:24.813Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:47:24.813Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:47:24.813Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:47:24.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:47:24.848Z] $ docker stop --time=1 5305b8134aa4e9a4a5f798dd75ac0517327e9352dcdb4a57ee3adf620a100063 [2023-08-09T10:47:26.845Z] $ docker rm -f --volumes 5305b8134aa4e9a4a5f798dd75ac0517327e9352dcdb4a57ee3adf620a100063 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:47:28.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:47:28.091Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:47:28.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:47:29.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:47:29.358Z] + ls -al . [2023-08-09T10:47:29.359Z] total 136 [2023-08-09T10:47:29.359Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 10:44 . [2023-08-09T10:47:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:41 .. [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:41 .dockerignore [2023-08-09T10:47:29.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:41 .git [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:41 .gitignore [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:41 .golangci.yml [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 8872 Aug 9 10:41 Attribution.txt [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 1777 Aug 9 10:41 Dockerfile [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:41 GOVERNANCE.md [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 9 10:41 Jenkinsfile [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:41 LICENSE [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 1641 Aug 9 10:41 Makefile [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:41 OWNERS.md [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 7340 Aug 9 10:41 README.md [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:38 VERSION [2023-08-09T10:47:29.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:41 bin [2023-08-09T10:47:29.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:41 cmd [2023-08-09T10:47:29.359Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:44 coverage.out [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 3244 Aug 9 10:41 go.mod [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 31451 Aug 9 10:41 go.sum [2023-08-09T10:47:29.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:41 internal [2023-08-09T10:47:29.359Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:29.701Z] + 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=5a7611fe9d2266d68c2062e26c6ab482e9781192 --label arch=arm64 --label version=3.0.1-dev.1 . [2023-08-09T10:47:29.972Z] Sending build context to Docker daemon 5.584MB [2023-08-09T10:47:29.972Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:47:29.972Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:47:29.972Z] ---> 6aff3ee0a5bd [2023-08-09T10:47:29.972Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:47:30.242Z] ---> Running in 1654212bf46f [2023-08-09T10:47:30.514Z] Removing intermediate container 1654212bf46f [2023-08-09T10:47:30.514Z] ---> d22a6a32554a [2023-08-09T10:47:30.514Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:47:30.788Z] ---> Running in 68ec16af5455 [2023-08-09T10:47:31.059Z] Removing intermediate container 68ec16af5455 [2023-08-09T10:47:31.059Z] ---> c3fad49b879f [2023-08-09T10:47:31.059Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:47:31.059Z] ---> Running in ec7a152b004e [2023-08-09T10:47:31.651Z] Removing intermediate container ec7a152b004e [2023-08-09T10:47:31.651Z] ---> f3f5d5c6b30b [2023-08-09T10:47:31.651Z] Step 6/25 : WORKDIR /device-uart [2023-08-09T10:47:31.651Z] ---> Running in be93846f4fce [2023-08-09T10:47:31.922Z] Removing intermediate container be93846f4fce [2023-08-09T10:47:31.922Z] ---> d06623405079 [2023-08-09T10:47:31.922Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:47:32.193Z] ---> Running in de6bc4583f35 [2023-08-09T10:47:33.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:47:34.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:47:35.555Z] OK: 268 MiB in 57 packages [2023-08-09T10:47:36.160Z] Removing intermediate container de6bc4583f35 [2023-08-09T10:47:36.160Z] ---> 089de3031edf [2023-08-09T10:47:36.160Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T10:47:36.748Z] ---> 54490e3e8459 [2023-08-09T10:47:36.748Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:47:36.748Z] ---> Running in 5fdc425d9aef [2023-08-09T10:47:39.399Z] Removing intermediate container 5fdc425d9aef [2023-08-09T10:47:39.399Z] ---> c66d05ac0435 [2023-08-09T10:47:39.399Z] Step 10/25 : COPY . . [2023-08-09T10:47:39.983Z] ---> 565640eb689c [2023-08-09T10:47:39.983Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:47:39.983Z] ---> Running in ce412b710735 [2023-08-09T10:47:40.254Z] Removing intermediate container ce412b710735 [2023-08-09T10:47:40.254Z] ---> 1a57e477053b [2023-08-09T10:47:40.254Z] Step 12/25 : RUN ${MAKE} [2023-08-09T10:47:40.522Z] ---> Running in 42dba7c77384 [2023-08-09T10:47:41.485Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-08-09T10:50:03.198Z] Removing intermediate container 42dba7c77384 [2023-08-09T10:50:03.198Z] ---> e6cc778ceab5 [2023-08-09T10:50:03.198Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:50:03.198Z] 3.17: Pulling from library/alpine [2023-08-09T10:50:03.198Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:50:03.198Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:50:03.198Z] 4060ece20d7a: Download complete [2023-08-09T10:50:03.466Z] 4060ece20d7a: Pull complete [2023-08-09T10:50:03.466Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:50:03.736Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:50:03.736Z] ---> 8650cd65339b [2023-08-09T10:50:03.736Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-09T10:50:03.736Z] ---> Running in e5e042d84362 [2023-08-09T10:50:04.012Z] Removing intermediate container e5e042d84362 [2023-08-09T10:50:04.012Z] ---> 5dc97710f7b5 [2023-08-09T10:50:04.012Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:50:04.281Z] ---> Running in 3df89bd1c7d3 [2023-08-09T10:50:05.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:50:05.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:50:07.243Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:50:07.243Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:50:07.243Z] OK: 8 MiB in 16 packages [2023-08-09T10:50:08.206Z] Removing intermediate container 3df89bd1c7d3 [2023-08-09T10:50:08.206Z] ---> c8b0f6804894 [2023-08-09T10:50:08.206Z] Step 16/25 : WORKDIR / [2023-08-09T10:50:08.206Z] ---> Running in 084ba7813b7e [2023-08-09T10:50:08.474Z] Removing intermediate container 084ba7813b7e [2023-08-09T10:50:08.474Z] ---> dc5d61c4455f [2023-08-09T10:50:08.474Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-08-09T10:50:09.059Z] ---> 9d97686349a5 [2023-08-09T10:50:09.059Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-08-09T10:50:09.642Z] ---> 7ade4ab48ea8 [2023-08-09T10:50:09.642Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-08-09T10:50:11.053Z] ---> 255f06d09aa2 [2023-08-09T10:50:11.053Z] Step 20/25 : EXPOSE 59995 [2023-08-09T10:50:11.053Z] ---> Running in 47c4117e7d33 [2023-08-09T10:50:11.319Z] Removing intermediate container 47c4117e7d33 [2023-08-09T10:50:11.319Z] ---> 2c2356a0c446 [2023-08-09T10:50:11.319Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-08-09T10:50:11.319Z] ---> Running in d90692d375a0 [2023-08-09T10:50:11.588Z] Removing intermediate container d90692d375a0 [2023-08-09T10:50:11.588Z] ---> 8abb885104fb [2023-08-09T10:50:11.588Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T10:50:11.858Z] ---> Running in 358331f6c190 [2023-08-09T10:50:12.129Z] Removing intermediate container 358331f6c190 [2023-08-09T10:50:12.129Z] ---> aef50f6c5952 [2023-08-09T10:50:12.129Z] Step 23/25 : LABEL arch=arm64 [2023-08-09T10:50:12.129Z] ---> Running in 6141601abbfb [2023-08-09T10:50:12.397Z] Removing intermediate container 6141601abbfb [2023-08-09T10:50:12.397Z] ---> f54581fdcf78 [2023-08-09T10:50:12.397Z] Step 24/25 : LABEL git_sha=5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:50:12.397Z] ---> Running in ab3e39df0593 [2023-08-09T10:50:12.669Z] Removing intermediate container ab3e39df0593 [2023-08-09T10:50:12.669Z] ---> 5bdf5874ecb2 [2023-08-09T10:50:12.669Z] Step 25/25 : LABEL version=3.0.1-dev.1 [2023-08-09T10:50:12.935Z] ---> Running in 16a1d158d3ad [2023-08-09T10:50:13.203Z] Removing intermediate container 16a1d158d3ad [2023-08-09T10:50:13.203Z] ---> 94b647f96cd6 [2023-08-09T10:50:13.203Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:50:13.203Z] Successfully built 94b647f96cd6 [2023-08-09T10:50:13.203Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:50:13.320Z] provisioning config files... [2023-08-09T10:50:13.335Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/7@tmp/config12362918466555788618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:13.670Z] ---> docker-login.sh [2023-08-09T10:50:13.670Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:50:13.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:50:13.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:50:13.938Z] Configure a credential helper to remove this warning. See [2023-08-09T10:50:13.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:50:13.938Z] [2023-08-09T10:50:13.938Z] Login Succeeded [2023-08-09T10:50:13.938Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:50:14.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:50:14.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:50:14.208Z] Configure a credential helper to remove this warning. See [2023-08-09T10:50:14.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:50:14.208Z] [2023-08-09T10:50:14.208Z] Login Succeeded [2023-08-09T10:50:14.208Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:50:14.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:50:14.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:50:14.746Z] Configure a credential helper to remove this warning. See [2023-08-09T10:50:14.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:50:14.746Z] [2023-08-09T10:50:14.746Z] Login Succeeded [2023-08-09T10:50:14.746Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:50:15.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:50:15.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:50:15.015Z] Configure a credential helper to remove this warning. See [2023-08-09T10:50:15.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:50:15.015Z] [2023-08-09T10:50:15.015Z] Login Succeeded [2023-08-09T10:50:15.015Z] docker.io [2023-08-09T10:50:15.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:50:15.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:50:15.550Z] Configure a credential helper to remove this warning. See [2023-08-09T10:50:15.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:50:15.550Z] [2023-08-09T10:50:15.550Z] Login Succeeded [2023-08-09T10:50:15.550Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:50:15.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:50:15.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:50:15.604Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-08-09T10:50:15.604Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:50:15.604Z] latest [2023-08-09T10:50:15.604Z] 3.0.1-dev.1 [2023-08-09T10:50:15.604Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:50:15.604Z] main [2023-08-09T10:50:15.604Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:15.947Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:16.372Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:50:16.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-09T10:50:16.372Z] fed052cb0fdd: Preparing [2023-08-09T10:50:16.372Z] 56129c2a15b4: Preparing [2023-08-09T10:50:16.372Z] 7681d12e4442: Preparing [2023-08-09T10:50:16.372Z] 88099e7de9e4: Preparing [2023-08-09T10:50:16.372Z] d2d9d24a8c2a: Preparing [2023-08-09T10:50:16.372Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:50:16.659Z] 7681d12e4442: Pushed [2023-08-09T10:50:16.659Z] 88099e7de9e4: Pushed [2023-08-09T10:50:16.659Z] 56129c2a15b4: Pushed [2023-08-09T10:50:22.040Z] fed052cb0fdd: Pushed [2023-08-09T10:50:22.309Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192: digest: sha256:c391f351d6f7d412bd8fb134405245df62bb599552f948c1ee1191a87c5c797c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:22.664Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:23.008Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-08-09T10:50:23.008Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-09T10:50:23.008Z] fed052cb0fdd: Preparing [2023-08-09T10:50:23.008Z] 56129c2a15b4: Preparing [2023-08-09T10:50:23.008Z] 7681d12e4442: Preparing [2023-08-09T10:50:23.008Z] 88099e7de9e4: Preparing [2023-08-09T10:50:23.008Z] d2d9d24a8c2a: Preparing [2023-08-09T10:50:23.008Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:50:23.008Z] 7681d12e4442: Layer already exists [2023-08-09T10:50:23.008Z] fed052cb0fdd: Layer already exists [2023-08-09T10:50:23.008Z] 88099e7de9e4: Layer already exists [2023-08-09T10:50:23.008Z] 56129c2a15b4: Layer already exists [2023-08-09T10:50:23.008Z] latest: digest: sha256:c391f351d6f7d412bd8fb134405245df62bb599552f948c1ee1191a87c5c797c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:23.358Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:23.709Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.1 [2023-08-09T10:50:23.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-09T10:50:23.709Z] fed052cb0fdd: Preparing [2023-08-09T10:50:23.709Z] 56129c2a15b4: Preparing [2023-08-09T10:50:23.709Z] 7681d12e4442: Preparing [2023-08-09T10:50:23.709Z] 88099e7de9e4: Preparing [2023-08-09T10:50:23.709Z] d2d9d24a8c2a: Preparing [2023-08-09T10:50:23.709Z] 7681d12e4442: Layer already exists [2023-08-09T10:50:23.709Z] 56129c2a15b4: Layer already exists [2023-08-09T10:50:23.709Z] fed052cb0fdd: Layer already exists [2023-08-09T10:50:23.709Z] 88099e7de9e4: Layer already exists [2023-08-09T10:50:23.709Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:50:23.709Z] 3.0.1-dev.1: digest: sha256:c391f351d6f7d412bd8fb134405245df62bb599552f948c1ee1191a87c5c797c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:24.066Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:24.415Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:50:24.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-09T10:50:24.416Z] fed052cb0fdd: Preparing [2023-08-09T10:50:24.416Z] 56129c2a15b4: Preparing [2023-08-09T10:50:24.416Z] 7681d12e4442: Preparing [2023-08-09T10:50:24.416Z] 88099e7de9e4: Preparing [2023-08-09T10:50:24.416Z] d2d9d24a8c2a: Preparing [2023-08-09T10:50:24.416Z] 56129c2a15b4: Layer already exists [2023-08-09T10:50:24.416Z] 7681d12e4442: Layer already exists [2023-08-09T10:50:24.416Z] 88099e7de9e4: Layer already exists [2023-08-09T10:50:24.416Z] fed052cb0fdd: Layer already exists [2023-08-09T10:50:24.416Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:50:24.416Z] 5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1: digest: sha256:c391f351d6f7d412bd8fb134405245df62bb599552f948c1ee1191a87c5c797c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:24.762Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:25.118Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-08-09T10:50:25.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-08-09T10:50:25.118Z] fed052cb0fdd: Preparing [2023-08-09T10:50:25.118Z] 56129c2a15b4: Preparing [2023-08-09T10:50:25.118Z] 7681d12e4442: Preparing [2023-08-09T10:50:25.118Z] 88099e7de9e4: Preparing [2023-08-09T10:50:25.118Z] d2d9d24a8c2a: Preparing [2023-08-09T10:50:25.118Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:50:25.118Z] fed052cb0fdd: Layer already exists [2023-08-09T10:50:25.118Z] 7681d12e4442: Layer already exists [2023-08-09T10:50:25.118Z] 56129c2a15b4: Layer already exists [2023-08-09T10:50:25.118Z] 88099e7de9e4: Layer already exists [2023-08-09T10:50:25.118Z] main: digest: sha256:c391f351d6f7d412bd8fb134405245df62bb599552f948c1ee1191a87c5c797c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:50:25.431Z] ===================================================== [Pipeline] echo [2023-08-09T10:50:25.437Z] taggedImages: [2023-08-09T10:50:25.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192 [2023-08-09T10:50:25.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-08-09T10:50:25.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.1 [2023-08-09T10:50:25.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:5a7611fe9d2266d68c2062e26c6ab482e9781192-3.0.1-dev.1 [2023-08-09T10:50:25.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:25.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:50:25.797Z] [2023-08-09T10:50:25.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:26.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:50:26.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:50:26.135Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:50:26.135Z] 04944245beec: Pulling fs layer [2023-08-09T10:50:26.135Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:50:26.135Z] 765212b225bb: Pulling fs layer [2023-08-09T10:50:26.135Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:50:26.135Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:50:26.135Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:50:26.135Z] 765212b225bb: Waiting [2023-08-09T10:50:26.135Z] f23df028b6ca: Waiting [2023-08-09T10:50:26.135Z] d65c8cfc05b1: Waiting [2023-08-09T10:50:26.135Z] 2437ff75d9bd: Waiting [2023-08-09T10:50:26.402Z] 04944245beec: Verifying Checksum [2023-08-09T10:50:26.402Z] 04944245beec: Download complete [2023-08-09T10:50:26.402Z] 765212b225bb: Verifying Checksum [2023-08-09T10:50:26.402Z] 765212b225bb: Download complete [2023-08-09T10:50:26.402Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:50:26.402Z] f23df028b6ca: Download complete [2023-08-09T10:50:26.670Z] d65c8cfc05b1: Download complete [2023-08-09T10:50:26.670Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:50:26.670Z] 699f458cf7ca: Download complete [2023-08-09T10:50:26.939Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:50:26.939Z] 8998bd30e6a1: Download complete [2023-08-09T10:50:29.524Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:50:29.524Z] 2437ff75d9bd: Download complete [2023-08-09T10:50:30.929Z] 8998bd30e6a1: Pull complete [2023-08-09T10:50:31.197Z] 04944245beec: Pull complete [2023-08-09T10:50:32.603Z] 699f458cf7ca: Pull complete [2023-08-09T10:50:32.603Z] 765212b225bb: Pull complete [2023-08-09T10:50:33.183Z] f23df028b6ca: Pull complete [2023-08-09T10:50:33.451Z] d65c8cfc05b1: Pull complete [2023-08-09T10:50:48.434Z] 2437ff75d9bd: Pull complete [2023-08-09T10:50:48.434Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:50:48.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:50:48.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:50:48.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-3224 does not seem to be running inside a container [2023-08-09T10:50:48.702Z] $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T10:50:51.263Z] $ docker top 8fefe22211c242ba7085942678a9806f96f052e2462627a21aac3d305cf368a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:52.115Z] ---> job-cost.sh [2023-08-09T10:50:52.115Z] lf-activate-venv: SKIPPING [2023-08-09T10:50:52.115Z] INFO: No Stack... [2023-08-09T10:50:52.695Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:50:53.275Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:50:53.591Z] + cat /w/workspace/device-uart/7/archives/cost.csv [2023-08-09T10:50:53.591Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:50:53.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [2023-08-09T10:50:53.934Z] Resource [jenkins-edgexfoundry-device-uart-main-7-stack-cost] did not exist. Created. [2023-08-09T10:50:53.934Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:50:54.590Z] /w/workspace/device-uart/7@tmp/durable-ee12bb1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:50:54.931Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:50:54.953Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:50:55.007Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:50:55.013Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:50:55.039Z] $ docker stop --time=1 8fefe22211c242ba7085942678a9806f96f052e2462627a21aac3d305cf368a9 [2023-08-09T10:50:56.529Z] $ docker rm -f --volumes 8fefe22211c242ba7085942678a9806f96f052e2462627a21aac3d305cf368a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-09T10:50:56.919Z] provisioning config files... [2023-08-09T10:50:56.925Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1426522521071191276tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:50:57.215Z] + set +x [2023-08-09T10:50:57.215Z] + curl -s https://codecov.io/bash [2023-08-09T10:50:57.215Z] + bash -s -- [2023-08-09T10:50:57.215Z] [2023-08-09T10:50:57.215Z] _____ _ [2023-08-09T10:50:57.215Z] / ____| | | [2023-08-09T10:50:57.215Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:50:57.215Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:50:57.215Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:50:57.215Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:50:57.215Z] Bash-1.0.6 [2023-08-09T10:50:57.215Z] [2023-08-09T10:50:57.215Z] [2023-08-09T10:50:57.215Z] ==> git version 2.25.1 found [2023-08-09T10:50:57.215Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-09T10:50:57.215Z] Release-Date: 2020-01-08 [2023-08-09T10:50:57.215Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T10:50:57.215Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:50:57.215Z] ==> Jenkins CI detected. [2023-08-09T10:50:57.215Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-08-09T10:50:57.215Z] project root: . [2023-08-09T10:50:57.215Z] --> token set from env [2023-08-09T10:50:57.215Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:50:57.215Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:50:57.215Z] ==> Python coveragepy not found [2023-08-09T10:50:57.215Z] ==> Searching for coverage reports in: [2023-08-09T10:50:57.215Z] + . [2023-08-09T10:50:57.215Z] -> Found 1 reports [2023-08-09T10:50:57.215Z] ==> Detecting git/mercurial file structure [2023-08-09T10:50:57.215Z] ==> Reading reports [2023-08-09T10:50:57.215Z] + ./coverage.out bytes=10 [2023-08-09T10:50:57.215Z] ==> Appending adjustments [2023-08-09T10:50:57.215Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:50:57.475Z] + Found adjustments [2023-08-09T10:50:57.475Z] ==> Gzipping contents [2023-08-09T10:50:57.475Z] 4.0K /tmp/codecov.AdyhsK.gz [2023-08-09T10:50:57.475Z] ==> Uploading reports [2023-08-09T10:50:57.475Z] url: https://codecov.io [2023-08-09T10:50:57.475Z] query: branch=main&commit=5a7611fe9d2266d68c2062e26c6ab482e9781192&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:50:57.475Z] -> Pinging Codecov [2023-08-09T10:50:57.475Z] 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=5a7611fe9d2266d68c2062e26c6ab482e9781192&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:50:57.475Z] -> Uploading to [2023-08-09T10:50:57.475Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/B9AA6E0BBD74AE3A32605C7A7C664919/5a7611fe9d2266d68c2062e26c6ab482e9781192/54ba6d9a-2c97-4d9d-8d79-f0c1b481b5ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T105057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=626b9966ebfd9c060a3e7b277334f989631abbab631c069cb4a3d3d0a1780364 [2023-08-09T10:50:57.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:50:57.475Z] Dload Upload Total Spent Left Speed [2023-08-09T10:50:57.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2885 --:--:-- --:--:-- --:--:-- 2885 [2023-08-09T10:50:57.735Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] } [2023-08-09T10:50:57.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T10:50:57.880Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T10:50:57.937Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:58.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:50:58.238Z] [2023-08-09T10:50:58.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:58.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:50:58.537Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T10:50:58.537Z] df9b9388f04a: Pulling fs layer [2023-08-09T10:50:58.537Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T10:50:58.537Z] 25bc292e5bac: Pulling fs layer [2023-08-09T10:50:58.537Z] 114826534d7a: Pulling fs layer [2023-08-09T10:50:58.537Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T10:50:58.537Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T10:50:58.537Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T10:50:58.537Z] 114826534d7a: Waiting [2023-08-09T10:50:58.537Z] 4657fd5d0bcf: Waiting [2023-08-09T10:50:58.537Z] 8a3aa393b2d8: Waiting [2023-08-09T10:50:58.537Z] 6ad1cebc031e: Waiting [2023-08-09T10:50:58.537Z] 25bc292e5bac: Verifying Checksum [2023-08-09T10:50:58.537Z] 25bc292e5bac: Download complete [2023-08-09T10:50:58.537Z] 52dc419b0ee2: Download complete [2023-08-09T10:50:58.537Z] 4657fd5d0bcf: Download complete [2023-08-09T10:50:58.537Z] df9b9388f04a: Verifying Checksum [2023-08-09T10:50:58.537Z] df9b9388f04a: Download complete [2023-08-09T10:50:58.798Z] df9b9388f04a: Pull complete [2023-08-09T10:50:58.798Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T10:50:58.798Z] 6ad1cebc031e: Download complete [2023-08-09T10:50:58.798Z] 52dc419b0ee2: Pull complete [2023-08-09T10:50:58.798Z] 25bc292e5bac: Pull complete [2023-08-09T10:50:59.373Z] 114826534d7a: Verifying Checksum [2023-08-09T10:50:59.373Z] 114826534d7a: Download complete [2023-08-09T10:50:59.373Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T10:50:59.373Z] 8a3aa393b2d8: Download complete [2023-08-09T10:51:02.652Z] 114826534d7a: Pull complete [2023-08-09T10:51:02.652Z] 4657fd5d0bcf: Pull complete [2023-08-09T10:51:02.652Z] 6ad1cebc031e: Pull complete [2023-08-09T10:51:05.934Z] 8a3aa393b2d8: Pull complete [2023-08-09T10:51:05.934Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T10:51:05.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:51:05.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:06.013Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:06.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-09T10:51:10.455Z] $ docker top c2fa5e7272ec549c35b23d46e2d6b5c1582c3618f25761741f6f212fdaf69a82 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T10:51:10.520Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-08-09T10:51:10.799Z] + set -o pipefail [2023-08-09T10:51:10.799Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-08-09T10:51:14.990Z] [2023-08-09T10:51:14.991Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-08-09T10:51:14.991Z] [2023-08-09T10:51:14.991Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/7f94db1f-1d03-4f6b-89e5-98ef859c1fec [2023-08-09T10:51:14.991Z] [2023-08-09T10:51:14.991Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T10:51:14.991Z] [2023-08-09T10:51:14.991Z] [2023-08-09T10:51:14.991Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T10:51:14.991Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T10:51:14.991Z] More details here: https://snyk.co/ue1NS [2023-08-09T10:51:14.991Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T10:51:14.991Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T10:51:15.006Z] $ docker stop --time=1 c2fa5e7272ec549c35b23d46e2d6b5c1582c3618f25761741f6f212fdaf69a82 [2023-08-09T10:51:19.477Z] $ docker rm -f --volumes c2fa5e7272ec549c35b23d46e2d6b5c1582c3618f25761741f6f212fdaf69a82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:51:20.187Z] + git log --format=format:%s -1 5a7611fe9d2266d68c2062e26c6ab482e9781192 [Pipeline] sh [2023-08-09T10:51:20.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:51:20.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:20.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:51:20.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:20.848Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:20.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:51:21.328Z] $ docker top bd7828c3d72498e9509251b9991fa0705cc1c9f9946d8c45e049ea6622677374 -eo pid,comm [2023-08-09T10:51:21.376Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:51:21.376Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:51:21.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:51:21.411Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:51:21.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:51:21.539Z] $ docker exec bd7828c3d72498e9509251b9991fa0705cc1c9f9946d8c45e049ea6622677374 ssh-agent [2023-08-09T10:51:21.646Z] SSH_AUTH_SOCK=/tmp/ssh-oFPsqURVkzkJ/agent.33 [2023-08-09T10:51:21.646Z] SSH_AGENT_PID=39 [2023-08-09T10:51:21.651Z] Running ssh-add (command line suppressed) [2023-08-09T10:51:21.751Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11345127275373313074.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11345127275373313074.key) [2023-08-09T10:51:21.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:51:22.052Z] + git semver tag [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,231 [run_tag] DEBUG tag force:False [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,231 [check_head_tag] DEBUG check head tag [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,232 [execute] INFO git cat-file --batch-check [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,238 [execute] INFO git cat-file --batch [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,245 [execute] INFO git tag -a v3.0.1-dev.1 -m v3.0.1-dev.1 [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,245 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.1', '-m', 'v3.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:22.310Z] 2023-08-09 10:51:22,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:22.310Z] 3.0.1-dev.1 [Pipeline] } [2023-08-09T10:51:22.321Z] $ docker exec --env ******** --env ******** bd7828c3d72498e9509251b9991fa0705cc1c9f9946d8c45e049ea6622677374 ssh-agent -k [2023-08-09T10:51:22.418Z] unset SSH_AUTH_SOCK; [2023-08-09T10:51:22.418Z] unset SSH_AGENT_PID; [2023-08-09T10:51:22.418Z] echo Agent pid 39 killed; [2023-08-09T10:51:22.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:51:22.743Z] + git semver [Pipeline] } [2023-08-09T10:51:23.017Z] $ docker stop --time=1 bd7828c3d72498e9509251b9991fa0705cc1c9f9946d8c45e049ea6622677374 [2023-08-09T10:51:24.277Z] $ docker rm -f --volumes bd7828c3d72498e9509251b9991fa0705cc1c9f9946d8c45e049ea6622677374 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:24.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:51:24.657Z] [2023-08-09T10:51:24.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:24.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:51:24.964Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T10:51:24.964Z] ab5ef0e58194: Pulling fs layer [2023-08-09T10:51:24.964Z] 9712f1f96733: Pulling fs layer [2023-08-09T10:51:24.964Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T10:51:24.964Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T10:51:24.964Z] e9a5061849ea: Pulling fs layer [2023-08-09T10:51:24.964Z] d747dcd14b5f: Pulling fs layer [2023-08-09T10:51:24.964Z] 2de7ff778b66: Pulling fs layer [2023-08-09T10:51:24.964Z] 0d9ebad4ef96: Waiting [2023-08-09T10:51:24.964Z] e9a5061849ea: Waiting [2023-08-09T10:51:24.964Z] d747dcd14b5f: Waiting [2023-08-09T10:51:24.964Z] 9712f1f96733: Verifying Checksum [2023-08-09T10:51:24.964Z] 9712f1f96733: Download complete [2023-08-09T10:51:25.224Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T10:51:25.224Z] 63f879dbbcfc: Download complete [2023-08-09T10:51:25.483Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T10:51:25.483Z] 0d9ebad4ef96: Download complete [2023-08-09T10:51:25.483Z] e9a5061849ea: Verifying Checksum [2023-08-09T10:51:25.483Z] e9a5061849ea: Download complete [2023-08-09T10:51:25.483Z] d747dcd14b5f: Verifying Checksum [2023-08-09T10:51:25.483Z] d747dcd14b5f: Download complete [2023-08-09T10:51:25.483Z] ab5ef0e58194: Verifying Checksum [2023-08-09T10:51:25.483Z] ab5ef0e58194: Download complete [2023-08-09T10:51:25.483Z] 2de7ff778b66: Verifying Checksum [2023-08-09T10:51:25.483Z] 2de7ff778b66: Download complete [2023-08-09T10:51:28.009Z] ab5ef0e58194: Pull complete [2023-08-09T10:51:28.009Z] 9712f1f96733: Pull complete [2023-08-09T10:51:28.576Z] 63f879dbbcfc: Pull complete [2023-08-09T10:51:31.857Z] 0d9ebad4ef96: Pull complete [2023-08-09T10:51:32.115Z] e9a5061849ea: Pull complete [2023-08-09T10:51:32.115Z] d747dcd14b5f: Pull complete [2023-08-09T10:51:33.048Z] 2de7ff778b66: Pull complete [2023-08-09T10:51:33.048Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T10:51:33.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:51:33.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:33.128Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:33.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-09T10:51:38.623Z] $ docker top 369a4e1436edb0f660d2869235928579e393eb5969f79aff7e48b5ed6714478d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:51:38.690Z] provisioning config files... [2023-08-09T10:51:38.697Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1458855357838002322tmp [2023-08-09T10:51:38.706Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6732966491193010285tmp [2023-08-09T10:51:38.714Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10069628867448443517tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:51:38.730Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:39.010Z] ---> sigul-configuration.sh [2023-08-09T10:51:39.010Z] gpg: directory `/root/.gnupg' created [2023-08-09T10:51:39.011Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T10:51:39.011Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T10:51:39.011Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T10:51:39.011Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T10:51:39.011Z] gpg: CAST5 encrypted data [2023-08-09T10:51:39.011Z] gpg: encrypted with 1 passphrase [2023-08-09T10:51:39.011Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T10:51:39.295Z] + mkdir /home/jenkins [2023-08-09T10:51:39.296Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T10:51:39.578Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-09T10:51:39.586Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:39.870Z] ---> sigul-install.sh [2023-08-09T10:51:39.870Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T10:51:40.151Z] + git tag --list [2023-08-09T10:51:40.151Z] v0.0.0 [2023-08-09T10:51:40.151Z] v0.0.1-dev.1 [2023-08-09T10:51:40.151Z] v0.0.1-dev.2 [2023-08-09T10:51:40.151Z] v0.0.1-dev.3 [2023-08-09T10:51:40.151Z] v0.0.1-dev.4 [2023-08-09T10:51:40.151Z] v3.0.0 [2023-08-09T10:51:40.151Z] v3.0.1-dev.1 [Pipeline] sh [2023-08-09T10:51:40.437Z] + lftools sign git-tag v3.0.1-dev.1 [2023-08-09T10:51:41.004Z] Signing Git tag with Sigul... [2023-08-09T10:51:41.004Z] Signing v3.0.1-dev.1 [Pipeline] echo [2023-08-09T10:51:41.271Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:41.552Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T10:51:41.560Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T10:51:41.583Z] $ docker stop --time=1 369a4e1436edb0f660d2869235928579e393eb5969f79aff7e48b5ed6714478d [2023-08-09T10:51:42.860Z] $ docker rm -f --volumes 369a4e1436edb0f660d2869235928579e393eb5969f79aff7e48b5ed6714478d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T10:51:43.273Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:51:43.273Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:43.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:51:43.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:43.632Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:43.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:51:43.966Z] $ docker top c044ff36ee5572b3688e9d587895a91695c1be9f05cfaa55f2af65f50445a5be -eo pid,comm [2023-08-09T10:51:44.009Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:51:44.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:51:44.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:51:44.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:51:44.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:51:44.161Z] $ docker exec c044ff36ee5572b3688e9d587895a91695c1be9f05cfaa55f2af65f50445a5be ssh-agent [2023-08-09T10:51:44.254Z] SSH_AUTH_SOCK=/tmp/ssh-XlSAPWOXaMgZ/agent.32 [2023-08-09T10:51:44.254Z] SSH_AGENT_PID=37 [2023-08-09T10:51:44.259Z] Running ssh-add (command line suppressed) [2023-08-09T10:51:44.351Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11143241096012181545.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11143241096012181545.key) [2023-08-09T10:51:44.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:51:44.644Z] + git semver bump pre [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,803 [bump_version] DEBUG bumping version:3.0.1-dev.1 on axis:pre with prefix:dev [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,803 [bump_version] DEBUG bumped version:3.0.1-dev.2 [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,804 [write_version] DEBUG write version:3.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,804 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,805 [execute] INFO git cat-file --batch-check [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,811 [execute] INFO git cat-file --batch [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:44.904Z] 2023-08-09 10:51:44,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:44.904Z] 3.0.1-dev.2 [Pipeline] } [2023-08-09T10:51:44.915Z] $ docker exec --env ******** --env ******** c044ff36ee5572b3688e9d587895a91695c1be9f05cfaa55f2af65f50445a5be ssh-agent -k [2023-08-09T10:51:45.005Z] unset SSH_AUTH_SOCK; [2023-08-09T10:51:45.008Z] unset SSH_AGENT_PID; [2023-08-09T10:51:45.008Z] echo Agent pid 37 killed; [2023-08-09T10:51:45.012Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:51:45.319Z] + git semver [Pipeline] } [2023-08-09T10:51:45.593Z] $ docker stop --time=1 c044ff36ee5572b3688e9d587895a91695c1be9f05cfaa55f2af65f50445a5be [2023-08-09T10:51:46.857Z] $ docker rm -f --volumes c044ff36ee5572b3688e9d587895a91695c1be9f05cfaa55f2af65f50445a5be [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:51:47.184Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:51:47.184Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:47.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:51:47.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:47.546Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:47.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:51:47.890Z] $ docker top 55232148e0702c51251ef31693adff1930730f1663af0281c1a4672654a47d00 -eo pid,comm [2023-08-09T10:51:47.934Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:51:47.934Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:51:47.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:51:47.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:51:48.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:51:48.082Z] $ docker exec 55232148e0702c51251ef31693adff1930730f1663af0281c1a4672654a47d00 ssh-agent [2023-08-09T10:51:48.189Z] SSH_AUTH_SOCK=/tmp/ssh-zEY2GZboKTow/agent.31 [2023-08-09T10:51:48.189Z] SSH_AGENT_PID=37 [2023-08-09T10:51:48.193Z] Running ssh-add (command line suppressed) [2023-08-09T10:51:48.281Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15004063926569943399.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15004063926569943399.key) [2023-08-09T10:51:48.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:51:48.579Z] + git semver push [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,742 [run_push] DEBUG push [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,742 [execute] INFO git cat-file --batch-check [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,745 [execute] INFO git rev-list bf91736713d7e91f7aba118493c33a58de5b37ac -- [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,745 [execute] DEBUG Popen(['git', 'rev-list', 'bf91736713d7e91f7aba118493c33a58de5b37ac', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,749 [execute] INFO git fetch -v origin [2023-08-09T10:51:48.838Z] 2023-08-09 10:51:48,750 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T10:51:49.406Z] 2023-08-09 10:51:49,224 [run_push] DEBUG no remote changes detected [2023-08-09T10:51:49.406Z] 2023-08-09 10:51:49,224 [execute] INFO git push origin semver [2023-08-09T10:51:49.406Z] 2023-08-09 10:51:49,225 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:50.344Z] 2023-08-09 10:51:50,045 [run_push] DEBUG push all version tags [2023-08-09T10:51:50.344Z] 2023-08-09 10:51:50,046 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T10:51:50.344Z] 2023-08-09 10:51:50,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:50.912Z] 2023-08-09 10:51:50,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-08-09T10:51:50.912Z] 3.0.1-dev.2 [Pipeline] } [2023-08-09T10:51:50.923Z] $ docker exec --env ******** --env ******** 55232148e0702c51251ef31693adff1930730f1663af0281c1a4672654a47d00 ssh-agent -k [2023-08-09T10:51:51.014Z] unset SSH_AUTH_SOCK; [2023-08-09T10:51:51.014Z] unset SSH_AGENT_PID; [2023-08-09T10:51:51.014Z] echo Agent pid 37 killed; [2023-08-09T10:51:51.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:51:51.323Z] + git semver [Pipeline] } [2023-08-09T10:51:51.599Z] $ docker stop --time=1 55232148e0702c51251ef31693adff1930730f1663af0281c1a4672654a47d00 [2023-08-09T10:51:52.875Z] $ docker rm -f --volumes 55232148e0702c51251ef31693adff1930730f1663af0281c1a4672654a47d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-09T10:51:53.433Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-08-09T10:51:53.434Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-09T10:51:53.434Z] total 16 [2023-08-09T10:51:53.434Z] drwxr-xr-x 3 root root 4096 Aug 9 10:40 . [2023-08-09T10:51:53.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:51 .. [2023-08-09T10:51:53.434Z] drwxr-xr-x 2 root root 4096 Aug 9 10:40 cost [2023-08-09T10:51:53.434Z] -rw-r--r-- 1 root root 81 Aug 9 10:40 cost.csv [2023-08-09T10:51:53.434Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-09T10:51:53.434Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-08-09T10:51:53.434Z] total 16 [2023-08-09T10:51:53.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:40 . [2023-08-09T10:51:53.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:51 .. [2023-08-09T10:51:53.434Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:40 cost [2023-08-09T10:51:53.434Z] -rw-r--r-- 1 jenkins jenkins 81 Aug 9 10:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:53.723Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:54.576Z] ---> package-listing.sh [2023-08-09T10:51:54.576Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:51:54.576Z] ++ facter osfamily [2023-08-09T10:51:54.833Z] + OS_FAMILY=debian [2023-08-09T10:51:54.833Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-08-09T10:51:54.833Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:51:54.833Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:51:54.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:51:54.833Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:51:54.833Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-08-09T10:51:54.833Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:51:54.833Z] + case "${OS_FAMILY}" in [2023-08-09T10:51:54.833Z] + dpkg -l [2023-08-09T10:51:54.833Z] + grep '^ii' [2023-08-09T10:51:54.833Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:51:54.833Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:51:54.833Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:51:54.833Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-08-09T10:51:54.833Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-08-09T10:51:54.833Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-08-09T10:51:54.843Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T10:51:55.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:55.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:51:55.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:55.736Z] prd-ubuntu20.04-docker-8c-8g-3220 does not seem to be running inside a container [2023-08-09T10:51:55.766Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:51:55.952Z] $ docker top c9faa2e5141b1ae061c1ca680a2bae618736758927c541621c10edd63035fe80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:51:56.380Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:51:56.725Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:51:57.015Z] + ls /var/log/sa-host [2023-08-09T10:51:57.015Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:51:57.077Z] provisioning config files... [2023-08-09T10:51:57.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1933322072395395307tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:51:57.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:57.380Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:51:57.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:57.713Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:51:57.721Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:58.002Z] ---> sudo-logs.sh [2023-08-09T10:51:58.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:51:58.029Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:58.315Z] ---> job-cost.sh [2023-08-09T10:51:58.315Z] lf-activate-venv: SKIPPING [2023-08-09T10:51:58.315Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:51:58.315Z] INFO: Retrieving Stack Cost... [2023-08-09T10:51:58.574Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:51:59.142Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:51:59.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:59.436Z] ---> logs-deploy.sh [2023-08-09T10:51:59.436Z] lf-activate-venv: SKIPPING [2023-08-09T10:51:59.436Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/7 [2023-08-09T10:51:59.436Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:52:00.372Z] Archives upload complete. [2023-08-09T10:52:00.373Z] INFO: archiving logs to Nexus