Pull request #399 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 8ba79e986c1f417b124bba82d3a1bb02831b1cb6+def1cc71e63d04479355a5672fe2144ca0f9c836 (86b924d32928b64dbb2ea2060af5af3442e937f1) 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-ssh12868903853277193084.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5905430576450332856.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-399/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-modbus-go/branches/PR-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9826229177061034300.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14402216927512099638.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-modbus-go/branches/PR-399/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-modbus-go/branches/PR-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17017525498132956957.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-modbus-go, 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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-modbus 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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-1843’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1880’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1883’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1886’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1891’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1892’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1884’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1885’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1887’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1893 in /w/workspace/xfoundry_device-modbus-go_PR-399 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 Merge succeeded, producing 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 Checking out Revision 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 (PR-399) > git config core.sparsecheckout # timeout=10 > git checkout -f 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git rev-list --no-walk bf46cafa04ddf559a7ac28ebf876f422b7e1b604 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T17:48:47.695Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T17:48:47.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T17:48:47.778Z] ========================================================= [2023-01-11T17:48:47.778Z] EdgeX Global Pipelines Version Info [2023-01-11T17:48:47.778Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:48:48.483Z] ------------------- [2023-01-11T17:48:48.483Z] stable info: [2023-01-11T17:48:48.483Z] ------------------- [2023-01-11T17:48:48.483Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T17:48:48.483Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:48:48.483Z] Message: update stable to v1.0.244 [2023-01-11T17:48:49.054Z] ------------------- [2023-01-11T17:48:49.054Z] experimental info: [2023-01-11T17:48:49.054Z] ------------------- [2023-01-11T17:48:49.054Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T17:48:49.054Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:48:49.054Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T17:48:49.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-11T17:48:49.233Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-11T17:48:49.247Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T17:48:49.259Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T17:48:49.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T17:48:49.287Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T17:48:49.297Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T17:48:49.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T17:48:49.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T17:48:49.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T17:48:49.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T17:48:49.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-11T17:48:49.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T17:48:49.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T17:48:49.418Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:48:49.440Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:48:49.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:48:49.475Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:48:49.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T17:48:49.501Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T17:48:49.513Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T17:48:49.527Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T17:48:49.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T17:48:49.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T17:48:49.569Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T17:48:49.581Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T17:48:49.600Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T17:48:49.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2023-01-11T17:48:49.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2023-01-11T17:48:49.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2023-01-11T17:48:49.655Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [Pipeline] echo [2023-01-11T17:48:49.672Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ba79e9 [Pipeline] echo [2023-01-11T17:48:49.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:48:49.730Z] provisioning config files... [2023-01-11T17:48:49.748Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/config10542140022392634402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:48:50.058Z] ---> docker-login.sh [2023-01-11T17:48:50.058Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:48:50.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:50.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:50.318Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:50.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:50.318Z] [2023-01-11T17:48:50.318Z] Login Succeeded [2023-01-11T17:48:50.318Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:48:50.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:50.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:50.577Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:50.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:50.577Z] [2023-01-11T17:48:50.577Z] Login Succeeded [2023-01-11T17:48:50.577Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:48:50.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:50.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:50.577Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:50.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:50.577Z] [2023-01-11T17:48:50.577Z] Login Succeeded [2023-01-11T17:48:50.577Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:48:50.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:50.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:50.836Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:50.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:50.836Z] [2023-01-11T17:48:50.836Z] Login Succeeded [2023-01-11T17:48:50.836Z] docker.io [2023-01-11T17:48:50.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:51.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:51.095Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:51.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:51.095Z] [2023-01-11T17:48:51.095Z] Login Succeeded [2023-01-11T17:48:51.095Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:48:51.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T17:48:51.447Z] + git rev-list -1 --merges 8ba79e986c1f417b124bba82d3a1bb02831b1cb6~1..8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [Pipeline] echo [2023-01-11T17:48:51.493Z] -----------> git rev-list -1 --merges 8ba79e986c1f417b124bba82d3a1bb02831b1cb6~1..8ba79e986c1f417b124bba82d3a1bb02831b1cb6 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [false] [Pipeline] sh [2023-01-11T17:48:51.782Z] + git log --format=format:%s -1 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [Pipeline] echo [2023-01-11T17:48:51.798Z] ========================================================= [2023-01-11T17:48:51.798Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T17:48:51.798Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:48:52.121Z] + git log --format=format:%s -1 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [Pipeline] echo [2023-01-11T17:48:52.133Z] [semverPrep] GIT_COMMIT: 8ba79e986c1f417b124bba82d3a1bb02831b1cb6, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T17:48:52.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T17:48:52.498Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T17:48:52.498Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T17:48:52.498Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T17:48:52.498Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T17:48:52.498Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T17:48:52.498Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T17:48:52.498Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:48:52.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:48:52.863Z] [2023-01-11T17:48:52.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:48:53.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:48:53.171Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T17:48:53.171Z] b85a868b505f: Pulling fs layer [2023-01-11T17:48:53.171Z] e2be974225ed: Pulling fs layer [2023-01-11T17:48:53.171Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T17:48:53.171Z] 988bab9f4d93: Pulling fs layer [2023-01-11T17:48:53.171Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T17:48:53.171Z] eaf3925da568: Pulling fs layer [2023-01-11T17:48:53.171Z] bab4dde63d76: Pulling fs layer [2023-01-11T17:48:53.171Z] bde34c3a00c8: Pulling fs layer [2023-01-11T17:48:53.171Z] b352a97aabf1: Pulling fs layer [2023-01-11T17:48:53.171Z] 4872d77fe225: Pulling fs layer [2023-01-11T17:48:53.171Z] 5851b861e8e6: Pulling fs layer [2023-01-11T17:48:53.171Z] 988bab9f4d93: Waiting [2023-01-11T17:48:53.171Z] 1469e6f7b9e6: Waiting [2023-01-11T17:48:53.171Z] eaf3925da568: Waiting [2023-01-11T17:48:53.171Z] bde34c3a00c8: Waiting [2023-01-11T17:48:53.171Z] 5851b861e8e6: Waiting [2023-01-11T17:48:53.171Z] 4872d77fe225: Waiting [2023-01-11T17:48:53.171Z] b352a97aabf1: Waiting [2023-01-11T17:48:53.171Z] bab4dde63d76: Waiting [2023-01-11T17:48:53.171Z] e2be974225ed: Verifying Checksum [2023-01-11T17:48:53.171Z] e2be974225ed: Download complete [2023-01-11T17:48:53.171Z] 988bab9f4d93: Download complete [2023-01-11T17:48:53.431Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T17:48:53.431Z] 1469e6f7b9e6: Download complete [2023-01-11T17:48:53.431Z] eaf3925da568: Download complete [2023-01-11T17:48:53.431Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T17:48:53.431Z] 339a4e72a1f5: Download complete [2023-01-11T17:48:53.431Z] bde34c3a00c8: Verifying Checksum [2023-01-11T17:48:53.431Z] bde34c3a00c8: Download complete [2023-01-11T17:48:53.431Z] b352a97aabf1: Download complete [2023-01-11T17:48:53.431Z] 4872d77fe225: Verifying Checksum [2023-01-11T17:48:53.431Z] 4872d77fe225: Download complete [2023-01-11T17:48:53.431Z] 5851b861e8e6: Verifying Checksum [2023-01-11T17:48:53.431Z] 5851b861e8e6: Download complete [2023-01-11T17:48:53.431Z] b85a868b505f: Verifying Checksum [2023-01-11T17:48:53.431Z] b85a868b505f: Download complete [2023-01-11T17:48:54.004Z] bab4dde63d76: Verifying Checksum [2023-01-11T17:48:54.004Z] bab4dde63d76: Download complete [2023-01-11T17:48:54.576Z] b85a868b505f: Pull complete [2023-01-11T17:48:54.835Z] e2be974225ed: Pull complete [2023-01-11T17:48:55.095Z] 339a4e72a1f5: Pull complete [2023-01-11T17:48:55.095Z] 988bab9f4d93: Pull complete [2023-01-11T17:48:55.355Z] 1469e6f7b9e6: Pull complete [2023-01-11T17:48:55.355Z] eaf3925da568: Pull complete [2023-01-11T17:48:57.259Z] bab4dde63d76: Pull complete [2023-01-11T17:48:57.259Z] bde34c3a00c8: Pull complete [2023-01-11T17:48:57.259Z] b352a97aabf1: Pull complete [2023-01-11T17:48:57.259Z] 4872d77fe225: Pull complete [2023-01-11T17:48:57.259Z] 5851b861e8e6: Pull complete [2023-01-11T17:48:57.259Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T17:48:57.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:48:57.259Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:48:57.348Z] prd-ubuntu20.04-docker-8c-8g-1893 does not seem to be running inside a container [2023-01-11T17:48:57.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-399 -v /w/workspace/xfoundry_device-modbus-go_PR-399:/w/workspace/xfoundry_device-modbus-go_PR-399:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-399@tmp:/w/workspace/xfoundry_device-modbus-go_PR-399@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T17:48:58.669Z] $ docker top 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 -eo pid,comm [2023-01-11T17:48:58.718Z] 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-01-11T17:48:58.718Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T17:48:58.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:48:58.759Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:48:58.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:48:58.872Z] $ docker exec 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 ssh-agent [2023-01-11T17:48:58.973Z] SSH_AUTH_SOCK=/tmp/ssh-Z0JjUPXt5OnB/agent.32 [2023-01-11T17:48:58.973Z] SSH_AGENT_PID=38 [2023-01-11T17:48:58.979Z] Running ssh-add (command line suppressed) [2023-01-11T17:48:59.076Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-399@tmp/private_key_1438874346587561648.key (/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/private_key_1438874346587561648.key) [2023-01-11T17:48:59.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:48:59.375Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T17:48:59.388Z] $ docker exec --env ******** --env ******** 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 ssh-agent -k [2023-01-11T17:48:59.485Z] unset SSH_AUTH_SOCK; [2023-01-11T17:48:59.485Z] unset SSH_AGENT_PID; [2023-01-11T17:48:59.485Z] echo Agent pid 38 killed; [2023-01-11T17:48:59.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T17:48:59.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:48:59.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:48:59.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:48:59.700Z] $ docker exec 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 ssh-agent [2023-01-11T17:48:59.802Z] SSH_AUTH_SOCK=/tmp/ssh-bdn9XYL2idpF/agent.69 [2023-01-11T17:48:59.802Z] SSH_AGENT_PID=75 [2023-01-11T17:48:59.822Z] Running ssh-add (command line suppressed) [2023-01-11T17:48:59.925Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-399@tmp/private_key_18182865151559329372.key (/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/private_key_18182865151559329372.key) [2023-01-11T17:48:59.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:49:00.226Z] + git semver init [2023-01-11T17:49:00.485Z] 2023-01-11 17:49:00,395 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T17:49:00.485Z] 2023-01-11 17:49:00,396 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-399/.semver [2023-01-11T17:49:00.485Z] 2023-01-11 17:49:00,396 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-399/.semver [2023-01-11T17:49:00.485Z] 2023-01-11 17:49:00,397 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-399/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-399, universal_newlines=False, shell=None, istream=None) [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,224 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-399/.git/info/exclude [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-399/.semver/PR-399 with force:False [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,224 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-399/.semver/PR-399 [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,229 [execute] INFO git cat-file --batch-check [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,235 [execute] INFO git cat-file --batch [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:49:01.421Z] 2023-01-11 17:49:01,241 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-399/.semver/PR-399 [2023-01-11T17:49:01.421Z] 0.0.0 [Pipeline] } [2023-01-11T17:49:01.437Z] $ docker exec --env ******** --env ******** 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 ssh-agent -k [2023-01-11T17:49:01.532Z] unset SSH_AUTH_SOCK; [2023-01-11T17:49:01.532Z] unset SSH_AGENT_PID; [2023-01-11T17:49:01.532Z] echo Agent pid 75 killed; [2023-01-11T17:49:01.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T17:49:01.849Z] + git semver [Pipeline] } [2023-01-11T17:49:02.121Z] $ docker stop --time=1 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 [2023-01-11T17:49:03.413Z] $ docker rm -f --volumes 025db3917f3af364812212c34c20532366755ac07cfa2a5a6e031631b9df5e07 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:49:03.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T17:49:03.960Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T17:49:03.963Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-01-11T17:49:04.125Z] provisioning config files... [2023-01-11T17:49:04.134Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/config10094150564419018995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:49:04.430Z] ---> docker-login.sh [2023-01-11T17:49:04.430Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:49:04.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:49:04.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:49:04.430Z] Configure a credential helper to remove this warning. See [2023-01-11T17:49:04.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:49:04.430Z] [2023-01-11T17:49:04.430Z] Login Succeeded [2023-01-11T17:49:04.430Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:49:04.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:49:04.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:49:04.430Z] Configure a credential helper to remove this warning. See [2023-01-11T17:49:04.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:49:04.431Z] [2023-01-11T17:49:04.431Z] Login Succeeded [2023-01-11T17:49:04.431Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:49:04.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:49:04.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:49:04.691Z] Configure a credential helper to remove this warning. See [2023-01-11T17:49:04.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:49:04.691Z] [2023-01-11T17:49:04.691Z] Login Succeeded [2023-01-11T17:49:04.691Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:49:04.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:49:04.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:49:04.691Z] Configure a credential helper to remove this warning. See [2023-01-11T17:49:04.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:49:04.691Z] [2023-01-11T17:49:04.691Z] Login Succeeded [2023-01-11T17:49:04.691Z] docker.io [2023-01-11T17:49:04.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:49:04.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:49:04.950Z] Configure a credential helper to remove this warning. See [2023-01-11T17:49:04.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:49:04.950Z] [2023-01-11T17:49:04.950Z] Login Succeeded [2023-01-11T17:49:04.950Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:49:04.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:49:05.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:49:05.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:49:05.037Z] ========================================================= [2023-01-11T17:49:05.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T17:49:05.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:05.339Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T17:49:05.339Z] Sending build context to Docker daemon 6.35MB [2023-01-11T17:49:05.339Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:49:05.339Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T17:49:05.339Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T17:49:05.339Z] 213ec9aee27d: Pulling fs layer [2023-01-11T17:49:05.339Z] 4583459ba037: Pulling fs layer [2023-01-11T17:49:05.339Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T17:49:05.339Z] 53926ce57604: Pulling fs layer [2023-01-11T17:49:05.339Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T17:49:05.339Z] 22ff95d597cd: Pulling fs layer [2023-01-11T17:49:05.339Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T17:49:05.339Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T17:49:05.339Z] 53926ce57604: Waiting [2023-01-11T17:49:05.339Z] 21b2b0c7a3f4: Waiting [2023-01-11T17:49:05.339Z] a7acece74701: Pulling fs layer [2023-01-11T17:49:05.339Z] 22ff95d597cd: Waiting [2023-01-11T17:49:05.339Z] 12d6caf4c0d1: Waiting [2023-01-11T17:49:05.339Z] 96b7cbca73a9: Waiting [2023-01-11T17:49:05.339Z] a7acece74701: Waiting [2023-01-11T17:49:05.339Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T17:49:05.339Z] 93c1e223e6f2: Download complete [2023-01-11T17:49:05.339Z] 4583459ba037: Download complete [2023-01-11T17:49:05.339Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T17:49:05.339Z] 21b2b0c7a3f4: Download complete [2023-01-11T17:49:05.339Z] 22ff95d597cd: Download complete [2023-01-11T17:49:05.598Z] 213ec9aee27d: Verifying Checksum [2023-01-11T17:49:05.598Z] 213ec9aee27d: Download complete [2023-01-11T17:49:05.598Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T17:49:05.598Z] 12d6caf4c0d1: Download complete [2023-01-11T17:49:05.598Z] 213ec9aee27d: Pull complete [2023-01-11T17:49:05.860Z] 4583459ba037: Pull complete [2023-01-11T17:49:05.860Z] 93c1e223e6f2: Pull complete [2023-01-11T17:49:06.435Z] a7acece74701: Verifying Checksum [2023-01-11T17:49:06.435Z] a7acece74701: Download complete [2023-01-11T17:49:06.694Z] 53926ce57604: Verifying Checksum [2023-01-11T17:49:06.694Z] 53926ce57604: Download complete [2023-01-11T17:49:06.694Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T17:49:06.694Z] 96b7cbca73a9: Download complete [2023-01-11T17:49:10.882Z] 53926ce57604: Pull complete [2023-01-11T17:49:10.882Z] 21b2b0c7a3f4: Pull complete [2023-01-11T17:49:10.882Z] 22ff95d597cd: Pull complete [2023-01-11T17:49:10.882Z] 12d6caf4c0d1: Pull complete [2023-01-11T17:49:12.791Z] 96b7cbca73a9: Pull complete [2023-01-11T17:49:13.359Z] a7acece74701: Pull complete [2023-01-11T17:49:13.359Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T17:49:13.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T17:49:13.359Z] ---> db6d94c90886 [2023-01-11T17:49:13.359Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:49:15.893Z] ---> Running in cccbed1ab962 [2023-01-11T17:49:15.893Z] Removing intermediate container cccbed1ab962 [2023-01-11T17:49:15.893Z] ---> 3ac91fee46b6 [2023-01-11T17:49:15.893Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:49:15.893Z] ---> Running in 5d0e0a502808 [2023-01-11T17:49:15.893Z] Removing intermediate container 5d0e0a502808 [2023-01-11T17:49:15.893Z] ---> 62daa431de64 [2023-01-11T17:49:15.893Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T17:49:15.893Z] ---> Running in c03966eeac78 [2023-01-11T17:49:16.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:16.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:16.411Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T17:49:16.411Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T17:49:16.411Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T17:49:16.411Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:49:16.411Z] OK: 217 MiB in 59 packages [2023-01-11T17:49:16.979Z] Removing intermediate container c03966eeac78 [2023-01-11T17:49:16.979Z] ---> 9f1bd3600df7 [2023-01-11T17:49:16.979Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T17:49:16.979Z] ---> Running in 350e70a7666f [2023-01-11T17:49:16.979Z] Removing intermediate container 350e70a7666f [2023-01-11T17:49:16.979Z] ---> 4d251c19e533 [2023-01-11T17:49:16.979Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T17:49:17.237Z] ---> fb4fe6060ea1 [2023-01-11T17:49:17.237Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:49:17.237Z] ---> Running in e1bb77cad4ce [2023-01-11T17:49:19.063Z] Still waiting to schedule task [2023-01-11T17:49:19.063Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T17:49:35.327Z] Removing intermediate container e1bb77cad4ce [2023-01-11T17:49:35.327Z] ---> 5be92a4cccac [2023-01-11T17:49:35.327Z] Step 9/10 : COPY . . [2023-01-11T17:49:35.327Z] ---> 1f48158e4a6a [2023-01-11T17:49:35.327Z] Step 10/10 : RUN ${MAKE} [2023-01-11T17:49:35.327Z] ---> Running in ab32e4b5de4b [2023-01-11T17:49:35.327Z] noop [2023-01-11T17:49:35.327Z] Removing intermediate container ab32e4b5de4b [2023-01-11T17:49:35.327Z] ---> f00d362ec3e0 [2023-01-11T17:49:35.327Z] Successfully built f00d362ec3e0 [2023-01-11T17:49:35.327Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:35.635Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:49:35.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:49:35.702Z] prd-ubuntu20.04-docker-8c-8g-1893 does not seem to be running inside a container [2023-01-11T17:49:35.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-399 -v /w/workspace/xfoundry_device-modbus-go_PR-399:/w/workspace/xfoundry_device-modbus-go_PR-399:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-399@tmp:/w/workspace/xfoundry_device-modbus-go_PR-399@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T17:49:36.050Z] $ docker top 4a4d1db6240164b896f0fdb8fcf36859372855f32697407218f5130c36274bb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:49:36.395Z] + go version [2023-01-11T17:49:36.395Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T17:49:36.408Z] $ docker stop --time=1 4a4d1db6240164b896f0fdb8fcf36859372855f32697407218f5130c36274bb3 [2023-01-11T17:49:37.702Z] $ docker rm -f --volumes 4a4d1db6240164b896f0fdb8fcf36859372855f32697407218f5130c36274bb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:38.089Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:49:38.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:49:38.158Z] prd-ubuntu20.04-docker-8c-8g-1893 does not seem to be running inside a container [2023-01-11T17:49:38.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-399 -v /w/workspace/xfoundry_device-modbus-go_PR-399:/w/workspace/xfoundry_device-modbus-go_PR-399:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-399@tmp:/w/workspace/xfoundry_device-modbus-go_PR-399@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T17:49:38.492Z] $ docker top 96a91aa9a91b1ef9ce9188269e34614a8212ff1998bfbcdc3e008a421c9e49e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:49:38.826Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-399 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:49:39.115Z] + make test [2023-01-11T17:49:39.115Z] go test ./... -coverprofile=coverage.out [2023-01-11T17:49:39.373Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T17:49:49.335Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T17:49:49.335Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2023-01-11T17:49:54.596Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T17:49:54.596Z] go vet ./... [2023-01-11T17:49:57.878Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:49:57.878Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:49:57.878Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:49:57.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:49:57.908Z] $ docker stop --time=1 96a91aa9a91b1ef9ce9188269e34614a8212ff1998bfbcdc3e008a421c9e49e5 [2023-01-11T17:49:59.657Z] $ docker rm -f --volumes 96a91aa9a91b1ef9ce9188269e34614a8212ff1998bfbcdc3e008a421c9e49e5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:50:00.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:50:00.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T17:50:00.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:50:00.824Z] + ls -al . [2023-01-11T17:50:00.824Z] total 196 [2023-01-11T17:50:00.824Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:49 . [2023-01-11T17:50:00.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:48 .. [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 17:48 .dockerignore [2023-01-11T17:50:00.824Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:49 .git [2023-01-11T17:50:00.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:48 .github [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 17:48 .gitignore [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:48 .golangci.yml [2023-01-11T17:50:00.824Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:49 .semver [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 17:48 Attribution.txt [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 17:48 CHANGELOG.md [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 17:48 Dockerfile [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:48 GOVERNANCE.md [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:48 Jenkinsfile [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:48 LICENSE [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 17:48 Makefile [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 17:48 OWNERS.md [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 17:48 README.md [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:49 VERSION [2023-01-11T17:50:00.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:48 bin [2023-01-11T17:50:00.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:48 cmd [2023-01-11T17:50:00.824Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 17:49 coverage.out [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 17:48 go.mod [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 17:48 go.sum [2023-01-11T17:50:00.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:48 internal [2023-01-11T17:50:00.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:48 simulator [2023-01-11T17:50:00.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:48 snap [2023-01-11T17:50:00.824Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:50:01.122Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8ba79e986c1f417b124bba82d3a1bb02831b1cb6 --label arch=amd64 --label version=0.0.0 . [2023-01-11T17:50:01.123Z] Sending build context to Docker daemon 6.374MB [2023-01-11T17:50:01.123Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:50:01.123Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T17:50:01.123Z] ---> f00d362ec3e0 [2023-01-11T17:50:01.123Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:50:01.123Z] ---> Running in bd068ab39fac [2023-01-11T17:50:01.123Z] Removing intermediate container bd068ab39fac [2023-01-11T17:50:01.123Z] ---> 08ad38dfefca [2023-01-11T17:50:01.123Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:50:01.381Z] ---> Running in b67435d032e5 [2023-01-11T17:50:01.381Z] Removing intermediate container b67435d032e5 [2023-01-11T17:50:01.381Z] ---> 5bee8527ca86 [2023-01-11T17:50:01.381Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T17:50:01.381Z] ---> Running in fea3c23ef3ee [2023-01-11T17:50:01.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:50:01.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:50:02.205Z] OK: 217 MiB in 59 packages [2023-01-11T17:50:02.205Z] Removing intermediate container fea3c23ef3ee [2023-01-11T17:50:02.205Z] ---> fe3952c60718 [2023-01-11T17:50:02.205Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T17:50:02.205Z] ---> Running in 0eb76a54beb5 [2023-01-11T17:50:02.463Z] Removing intermediate container 0eb76a54beb5 [2023-01-11T17:50:02.463Z] ---> 6f5fb8715268 [2023-01-11T17:50:02.463Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T17:50:02.463Z] ---> f601d724d246 [2023-01-11T17:50:02.463Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:50:02.463Z] ---> Running in 775f91e28375 [2023-01-11T17:50:03.029Z] Removing intermediate container 775f91e28375 [2023-01-11T17:50:03.029Z] ---> fe1397e160d7 [2023-01-11T17:50:03.029Z] Step 9/22 : COPY . . [2023-01-11T17:50:03.287Z] ---> e46611195319 [2023-01-11T17:50:03.287Z] Step 10/22 : RUN ${MAKE} [2023-01-11T17:50:03.287Z] ---> Running in 3a382906e129 [2023-01-11T17:50:03.543Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T17:50:21.611Z] Removing intermediate container 3a382906e129 [2023-01-11T17:50:21.611Z] ---> aa615bb3a521 [2023-01-11T17:50:21.611Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T17:50:21.611Z] 3.14: Pulling from library/alpine [2023-01-11T17:50:21.611Z] c7ed990a2339: Pulling fs layer [2023-01-11T17:50:21.611Z] c7ed990a2339: Download complete [2023-01-11T17:50:21.611Z] c7ed990a2339: Pull complete [2023-01-11T17:50:21.611Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T17:50:21.611Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T17:50:21.611Z] ---> dd53f409bf0b [2023-01-11T17:50:21.611Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T17:50:21.611Z] ---> Running in 407e103461f8 [2023-01-11T17:50:21.611Z] Removing intermediate container 407e103461f8 [2023-01-11T17:50:21.611Z] ---> 1addb4116d35 [2023-01-11T17:50:21.611Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T17:50:21.611Z] ---> Running in 8d1458c2e50a [2023-01-11T17:50:21.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:50:21.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:50:21.611Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T17:50:21.611Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T17:50:21.611Z] OK: 6 MiB in 15 packages [2023-01-11T17:50:21.611Z] Removing intermediate container 8d1458c2e50a [2023-01-11T17:50:21.611Z] ---> 46f37ae9d7d1 [2023-01-11T17:50:21.611Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T17:50:21.869Z] ---> 817da1070fde [2023-01-11T17:50:21.869Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T17:50:21.869Z] ---> d43d7244f6ef [2023-01-11T17:50:21.869Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T17:50:22.128Z] ---> 0f6b99ca9ce7 [2023-01-11T17:50:22.128Z] Step 17/22 : EXPOSE 59901 [2023-01-11T17:50:22.128Z] ---> Running in 54c7aa919d7d [2023-01-11T17:50:22.128Z] Removing intermediate container 54c7aa919d7d [2023-01-11T17:50:22.128Z] ---> be707367ad2c [2023-01-11T17:50:22.128Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T17:50:22.128Z] ---> Running in 5af136f29d48 [2023-01-11T17:50:22.385Z] Removing intermediate container 5af136f29d48 [2023-01-11T17:50:22.385Z] ---> 464b51e7f758 [2023-01-11T17:50:22.385Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T17:50:22.385Z] ---> Running in 4bf63db7543d [2023-01-11T17:50:22.385Z] Removing intermediate container 4bf63db7543d [2023-01-11T17:50:22.385Z] ---> 73237de36cad [2023-01-11T17:50:22.385Z] Step 20/22 : LABEL arch=amd64 [2023-01-11T17:50:22.385Z] ---> Running in 8dbe7761e1f3 [2023-01-11T17:50:22.386Z] Removing intermediate container 8dbe7761e1f3 [2023-01-11T17:50:22.386Z] ---> aa76329d3c9b [2023-01-11T17:50:22.386Z] Step 21/22 : LABEL git_sha=8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [2023-01-11T17:50:22.386Z] ---> Running in 2f49fc9e1585 [2023-01-11T17:50:22.643Z] Removing intermediate container 2f49fc9e1585 [2023-01-11T17:50:22.643Z] ---> d271f560e2ce [2023-01-11T17:50:22.643Z] Step 22/22 : LABEL version=0.0.0 [2023-01-11T17:50:22.643Z] ---> Running in 0e945669e9f5 [2023-01-11T17:50:22.643Z] Removing intermediate container 0e945669e9f5 [2023-01-11T17:50:22.643Z] ---> 915dd41e7e5a [2023-01-11T17:50:22.643Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:50:22.643Z] Successfully built 915dd41e7e5a [2023-01-11T17:50:22.643Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-01-11T17:50:23.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:50:23.072Z] [2023-01-11T17:50:23.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:50:23.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:50:23.372Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T17:50:23.372Z] 5eb5b503b376: Pulling fs layer [2023-01-11T17:50:23.372Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T17:50:23.372Z] ec43610c2a17: Pulling fs layer [2023-01-11T17:50:23.372Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T17:50:23.372Z] 33b1e0a273af: Pulling fs layer [2023-01-11T17:50:23.372Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T17:50:23.372Z] 2f39f015ded8: Pulling fs layer [2023-01-11T17:50:23.372Z] 3a2ae6a8a46f: Waiting [2023-01-11T17:50:23.372Z] 33b1e0a273af: Waiting [2023-01-11T17:50:23.372Z] 5d3b04190fa2: Waiting [2023-01-11T17:50:23.372Z] 2f39f015ded8: Waiting [2023-01-11T17:50:23.372Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T17:50:23.372Z] 5c69ac0246d0: Download complete [2023-01-11T17:50:23.372Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T17:50:23.372Z] 3a2ae6a8a46f: Download complete [2023-01-11T17:50:23.372Z] 33b1e0a273af: Download complete [2023-01-11T17:50:23.630Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T17:50:23.630Z] 5d3b04190fa2: Download complete [2023-01-11T17:50:23.630Z] ec43610c2a17: Verifying Checksum [2023-01-11T17:50:23.630Z] ec43610c2a17: Download complete [2023-01-11T17:50:23.630Z] 5eb5b503b376: Verifying Checksum [2023-01-11T17:50:23.630Z] 5eb5b503b376: Download complete [2023-01-11T17:50:24.199Z] 2f39f015ded8: Verifying Checksum [2023-01-11T17:50:24.199Z] 2f39f015ded8: Download complete [2023-01-11T17:50:24.767Z] 5eb5b503b376: Pull complete [2023-01-11T17:50:24.767Z] 5c69ac0246d0: Pull complete [2023-01-11T17:50:25.026Z] ec43610c2a17: Pull complete [2023-01-11T17:50:25.284Z] 3a2ae6a8a46f: Pull complete [2023-01-11T17:50:25.284Z] 33b1e0a273af: Pull complete [2023-01-11T17:50:25.541Z] 5d3b04190fa2: Pull complete [2023-01-11T17:50:28.823Z] 2f39f015ded8: Pull complete [2023-01-11T17:50:28.823Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T17:50:28.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:50:28.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:50:28.895Z] prd-ubuntu20.04-docker-8c-8g-1893 does not seem to be running inside a container [2023-01-11T17:50:28.924Z] $ 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/xfoundry_device-modbus-go_PR-399 -v /w/workspace/xfoundry_device-modbus-go_PR-399:/w/workspace/xfoundry_device-modbus-go_PR-399:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-399@tmp:/w/workspace/xfoundry_device-modbus-go_PR-399@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T17:50:30.439Z] $ docker top 1e1283a9e106e12687d5c2c23822aafdc0a34cf15c9280a46809b0cce2e19015 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:50:30.794Z] ---> job-cost.sh [2023-01-11T17:50:30.794Z] lf-activate-venv: SKIPPING [2023-01-11T17:50:30.794Z] INFO: No Stack... [2023-01-11T17:50:31.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:50:31.310Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:50:31.611Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-399/archives/cost.csv [2023-01-11T17:50:31.611Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:50:31.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [2023-01-11T17:50:31.627Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] did not exist. Created. [2023-01-11T17:50:31.628Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:50:31.925Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T17:50:31.946Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:50:31.952Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:50:31.973Z] $ docker stop --time=1 1e1283a9e106e12687d5c2c23822aafdc0a34cf15c9280a46809b0cce2e19015 [2023-01-11T17:50:33.123Z] $ docker rm -f --volumes 1e1283a9e106e12687d5c2c23822aafdc0a34cf15c9280a46809b0cce2e19015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T17:52:19.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1898 in /w/workspace/xfoundry_device-modbus-go_PR-399 [Pipeline] { [Pipeline] ws [2023-01-11T17:52:19.566Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-01-11T17:52:19.609Z] Selected Git installation does not exist. Using Default [2023-01-11T17:52:19.609Z] The recommended git tool is: NONE [2023-01-11T17:52:25.685Z] using credential edgex-jenkins-ssh [2023-01-11T17:52:25.703Z] Cloning the remote Git repository [2023-01-11T17:52:25.759Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T17:52:25.847Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-01-11T17:52:26.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T17:52:26.036Z] > git --version # timeout=10 [2023-01-11T17:52:26.061Z] > git --version # 'git version 2.25.1' [2023-01-11T17:52:26.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:26.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:52:27.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-11T17:52:27.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:52:29.259Z] Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [2023-01-11T17:52:29.514Z] Merge succeeded, producing 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [2023-01-11T17:52:29.515Z] Checking out Revision 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 (PR-399) [2023-01-11T17:52:28.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-11T17:52:28.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T17:52:28.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:28.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T17:52:29.284Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:52:29.312Z] > git checkout -f 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 # timeout=10 [2023-01-11T17:52:29.408Z] > git remote # timeout=10 [2023-01-11T17:52:29.428Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T17:52:29.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:29.466Z] > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [2023-01-11T17:52:29.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T17:52:29.524Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:52:29.541Z] > git checkout -f 8ba79e986c1f417b124bba82d3a1bb02831b1cb6 # timeout=10 [2023-01-11T17:52:33.187Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:52:34.135Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T17:52:34.135Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:52:34.135Z] Dload Upload Total Spent Left Speed [2023-01-11T17:52:34.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-01-11T17:52:35.064Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T17:52:35.408Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T17:52:35.408Z] + sudo tee /etc/docker/daemon.new [2023-01-11T17:52:35.408Z] { [2023-01-11T17:52:35.408Z] "registry-mirrors": [ [2023-01-11T17:52:35.408Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T17:52:35.408Z] ], [2023-01-11T17:52:35.408Z] "bip": "10.250.0.254/24", [2023-01-11T17:52:35.408Z] "hosts": [ [2023-01-11T17:52:35.408Z] "tcp://0.0.0.0:5555", [2023-01-11T17:52:35.408Z] "unix:///var/run/docker.sock" [2023-01-11T17:52:35.408Z] ], [2023-01-11T17:52:35.408Z] "mtu": 1458, [2023-01-11T17:52:35.408Z] "selinux-enabled": true, [2023-01-11T17:52:35.408Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T17:52:35.408Z] } [Pipeline] sh [2023-01-11T17:52:35.757Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T17:52:36.101Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:52:54.444Z] provisioning config files... [2023-01-11T17:52:54.483Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config18321413977156338939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:52:54.874Z] ---> docker-login.sh [2023-01-11T17:52:54.874Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:52:55.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:55.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:55.473Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:55.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:55.473Z] [2023-01-11T17:52:55.473Z] Login Succeeded [2023-01-11T17:52:55.473Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:52:55.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:56.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:56.028Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:56.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:56.028Z] [2023-01-11T17:52:56.028Z] Login Succeeded [2023-01-11T17:52:56.028Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:52:56.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:56.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:56.301Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:56.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:56.301Z] [2023-01-11T17:52:56.301Z] Login Succeeded [2023-01-11T17:52:56.575Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:52:56.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:56.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:56.849Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:56.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:56.849Z] [2023-01-11T17:52:56.849Z] Login Succeeded [2023-01-11T17:52:56.849Z] docker.io [2023-01-11T17:52:57.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:57.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:57.395Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:57.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:57.395Z] [2023-01-11T17:52:57.395Z] Login Succeeded [2023-01-11T17:52:57.395Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:52:57.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:52:57.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:52:57.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:52:57.751Z] ========================================================= [2023-01-11T17:52:57.751Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T17:52:57.751Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:58.112Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T17:52:58.386Z] Sending build context to Docker daemon 3.323MB [2023-01-11T17:52:58.386Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:52:58.386Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T17:52:58.658Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T17:52:58.658Z] 9b18e9b68314: Pulling fs layer [2023-01-11T17:52:58.658Z] 35d82f9e3411: Pulling fs layer [2023-01-11T17:52:58.658Z] e16973657156: Pulling fs layer [2023-01-11T17:52:58.658Z] fc693d55d65f: Pulling fs layer [2023-01-11T17:52:58.658Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T17:52:58.658Z] dda99020689f: Pulling fs layer [2023-01-11T17:52:58.658Z] db1c61fa0a46: Pulling fs layer [2023-01-11T17:52:58.658Z] 891c053d2c06: Pulling fs layer [2023-01-11T17:52:58.658Z] dda99020689f: Waiting [2023-01-11T17:52:58.658Z] fc693d55d65f: Waiting [2023-01-11T17:52:58.658Z] db1c61fa0a46: Waiting [2023-01-11T17:52:58.658Z] 891c053d2c06: Waiting [2023-01-11T17:52:58.658Z] 7e9fc2657dce: Waiting [2023-01-11T17:52:58.658Z] e16973657156: Verifying Checksum [2023-01-11T17:52:58.658Z] e16973657156: Download complete [2023-01-11T17:52:58.658Z] 35d82f9e3411: Verifying Checksum [2023-01-11T17:52:58.658Z] 35d82f9e3411: Download complete [2023-01-11T17:52:58.658Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T17:52:58.658Z] 7e9fc2657dce: Download complete [2023-01-11T17:52:58.658Z] dda99020689f: Download complete [2023-01-11T17:52:58.658Z] 9b18e9b68314: Verifying Checksum [2023-01-11T17:52:58.658Z] 9b18e9b68314: Download complete [2023-01-11T17:52:59.651Z] 9b18e9b68314: Pull complete [2023-01-11T17:52:59.929Z] 891c053d2c06: Verifying Checksum [2023-01-11T17:52:59.929Z] 891c053d2c06: Download complete [2023-01-11T17:53:00.530Z] 35d82f9e3411: Pull complete [2023-01-11T17:53:00.530Z] e16973657156: Pull complete [2023-01-11T17:53:01.512Z] db1c61fa0a46: Verifying Checksum [2023-01-11T17:53:01.512Z] db1c61fa0a46: Download complete [2023-01-11T17:53:02.106Z] fc693d55d65f: Verifying Checksum [2023-01-11T17:53:02.106Z] fc693d55d65f: Download complete [2023-01-11T17:53:14.496Z] fc693d55d65f: Pull complete [2023-01-11T17:53:14.767Z] 7e9fc2657dce: Pull complete [2023-01-11T17:53:15.037Z] dda99020689f: Pull complete [2023-01-11T17:53:21.738Z] db1c61fa0a46: Pull complete [2023-01-11T17:53:24.354Z] 891c053d2c06: Pull complete [2023-01-11T17:53:24.354Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T17:53:24.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T17:53:24.354Z] ---> f96f9c87975a [2023-01-11T17:53:24.354Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:53:26.312Z] ---> Running in f9bac05c3fbe [2023-01-11T17:53:26.904Z] Removing intermediate container f9bac05c3fbe [2023-01-11T17:53:26.904Z] ---> b64c192f5ed0 [2023-01-11T17:53:26.904Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:53:26.904Z] ---> Running in 0f01f4cca986 [2023-01-11T17:53:27.181Z] Removing intermediate container 0f01f4cca986 [2023-01-11T17:53:27.181Z] ---> 1b13654a5b7c [2023-01-11T17:53:27.181Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T17:53:27.181Z] ---> Running in bdd4517a8628 [2023-01-11T17:53:28.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:53:28.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:53:30.299Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T17:53:30.299Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T17:53:30.299Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T17:53:30.299Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:53:30.299Z] OK: 228 MiB in 59 packages [2023-01-11T17:53:32.908Z] Removing intermediate container bdd4517a8628 [2023-01-11T17:53:32.908Z] ---> 9db5e31f1de8 [2023-01-11T17:53:32.908Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T17:53:32.908Z] ---> Running in 69493d4e0661 [2023-01-11T17:53:32.908Z] Removing intermediate container 69493d4e0661 [2023-01-11T17:53:32.908Z] ---> 0a9e3add5730 [2023-01-11T17:53:32.908Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T17:53:33.499Z] ---> 97c86c031d72 [2023-01-11T17:53:33.499Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:53:33.499Z] ---> Running in 15b18204ea95 [2023-01-11T17:54:29.979Z] Removing intermediate container 15b18204ea95 [2023-01-11T17:54:29.979Z] ---> cea452f63138 [2023-01-11T17:54:29.979Z] Step 9/10 : COPY . . [2023-01-11T17:54:30.576Z] ---> 1495a562ff88 [2023-01-11T17:54:30.576Z] Step 10/10 : RUN ${MAKE} [2023-01-11T17:54:30.862Z] ---> Running in 24f218def9d2 [2023-01-11T17:54:31.836Z] noop [2023-01-11T17:54:32.428Z] Removing intermediate container 24f218def9d2 [2023-01-11T17:54:32.428Z] ---> e8ef73f6fe10 [2023-01-11T17:54:32.428Z] Successfully built e8ef73f6fe10 [2023-01-11T17:54:32.700Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:54:33.060Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:54:33.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:54:33.293Z] prd-ubuntu20.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container [2023-01-11T17:54:33.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T17:54:34.715Z] $ docker top 602d87476838d9bc65947d5de87d36a5fe861e79e2f714a7a5c750eea1abbff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:54:35.640Z] + go version [2023-01-11T17:54:35.640Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T17:54:35.666Z] $ docker stop --time=1 602d87476838d9bc65947d5de87d36a5fe861e79e2f714a7a5c750eea1abbff4 [2023-01-11T17:54:37.373Z] $ docker rm -f --volumes 602d87476838d9bc65947d5de87d36a5fe861e79e2f714a7a5c750eea1abbff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:54:37.952Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:54:37.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:54:38.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container [2023-01-11T17:54:38.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T17:54:39.527Z] $ docker top 889766c3dc77c6fd67c3dc52346c2f944799d79ee025c9a931d206511607e140 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:54:40.383Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:54:41.048Z] + make test [2023-01-11T17:54:41.048Z] go test ./... -coverprofile=coverage.out [2023-01-11T17:54:42.998Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T17:56:19.757Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T17:56:19.757Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 47.7% of statements [2023-01-11T17:56:19.757Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T17:56:19.757Z] go vet ./... [2023-01-11T17:56:52.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:56:52.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:56:52.043Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:56:52.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:56:52.081Z] $ docker stop --time=1 889766c3dc77c6fd67c3dc52346c2f944799d79ee025c9a931d206511607e140 [2023-01-11T17:56:54.197Z] $ docker rm -f --volumes 889766c3dc77c6fd67c3dc52346c2f944799d79ee025c9a931d206511607e140 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:56:55.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:56:55.555Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T17:56:56.663Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:56:57.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:56:57.401Z] + ls -al . [2023-01-11T17:56:57.402Z] total 192 [2023-01-11T17:56:57.402Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 17:54 . [2023-01-11T17:56:57.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 .. [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 17:52 .dockerignore [2023-01-11T17:56:57.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:52 .git [2023-01-11T17:56:57.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 .github [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 17:52 .gitignore [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:52 .golangci.yml [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 17:52 Attribution.txt [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 17:52 CHANGELOG.md [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 17:52 Dockerfile [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:52 GOVERNANCE.md [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:52 Jenkinsfile [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:52 LICENSE [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 17:52 Makefile [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 17:52 OWNERS.md [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 17:52 README.md [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:49 VERSION [2023-01-11T17:56:57.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:52 bin [2023-01-11T17:56:57.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 cmd [2023-01-11T17:56:57.402Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 17:56 coverage.out [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 17:52 go.mod [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 17:52 go.sum [2023-01-11T17:56:57.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 internal [2023-01-11T17:56:57.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:52 simulator [2023-01-11T17:56:57.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 snap [2023-01-11T17:56:57.402Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:56:57.755Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8ba79e986c1f417b124bba82d3a1bb02831b1cb6 --label arch=arm64 --label version=0.0.0 . [2023-01-11T17:56:58.023Z] Sending build context to Docker daemon 3.347MB [2023-01-11T17:56:58.023Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:56:58.023Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T17:56:58.023Z] ---> e8ef73f6fe10 [2023-01-11T17:56:58.023Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:56:58.290Z] ---> Running in adf877682f89 [2023-01-11T17:56:58.557Z] Removing intermediate container adf877682f89 [2023-01-11T17:56:58.557Z] ---> 40c8bb6e3e66 [2023-01-11T17:56:58.557Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:56:58.828Z] ---> Running in 3719ea23ecb9 [2023-01-11T17:56:59.096Z] Removing intermediate container 3719ea23ecb9 [2023-01-11T17:56:59.096Z] ---> 9499beb6088e [2023-01-11T17:56:59.096Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T17:56:59.096Z] ---> Running in d697a4df6c8d [2023-01-11T17:57:00.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:57:00.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:57:02.220Z] OK: 228 MiB in 59 packages [2023-01-11T17:57:03.187Z] Removing intermediate container d697a4df6c8d [2023-01-11T17:57:03.187Z] ---> dda16b24bd96 [2023-01-11T17:57:03.187Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T17:57:03.187Z] ---> Running in 65e62572e68c [2023-01-11T17:57:03.774Z] Removing intermediate container 65e62572e68c [2023-01-11T17:57:03.774Z] ---> 534f17683404 [2023-01-11T17:57:03.774Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T17:57:04.361Z] ---> b0fb37366260 [2023-01-11T17:57:04.361Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:57:04.361Z] ---> Running in 6157bd7ae2ed [2023-01-11T17:57:06.965Z] Removing intermediate container 6157bd7ae2ed [2023-01-11T17:57:06.965Z] ---> 0084a110de12 [2023-01-11T17:57:06.965Z] Step 9/22 : COPY . . [2023-01-11T17:57:07.558Z] ---> 6bcd3881ccde [2023-01-11T17:57:07.558Z] Step 10/22 : RUN ${MAKE} [2023-01-11T17:57:07.826Z] ---> Running in 28e41bb5a94c [2023-01-11T17:57:08.789Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T17:59:30.762Z] Removing intermediate container 28e41bb5a94c [2023-01-11T17:59:30.762Z] ---> d3b177bb46f7 [2023-01-11T17:59:30.762Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T17:59:30.762Z] 3.14: Pulling from library/alpine [2023-01-11T17:59:30.762Z] 90cda3b7c325: Pulling fs layer [2023-01-11T17:59:30.762Z] 90cda3b7c325: Download complete [2023-01-11T17:59:30.762Z] 90cda3b7c325: Pull complete [2023-01-11T17:59:30.762Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T17:59:30.762Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T17:59:30.762Z] ---> 275902a1839d [2023-01-11T17:59:30.762Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T17:59:30.763Z] ---> Running in 243f79d09a9c [2023-01-11T17:59:30.763Z] Removing intermediate container 243f79d09a9c [2023-01-11T17:59:30.763Z] ---> 3da445b8801f [2023-01-11T17:59:30.763Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T17:59:30.763Z] ---> Running in edd0602c5acf [2023-01-11T17:59:31.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:59:31.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:59:32.588Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T17:59:32.588Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T17:59:32.857Z] OK: 6 MiB in 15 packages [2023-01-11T17:59:33.819Z] Removing intermediate container edd0602c5acf [2023-01-11T17:59:33.819Z] ---> abe79f73be47 [2023-01-11T17:59:33.819Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T17:59:35.270Z] ---> 842793b9322f [2023-01-11T17:59:35.270Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T17:59:35.537Z] ---> 244ab6102adb [2023-01-11T17:59:35.538Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T17:59:36.123Z] ---> c3d90928fbc7 [2023-01-11T17:59:36.123Z] Step 17/22 : EXPOSE 59901 [2023-01-11T17:59:36.123Z] ---> Running in 880634e3f567 [2023-01-11T17:59:36.391Z] Removing intermediate container 880634e3f567 [2023-01-11T17:59:36.391Z] ---> fac28c9ea0be [2023-01-11T17:59:36.391Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T17:59:36.391Z] ---> Running in ce8e4a864999 [2023-01-11T17:59:36.658Z] Removing intermediate container ce8e4a864999 [2023-01-11T17:59:36.658Z] ---> f272fcdb1505 [2023-01-11T17:59:36.658Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T17:59:36.930Z] ---> Running in 4aad203e47e9 [2023-01-11T17:59:37.197Z] Removing intermediate container 4aad203e47e9 [2023-01-11T17:59:37.197Z] ---> 8bfba8f574d6 [2023-01-11T17:59:37.197Z] Step 20/22 : LABEL arch=arm64 [2023-01-11T17:59:37.197Z] ---> Running in 32e9297dd020 [2023-01-11T17:59:37.466Z] Removing intermediate container 32e9297dd020 [2023-01-11T17:59:37.466Z] ---> f39be04e6508 [2023-01-11T17:59:37.466Z] Step 21/22 : LABEL git_sha=8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [2023-01-11T17:59:37.733Z] ---> Running in 619b29895a45 [2023-01-11T17:59:38.001Z] Removing intermediate container 619b29895a45 [2023-01-11T17:59:38.001Z] ---> 602703945b01 [2023-01-11T17:59:38.001Z] Step 22/22 : LABEL version=0.0.0 [2023-01-11T17:59:38.001Z] ---> Running in 1b78c4f3afe4 [2023-01-11T17:59:38.269Z] Removing intermediate container 1b78c4f3afe4 [2023-01-11T17:59:38.269Z] ---> f40cd24e825c [2023-01-11T17:59:38.269Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:59:38.269Z] Successfully built f40cd24e825c [2023-01-11T17:59:38.269Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:59:38.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:59:38.697Z] [2023-01-11T17:59:38.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:59:39.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:59:39.030Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T17:59:39.030Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T17:59:39.030Z] 04944245beec: Pulling fs layer [2023-01-11T17:59:39.030Z] 699f458cf7ca: Pulling fs layer [2023-01-11T17:59:39.030Z] 765212b225bb: Pulling fs layer [2023-01-11T17:59:39.030Z] f23df028b6ca: Pulling fs layer [2023-01-11T17:59:39.030Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T17:59:39.030Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T17:59:39.030Z] f23df028b6ca: Waiting [2023-01-11T17:59:39.030Z] d65c8cfc05b1: Waiting [2023-01-11T17:59:39.030Z] 2437ff75d9bd: Waiting [2023-01-11T17:59:39.030Z] 765212b225bb: Waiting [2023-01-11T17:59:39.298Z] 04944245beec: Verifying Checksum [2023-01-11T17:59:39.298Z] 04944245beec: Download complete [2023-01-11T17:59:39.298Z] 765212b225bb: Download complete [2023-01-11T17:59:39.298Z] f23df028b6ca: Verifying Checksum [2023-01-11T17:59:39.298Z] f23df028b6ca: Download complete [2023-01-11T17:59:39.566Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T17:59:39.566Z] d65c8cfc05b1: Download complete [2023-01-11T17:59:39.566Z] 699f458cf7ca: Verifying Checksum [2023-01-11T17:59:39.566Z] 699f458cf7ca: Download complete [2023-01-11T17:59:39.844Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T17:59:39.844Z] 8998bd30e6a1: Download complete [2023-01-11T17:59:42.430Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T17:59:42.430Z] 2437ff75d9bd: Download complete [2023-01-11T17:59:43.838Z] 8998bd30e6a1: Pull complete [2023-01-11T17:59:44.104Z] 04944245beec: Pull complete [2023-01-11T17:59:45.511Z] 699f458cf7ca: Pull complete [2023-01-11T17:59:45.511Z] 765212b225bb: Pull complete [2023-01-11T17:59:46.095Z] f23df028b6ca: Pull complete [2023-01-11T17:59:46.362Z] d65c8cfc05b1: Pull complete [2023-01-11T17:59:58.676Z] 2437ff75d9bd: Pull complete [2023-01-11T17:59:58.676Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T17:59:58.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:59:58.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:59:58.860Z] prd-ubuntu20.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container [2023-01-11T17:59:58.929Z] $ 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-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T18:00:01.734Z] $ docker top 2fcd8da15eff44be69f78b0420470dc0b757b839d65ad08204c4f06003477dc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:02.596Z] ---> job-cost.sh [2023-01-11T18:00:02.596Z] lf-activate-venv: SKIPPING [2023-01-11T18:00:02.596Z] INFO: No Stack... [2023-01-11T18:00:03.181Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T18:00:04.143Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:00:04.793Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2023-01-11T18:00:04.793Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T18:00:04.868Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [2023-01-11T18:00:04.875Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] did not exist. Created. [2023-01-11T18:00:04.875Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:00:05.536Z] /w/workspace/device-modbus-go/2@tmp/durable-e1beff16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T18:00:06.196Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T18:00:06.219Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T18:00:06.273Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:00:06.281Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:00:06.307Z] $ docker stop --time=1 2fcd8da15eff44be69f78b0420470dc0b757b839d65ad08204c4f06003477dc2 [2023-01-11T18:00:07.845Z] $ docker rm -f --volumes 2fcd8da15eff44be69f78b0420470dc0b757b839d65ad08204c4f06003477dc2 [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-01-11T18:00:08.173Z] provisioning config files... [2023-01-11T18:00:08.180Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/config9426940920257137089tmp [Pipeline] { [Pipeline] sh [2023-01-11T18:00:08.474Z] + set +x [2023-01-11T18:00:08.474Z] + bash -s -- [2023-01-11T18:00:08.474Z] + curl -s https://codecov.io/bash [2023-01-11T18:00:08.474Z] [2023-01-11T18:00:08.474Z] _____ _ [2023-01-11T18:00:08.474Z] / ____| | | [2023-01-11T18:00:08.474Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T18:00:08.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T18:00:08.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T18:00:08.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T18:00:08.474Z] Bash-1.0.6 [2023-01-11T18:00:08.474Z] [2023-01-11T18:00:08.474Z] [2023-01-11T18:00:08.474Z] ==> git version 2.25.1 found [2023-01-11T18:00:08.474Z] ==> 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-01-11T18:00:08.474Z] Release-Date: 2020-01-08 [2023-01-11T18:00:08.474Z] 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-01-11T18:00:08.474Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T18:00:08.474Z] ==> Jenkins CI detected. [2023-01-11T18:00:08.474Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-399 [2023-01-11T18:00:08.474Z] project root: . [2023-01-11T18:00:08.474Z] --> token set from env [2023-01-11T18:00:08.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T18:00:08.474Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T18:00:08.474Z] ==> Python coveragepy not found [2023-01-11T18:00:08.474Z] ==> Searching for coverage reports in: [2023-01-11T18:00:08.474Z] + . [2023-01-11T18:00:08.474Z] -> Found 1 reports [2023-01-11T18:00:08.474Z] ==> Detecting git/mercurial file structure [2023-01-11T18:00:08.474Z] ==> Reading reports [2023-01-11T18:00:08.474Z] + ./coverage.out bytes=23241 [2023-01-11T18:00:08.474Z] ==> Appending adjustments [2023-01-11T18:00:08.474Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T18:00:08.733Z] + Found adjustments [2023-01-11T18:00:08.733Z] ==> Gzipping contents [2023-01-11T18:00:08.733Z] 4.0K /tmp/codecov.hk7H2u.gz [2023-01-11T18:00:08.733Z] ==> Uploading reports [2023-01-11T18:00:08.733Z] url: https://codecov.io [2023-01-11T18:00:08.733Z] query: branch=PR-399&commit=8ba79e986c1f417b124bba82d3a1bb02831b1cb6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2023-01-11T18:00:08.733Z] -> Pinging Codecov [2023-01-11T18:00:08.733Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-399&commit=8ba79e986c1f417b124bba82d3a1bb02831b1cb6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2023-01-11T18:00:08.993Z] -> Uploading to [2023-01-11T18:00:08.993Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/55DBCA73C666E3227836607328DD7E49/8ba79e986c1f417b124bba82d3a1bb02831b1cb6/1f833f15-2f50-4e3b-b0d5-e64b585bf9c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T180008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0cbd41e175acf4cb3b416003a1f30af18a9a5e8d4e66bec7cb761b55a3b964d [2023-01-11T18:00:08.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:00:08.993Z] Dload Upload Total Spent Left Speed [2023-01-11T18:00:09.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3906 0 0 100 3906 0 18252 --:--:-- --:--:-- --:--:-- 18252 [2023-01-11T18:00:09.253Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8ba79e986c1f417b124bba82d3a1bb02831b1cb6 [Pipeline] } [2023-01-11T18:00:09.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-01-11T18:00:09.885Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-399/archives ] [2023-01-11T18:00:09.885Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-399/archives [2023-01-11T18:00:09.885Z] total 16 [2023-01-11T18:00:09.885Z] drwxr-xr-x 3 root root 4096 Jan 11 17:50 . [2023-01-11T18:00:09.885Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:50 .. [2023-01-11T18:00:09.885Z] drwxr-xr-x 2 root root 4096 Jan 11 17:50 cost [2023-01-11T18:00:09.885Z] -rw-r--r-- 1 root root 88 Jan 11 17:50 cost.csv [2023-01-11T18:00:09.885Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-399/archives [2023-01-11T18:00:09.885Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-399/archives [2023-01-11T18:00:09.885Z] total 16 [2023-01-11T18:00:09.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:50 . [2023-01-11T18:00:09.885Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:50 .. [2023-01-11T18:00:09.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:50 cost [2023-01-11T18:00:09.885Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 11 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:10.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:11.040Z] ---> package-listing.sh [2023-01-11T18:00:11.040Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T18:00:11.040Z] ++ facter osfamily [2023-01-11T18:00:11.300Z] + OS_FAMILY=debian [2023-01-11T18:00:11.300Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-399 [2023-01-11T18:00:11.300Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T18:00:11.300Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T18:00:11.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T18:00:11.300Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T18:00:11.300Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-399 ']' [2023-01-11T18:00:11.300Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T18:00:11.300Z] + case "${OS_FAMILY}" in [2023-01-11T18:00:11.300Z] + dpkg -l [2023-01-11T18:00:11.300Z] + grep '^ii' [2023-01-11T18:00:11.300Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T18:00:11.300Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T18:00:11.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T18:00:11.300Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-399 ']' [2023-01-11T18:00:11.300Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-399/archives/ [2023-01-11T18:00:11.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-399/archives/ [Pipeline] echo [2023-01-11T18:00:11.312Z] 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/xfoundry_device-modbus-go_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T18:00:11.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:00:12.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:00:12.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:00:12.218Z] prd-ubuntu20.04-docker-8c-8g-1893 does not seem to be running inside a container [2023-01-11T18:00:12.245Z] $ 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/xfoundry_device-modbus-go_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-399 -v /w/workspace/xfoundry_device-modbus-go_PR-399:/w/workspace/xfoundry_device-modbus-go_PR-399:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-399@tmp:/w/workspace/xfoundry_device-modbus-go_PR-399@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T18:00:12.455Z] $ docker top 6009f393ba5adc6eff61e77547d435f51a41fdb3c33d490b295afd8fb15b987c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:00:12.793Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T18:00:13.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T18:00:13.364Z] + ls /var/log/sa-host [2023-01-11T18:00:13.364Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:00:13.426Z] provisioning config files... [2023-01-11T18:00:13.435Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-399@tmp/config9832643755528229527tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:00:13.450Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:13.733Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T18:00:13.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:14.066Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T18:00:14.076Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:14.358Z] ---> sudo-logs.sh [2023-01-11T18:00:14.358Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T18:00:14.389Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:14.671Z] ---> job-cost.sh [2023-01-11T18:00:14.671Z] lf-activate-venv: SKIPPING [2023-01-11T18:00:14.671Z] DEBUG: total: 0.2199999988079071 [2023-01-11T18:00:14.671Z] INFO: Retrieving Stack Cost... [2023-01-11T18:00:14.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:00:15.497Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T18:00:15.511Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:15.794Z] ---> logs-deploy.sh [2023-01-11T18:00:15.794Z] lf-activate-venv: SKIPPING [2023-01-11T18:00:15.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-399/2 [2023-01-11T18:00:15.794Z] INFO: archiving workspace using pattern(s): [2023-01-11T18:00:16.731Z] Archives upload complete. [2023-01-11T18:00:16.732Z] INFO: archiving logs to Nexus