Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ac18c8d40d5257925873e9513c65867e7192949 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-ssh5220848136885949698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7444784376594579497.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14673056103550119838.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16231432903298809582.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-ssh17315743495676888969.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10342’ Running on prd-ubuntu20.04-docker-8c-8g-10348 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 8ac18c8d40d5257925873e9513c65867e7192949 (main) Commit message: "Merge pull request #26 from lenny-intel/add-missing-files" > 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 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 > git rev-list --no-walk 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T01:17:14.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T01:17:14.106Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T01:17:14.121Z] ========================================================= [2023-10-25T01:17:14.121Z] EdgeX Global Pipelines Version Info [2023-10-25T01:17:14.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:17:14.826Z] ------------------- [2023-10-25T01:17:14.826Z] stable info: [2023-10-25T01:17:14.826Z] ------------------- [2023-10-25T01:17:14.826Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T01:17:14.826Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T01:17:14.826Z] Message: update stable to v1.0.254 [2023-10-25T01:17:15.394Z] ------------------- [2023-10-25T01:17:15.394Z] experimental info: [2023-10-25T01:17:15.394Z] ------------------- [2023-10-25T01:17:15.394Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T01:17:15.394Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T01:17:15.394Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T01:17:15.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-10-25T01:17:15.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-10-25T01:17:15.601Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T01:17:15.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T01:17:15.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T01:17:15.640Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T01:17:15.653Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T01:17:15.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-25T01:17:15.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T01:17:15.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T01:17:15.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T01:17:15.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-10-25T01:17:15.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T01:17:15.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T01:17:15.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T01:17:15.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T01:17:15.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T01:17:15.822Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T01:17:15.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T01:17:15.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T01:17:15.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-25T01:17:15.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-25T01:17:15.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T01:17:15.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T01:17:15.949Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T01:17:15.964Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T01:17:15.978Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T01:17:15.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-25T01:17:16.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-25T01:17:16.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-25T01:17:16.040Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] echo [2023-10-25T01:17:16.055Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ac18c8 [Pipeline] echo [2023-10-25T01:17:16.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:17:16.120Z] provisioning config files... [2023-10-25T01:17:16.132Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2866306991437696909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:17:16.435Z] ---> docker-login.sh [2023-10-25T01:17:16.435Z] nexus3.edgexfoundry.org:10001 [2023-10-25T01:17:16.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:16.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:16.954Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:16.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:16.954Z] [2023-10-25T01:17:16.954Z] Login Succeeded [2023-10-25T01:17:16.954Z] nexus3.edgexfoundry.org:10002 [2023-10-25T01:17:16.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:16.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:16.954Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:16.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:16.954Z] [2023-10-25T01:17:16.954Z] Login Succeeded [2023-10-25T01:17:16.954Z] nexus3.edgexfoundry.org:10003 [2023-10-25T01:17:17.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:17.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:17.213Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:17.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:17.213Z] [2023-10-25T01:17:17.213Z] Login Succeeded [2023-10-25T01:17:17.213Z] nexus3.edgexfoundry.org:10004 [2023-10-25T01:17:17.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:17.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:17.213Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:17.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:17.213Z] [2023-10-25T01:17:17.213Z] Login Succeeded [2023-10-25T01:17:17.213Z] docker.io [2023-10-25T01:17:17.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:17.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:17.783Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:17.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:17.783Z] [2023-10-25T01:17:17.783Z] Login Succeeded [2023-10-25T01:17:17.783Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T01:17:17.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T01:17:18.176Z] + git rev-list -1 --merges 8ac18c8d40d5257925873e9513c65867e7192949~1..8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] echo [2023-10-25T01:17:18.217Z] -----------> git rev-list -1 --merges 8ac18c8d40d5257925873e9513c65867e7192949~1..8ac18c8d40d5257925873e9513c65867e7192949 8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:17:18.217Z] 8ac18c8d40d5257925873e9513c65867e7192949 [false] [Pipeline] sh [2023-10-25T01:17:18.503Z] + git log --format=format:%s -1 8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] echo [2023-10-25T01:17:18.517Z] ========================================================= [2023-10-25T01:17:18.517Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T01:17:18.517Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T01:17:18.850Z] + git log --format=format:%s -1 8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] echo [2023-10-25T01:17:18.860Z] [semverPrep] GIT_COMMIT: 8ac18c8d40d5257925873e9513c65867e7192949, Commit Message: Merge pull request #26 from lenny-intel/add-missing-files [Pipeline] echo [2023-10-25T01:17:18.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T01:17:19.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T01:17:19.238Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T01:17:19.238Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T01:17:19.238Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T01:17:19.238Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T01:17:19.238Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T01:17:19.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:17:19.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:17:19.699Z] [2023-10-25T01:17:19.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:17:20.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:17:20.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T01:17:20.001Z] b85a868b505f: Pulling fs layer [2023-10-25T01:17:20.001Z] e2be974225ed: Pulling fs layer [2023-10-25T01:17:20.001Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T01:17:20.001Z] 988bab9f4d93: Pulling fs layer [2023-10-25T01:17:20.001Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T01:17:20.001Z] eaf3925da568: Pulling fs layer [2023-10-25T01:17:20.001Z] bab4dde63d76: Pulling fs layer [2023-10-25T01:17:20.001Z] bde34c3a00c8: Pulling fs layer [2023-10-25T01:17:20.001Z] b352a97aabf1: Pulling fs layer [2023-10-25T01:17:20.001Z] 4872d77fe225: Pulling fs layer [2023-10-25T01:17:20.001Z] 5851b861e8e6: Pulling fs layer [2023-10-25T01:17:20.001Z] 988bab9f4d93: Waiting [2023-10-25T01:17:20.001Z] bde34c3a00c8: Waiting [2023-10-25T01:17:20.001Z] b352a97aabf1: Waiting [2023-10-25T01:17:20.001Z] 5851b861e8e6: Waiting [2023-10-25T01:17:20.001Z] 4872d77fe225: Waiting [2023-10-25T01:17:20.001Z] eaf3925da568: Waiting [2023-10-25T01:17:20.001Z] 1469e6f7b9e6: Waiting [2023-10-25T01:17:20.001Z] bab4dde63d76: Waiting [2023-10-25T01:17:20.001Z] e2be974225ed: Download complete [2023-10-25T01:17:20.001Z] 988bab9f4d93: Verifying Checksum [2023-10-25T01:17:20.001Z] 988bab9f4d93: Download complete [2023-10-25T01:17:20.001Z] 1469e6f7b9e6: Verifying Checksum [2023-10-25T01:17:20.001Z] 1469e6f7b9e6: Download complete [2023-10-25T01:17:20.260Z] eaf3925da568: Verifying Checksum [2023-10-25T01:17:20.260Z] eaf3925da568: Download complete [2023-10-25T01:17:20.260Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T01:17:20.260Z] 339a4e72a1f5: Download complete [2023-10-25T01:17:20.260Z] bde34c3a00c8: Verifying Checksum [2023-10-25T01:17:20.260Z] bde34c3a00c8: Download complete [2023-10-25T01:17:20.260Z] b352a97aabf1: Download complete [2023-10-25T01:17:20.260Z] 4872d77fe225: Verifying Checksum [2023-10-25T01:17:20.260Z] 4872d77fe225: Download complete [2023-10-25T01:17:20.260Z] 5851b861e8e6: Verifying Checksum [2023-10-25T01:17:20.260Z] 5851b861e8e6: Download complete [2023-10-25T01:17:20.260Z] b85a868b505f: Verifying Checksum [2023-10-25T01:17:20.260Z] b85a868b505f: Download complete [2023-10-25T01:17:20.520Z] bab4dde63d76: Verifying Checksum [2023-10-25T01:17:20.520Z] bab4dde63d76: Download complete [2023-10-25T01:17:21.455Z] b85a868b505f: Pull complete [2023-10-25T01:17:21.715Z] e2be974225ed: Pull complete [2023-10-25T01:17:22.286Z] 339a4e72a1f5: Pull complete [2023-10-25T01:17:22.286Z] 988bab9f4d93: Pull complete [2023-10-25T01:17:22.589Z] 1469e6f7b9e6: Pull complete [2023-10-25T01:17:22.589Z] eaf3925da568: Pull complete [2023-10-25T01:17:24.494Z] bab4dde63d76: Pull complete [2023-10-25T01:17:24.494Z] bde34c3a00c8: Pull complete [2023-10-25T01:17:24.494Z] b352a97aabf1: Pull complete [2023-10-25T01:17:24.494Z] 4872d77fe225: Pull complete [2023-10-25T01:17:24.494Z] 5851b861e8e6: Pull complete [2023-10-25T01:17:24.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T01:17:24.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:17:24.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:17:24.595Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:17:24.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T01:17:28.694Z] $ docker top a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 -eo pid,comm [2023-10-25T01:17:28.746Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T01:17:28.746Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T01:17:28.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T01:17:28.776Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T01:17:28.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T01:17:28.900Z] $ docker exec a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 ssh-agent [2023-10-25T01:17:29.000Z] SSH_AUTH_SOCK=/tmp/ssh-HK2UB6n2Sebi/agent.32 [2023-10-25T01:17:29.000Z] SSH_AGENT_PID=38 [2023-10-25T01:17:29.006Z] Running ssh-add (command line suppressed) [2023-10-25T01:17:29.106Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1329501678412896776.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1329501678412896776.key) [2023-10-25T01:17:29.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T01:17:29.406Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T01:17:29.423Z] $ docker exec --env ******** --env ******** a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 ssh-agent -k [2023-10-25T01:17:29.526Z] unset SSH_AUTH_SOCK; [2023-10-25T01:17:29.526Z] unset SSH_AGENT_PID; [2023-10-25T01:17:29.526Z] echo Agent pid 38 killed; [2023-10-25T01:17:29.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T01:17:29.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T01:17:29.557Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T01:17:29.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T01:17:29.666Z] $ docker exec a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 ssh-agent [2023-10-25T01:17:29.785Z] SSH_AUTH_SOCK=/tmp/ssh-k3Wuhuztnjt0/agent.70 [2023-10-25T01:17:29.785Z] SSH_AGENT_PID=76 [2023-10-25T01:17:29.789Z] Running ssh-add (command line suppressed) [2023-10-25T01:17:29.890Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10197876129549381007.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10197876129549381007.key) [2023-10-25T01:17:29.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T01:17:30.191Z] + git semver init [2023-10-25T01:17:30.450Z] 2023-10-25 01:17:30,371 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T01:17:30.450Z] 2023-10-25 01:17:30,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T01:17:30.450Z] 2023-10-25 01:17:30,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-10-25T01:17:30.450Z] 2023-10-25 01:17:30,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T01:17:31.391Z] 2023-10-25 01:17:31,329 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-10-25T01:17:31.391Z] 2023-10-25 01:17:31,329 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-10-25T01:17:31.391Z] 2023-10-25 01:17:31,329 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:17:31.392Z] 2023-10-25 01:17:31,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:17:31.392Z] 3.0.1-dev.5 [Pipeline] } [2023-10-25T01:17:31.404Z] $ docker exec --env ******** --env ******** a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 ssh-agent -k [2023-10-25T01:17:31.486Z] unset SSH_AUTH_SOCK; [2023-10-25T01:17:31.486Z] unset SSH_AGENT_PID; [2023-10-25T01:17:31.487Z] echo Agent pid 76 killed; [2023-10-25T01:17:31.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T01:17:31.797Z] + git semver [Pipeline] } [2023-10-25T01:17:32.075Z] $ docker stop --time=1 a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 [2023-10-25T01:17:33.364Z] $ docker rm -f --volumes a161fe1c462e4837e09c82b079b72e2fe5d9cd8a8fdaf19a23d1d9d56fc98414 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T01:17:33.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T01:17:33.889Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T01:17:33.890Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:17:34.043Z] provisioning config files... [2023-10-25T01:17:34.052Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16724689071536536402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:17:34.348Z] ---> docker-login.sh [2023-10-25T01:17:34.348Z] nexus3.edgexfoundry.org:10001 [2023-10-25T01:17:34.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:34.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:34.348Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:34.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:34.348Z] [2023-10-25T01:17:34.348Z] Login Succeeded [2023-10-25T01:17:34.348Z] nexus3.edgexfoundry.org:10002 [2023-10-25T01:17:34.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:34.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:34.348Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:34.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:34.348Z] [2023-10-25T01:17:34.348Z] Login Succeeded [2023-10-25T01:17:34.348Z] nexus3.edgexfoundry.org:10003 [2023-10-25T01:17:34.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:34.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:34.607Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:34.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:34.607Z] [2023-10-25T01:17:34.607Z] Login Succeeded [2023-10-25T01:17:34.607Z] nexus3.edgexfoundry.org:10004 [2023-10-25T01:17:34.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:34.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:34.607Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:34.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:34.607Z] [2023-10-25T01:17:34.607Z] Login Succeeded [2023-10-25T01:17:34.607Z] docker.io [2023-10-25T01:17:34.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:17:34.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:17:34.866Z] Configure a credential helper to remove this warning. See [2023-10-25T01:17:34.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:17:34.866Z] [2023-10-25T01:17:34.866Z] Login Succeeded [2023-10-25T01:17:34.866Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T01:17:34.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T01:17:34.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:17:34.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:17:35.004Z] ========================================================= [2023-10-25T01:17:35.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T01:17:35.004Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:17:35.322Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T01:17:35.322Z] Sending build context to Docker daemon 11.17MB [2023-10-25T01:17:35.322Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T01:17:35.322Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T01:17:35.322Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T01:17:35.322Z] 7264a8db6415: Pulling fs layer [2023-10-25T01:17:35.322Z] c4d48a809fc2: Pulling fs layer [2023-10-25T01:17:35.322Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T01:17:35.322Z] ad3a456e5733: Pulling fs layer [2023-10-25T01:17:35.322Z] 33e27b845d1e: Pulling fs layer [2023-10-25T01:17:35.322Z] c68163c4e522: Pulling fs layer [2023-10-25T01:17:35.322Z] 50da416c3ac9: Pulling fs layer [2023-10-25T01:17:35.322Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T01:17:35.322Z] c68163c4e522: Waiting [2023-10-25T01:17:35.322Z] 50da416c3ac9: Waiting [2023-10-25T01:17:35.322Z] 23d2d4c4bb30: Waiting [2023-10-25T01:17:35.322Z] ad3a456e5733: Waiting [2023-10-25T01:17:35.322Z] c4d48a809fc2: Download complete [2023-10-25T01:17:36.347Z] ad3a456e5733: Verifying Checksum [2023-10-25T01:17:36.347Z] ad3a456e5733: Download complete [2023-10-25T01:17:36.347Z] 33e27b845d1e: Download complete [2023-10-25T01:17:36.347Z] 7264a8db6415: Verifying Checksum [2023-10-25T01:17:36.347Z] 7264a8db6415: Download complete [2023-10-25T01:17:36.347Z] c68163c4e522: Verifying Checksum [2023-10-25T01:17:36.347Z] c68163c4e522: Download complete [2023-10-25T01:17:36.605Z] 7264a8db6415: Pull complete [2023-10-25T01:17:36.864Z] c4d48a809fc2: Pull complete [2023-10-25T01:17:38.774Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T01:17:38.774Z] 23d2d4c4bb30: Download complete [2023-10-25T01:17:38.774Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T01:17:38.774Z] 4f1c88b9dad5: Download complete [2023-10-25T01:17:39.339Z] 50da416c3ac9: Verifying Checksum [2023-10-25T01:17:39.339Z] 50da416c3ac9: Download complete [2023-10-25T01:17:41.868Z] 4f1c88b9dad5: Pull complete [2023-10-25T01:17:41.868Z] ad3a456e5733: Pull complete [2023-10-25T01:17:41.868Z] 33e27b845d1e: Pull complete [2023-10-25T01:17:41.868Z] c68163c4e522: Pull complete [2023-10-25T01:17:44.406Z] 50da416c3ac9: Pull complete [2023-10-25T01:17:44.406Z] 23d2d4c4bb30: Pull complete [2023-10-25T01:17:44.406Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T01:17:44.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T01:17:44.406Z] ---> 0786185ac409 [2023-10-25T01:17:44.406Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T01:17:48.999Z] Still waiting to schedule task [2023-10-25T01:17:48.999Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10346’ [2023-10-25T01:17:49.686Z] ---> Running in f1786d40e399 [2023-10-25T01:17:49.686Z] Removing intermediate container f1786d40e399 [2023-10-25T01:17:49.686Z] ---> 7e35eb324215 [2023-10-25T01:17:49.686Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T01:17:49.686Z] ---> Running in a99827c44dc5 [2023-10-25T01:17:49.686Z] Removing intermediate container a99827c44dc5 [2023-10-25T01:17:49.686Z] ---> 6880daa868ac [2023-10-25T01:17:49.686Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T01:17:49.686Z] ---> Running in 465cf9815033 [2023-10-25T01:17:49.686Z] Removing intermediate container 465cf9815033 [2023-10-25T01:17:49.686Z] ---> 6e0b98fd3e9b [2023-10-25T01:17:49.686Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T01:17:49.686Z] ---> Running in 10487a11e74b [2023-10-25T01:17:49.686Z] Removing intermediate container 10487a11e74b [2023-10-25T01:17:49.686Z] ---> 6f3e50936cfb [2023-10-25T01:17:49.686Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T01:17:49.686Z] ---> Running in 7d538e203a65 [2023-10-25T01:17:49.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T01:17:50.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T01:17:50.462Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T01:17:50.462Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T01:17:50.462Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T01:17:50.462Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T01:17:50.462Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T01:17:50.462Z] OK: 268 MiB in 56 packages [2023-10-25T01:17:51.026Z] Removing intermediate container 7d538e203a65 [2023-10-25T01:17:51.026Z] ---> be093eaafd48 [2023-10-25T01:17:51.026Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T01:17:51.026Z] ---> d99a79664e75 [2023-10-25T01:17:51.026Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T01:17:51.027Z] ---> Running in bee96b335ccf [2023-10-25T01:19:12.463Z] Removing intermediate container bee96b335ccf [2023-10-25T01:19:12.463Z] ---> d448af8ee21b [2023-10-25T01:19:12.463Z] Step 10/12 : COPY . . [2023-10-25T01:19:12.463Z] ---> 3657defab203 [2023-10-25T01:19:12.463Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T01:19:12.463Z] ---> Running in 39c56a76b0ef [2023-10-25T01:19:12.463Z] Removing intermediate container 39c56a76b0ef [2023-10-25T01:19:12.463Z] ---> f5f172d7d01c [2023-10-25T01:19:12.463Z] Step 12/12 : RUN ${MAKE} [2023-10-25T01:19:12.463Z] ---> Running in 8bf99ab71960 [2023-10-25T01:19:12.463Z] noop [2023-10-25T01:19:12.463Z] Removing intermediate container 8bf99ab71960 [2023-10-25T01:19:12.463Z] ---> c2b2e7a93919 [2023-10-25T01:19:12.463Z] Successfully built c2b2e7a93919 [2023-10-25T01:19:12.463Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:19:12.777Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T01:19:12.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:19:12.862Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:19:12.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T01:19:13.250Z] $ docker top 422f188c39988e37ceae5c7b6381506f73c4f77752dad36e0cb2fab37a89d82c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T01:19:13.584Z] + go version [2023-10-25T01:19:13.584Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T01:19:13.598Z] $ docker stop --time=1 422f188c39988e37ceae5c7b6381506f73c4f77752dad36e0cb2fab37a89d82c [2023-10-25T01:19:14.877Z] $ docker rm -f --volumes 422f188c39988e37ceae5c7b6381506f73c4f77752dad36e0cb2fab37a89d82c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:19:15.283Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T01:19:15.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:19:15.354Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:19:15.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T01:19:15.708Z] $ docker top 8bf71f2b616da2fb326c05181264c2802c7bc1a7c5e6db003f938a3d6c682f22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T01:19:16.054Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-10-25T01:19:16.346Z] + make test [2023-10-25T01:19:16.346Z] go test ./... -coverprofile=coverage.out [2023-10-25T01:19:17.716Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T01:19:27.667Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T01:19:27.667Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T01:19:32.928Z] go vet ./... [2023-10-25T01:19:36.206Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T01:19:36.206Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T01:19:36.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T01:19:36.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T01:19:36.231Z] $ docker stop --time=1 8bf71f2b616da2fb326c05181264c2802c7bc1a7c5e6db003f938a3d6c682f22 [2023-10-25T01:19:39.363Z] $ docker rm -f --volumes 8bf71f2b616da2fb326c05181264c2802c7bc1a7c5e6db003f938a3d6c682f22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T01:19:39.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T01:19:39.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T01:19:40.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T01:19:40.674Z] + ls -al . [2023-10-25T01:19:40.674Z] total 152 [2023-10-25T01:19:40.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:19 . [2023-10-25T01:19:40.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:17 .. [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:17 .dockerignore [2023-10-25T01:19:40.675Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:19 .git [2023-10-25T01:19:40.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 .github [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:17 .gitignore [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:17 .golangci.yml [2023-10-25T01:19:40.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:17 .semver [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:17 Attribution.txt [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:17 Dockerfile [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:17 GOVERNANCE.md [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:17 Jenkinsfile [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:17 LICENSE [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:17 Makefile [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:17 OWNERS.md [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:17 README.md [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 01:17 VERSION [2023-10-25T01:19:40.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:17 bin [2023-10-25T01:19:40.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 cmd [2023-10-25T01:19:40.675Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:19 coverage.out [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 3719 Oct 25 01:17 go.mod [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 33980 Oct 25 01:17 go.sum [2023-10-25T01:19:40.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:17 internal [2023-10-25T01:19:40.675Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:19:41.076Z] + 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=8ac18c8d40d5257925873e9513c65867e7192949 --label arch=amd64 --label version=3.0.1-dev.5 . [2023-10-25T01:19:41.076Z] Sending build context to Docker daemon 11.17MB [2023-10-25T01:19:41.076Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T01:19:41.076Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T01:19:41.076Z] ---> c2b2e7a93919 [2023-10-25T01:19:41.076Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T01:19:41.347Z] ---> Running in 3075c9daec3a [2023-10-25T01:19:41.347Z] Removing intermediate container 3075c9daec3a [2023-10-25T01:19:41.347Z] ---> 4c366c2c3e15 [2023-10-25T01:19:41.347Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T01:19:41.347Z] ---> Running in 16a624993db4 [2023-10-25T01:19:41.347Z] Removing intermediate container 16a624993db4 [2023-10-25T01:19:41.347Z] ---> db6f55898fff [2023-10-25T01:19:41.347Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T01:19:41.347Z] ---> Running in fb4a2d4f91a1 [2023-10-25T01:19:41.347Z] Removing intermediate container fb4a2d4f91a1 [2023-10-25T01:19:41.347Z] ---> 20d884c64bb6 [2023-10-25T01:19:41.347Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T01:19:41.347Z] ---> Running in 10cf3cbea47e [2023-10-25T01:19:41.642Z] Removing intermediate container 10cf3cbea47e [2023-10-25T01:19:41.642Z] ---> 209bced0f0ed [2023-10-25T01:19:41.642Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T01:19:41.642Z] ---> Running in 0703cb979645 [2023-10-25T01:19:41.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T01:19:41.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T01:19:42.478Z] OK: 268 MiB in 56 packages [2023-10-25T01:19:42.478Z] Removing intermediate container 0703cb979645 [2023-10-25T01:19:42.478Z] ---> fe86389d835b [2023-10-25T01:19:42.478Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T01:19:42.736Z] ---> 642c44092a6c [2023-10-25T01:19:42.736Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T01:19:42.736Z] ---> Running in e46f2939fb53 [2023-10-25T01:19:43.300Z] Removing intermediate container e46f2939fb53 [2023-10-25T01:19:43.300Z] ---> ee795b6a286c [2023-10-25T01:19:43.300Z] Step 10/25 : COPY . . [2023-10-25T01:19:43.562Z] ---> 2a622e7d76aa [2023-10-25T01:19:43.562Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T01:19:43.562Z] ---> Running in 608d5775ab55 [2023-10-25T01:19:43.820Z] Removing intermediate container 608d5775ab55 [2023-10-25T01:19:43.820Z] ---> 79a8d5650b96 [2023-10-25T01:19:43.820Z] Step 12/25 : RUN ${MAKE} [2023-10-25T01:19:43.820Z] ---> Running in 04fc0c21ea27 [2023-10-25T01:19:44.078Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T01:20:06.594Z] Removing intermediate container 04fc0c21ea27 [2023-10-25T01:20:06.594Z] ---> f1c66d12480c [2023-10-25T01:20:06.594Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T01:20:06.854Z] 3.18: Pulling from library/alpine [2023-10-25T01:20:07.113Z] 96526aa774ef: Pulling fs layer [2023-10-25T01:20:07.113Z] 96526aa774ef: Download complete [2023-10-25T01:20:07.372Z] 96526aa774ef: Pull complete [2023-10-25T01:20:07.372Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T01:20:07.372Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T01:20:07.372Z] ---> 8ca4688f4f35 [2023-10-25T01:20:07.372Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T01:20:07.631Z] ---> Running in 479f51e6fcef [2023-10-25T01:20:07.631Z] Removing intermediate container 479f51e6fcef [2023-10-25T01:20:07.631Z] ---> 9a3efdd56e6a [2023-10-25T01:20:07.631Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T01:20:07.631Z] ---> Running in 74c902cda308 [2023-10-25T01:20:07.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T01:20:08.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T01:20:08.407Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T01:20:08.407Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T01:20:08.407Z] OK: 7 MiB in 16 packages [2023-10-25T01:20:08.665Z] Removing intermediate container 74c902cda308 [2023-10-25T01:20:08.665Z] ---> ea42c7fc9678 [2023-10-25T01:20:08.665Z] Step 16/25 : WORKDIR / [2023-10-25T01:20:08.665Z] ---> Running in ea198a922b23 [2023-10-25T01:20:08.923Z] Removing intermediate container ea198a922b23 [2023-10-25T01:20:08.923Z] ---> 4d638b755cfb [2023-10-25T01:20:08.923Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T01:20:08.923Z] ---> 9d2d52807e93 [2023-10-25T01:20:08.923Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T01:20:08.923Z] ---> 695ebceb7d0b [2023-10-25T01:20:08.923Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T01:20:09.858Z] ---> 4b0ea0a75ef8 [2023-10-25T01:20:09.859Z] Step 20/25 : EXPOSE 59995 [2023-10-25T01:20:09.859Z] ---> Running in 0bb260468a53 [2023-10-25T01:20:09.859Z] Removing intermediate container 0bb260468a53 [2023-10-25T01:20:09.859Z] ---> 3c98fb7e0727 [2023-10-25T01:20:09.859Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T01:20:10.118Z] ---> Running in 789aa2afdb2c [2023-10-25T01:20:10.118Z] Removing intermediate container 789aa2afdb2c [2023-10-25T01:20:10.118Z] ---> 58025f948e8b [2023-10-25T01:20:10.118Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T01:20:10.118Z] ---> Running in 4f2a43ee1a46 [2023-10-25T01:20:10.118Z] Removing intermediate container 4f2a43ee1a46 [2023-10-25T01:20:10.118Z] ---> 04fccb7a9b7d [2023-10-25T01:20:10.118Z] Step 23/25 : LABEL arch=amd64 [2023-10-25T01:20:10.118Z] ---> Running in 15502f39218a [2023-10-25T01:20:10.118Z] Removing intermediate container 15502f39218a [2023-10-25T01:20:10.118Z] ---> b134e174eb70 [2023-10-25T01:20:10.118Z] Step 24/25 : LABEL git_sha=8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:20:10.376Z] ---> Running in f744e7e8d10a [2023-10-25T01:20:10.376Z] Removing intermediate container f744e7e8d10a [2023-10-25T01:20:10.376Z] ---> 24138bfdc4bc [2023-10-25T01:20:10.376Z] Step 25/25 : LABEL version=3.0.1-dev.5 [2023-10-25T01:20:10.376Z] ---> Running in be3c8be5332b [2023-10-25T01:20:10.376Z] Removing intermediate container be3c8be5332b [2023-10-25T01:20:10.376Z] ---> 95bc8553ca9c [2023-10-25T01:20:10.376Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T01:20:10.376Z] Successfully built 95bc8553ca9c [2023-10-25T01:20:10.376Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:20:10.481Z] provisioning config files... [2023-10-25T01:20:10.489Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5152271627103637015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:20:10.786Z] ---> docker-login.sh [2023-10-25T01:20:10.786Z] nexus3.edgexfoundry.org:10001 [2023-10-25T01:20:10.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:20:10.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:20:10.786Z] Configure a credential helper to remove this warning. See [2023-10-25T01:20:10.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:20:10.786Z] [2023-10-25T01:20:10.786Z] Login Succeeded [2023-10-25T01:20:10.786Z] nexus3.edgexfoundry.org:10002 [2023-10-25T01:20:10.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:20:10.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:20:10.786Z] Configure a credential helper to remove this warning. See [2023-10-25T01:20:10.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:20:10.786Z] [2023-10-25T01:20:10.786Z] Login Succeeded [2023-10-25T01:20:10.786Z] nexus3.edgexfoundry.org:10003 [2023-10-25T01:20:11.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:20:11.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:20:11.046Z] Configure a credential helper to remove this warning. See [2023-10-25T01:20:11.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:20:11.046Z] [2023-10-25T01:20:11.046Z] Login Succeeded [2023-10-25T01:20:11.046Z] nexus3.edgexfoundry.org:10004 [2023-10-25T01:20:11.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:20:11.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:20:11.046Z] Configure a credential helper to remove this warning. See [2023-10-25T01:20:11.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:20:11.046Z] [2023-10-25T01:20:11.046Z] Login Succeeded [2023-10-25T01:20:11.046Z] docker.io [2023-10-25T01:20:11.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:20:11.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:20:11.305Z] Configure a credential helper to remove this warning. See [2023-10-25T01:20:11.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:20:11.305Z] [2023-10-25T01:20:11.305Z] Login Succeeded [2023-10-25T01:20:11.305Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T01:20:11.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T01:20:11.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:20:11.357Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-10-25T01:20:11.357Z] 8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:20:11.357Z] latest [2023-10-25T01:20:11.357Z] 3.0.1-dev.5 [2023-10-25T01:20:11.357Z] 8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:20:11.357Z] main [2023-10-25T01:20:11.357Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:11.666Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:11.968Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:20:11.968Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T01:20:11.968Z] 2433edd4a1fb: Preparing [2023-10-25T01:20:11.968Z] 15469cfe76a7: Preparing [2023-10-25T01:20:11.968Z] ed94fd584f8c: Preparing [2023-10-25T01:20:11.968Z] b119fe2e7d9a: Preparing [2023-10-25T01:20:11.968Z] cc2447e1835a: Preparing [2023-10-25T01:20:11.968Z] cc2447e1835a: Layer already exists [2023-10-25T01:20:11.968Z] 15469cfe76a7: Pushed [2023-10-25T01:20:11.968Z] b119fe2e7d9a: Pushed [2023-10-25T01:20:11.968Z] ed94fd584f8c: Pushed [2023-10-25T01:20:14.498Z] 2433edd4a1fb: Pushed [2023-10-25T01:20:14.755Z] 8ac18c8d40d5257925873e9513c65867e7192949: digest: sha256:746793164d54b7ef8b3cc039bebf7fabca0c09dbd28829e6fe097a2e2261f14c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:15.064Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:15.364Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T01:20:15.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T01:20:15.364Z] 2433edd4a1fb: Preparing [2023-10-25T01:20:15.364Z] 15469cfe76a7: Preparing [2023-10-25T01:20:15.364Z] ed94fd584f8c: Preparing [2023-10-25T01:20:15.364Z] b119fe2e7d9a: Preparing [2023-10-25T01:20:15.364Z] cc2447e1835a: Preparing [2023-10-25T01:20:15.364Z] 2433edd4a1fb: Layer already exists [2023-10-25T01:20:15.364Z] ed94fd584f8c: Layer already exists [2023-10-25T01:20:15.364Z] b119fe2e7d9a: Layer already exists [2023-10-25T01:20:15.364Z] cc2447e1835a: Layer already exists [2023-10-25T01:20:15.364Z] 15469cfe76a7: Layer already exists [2023-10-25T01:20:15.364Z] latest: digest: sha256:746793164d54b7ef8b3cc039bebf7fabca0c09dbd28829e6fe097a2e2261f14c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:15.683Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:15.985Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.5 [2023-10-25T01:20:15.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T01:20:15.985Z] 2433edd4a1fb: Preparing [2023-10-25T01:20:15.985Z] 15469cfe76a7: Preparing [2023-10-25T01:20:15.985Z] ed94fd584f8c: Preparing [2023-10-25T01:20:15.985Z] b119fe2e7d9a: Preparing [2023-10-25T01:20:15.985Z] cc2447e1835a: Preparing [2023-10-25T01:20:15.985Z] b119fe2e7d9a: Layer already exists [2023-10-25T01:20:15.985Z] cc2447e1835a: Layer already exists [2023-10-25T01:20:15.985Z] 15469cfe76a7: Layer already exists [2023-10-25T01:20:15.985Z] ed94fd584f8c: Layer already exists [2023-10-25T01:20:15.985Z] 2433edd4a1fb: Layer already exists [2023-10-25T01:20:15.985Z] 3.0.1-dev.5: digest: sha256:746793164d54b7ef8b3cc039bebf7fabca0c09dbd28829e6fe097a2e2261f14c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:16.291Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:16.592Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:20:16.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T01:20:16.592Z] 2433edd4a1fb: Preparing [2023-10-25T01:20:16.592Z] 15469cfe76a7: Preparing [2023-10-25T01:20:16.592Z] ed94fd584f8c: Preparing [2023-10-25T01:20:16.592Z] b119fe2e7d9a: Preparing [2023-10-25T01:20:16.592Z] cc2447e1835a: Preparing [2023-10-25T01:20:16.592Z] b119fe2e7d9a: Layer already exists [2023-10-25T01:20:16.592Z] 2433edd4a1fb: Layer already exists [2023-10-25T01:20:16.592Z] ed94fd584f8c: Layer already exists [2023-10-25T01:20:16.592Z] cc2447e1835a: Layer already exists [2023-10-25T01:20:16.592Z] 15469cfe76a7: Layer already exists [2023-10-25T01:20:16.592Z] 8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5: digest: sha256:746793164d54b7ef8b3cc039bebf7fabca0c09dbd28829e6fe097a2e2261f14c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:16.896Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:17.206Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-10-25T01:20:17.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-10-25T01:20:17.206Z] 2433edd4a1fb: Preparing [2023-10-25T01:20:17.206Z] 15469cfe76a7: Preparing [2023-10-25T01:20:17.206Z] ed94fd584f8c: Preparing [2023-10-25T01:20:17.206Z] b119fe2e7d9a: Preparing [2023-10-25T01:20:17.206Z] cc2447e1835a: Preparing [2023-10-25T01:20:17.206Z] 2433edd4a1fb: Layer already exists [2023-10-25T01:20:17.206Z] 15469cfe76a7: Layer already exists [2023-10-25T01:20:17.206Z] ed94fd584f8c: Layer already exists [2023-10-25T01:20:17.206Z] b119fe2e7d9a: Layer already exists [2023-10-25T01:20:17.206Z] cc2447e1835a: Layer already exists [2023-10-25T01:20:17.206Z] main: digest: sha256:746793164d54b7ef8b3cc039bebf7fabca0c09dbd28829e6fe097a2e2261f14c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T01:20:17.252Z] ===================================================== [Pipeline] echo [2023-10-25T01:20:17.261Z] taggedImages: [2023-10-25T01:20:17.261Z] - nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:20:17.261Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-10-25T01:20:17.261Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.5 [2023-10-25T01:20:17.261Z] - nexus3.edgexfoundry.org:10004/device-uart:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:20:17.261Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:17.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T01:20:17.621Z] [2023-10-25T01:20:17.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:20:17.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T01:20:17.920Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T01:20:17.920Z] 5eb5b503b376: Pulling fs layer [2023-10-25T01:20:17.920Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T01:20:17.920Z] ec43610c2a17: Pulling fs layer [2023-10-25T01:20:17.920Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T01:20:17.920Z] 33b1e0a273af: Pulling fs layer [2023-10-25T01:20:17.920Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T01:20:17.920Z] 2f39f015ded8: Pulling fs layer [2023-10-25T01:20:17.920Z] 33b1e0a273af: Waiting [2023-10-25T01:20:17.920Z] 2f39f015ded8: Waiting [2023-10-25T01:20:17.920Z] 5d3b04190fa2: Waiting [2023-10-25T01:20:17.920Z] 3a2ae6a8a46f: Waiting [2023-10-25T01:20:17.920Z] 5c69ac0246d0: Verifying Checksum [2023-10-25T01:20:17.920Z] 3a2ae6a8a46f: Download complete [2023-10-25T01:20:17.920Z] 33b1e0a273af: Verifying Checksum [2023-10-25T01:20:17.920Z] 33b1e0a273af: Download complete [2023-10-25T01:20:17.920Z] 5d3b04190fa2: Verifying Checksum [2023-10-25T01:20:17.920Z] 5d3b04190fa2: Download complete [2023-10-25T01:20:17.920Z] ec43610c2a17: Verifying Checksum [2023-10-25T01:20:17.920Z] ec43610c2a17: Download complete [2023-10-25T01:20:18.178Z] 5eb5b503b376: Verifying Checksum [2023-10-25T01:20:18.178Z] 5eb5b503b376: Download complete [2023-10-25T01:20:18.745Z] 2f39f015ded8: Download complete [2023-10-25T01:20:19.309Z] 5eb5b503b376: Pull complete [2023-10-25T01:20:19.309Z] 5c69ac0246d0: Pull complete [2023-10-25T01:20:19.873Z] ec43610c2a17: Pull complete [2023-10-25T01:20:19.873Z] 3a2ae6a8a46f: Pull complete [2023-10-25T01:20:20.130Z] 33b1e0a273af: Pull complete [2023-10-25T01:20:20.130Z] 5d3b04190fa2: Pull complete [2023-10-25T01:20:24.311Z] 2f39f015ded8: Pull complete [2023-10-25T01:20:24.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T01:20:24.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T01:20:24.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:20:24.451Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:20:24.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T01:20:32.791Z] $ docker top 6f785de226d47aa2093efc0d185c9e23db7599b8a638d42bbf749f2e73988996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:20:36.289Z] ---> job-cost.sh [2023-10-25T01:20:36.289Z] lf-activate-venv: SKIPPING [2023-10-25T01:20:36.289Z] INFO: No Stack... [2023-10-25T01:20:36.294Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10351 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-10-25T01:20:36.305Z] Running in /w/workspace/device-uart/11 [Pipeline] { [Pipeline] checkout [2023-10-25T01:20:36.340Z] The recommended git tool is: git [2023-10-25T01:20:36.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T01:20:36.803Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T01:20:37.087Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-10-25T01:20:37.087Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T01:20:37.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [2023-10-25T01:20:37.110Z] Resource [jenkins-edgexfoundry-device-uart-main-11-stack-cost] did not exist. Created. [2023-10-25T01:20:37.110Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T01:20:37.412Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T01:20:37.439Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T01:20:37.447Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T01:20:37.470Z] $ docker stop --time=1 6f785de226d47aa2093efc0d185c9e23db7599b8a638d42bbf749f2e73988996 [2023-10-25T01:20:38.617Z] $ docker rm -f --volumes 6f785de226d47aa2093efc0d185c9e23db7599b8a638d42bbf749f2e73988996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T01:20:42.162Z] using credential edgex-jenkins-ssh [2023-10-25T01:20:42.182Z] Cloning the remote Git repository [2023-10-25T01:20:42.231Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-10-25T01:20:42.327Z] > git init /w/workspace/device-uart/11 # timeout=10 [2023-10-25T01:20:42.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-10-25T01:20:42.467Z] > git --version # timeout=10 [2023-10-25T01:20:42.491Z] > git --version # 'git version 2.25.1' [2023-10-25T01:20:42.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T01:20:42.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T01:20:46.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-10-25T01:20:46.456Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T01:20:47.483Z] Avoid second fetch [2023-10-25T01:20:47.484Z] Checking out Revision 8ac18c8d40d5257925873e9513c65867e7192949 (main) [2023-10-25T01:20:47.504Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T01:20:47.585Z] > git checkout -f 8ac18c8d40d5257925873e9513c65867e7192949 # timeout=10 [2023-10-25T01:20:48.163Z] Commit message: "Merge pull request #26 from lenny-intel/add-missing-files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T01:20:49.178Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T01:20:49.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T01:20:49.178Z] Dload Upload Total Spent Left Speed [2023-10-25T01:20:49.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-10-25T01:20:49.855Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T01:20:50.190Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-25T01:20:50.190Z] + sudo tee /etc/docker/daemon.new [2023-10-25T01:20:50.190Z] { [2023-10-25T01:20:50.190Z] "registry-mirrors": [ [2023-10-25T01:20:50.190Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T01:20:50.190Z] ], [2023-10-25T01:20:50.190Z] "bip": "10.250.0.254/24", [2023-10-25T01:20:50.190Z] "hosts": [ [2023-10-25T01:20:50.190Z] "tcp://0.0.0.0:5555", [2023-10-25T01:20:50.190Z] "unix:///var/run/docker.sock" [2023-10-25T01:20:50.190Z] ], [2023-10-25T01:20:50.190Z] "mtu": 1458, [2023-10-25T01:20:50.190Z] "selinux-enabled": true, [2023-10-25T01:20:50.190Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T01:20:50.190Z] } [Pipeline] sh [2023-10-25T01:20:50.528Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T01:20:50.888Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:21:09.196Z] provisioning config files... [2023-10-25T01:21:09.235Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/11@tmp/config10317455423262241174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:21:09.597Z] ---> docker-login.sh [2023-10-25T01:21:09.597Z] nexus3.edgexfoundry.org:10001 [2023-10-25T01:21:10.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:21:10.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:21:10.188Z] Configure a credential helper to remove this warning. See [2023-10-25T01:21:10.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:21:10.188Z] [2023-10-25T01:21:10.188Z] Login Succeeded [2023-10-25T01:21:10.188Z] nexus3.edgexfoundry.org:10002 [2023-10-25T01:21:10.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:21:10.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:21:10.732Z] Configure a credential helper to remove this warning. See [2023-10-25T01:21:10.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:21:10.732Z] [2023-10-25T01:21:10.732Z] Login Succeeded [2023-10-25T01:21:10.732Z] nexus3.edgexfoundry.org:10003 [2023-10-25T01:21:11.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:21:11.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:21:11.005Z] Configure a credential helper to remove this warning. See [2023-10-25T01:21:11.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:21:11.005Z] [2023-10-25T01:21:11.005Z] Login Succeeded [2023-10-25T01:21:11.005Z] nexus3.edgexfoundry.org:10004 [2023-10-25T01:21:11.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:21:11.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:21:11.557Z] Configure a credential helper to remove this warning. See [2023-10-25T01:21:11.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:21:11.557Z] [2023-10-25T01:21:11.557Z] Login Succeeded [2023-10-25T01:21:11.557Z] docker.io [2023-10-25T01:21:11.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:21:12.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:21:12.097Z] Configure a credential helper to remove this warning. See [2023-10-25T01:21:12.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:21:12.097Z] [2023-10-25T01:21:12.097Z] Login Succeeded [2023-10-25T01:21:12.097Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T01:21:12.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T01:21:12.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:21:12.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:21:12.402Z] ========================================================= [2023-10-25T01:21:12.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T01:21:12.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:21:12.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T01:21:13.044Z] Sending build context to Docker daemon 5.64MB [2023-10-25T01:21:13.044Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T01:21:13.044Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T01:21:13.314Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T01:21:13.314Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T01:21:13.314Z] 5d54e960e981: Pulling fs layer [2023-10-25T01:21:13.314Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T01:21:13.314Z] f0e02332f6b5: Pulling fs layer [2023-10-25T01:21:13.314Z] cefa15bbcfad: Pulling fs layer [2023-10-25T01:21:13.314Z] 17808c966233: Pulling fs layer [2023-10-25T01:21:13.314Z] f4c1fc716caa: Pulling fs layer [2023-10-25T01:21:13.314Z] f0e02332f6b5: Waiting [2023-10-25T01:21:13.314Z] cefa15bbcfad: Waiting [2023-10-25T01:21:13.314Z] 17808c966233: Waiting [2023-10-25T01:21:13.314Z] f4c1fc716caa: Waiting [2023-10-25T01:21:13.314Z] 5d54e960e981: Verifying Checksum [2023-10-25T01:21:13.314Z] 5d54e960e981: Download complete [2023-10-25T01:21:13.314Z] f0e02332f6b5: Verifying Checksum [2023-10-25T01:21:13.314Z] f0e02332f6b5: Download complete [2023-10-25T01:21:13.314Z] cefa15bbcfad: Verifying Checksum [2023-10-25T01:21:13.314Z] cefa15bbcfad: Download complete [2023-10-25T01:21:13.314Z] 9fda8d8052c6: Download complete [2023-10-25T01:21:13.909Z] f4c1fc716caa: Verifying Checksum [2023-10-25T01:21:13.909Z] f4c1fc716caa: Download complete [2023-10-25T01:21:14.516Z] 9fda8d8052c6: Pull complete [2023-10-25T01:21:15.115Z] 5d54e960e981: Pull complete [2023-10-25T01:21:15.389Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T01:21:15.389Z] c4a7e357bf2a: Download complete [2023-10-25T01:21:16.369Z] 17808c966233: Verifying Checksum [2023-10-25T01:21:16.369Z] 17808c966233: Download complete [2023-10-25T01:21:28.722Z] c4a7e357bf2a: Pull complete [2023-10-25T01:21:28.722Z] f0e02332f6b5: Pull complete [2023-10-25T01:21:28.991Z] cefa15bbcfad: Pull complete [2023-10-25T01:21:37.229Z] 17808c966233: Pull complete [2023-10-25T01:21:42.598Z] f4c1fc716caa: Pull complete [2023-10-25T01:21:42.598Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T01:21:42.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T01:21:42.598Z] ---> ea914061e18c [2023-10-25T01:21:42.598Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T01:21:44.026Z] ---> Running in 29da07a93615 [2023-10-25T01:21:44.368Z] Removing intermediate container 29da07a93615 [2023-10-25T01:21:44.368Z] ---> 38687aba7422 [2023-10-25T01:21:44.369Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T01:21:44.369Z] ---> Running in d35ec32365b0 [2023-10-25T01:21:44.662Z] Removing intermediate container d35ec32365b0 [2023-10-25T01:21:44.662Z] ---> 2fab733238db [2023-10-25T01:21:44.662Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T01:21:44.662Z] ---> Running in 0332b94a9de9 [2023-10-25T01:21:45.259Z] Removing intermediate container 0332b94a9de9 [2023-10-25T01:21:45.259Z] ---> 04f1c448a979 [2023-10-25T01:21:45.259Z] Step 6/12 : WORKDIR /device-uart [2023-10-25T01:21:45.259Z] ---> Running in 09a45f8b1a66 [2023-10-25T01:21:45.533Z] Removing intermediate container 09a45f8b1a66 [2023-10-25T01:21:45.533Z] ---> c1049a3be475 [2023-10-25T01:21:45.533Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T01:21:45.533Z] ---> Running in 4d0920fb9fcd [2023-10-25T01:21:46.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T01:21:47.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T01:21:48.660Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T01:21:48.660Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T01:21:48.660Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T01:21:48.660Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T01:21:48.660Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T01:21:48.660Z] OK: 270 MiB in 56 packages [2023-10-25T01:21:50.080Z] Removing intermediate container 4d0920fb9fcd [2023-10-25T01:21:50.080Z] ---> 30db57b92e35 [2023-10-25T01:21:50.080Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-25T01:21:50.355Z] ---> 9e2f054797e2 [2023-10-25T01:21:50.355Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T01:21:50.625Z] ---> Running in 56e45ccab62a [2023-10-25T01:23:27.289Z] Removing intermediate container 56e45ccab62a [2023-10-25T01:23:27.289Z] ---> e6f9b1d0ca46 [2023-10-25T01:23:27.289Z] Step 10/12 : COPY . . [2023-10-25T01:23:28.253Z] ---> 998b09dc97ba [2023-10-25T01:23:28.253Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T01:23:28.253Z] ---> Running in f8f8765a8db4 [2023-10-25T01:23:28.845Z] Removing intermediate container f8f8765a8db4 [2023-10-25T01:23:28.845Z] ---> 81ed50e64bac [2023-10-25T01:23:28.845Z] Step 12/12 : RUN ${MAKE} [2023-10-25T01:23:28.845Z] ---> Running in ca563c265867 [2023-10-25T01:23:29.813Z] noop [2023-10-25T01:23:30.781Z] Removing intermediate container ca563c265867 [2023-10-25T01:23:30.781Z] ---> e46d56743974 [2023-10-25T01:23:30.781Z] Successfully built e46d56743974 [2023-10-25T01:23:30.781Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:23:31.134Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T01:23:31.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:23:31.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-10351 does not seem to be running inside a container [2023-10-25T01:23:31.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T01:23:33.054Z] $ docker top 6af8820fae0ce6910ef2cf6fb5be110971c1e52d9f2dd2803cd6dfbd25e830fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T01:23:33.918Z] + go version [2023-10-25T01:23:33.918Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T01:23:33.940Z] $ docker stop --time=1 6af8820fae0ce6910ef2cf6fb5be110971c1e52d9f2dd2803cd6dfbd25e830fb [2023-10-25T01:23:35.676Z] $ docker rm -f --volumes 6af8820fae0ce6910ef2cf6fb5be110971c1e52d9f2dd2803cd6dfbd25e830fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:23:36.273Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T01:23:36.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:23:36.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-10351 does not seem to be running inside a container [2023-10-25T01:23:36.594Z] $ 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/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T01:23:37.894Z] $ docker top 7d6651a3f1ee350a516552317def806b4234631e60570b125cc303d1330b5f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T01:23:38.774Z] + git config --global --add safe.directory /w/workspace/device-uart/11 [Pipeline] fileExists [Pipeline] sh [2023-10-25T01:23:39.439Z] + make test [2023-10-25T01:23:39.439Z] go test ./... -coverprofile=coverage.out [2023-10-25T01:23:47.901Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-10-25T01:25:54.640Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-10-25T01:25:54.640Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-10-25T01:25:54.640Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T01:25:54.640Z] go vet ./... [2023-10-25T01:26:07.153Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T01:26:07.153Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T01:26:07.153Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T01:26:07.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T01:26:07.192Z] $ docker stop --time=1 7d6651a3f1ee350a516552317def806b4234631e60570b125cc303d1330b5f2a [2023-10-25T01:26:09.242Z] $ docker rm -f --volumes 7d6651a3f1ee350a516552317def806b4234631e60570b125cc303d1330b5f2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T01:26:10.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T01:26:10.712Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T01:26:11.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T01:26:11.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T01:26:11.981Z] + ls -al . [2023-10-25T01:26:11.981Z] total 148 [2023-10-25T01:26:11.981Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 01:23 . [2023-10-25T01:26:11.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:20 .. [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:20 .dockerignore [2023-10-25T01:26:11.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:20 .git [2023-10-25T01:26:11.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:20 .github [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 01:20 .gitignore [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:20 .golangci.yml [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 01:20 Attribution.txt [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 01:20 Dockerfile [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:20 GOVERNANCE.md [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 01:20 Jenkinsfile [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:20 LICENSE [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 01:20 Makefile [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 01:20 OWNERS.md [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 01:20 README.md [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 01:17 VERSION [2023-10-25T01:26:11.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:20 bin [2023-10-25T01:26:11.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:20 cmd [2023-10-25T01:26:11.981Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 01:23 coverage.out [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 3719 Oct 25 01:20 go.mod [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 33980 Oct 25 01:20 go.sum [2023-10-25T01:26:11.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:20 internal [2023-10-25T01:26:11.981Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:26:12.336Z] + 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=8ac18c8d40d5257925873e9513c65867e7192949 --label arch=arm64 --label version=3.0.1-dev.5 . [2023-10-25T01:26:12.611Z] Sending build context to Docker daemon 5.641MB [2023-10-25T01:26:12.879Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T01:26:12.879Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T01:26:12.879Z] ---> e46d56743974 [2023-10-25T01:26:12.879Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T01:26:12.879Z] ---> Running in 094632a5d36f [2023-10-25T01:26:13.472Z] Removing intermediate container 094632a5d36f [2023-10-25T01:26:13.472Z] ---> 789c78ad3754 [2023-10-25T01:26:13.472Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T01:26:13.472Z] ---> Running in 310a9504fb0a [2023-10-25T01:26:13.747Z] Removing intermediate container 310a9504fb0a [2023-10-25T01:26:13.747Z] ---> 022dae6994a5 [2023-10-25T01:26:13.747Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T01:26:13.747Z] ---> Running in fe04eeb2e5c9 [2023-10-25T01:26:14.338Z] Removing intermediate container fe04eeb2e5c9 [2023-10-25T01:26:14.338Z] ---> 861ef033c5b1 [2023-10-25T01:26:14.338Z] Step 6/25 : WORKDIR /device-uart [2023-10-25T01:26:14.338Z] ---> Running in 6ec19a0b4187 [2023-10-25T01:26:18.622Z] Removing intermediate container 6ec19a0b4187 [2023-10-25T01:26:18.622Z] ---> a51d64493bda [2023-10-25T01:26:18.622Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T01:26:18.622Z] ---> Running in e78cb4d32b87 [2023-10-25T01:26:19.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T01:26:19.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T01:26:21.239Z] OK: 270 MiB in 56 packages [2023-10-25T01:26:22.212Z] Removing intermediate container e78cb4d32b87 [2023-10-25T01:26:22.212Z] ---> 576e52e7d2f3 [2023-10-25T01:26:22.212Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-25T01:26:22.806Z] ---> b6a175deb22d [2023-10-25T01:26:22.806Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T01:26:23.075Z] ---> Running in ace28f877050 [2023-10-25T01:26:25.688Z] Removing intermediate container ace28f877050 [2023-10-25T01:26:25.688Z] ---> cb3a3e620090 [2023-10-25T01:26:25.688Z] Step 10/25 : COPY . . [2023-10-25T01:26:26.279Z] ---> cc0ab9b06afe [2023-10-25T01:26:26.279Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T01:26:26.550Z] ---> Running in 67e8aa620715 [2023-10-25T01:26:26.822Z] Removing intermediate container 67e8aa620715 [2023-10-25T01:26:26.822Z] ---> 3b9bc318d257 [2023-10-25T01:26:26.822Z] Step 12/25 : RUN ${MAKE} [2023-10-25T01:26:27.090Z] ---> Running in 0ba8f5a4b95a [2023-10-25T01:26:28.057Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-10-25T01:28:34.803Z] Removing intermediate container 0ba8f5a4b95a [2023-10-25T01:28:34.803Z] ---> 85d1fb18b6d6 [2023-10-25T01:28:34.803Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T01:28:34.803Z] 3.18: Pulling from library/alpine [2023-10-25T01:28:34.803Z] 579b34f0a95b: Pulling fs layer [2023-10-25T01:28:34.803Z] 579b34f0a95b: Verifying Checksum [2023-10-25T01:28:34.803Z] 579b34f0a95b: Download complete [2023-10-25T01:28:34.803Z] 579b34f0a95b: Pull complete [2023-10-25T01:28:34.803Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T01:28:34.803Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T01:28:34.803Z] ---> 3cc203321400 [2023-10-25T01:28:34.803Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T01:28:34.803Z] ---> Running in f8ad8d7dc79c [2023-10-25T01:28:34.803Z] Removing intermediate container f8ad8d7dc79c [2023-10-25T01:28:34.803Z] ---> 9ee7ee99251b [2023-10-25T01:28:34.803Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-25T01:28:34.803Z] ---> Running in 89f9362ede2e [2023-10-25T01:28:34.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T01:28:34.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T01:28:34.803Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T01:28:34.803Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T01:28:34.803Z] OK: 8 MiB in 16 packages [2023-10-25T01:28:34.803Z] Removing intermediate container 89f9362ede2e [2023-10-25T01:28:34.803Z] ---> 0773ff590ffe [2023-10-25T01:28:34.803Z] Step 16/25 : WORKDIR / [2023-10-25T01:28:34.803Z] ---> Running in e9c88c6008ad [2023-10-25T01:28:34.803Z] Removing intermediate container e9c88c6008ad [2023-10-25T01:28:34.803Z] ---> a893a1eeb6d8 [2023-10-25T01:28:34.803Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-10-25T01:28:35.394Z] ---> 5685156e4904 [2023-10-25T01:28:35.394Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-10-25T01:28:35.992Z] ---> 052e39f7c253 [2023-10-25T01:28:35.992Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-10-25T01:28:39.360Z] ---> 6d5888883b91 [2023-10-25T01:28:39.360Z] Step 20/25 : EXPOSE 59995 [2023-10-25T01:28:39.360Z] ---> Running in dd5812878d78 [2023-10-25T01:28:39.360Z] Removing intermediate container dd5812878d78 [2023-10-25T01:28:39.360Z] ---> 36c26b4111c4 [2023-10-25T01:28:39.360Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-10-25T01:28:39.638Z] ---> Running in e2e7dfdbe320 [2023-10-25T01:28:39.906Z] Removing intermediate container e2e7dfdbe320 [2023-10-25T01:28:39.906Z] ---> 2fb3a7e9f10c [2023-10-25T01:28:39.906Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T01:28:39.906Z] ---> Running in 9f8462026437 [2023-10-25T01:28:40.176Z] Removing intermediate container 9f8462026437 [2023-10-25T01:28:40.176Z] ---> 50da3b7e0f8f [2023-10-25T01:28:40.176Z] Step 23/25 : LABEL arch=arm64 [2023-10-25T01:28:40.176Z] ---> Running in 9f02254e082f [2023-10-25T01:28:40.767Z] Removing intermediate container 9f02254e082f [2023-10-25T01:28:40.767Z] ---> 41fcdaf21d52 [2023-10-25T01:28:40.767Z] Step 24/25 : LABEL git_sha=8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:28:40.767Z] ---> Running in e973ef842079 [2023-10-25T01:28:41.033Z] Removing intermediate container e973ef842079 [2023-10-25T01:28:41.033Z] ---> a9068d0215fa [2023-10-25T01:28:41.033Z] Step 25/25 : LABEL version=3.0.1-dev.5 [2023-10-25T01:28:41.300Z] ---> Running in cabd169fbf73 [2023-10-25T01:28:41.565Z] Removing intermediate container cabd169fbf73 [2023-10-25T01:28:41.565Z] ---> 3bafe2296325 [2023-10-25T01:28:41.565Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T01:28:41.565Z] Successfully built 3bafe2296325 [2023-10-25T01:28:41.566Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:28:41.693Z] provisioning config files... [2023-10-25T01:28:41.706Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/11@tmp/config13772228836710051125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:28:42.046Z] ---> docker-login.sh [2023-10-25T01:28:42.046Z] nexus3.edgexfoundry.org:10001 [2023-10-25T01:28:42.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:28:42.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:28:42.313Z] Configure a credential helper to remove this warning. See [2023-10-25T01:28:42.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:28:42.313Z] [2023-10-25T01:28:42.313Z] Login Succeeded [2023-10-25T01:28:42.313Z] nexus3.edgexfoundry.org:10002 [2023-10-25T01:28:42.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:28:42.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:28:42.583Z] Configure a credential helper to remove this warning. See [2023-10-25T01:28:42.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:28:42.583Z] [2023-10-25T01:28:42.583Z] Login Succeeded [2023-10-25T01:28:42.583Z] nexus3.edgexfoundry.org:10003 [2023-10-25T01:28:42.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:28:43.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:28:43.117Z] Configure a credential helper to remove this warning. See [2023-10-25T01:28:43.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:28:43.117Z] [2023-10-25T01:28:43.117Z] Login Succeeded [2023-10-25T01:28:43.117Z] nexus3.edgexfoundry.org:10004 [2023-10-25T01:28:43.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:28:43.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:28:43.386Z] Configure a credential helper to remove this warning. See [2023-10-25T01:28:43.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:28:43.386Z] [2023-10-25T01:28:43.386Z] Login Succeeded [2023-10-25T01:28:43.386Z] docker.io [2023-10-25T01:28:43.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T01:28:43.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T01:28:43.924Z] Configure a credential helper to remove this warning. See [2023-10-25T01:28:43.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T01:28:43.924Z] [2023-10-25T01:28:43.924Z] Login Succeeded [2023-10-25T01:28:43.924Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T01:28:43.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T01:28:43.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T01:28:43.981Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-10-25T01:28:43.981Z] 8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:28:43.981Z] latest [2023-10-25T01:28:43.981Z] 3.0.1-dev.5 [2023-10-25T01:28:43.981Z] 8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:28:43.981Z] main [2023-10-25T01:28:43.981Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:44.430Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:44.803Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:28:44.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T01:28:44.803Z] 3522360a3ea3: Preparing [2023-10-25T01:28:44.803Z] e462f9609686: Preparing [2023-10-25T01:28:44.803Z] fd7ed7b77635: Preparing [2023-10-25T01:28:44.803Z] 04f4947bad06: Preparing [2023-10-25T01:28:44.803Z] 5f4d9fc4d98d: Preparing [2023-10-25T01:28:44.803Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T01:28:45.077Z] 04f4947bad06: Pushed [2023-10-25T01:28:45.077Z] fd7ed7b77635: Pushed [2023-10-25T01:28:45.077Z] e462f9609686: Pushed [2023-10-25T01:28:51.816Z] 3522360a3ea3: Pushed [2023-10-25T01:28:53.232Z] 8ac18c8d40d5257925873e9513c65867e7192949: digest: sha256:10f05a7c4d287dba28981cd0df57e083a706cdf47bab64c911bf32b64786b1ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:53.854Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:54.199Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T01:28:54.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T01:28:54.199Z] 3522360a3ea3: Preparing [2023-10-25T01:28:54.199Z] e462f9609686: Preparing [2023-10-25T01:28:54.199Z] fd7ed7b77635: Preparing [2023-10-25T01:28:54.199Z] 04f4947bad06: Preparing [2023-10-25T01:28:54.199Z] 5f4d9fc4d98d: Preparing [2023-10-25T01:28:54.199Z] 3522360a3ea3: Layer already exists [2023-10-25T01:28:54.199Z] 04f4947bad06: Layer already exists [2023-10-25T01:28:54.199Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T01:28:54.199Z] fd7ed7b77635: Layer already exists [2023-10-25T01:28:54.199Z] e462f9609686: Layer already exists [2023-10-25T01:28:54.467Z] latest: digest: sha256:10f05a7c4d287dba28981cd0df57e083a706cdf47bab64c911bf32b64786b1ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:54.820Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:55.167Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.5 [2023-10-25T01:28:55.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T01:28:55.167Z] 3522360a3ea3: Preparing [2023-10-25T01:28:55.167Z] e462f9609686: Preparing [2023-10-25T01:28:55.167Z] fd7ed7b77635: Preparing [2023-10-25T01:28:55.167Z] 04f4947bad06: Preparing [2023-10-25T01:28:55.167Z] 5f4d9fc4d98d: Preparing [2023-10-25T01:28:55.167Z] 04f4947bad06: Layer already exists [2023-10-25T01:28:55.167Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T01:28:55.167Z] fd7ed7b77635: Layer already exists [2023-10-25T01:28:55.167Z] e462f9609686: Layer already exists [2023-10-25T01:28:55.167Z] 3522360a3ea3: Layer already exists [2023-10-25T01:28:55.167Z] 3.0.1-dev.5: digest: sha256:10f05a7c4d287dba28981cd0df57e083a706cdf47bab64c911bf32b64786b1ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:55.791Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:56.151Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:28:56.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T01:28:56.151Z] 3522360a3ea3: Preparing [2023-10-25T01:28:56.151Z] e462f9609686: Preparing [2023-10-25T01:28:56.151Z] fd7ed7b77635: Preparing [2023-10-25T01:28:56.151Z] 04f4947bad06: Preparing [2023-10-25T01:28:56.151Z] 5f4d9fc4d98d: Preparing [2023-10-25T01:28:56.151Z] e462f9609686: Layer already exists [2023-10-25T01:28:56.151Z] 04f4947bad06: Layer already exists [2023-10-25T01:28:56.151Z] 3522360a3ea3: Layer already exists [2023-10-25T01:28:56.151Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T01:28:56.151Z] fd7ed7b77635: Layer already exists [2023-10-25T01:28:56.418Z] 8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5: digest: sha256:10f05a7c4d287dba28981cd0df57e083a706cdf47bab64c911bf32b64786b1ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:56.775Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:57.120Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-10-25T01:28:57.120Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-10-25T01:28:57.120Z] 3522360a3ea3: Preparing [2023-10-25T01:28:57.120Z] e462f9609686: Preparing [2023-10-25T01:28:57.120Z] fd7ed7b77635: Preparing [2023-10-25T01:28:57.120Z] 04f4947bad06: Preparing [2023-10-25T01:28:57.120Z] 5f4d9fc4d98d: Preparing [2023-10-25T01:28:57.120Z] e462f9609686: Layer already exists [2023-10-25T01:28:57.120Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T01:28:57.120Z] 3522360a3ea3: Layer already exists [2023-10-25T01:28:57.120Z] 04f4947bad06: Layer already exists [2023-10-25T01:28:57.120Z] fd7ed7b77635: Layer already exists [2023-10-25T01:28:57.387Z] main: digest: sha256:10f05a7c4d287dba28981cd0df57e083a706cdf47bab64c911bf32b64786b1ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T01:28:57.430Z] ===================================================== [Pipeline] echo [2023-10-25T01:28:57.437Z] taggedImages: [2023-10-25T01:28:57.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949 [2023-10-25T01:28:57.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-10-25T01:28:57.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.5 [2023-10-25T01:28:57.437Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:8ac18c8d40d5257925873e9513c65867e7192949-3.0.1-dev.5 [2023-10-25T01:28:57.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-10-25T01:28:57.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T01:28:57.814Z] [2023-10-25T01:28:57.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:28:58.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T01:28:58.432Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T01:28:58.432Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T01:28:58.432Z] 04944245beec: Pulling fs layer [2023-10-25T01:28:58.432Z] 699f458cf7ca: Pulling fs layer [2023-10-25T01:28:58.432Z] 765212b225bb: Pulling fs layer [2023-10-25T01:28:58.432Z] f23df028b6ca: Pulling fs layer [2023-10-25T01:28:58.432Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T01:28:58.432Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T01:28:58.432Z] 765212b225bb: Waiting [2023-10-25T01:28:58.432Z] d65c8cfc05b1: Waiting [2023-10-25T01:28:58.432Z] f23df028b6ca: Waiting [2023-10-25T01:28:58.432Z] 2437ff75d9bd: Waiting [2023-10-25T01:28:58.432Z] 04944245beec: Verifying Checksum [2023-10-25T01:28:58.432Z] 04944245beec: Download complete [2023-10-25T01:28:58.432Z] 765212b225bb: Verifying Checksum [2023-10-25T01:28:58.432Z] 765212b225bb: Download complete [2023-10-25T01:28:58.432Z] f23df028b6ca: Verifying Checksum [2023-10-25T01:28:58.432Z] f23df028b6ca: Download complete [2023-10-25T01:28:58.432Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T01:28:58.432Z] d65c8cfc05b1: Download complete [2023-10-25T01:28:58.703Z] 699f458cf7ca: Verifying Checksum [2023-10-25T01:28:58.703Z] 699f458cf7ca: Download complete [2023-10-25T01:28:59.293Z] 8998bd30e6a1: Verifying Checksum [2023-10-25T01:28:59.293Z] 8998bd30e6a1: Download complete [2023-10-25T01:29:01.881Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T01:29:01.881Z] 2437ff75d9bd: Download complete [2023-10-25T01:29:08.548Z] 8998bd30e6a1: Pull complete [2023-10-25T01:29:08.548Z] 04944245beec: Pull complete [2023-10-25T01:29:09.957Z] 699f458cf7ca: Pull complete [2023-10-25T01:29:09.957Z] 765212b225bb: Pull complete [2023-10-25T01:29:10.915Z] f23df028b6ca: Pull complete [2023-10-25T01:29:11.181Z] d65c8cfc05b1: Pull complete [2023-10-25T01:29:29.403Z] 2437ff75d9bd: Pull complete [2023-10-25T01:29:29.403Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T01:29:29.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T01:29:29.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:29:29.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-10351 does not seem to be running inside a container [2023-10-25T01:29:29.684Z] $ 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/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-25T01:29:31.156Z] $ docker top f070959065f61b87ab92c28ae3f44c426e89842ca8c7c954a6adbf2c02a58964 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:29:32.032Z] ---> job-cost.sh [2023-10-25T01:29:32.032Z] lf-activate-venv: SKIPPING [2023-10-25T01:29:32.032Z] INFO: No Stack... [2023-10-25T01:29:32.619Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T01:29:33.213Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T01:29:34.146Z] + + cut -d, -f6 [2023-10-25T01:29:34.147Z] cat /w/workspace/device-uart/11/archives/cost.csv [Pipeline] lock [2023-10-25T01:29:34.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [2023-10-25T01:29:34.252Z] Resource [jenkins-edgexfoundry-device-uart-main-11-stack-cost] did not exist. Created. [2023-10-25T01:29:34.252Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T01:29:34.949Z] /w/workspace/device-uart/11@tmp/durable-5105d476/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T01:29:35.638Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T01:29:35.660Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T01:29:35.718Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T01:29:35.725Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T01:29:35.746Z] $ docker stop --time=1 f070959065f61b87ab92c28ae3f44c426e89842ca8c7c954a6adbf2c02a58964 [2023-10-25T01:29:37.370Z] $ docker rm -f --volumes f070959065f61b87ab92c28ae3f44c426e89842ca8c7c954a6adbf2c02a58964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-25T01:29:37.847Z] provisioning config files... [2023-10-25T01:29:37.853Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config944321224841899426tmp [Pipeline] { [Pipeline] sh [2023-10-25T01:29:38.144Z] + set +x [2023-10-25T01:29:38.144Z] + curl -s https://codecov.io/bash [2023-10-25T01:29:38.144Z] + bash -s -- [2023-10-25T01:29:38.144Z] [2023-10-25T01:29:38.144Z] _____ _ [2023-10-25T01:29:38.144Z] / ____| | | [2023-10-25T01:29:38.144Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T01:29:38.144Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T01:29:38.144Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T01:29:38.144Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T01:29:38.144Z] Bash-1.0.6 [2023-10-25T01:29:38.144Z] [2023-10-25T01:29:38.144Z] [2023-10-25T01:29:38.144Z] ==> git version 2.25.1 found [2023-10-25T01:29:38.144Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-25T01:29:38.144Z] Release-Date: 2020-01-08 [2023-10-25T01:29:38.144Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T01:29:38.144Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T01:29:38.144Z] ==> Jenkins CI detected. [2023-10-25T01:29:38.144Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-10-25T01:29:38.144Z] project root: . [2023-10-25T01:29:38.144Z] --> token set from env [2023-10-25T01:29:38.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T01:29:38.144Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T01:29:38.144Z] ==> Python coveragepy not found [2023-10-25T01:29:38.144Z] ==> Searching for coverage reports in: [2023-10-25T01:29:38.144Z] + . [2023-10-25T01:29:38.144Z] -> Found 1 reports [2023-10-25T01:29:38.144Z] ==> Detecting git/mercurial file structure [2023-10-25T01:29:38.403Z] ==> Reading reports [2023-10-25T01:29:38.403Z] + ./coverage.out bytes=10 [2023-10-25T01:29:38.403Z] ==> Appending adjustments [2023-10-25T01:29:38.403Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T01:29:38.403Z] + Found adjustments [2023-10-25T01:29:38.403Z] ==> Gzipping contents [2023-10-25T01:29:38.403Z] 4.0K /tmp/codecov.rOmQyy.gz [2023-10-25T01:29:38.403Z] ==> Uploading reports [2023-10-25T01:29:38.403Z] url: https://codecov.io [2023-10-25T01:29:38.403Z] query: branch=main&commit=8ac18c8d40d5257925873e9513c65867e7192949&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T01:29:38.403Z] -> Pinging Codecov [2023-10-25T01:29:38.403Z] 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=8ac18c8d40d5257925873e9513c65867e7192949&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T01:29:38.403Z] -> Uploading to [2023-10-25T01:29:38.403Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/8ac18c8d40d5257925873e9513c65867e7192949/ecddcef3-02b5-4c2d-89cd-e06ed2bca6b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T012938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12b61c663e21d5aa0d4b91d560b404a4806d5e5821e6ee2d805a6e741cd628ba [2023-10-25T01:29:38.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T01:29:38.403Z] Dload Upload Total Spent Left Speed [2023-10-25T01:29:38.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 4748 --:--:-- --:--:-- --:--:-- 4710 100 603 0 0 100 603 0 1773 --:--:-- --:--:-- --:--:-- 1768 [2023-10-25T01:29:38.921Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] } [2023-10-25T01:29:38.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-25T01:29:39.113Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-25T01:29:39.122Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:29:39.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T01:29:39.423Z] [2023-10-25T01:29:39.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:29:39.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T01:29:39.716Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-25T01:29:39.716Z] df9b9388f04a: Pulling fs layer [2023-10-25T01:29:39.716Z] 52dc419b0ee2: Pulling fs layer [2023-10-25T01:29:39.716Z] 25bc292e5bac: Pulling fs layer [2023-10-25T01:29:39.716Z] 114826534d7a: Pulling fs layer [2023-10-25T01:29:39.716Z] 4657fd5d0bcf: Pulling fs layer [2023-10-25T01:29:39.716Z] 6ad1cebc031e: Pulling fs layer [2023-10-25T01:29:39.716Z] 8a3aa393b2d8: Pulling fs layer [2023-10-25T01:29:39.716Z] 8a3aa393b2d8: Waiting [2023-10-25T01:29:39.716Z] 6ad1cebc031e: Waiting [2023-10-25T01:29:39.716Z] 4657fd5d0bcf: Waiting [2023-10-25T01:29:39.716Z] 25bc292e5bac: Download complete [2023-10-25T01:29:39.716Z] 52dc419b0ee2: Verifying Checksum [2023-10-25T01:29:39.716Z] 52dc419b0ee2: Download complete [2023-10-25T01:29:39.716Z] 4657fd5d0bcf: Verifying Checksum [2023-10-25T01:29:39.716Z] 4657fd5d0bcf: Download complete [2023-10-25T01:29:39.716Z] df9b9388f04a: Download complete [2023-10-25T01:29:39.716Z] 6ad1cebc031e: Verifying Checksum [2023-10-25T01:29:39.716Z] 6ad1cebc031e: Download complete [2023-10-25T01:29:39.973Z] df9b9388f04a: Pull complete [2023-10-25T01:29:39.973Z] 52dc419b0ee2: Pull complete [2023-10-25T01:29:39.973Z] 25bc292e5bac: Pull complete [2023-10-25T01:29:40.537Z] 114826534d7a: Verifying Checksum [2023-10-25T01:29:40.537Z] 114826534d7a: Download complete [2023-10-25T01:29:40.537Z] 8a3aa393b2d8: Verifying Checksum [2023-10-25T01:29:40.537Z] 8a3aa393b2d8: Download complete [2023-10-25T01:29:43.809Z] 114826534d7a: Pull complete [2023-10-25T01:29:43.809Z] 4657fd5d0bcf: Pull complete [2023-10-25T01:29:44.066Z] 6ad1cebc031e: Pull complete [2023-10-25T01:29:47.346Z] 8a3aa393b2d8: Pull complete [2023-10-25T01:29:47.346Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-25T01:29:47.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T01:29:47.346Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:29:47.437Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:29:47.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-25T01:29:52.127Z] $ docker top 1e86bc279f378de9a6f86e917d7e9de6330c49b42c337e7710bb3f635ed78505 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-25T01:29:52.194Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-10-25T01:29:52.475Z] + set -o pipefail [2023-10-25T01:29:52.475Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-10-25T01:30:00.588Z] [2023-10-25T01:30:00.588Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-10-25T01:30:00.588Z] [2023-10-25T01:30:00.588Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/a47465f7-5ed7-4bf9-bdf2-e2cdeea05a8b [2023-10-25T01:30:00.588Z] [2023-10-25T01:30:00.588Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-25T01:30:00.588Z] [2023-10-25T01:30:00.588Z] [2023-10-25T01:30:00.588Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-25T01:30:00.588Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-25T01:30:00.588Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-25T01:30:00.599Z] $ docker stop --time=1 1e86bc279f378de9a6f86e917d7e9de6330c49b42c337e7710bb3f635ed78505 [2023-10-25T01:30:05.072Z] $ docker rm -f --volumes 1e86bc279f378de9a6f86e917d7e9de6330c49b42c337e7710bb3f635ed78505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T01:30:05.762Z] + git log --format=format:%s -1 8ac18c8d40d5257925873e9513c65867e7192949 [Pipeline] sh [2023-10-25T01:30:06.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T01:30:06.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:06.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:30:06.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:30:06.417Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:30:06.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T01:30:06.851Z] $ docker top ef46fbca9256df2c7c5e61c8159ba74b0560cc249ad02745d9f4bcaaf762bf52 -eo pid,comm [2023-10-25T01:30:06.898Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T01:30:06.898Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T01:30:06.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T01:30:06.938Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T01:30:07.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T01:30:07.051Z] $ docker exec ef46fbca9256df2c7c5e61c8159ba74b0560cc249ad02745d9f4bcaaf762bf52 ssh-agent [2023-10-25T01:30:07.143Z] SSH_AUTH_SOCK=/tmp/ssh-nHXtTZs6ERsN/agent.33 [2023-10-25T01:30:07.143Z] SSH_AGENT_PID=39 [2023-10-25T01:30:07.148Z] Running ssh-add (command line suppressed) [2023-10-25T01:30:07.257Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6879454958431104162.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6879454958431104162.key) [2023-10-25T01:30:07.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T01:30:07.557Z] + git semver tag [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,718 [run_tag] DEBUG tag force:False [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,718 [check_head_tag] DEBUG check head tag [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,719 [execute] INFO git cat-file --batch-check [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,721 [execute] INFO git cat-file --batch [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,727 [execute] INFO git tag -a v3.0.1-dev.5 -m v3.0.1-dev.5 [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,727 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.5', '-m', 'v3.0.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T01:30:07.814Z] 2023-10-25 01:30:07,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:07.814Z] 3.0.1-dev.5 [Pipeline] } [2023-10-25T01:30:07.824Z] $ docker exec --env ******** --env ******** ef46fbca9256df2c7c5e61c8159ba74b0560cc249ad02745d9f4bcaaf762bf52 ssh-agent -k [2023-10-25T01:30:07.912Z] unset SSH_AUTH_SOCK; [2023-10-25T01:30:07.913Z] unset SSH_AGENT_PID; [2023-10-25T01:30:07.913Z] echo Agent pid 39 killed; [2023-10-25T01:30:07.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T01:30:08.229Z] + git semver [Pipeline] } [2023-10-25T01:30:08.500Z] $ docker stop --time=1 ef46fbca9256df2c7c5e61c8159ba74b0560cc249ad02745d9f4bcaaf762bf52 [2023-10-25T01:30:09.759Z] $ docker rm -f --volumes ef46fbca9256df2c7c5e61c8159ba74b0560cc249ad02745d9f4bcaaf762bf52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:10.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T01:30:10.141Z] [2023-10-25T01:30:10.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:10.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T01:30:10.439Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-25T01:30:10.439Z] ab5ef0e58194: Pulling fs layer [2023-10-25T01:30:10.439Z] 9712f1f96733: Pulling fs layer [2023-10-25T01:30:10.439Z] 63f879dbbcfc: Pulling fs layer [2023-10-25T01:30:10.439Z] 0d9ebad4ef96: Pulling fs layer [2023-10-25T01:30:10.439Z] e9a5061849ea: Pulling fs layer [2023-10-25T01:30:10.439Z] d747dcd14b5f: Pulling fs layer [2023-10-25T01:30:10.439Z] 2de7ff778b66: Pulling fs layer [2023-10-25T01:30:10.439Z] 0d9ebad4ef96: Waiting [2023-10-25T01:30:10.439Z] e9a5061849ea: Waiting [2023-10-25T01:30:10.439Z] d747dcd14b5f: Waiting [2023-10-25T01:30:10.439Z] 2de7ff778b66: Waiting [2023-10-25T01:30:10.439Z] 9712f1f96733: Verifying Checksum [2023-10-25T01:30:10.439Z] 9712f1f96733: Download complete [2023-10-25T01:30:10.697Z] 63f879dbbcfc: Verifying Checksum [2023-10-25T01:30:10.697Z] 63f879dbbcfc: Download complete [2023-10-25T01:30:10.954Z] e9a5061849ea: Verifying Checksum [2023-10-25T01:30:10.954Z] e9a5061849ea: Download complete [2023-10-25T01:30:10.954Z] d747dcd14b5f: Verifying Checksum [2023-10-25T01:30:10.954Z] d747dcd14b5f: Download complete [2023-10-25T01:30:10.954Z] 0d9ebad4ef96: Verifying Checksum [2023-10-25T01:30:10.954Z] 0d9ebad4ef96: Download complete [2023-10-25T01:30:10.954Z] ab5ef0e58194: Verifying Checksum [2023-10-25T01:30:10.954Z] ab5ef0e58194: Download complete [2023-10-25T01:30:10.954Z] 2de7ff778b66: Verifying Checksum [2023-10-25T01:30:10.954Z] 2de7ff778b66: Download complete [2023-10-25T01:30:13.477Z] ab5ef0e58194: Pull complete [2023-10-25T01:30:13.477Z] 9712f1f96733: Pull complete [2023-10-25T01:30:14.409Z] 63f879dbbcfc: Pull complete [2023-10-25T01:30:17.689Z] 0d9ebad4ef96: Pull complete [2023-10-25T01:30:17.948Z] e9a5061849ea: Pull complete [2023-10-25T01:30:17.948Z] d747dcd14b5f: Pull complete [2023-10-25T01:30:18.880Z] 2de7ff778b66: Pull complete [2023-10-25T01:30:18.880Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-25T01:30:18.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T01:30:18.880Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:30:18.960Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:30:18.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-25T01:30:26.215Z] $ docker top 6fa7c1336daeacf64f518729d81acea17bf7a839f609c1e0a894e20b56e4a53c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:30:26.281Z] provisioning config files... [2023-10-25T01:30:26.293Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config350730452811496543tmp [2023-10-25T01:30:26.302Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16544848414692767096tmp [2023-10-25T01:30:26.312Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15779468660773889968tmp [Pipeline] { [Pipeline] echo [2023-10-25T01:30:26.326Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:26.609Z] ---> sigul-configuration.sh [2023-10-25T01:30:26.609Z] gpg: directory `/root/.gnupg' created [2023-10-25T01:30:26.609Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-25T01:30:26.609Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-25T01:30:26.609Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-25T01:30:26.609Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-25T01:30:26.609Z] gpg: CAST5 encrypted data [2023-10-25T01:30:26.609Z] gpg: encrypted with 1 passphrase [2023-10-25T01:30:26.609Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-25T01:30:26.893Z] + mkdir /home/jenkins [2023-10-25T01:30:26.893Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-25T01:30:27.176Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-25T01:30:27.183Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:27.461Z] ---> sigul-install.sh [2023-10-25T01:30:27.461Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-25T01:30:27.750Z] + git tag --list [2023-10-25T01:30:27.750Z] v0.0.0 [2023-10-25T01:30:27.750Z] v0.0.1-dev.1 [2023-10-25T01:30:27.750Z] v0.0.1-dev.2 [2023-10-25T01:30:27.750Z] v0.0.1-dev.3 [2023-10-25T01:30:27.750Z] v0.0.1-dev.4 [2023-10-25T01:30:27.750Z] v3.0.0 [2023-10-25T01:30:27.750Z] v3.0.1-dev.1 [2023-10-25T01:30:27.750Z] v3.0.1-dev.2 [2023-10-25T01:30:27.750Z] v3.0.1-dev.3 [2023-10-25T01:30:27.750Z] v3.0.1-dev.4 [2023-10-25T01:30:27.750Z] v3.0.1-dev.5 [Pipeline] sh [2023-10-25T01:30:28.036Z] + lftools sign git-tag v3.0.1-dev.5 [2023-10-25T01:30:28.602Z] Signing Git tag with Sigul... [2023-10-25T01:30:28.602Z] Signing v3.0.1-dev.5 [Pipeline] echo [2023-10-25T01:30:28.869Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:29.151Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-25T01:30:29.157Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-25T01:30:29.179Z] $ docker stop --time=1 6fa7c1336daeacf64f518729d81acea17bf7a839f609c1e0a894e20b56e4a53c [2023-10-25T01:30:30.474Z] $ docker rm -f --volumes 6fa7c1336daeacf64f518729d81acea17bf7a839f609c1e0a894e20b56e4a53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-25T01:30:30.882Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T01:30:30.882Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:31.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:30:31.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:30:31.250Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:30:31.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T01:30:31.602Z] $ docker top 611bd818bd191443eafc7c99d0f653af654530537291a3779ca74ec3ff36928c -eo pid,comm [2023-10-25T01:30:31.649Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T01:30:31.649Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T01:30:31.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T01:30:31.683Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T01:30:31.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T01:30:31.799Z] $ docker exec 611bd818bd191443eafc7c99d0f653af654530537291a3779ca74ec3ff36928c ssh-agent [2023-10-25T01:30:31.898Z] SSH_AUTH_SOCK=/tmp/ssh-PdlUk26pOfjZ/agent.33 [2023-10-25T01:30:31.898Z] SSH_AGENT_PID=39 [2023-10-25T01:30:31.902Z] Running ssh-add (command line suppressed) [2023-10-25T01:30:32.094Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10356914195881526660.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10356914195881526660.key) [2023-10-25T01:30:32.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T01:30:32.390Z] + git semver bump pre [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [bump_version] DEBUG bumping version:3.0.1-dev.5 on axis:pre with prefix:dev [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [bump_version] DEBUG bumped version:3.0.1-dev.6 [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [write_version] DEBUG write version:3.0.1-dev.6 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,567 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,570 [execute] INFO git cat-file --batch-check [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,575 [execute] INFO git cat-file --batch [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T01:30:32.648Z] 2023-10-25 01:30:32,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:32.648Z] 3.0.1-dev.6 [Pipeline] } [2023-10-25T01:30:32.658Z] $ docker exec --env ******** --env ******** 611bd818bd191443eafc7c99d0f653af654530537291a3779ca74ec3ff36928c ssh-agent -k [2023-10-25T01:30:32.752Z] unset SSH_AUTH_SOCK; [2023-10-25T01:30:32.752Z] unset SSH_AGENT_PID; [2023-10-25T01:30:32.752Z] echo Agent pid 39 killed; [2023-10-25T01:30:32.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T01:30:33.064Z] + git semver [Pipeline] } [2023-10-25T01:30:33.336Z] $ docker stop --time=1 611bd818bd191443eafc7c99d0f653af654530537291a3779ca74ec3ff36928c [2023-10-25T01:30:34.587Z] $ docker rm -f --volumes 611bd818bd191443eafc7c99d0f653af654530537291a3779ca74ec3ff36928c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T01:30:34.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T01:30:34.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:35.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T01:30:35.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:30:35.348Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:30:35.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T01:30:35.680Z] $ docker top f46d4bcef58b1e584e34d5a9a447035814b0d4edb4e39ecdf3816512cfe69c0c -eo pid,comm [2023-10-25T01:30:35.723Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T01:30:35.723Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T01:30:35.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T01:30:35.754Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T01:30:35.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T01:30:35.866Z] $ docker exec f46d4bcef58b1e584e34d5a9a447035814b0d4edb4e39ecdf3816512cfe69c0c ssh-agent [2023-10-25T01:30:35.975Z] SSH_AUTH_SOCK=/tmp/ssh-teRe6CcSB29e/agent.33 [2023-10-25T01:30:35.975Z] SSH_AGENT_PID=39 [2023-10-25T01:30:35.979Z] Running ssh-add (command line suppressed) [2023-10-25T01:30:36.074Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14419893930940639349.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14419893930940639349.key) [2023-10-25T01:30:36.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T01:30:36.372Z] + git semver push [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,545 [run_push] DEBUG push [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,546 [execute] INFO git cat-file --batch-check [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,550 [execute] INFO git rev-list ed52adbd8623915fd7d4eac86cb986767c4eec1b -- [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,551 [execute] DEBUG Popen(['git', 'rev-list', 'ed52adbd8623915fd7d4eac86cb986767c4eec1b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,556 [execute] INFO git fetch -v origin [2023-10-25T01:30:36.631Z] 2023-10-25 01:30:36,556 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-25T01:30:37.199Z] 2023-10-25 01:30:37,097 [run_push] DEBUG no remote changes detected [2023-10-25T01:30:37.199Z] 2023-10-25 01:30:37,097 [execute] INFO git push origin semver [2023-10-25T01:30:37.199Z] 2023-10-25 01:30:37,098 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T01:30:38.135Z] 2023-10-25 01:30:38,070 [run_push] DEBUG push all version tags [2023-10-25T01:30:38.135Z] 2023-10-25 01:30:38,071 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-25T01:30:38.135Z] 2023-10-25 01:30:38,071 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T01:30:39.071Z] 2023-10-25 01:30:38,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-10-25T01:30:39.071Z] 3.0.1-dev.6 [Pipeline] } [2023-10-25T01:30:39.079Z] $ docker exec --env ******** --env ******** f46d4bcef58b1e584e34d5a9a447035814b0d4edb4e39ecdf3816512cfe69c0c ssh-agent -k [2023-10-25T01:30:39.174Z] unset SSH_AUTH_SOCK; [2023-10-25T01:30:39.174Z] unset SSH_AGENT_PID; [2023-10-25T01:30:39.174Z] echo Agent pid 39 killed; [2023-10-25T01:30:39.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T01:30:39.494Z] + git semver [Pipeline] } [2023-10-25T01:30:39.873Z] $ docker stop --time=1 f46d4bcef58b1e584e34d5a9a447035814b0d4edb4e39ecdf3816512cfe69c0c [2023-10-25T01:30:41.165Z] $ docker rm -f --volumes f46d4bcef58b1e584e34d5a9a447035814b0d4edb4e39ecdf3816512cfe69c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T01:30:41.747Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-10-25T01:30:41.747Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T01:30:41.747Z] total 16 [2023-10-25T01:30:41.747Z] drwxr-xr-x 3 root root 4096 Oct 25 01:20 . [2023-10-25T01:30:41.747Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:30 .. [2023-10-25T01:30:41.747Z] drwxr-xr-x 2 root root 4096 Oct 25 01:20 cost [2023-10-25T01:30:41.747Z] -rw-r--r-- 1 root root 82 Oct 25 01:20 cost.csv [2023-10-25T01:30:41.747Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T01:30:41.747Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-10-25T01:30:41.747Z] total 16 [2023-10-25T01:30:41.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:20 . [2023-10-25T01:30:41.747Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:30 .. [2023-10-25T01:30:41.747Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:20 cost [2023-10-25T01:30:41.747Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 25 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:42.030Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:42.882Z] ---> package-listing.sh [2023-10-25T01:30:42.882Z] ++ facter osfamily [2023-10-25T01:30:42.882Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T01:30:43.141Z] + OS_FAMILY=debian [2023-10-25T01:30:43.141Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-10-25T01:30:43.141Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T01:30:43.141Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T01:30:43.141Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T01:30:43.141Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T01:30:43.141Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T01:30:43.141Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T01:30:43.141Z] + case "${OS_FAMILY}" in [2023-10-25T01:30:43.141Z] + dpkg -l [2023-10-25T01:30:43.141Z] + grep '^ii' [2023-10-25T01:30:43.141Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T01:30:43.141Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T01:30:43.141Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T01:30:43.141Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-10-25T01:30:43.141Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-10-25T01:30:43.141Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-10-25T01:30:43.151Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T01:30:43.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T01:30:43.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T01:30:43.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T01:30:44.046Z] prd-ubuntu20.04-docker-8c-8g-10348 does not seem to be running inside a container [2023-10-25T01:30:44.071Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T01:30:44.289Z] $ docker top e03624bf6a1d2e877519831a8793ec04ccd9a885ff27faeca785e05686ca29bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T01:30:44.617Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T01:30:44.895Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T01:30:45.175Z] + ls /var/log/sa-host [2023-10-25T01:30:45.176Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T01:30:45.245Z] provisioning config files... [2023-10-25T01:30:45.253Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1905925690016867291tmp [Pipeline] { [Pipeline] echo [2023-10-25T01:30:45.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:45.542Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T01:30:45.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:45.864Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T01:30:45.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:46.152Z] ---> sudo-logs.sh [2023-10-25T01:30:46.153Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T01:30:46.173Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:46.453Z] ---> job-cost.sh [2023-10-25T01:30:46.453Z] lf-activate-venv: SKIPPING [2023-10-25T01:30:46.453Z] DEBUG: total: 0.2199999988079071 [2023-10-25T01:30:46.453Z] INFO: Retrieving Stack Cost... [2023-10-25T01:30:46.712Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T01:30:47.277Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T01:30:47.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T01:30:47.564Z] ---> logs-deploy.sh [2023-10-25T01:30:47.564Z] lf-activate-venv: SKIPPING [2023-10-25T01:30:47.564Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/11 [2023-10-25T01:30:47.564Z] INFO: archiving workspace using pattern(s): [2023-10-25T01:30:48.495Z] Archives upload complete. [2023-10-25T01:30:48.495Z] INFO: archiving logs to Nexus