Pull request #419 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77210627d1b74a3d5b59b3a5a2d9479510698a1f+96c9b25060a854e15776706019f04b40fe16d5e0 (63978d3338f8382cd05e8eb749290d91479c781b) 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-ssh7600058161465089093.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-ssh14606296801238142916.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-419/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-419/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16224794658134280517.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-ssh6339749800227486247.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-419/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-419/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9115400227916058080.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7590 in /w/workspace/xfoundry_device-modbus-go_PR-419 [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-419 # 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/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 77210627d1b74a3d5b59b3a5a2d9479510698a1f Merge succeeded, producing e79e8edbbbda87ce70d68e80a7af49f46533eea2 Checking out Revision e79e8edbbbda87ce70d68e80a7af49f46533eea2 (PR-419) > git config core.sparsecheckout # timeout=10 > git checkout -f 77210627d1b74a3d5b59b3a5a2d9479510698a1f # 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 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e79e8edbbbda87ce70d68e80a7af49f46533eea2 # timeout=10 Commit message: "Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD" > git rev-list --no-walk 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T15:16:38.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T15:16:38.531Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T15:16:38.546Z] ========================================================= [2023-02-27T15:16:38.546Z] EdgeX Global Pipelines Version Info [2023-02-27T15:16:38.546Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:16:39.276Z] ------------------- [2023-02-27T15:16:39.276Z] stable info: [2023-02-27T15:16:39.276Z] ------------------- [2023-02-27T15:16:39.276Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T15:16:39.276Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T15:16:39.276Z] Message: update stable to v1.0.244 [2023-02-27T15:16:39.845Z] ------------------- [2023-02-27T15:16:39.845Z] experimental info: [2023-02-27T15:16:39.845Z] ------------------- [2023-02-27T15:16:39.845Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T15:16:39.845Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T15:16:39.846Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T15:16:40.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-27T15:16:40.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-27T15:16:40.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T15:16:40.046Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T15:16:40.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T15:16:40.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T15:16:40.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T15:16:40.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T15:16:40.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T15:16:40.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T15:16:40.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T15:16:40.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-27T15:16:40.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T15:16:40.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T15:16:40.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T15:16:40.194Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T15:16:40.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T15:16:40.222Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T15:16:40.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T15:16:40.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T15:16:40.258Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-27T15:16:40.272Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-27T15:16:40.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T15:16:40.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T15:16:40.315Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T15:16:40.327Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T15:16:40.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T15:16:40.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo [2023-02-27T15:16:40.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo [2023-02-27T15:16:40.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo [2023-02-27T15:16:40.387Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo [2023-02-27T15:16:40.398Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e79e8ed [Pipeline] echo [2023-02-27T15:16:40.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:16:40.454Z] provisioning config files... [2023-02-27T15:16:40.468Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config5536566415597173868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:16:40.768Z] ---> docker-login.sh [2023-02-27T15:16:40.768Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:16:41.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:41.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:41.028Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:41.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:41.028Z] [2023-02-27T15:16:41.028Z] Login Succeeded [2023-02-27T15:16:41.028Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:16:41.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:41.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:41.028Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:41.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:41.028Z] [2023-02-27T15:16:41.028Z] Login Succeeded [2023-02-27T15:16:41.028Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:16:41.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:41.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:41.308Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:41.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:41.308Z] [2023-02-27T15:16:41.308Z] Login Succeeded [2023-02-27T15:16:41.308Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:16:41.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:41.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:41.308Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:41.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:41.308Z] [2023-02-27T15:16:41.308Z] Login Succeeded [2023-02-27T15:16:41.308Z] docker.io [2023-02-27T15:16:41.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:41.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:41.569Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:41.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:41.569Z] [2023-02-27T15:16:41.569Z] Login Succeeded [2023-02-27T15:16:41.569Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:16:41.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T15:16:41.920Z] + git rev-list -1 --merges e79e8edbbbda87ce70d68e80a7af49f46533eea2~1..e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo [2023-02-27T15:16:41.962Z] -----------> git rev-list -1 --merges e79e8edbbbda87ce70d68e80a7af49f46533eea2~1..e79e8edbbbda87ce70d68e80a7af49f46533eea2 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [2023-02-27T15:16:41.962Z] e79e8edbbbda87ce70d68e80a7af49f46533eea2 [false] [Pipeline] sh [2023-02-27T15:16:42.245Z] + git log --format=format:%s -1 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo [2023-02-27T15:16:42.259Z] ========================================================= [2023-02-27T15:16:42.259Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T15:16:42.259Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:16:42.572Z] + git log --format=format:%s -1 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo [2023-02-27T15:16:42.583Z] [semverPrep] GIT_COMMIT: e79e8edbbbda87ce70d68e80a7af49f46533eea2, Commit Message: Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD [Pipeline] echo [2023-02-27T15:16:42.594Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T15:16:42.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T15:16:42.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T15:16:42.935Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T15:16:42.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T15:16:42.935Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T15:16:42.935Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T15:16:42.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:16:43.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:16:43.275Z] [2023-02-27T15:16:43.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:16:43.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:16:43.574Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T15:16:43.574Z] b85a868b505f: Pulling fs layer [2023-02-27T15:16:43.574Z] e2be974225ed: Pulling fs layer [2023-02-27T15:16:43.574Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T15:16:43.574Z] 988bab9f4d93: Pulling fs layer [2023-02-27T15:16:43.574Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T15:16:43.574Z] eaf3925da568: Pulling fs layer [2023-02-27T15:16:43.574Z] bab4dde63d76: Pulling fs layer [2023-02-27T15:16:43.574Z] bde34c3a00c8: Pulling fs layer [2023-02-27T15:16:43.574Z] b352a97aabf1: Pulling fs layer [2023-02-27T15:16:43.574Z] 4872d77fe225: Pulling fs layer [2023-02-27T15:16:43.574Z] 5851b861e8e6: Pulling fs layer [2023-02-27T15:16:43.574Z] bab4dde63d76: Waiting [2023-02-27T15:16:43.574Z] bde34c3a00c8: Waiting [2023-02-27T15:16:43.574Z] b352a97aabf1: Waiting [2023-02-27T15:16:43.574Z] 4872d77fe225: Waiting [2023-02-27T15:16:43.574Z] 5851b861e8e6: Waiting [2023-02-27T15:16:43.574Z] 988bab9f4d93: Waiting [2023-02-27T15:16:43.574Z] 1469e6f7b9e6: Waiting [2023-02-27T15:16:43.574Z] eaf3925da568: Waiting [2023-02-27T15:16:43.574Z] e2be974225ed: Download complete [2023-02-27T15:16:43.574Z] 988bab9f4d93: Verifying Checksum [2023-02-27T15:16:43.574Z] 988bab9f4d93: Download complete [2023-02-27T15:16:43.834Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T15:16:43.834Z] 339a4e72a1f5: Download complete [2023-02-27T15:16:43.834Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T15:16:43.834Z] 1469e6f7b9e6: Download complete [2023-02-27T15:16:43.834Z] eaf3925da568: Download complete [2023-02-27T15:16:43.834Z] bde34c3a00c8: Download complete [2023-02-27T15:16:43.834Z] b352a97aabf1: Download complete [2023-02-27T15:16:43.834Z] 4872d77fe225: Verifying Checksum [2023-02-27T15:16:43.834Z] 4872d77fe225: Download complete [2023-02-27T15:16:43.834Z] 5851b861e8e6: Verifying Checksum [2023-02-27T15:16:43.834Z] 5851b861e8e6: Download complete [2023-02-27T15:16:43.834Z] b85a868b505f: Verifying Checksum [2023-02-27T15:16:43.834Z] b85a868b505f: Download complete [2023-02-27T15:16:44.403Z] bab4dde63d76: Verifying Checksum [2023-02-27T15:16:44.404Z] bab4dde63d76: Download complete [2023-02-27T15:16:45.344Z] b85a868b505f: Pull complete [2023-02-27T15:16:45.344Z] e2be974225ed: Pull complete [2023-02-27T15:16:45.911Z] 339a4e72a1f5: Pull complete [2023-02-27T15:16:45.911Z] 988bab9f4d93: Pull complete [2023-02-27T15:16:46.171Z] 1469e6f7b9e6: Pull complete [2023-02-27T15:16:46.171Z] eaf3925da568: Pull complete [2023-02-27T15:16:48.072Z] bab4dde63d76: Pull complete [2023-02-27T15:16:48.072Z] bde34c3a00c8: Pull complete [2023-02-27T15:16:48.332Z] b352a97aabf1: Pull complete [2023-02-27T15:16:48.332Z] 4872d77fe225: Pull complete [2023-02-27T15:16:48.332Z] 5851b861e8e6: Pull complete [2023-02-27T15:16:48.332Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T15:16:48.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:16:48.332Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:16:48.421Z] prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container [2023-02-27T15:16:48.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-27T15:16:50.479Z] $ docker top 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 -eo pid,comm [2023-02-27T15:16:50.531Z] 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-02-27T15:16:50.531Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T15:16:50.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T15:16:50.566Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T15:16:50.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T15:16:50.697Z] $ docker exec 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent [2023-02-27T15:16:50.797Z] SSH_AUTH_SOCK=/tmp/ssh-jCYY2llckANE/agent.33 [2023-02-27T15:16:50.797Z] SSH_AGENT_PID=39 [2023-02-27T15:16:50.803Z] Running ssh-add (command line suppressed) [2023-02-27T15:16:50.929Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_10551940151531262790.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_10551940151531262790.key) [2023-02-27T15:16:50.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T15:16:51.233Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T15:16:51.255Z] $ docker exec --env ******** --env ******** 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent -k [2023-02-27T15:16:51.372Z] unset SSH_AUTH_SOCK; [2023-02-27T15:16:51.373Z] unset SSH_AGENT_PID; [2023-02-27T15:16:51.373Z] echo Agent pid 39 killed; [2023-02-27T15:16:51.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T15:16:51.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T15:16:51.405Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T15:16:51.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T15:16:51.518Z] $ docker exec 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent [2023-02-27T15:16:51.622Z] SSH_AUTH_SOCK=/tmp/ssh-jFZA84RMdQTy/agent.71 [2023-02-27T15:16:51.622Z] SSH_AGENT_PID=77 [2023-02-27T15:16:51.627Z] Running ssh-add (command line suppressed) [2023-02-27T15:16:51.737Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9488796656880921644.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9488796656880921644.key) [2023-02-27T15:16:51.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T15:16:52.034Z] + git semver init [2023-02-27T15:16:52.295Z] 2023-02-27 15:16:52,232 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T15:16:52.295Z] 2023-02-27 15:16:52,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver [2023-02-27T15:16:52.295Z] 2023-02-27 15:16:52,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-419/.semver [2023-02-27T15:16:52.295Z] 2023-02-27 15:16:52,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-419/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419, universal_newlines=False, shell=None, istream=None) [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,210 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.git/info/exclude [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 with force:False [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,210 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,214 [execute] INFO git cat-file --batch-check [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,222 [execute] INFO git cat-file --batch [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T15:16:53.234Z] 2023-02-27 15:16:53,228 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 [2023-02-27T15:16:53.234Z] 0.0.0 [Pipeline] } [2023-02-27T15:16:53.508Z] $ docker exec --env ******** --env ******** 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent -k [2023-02-27T15:16:53.605Z] unset SSH_AUTH_SOCK; [2023-02-27T15:16:53.605Z] unset SSH_AGENT_PID; [2023-02-27T15:16:53.605Z] echo Agent pid 77 killed; [2023-02-27T15:16:53.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T15:16:53.918Z] + git semver [Pipeline] } [2023-02-27T15:16:54.196Z] $ docker stop --time=1 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 [2023-02-27T15:16:55.481Z] $ docker rm -f --volumes 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:16:55.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T15:16:56.014Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T15:16:56.017Z] [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-02-27T15:16:56.128Z] provisioning config files... [2023-02-27T15:16:56.136Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config5108909920423155375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:16:56.434Z] ---> docker-login.sh [2023-02-27T15:16:56.434Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:16:56.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:56.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:56.434Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:56.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:56.434Z] [2023-02-27T15:16:56.434Z] Login Succeeded [2023-02-27T15:16:56.434Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:16:56.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:56.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:56.434Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:56.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:56.434Z] [2023-02-27T15:16:56.434Z] Login Succeeded [2023-02-27T15:16:56.434Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:16:56.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:56.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:56.693Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:56.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:56.693Z] [2023-02-27T15:16:56.693Z] Login Succeeded [2023-02-27T15:16:56.693Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:16:56.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:56.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:56.693Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:56.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:56.693Z] [2023-02-27T15:16:56.693Z] Login Succeeded [2023-02-27T15:16:56.693Z] docker.io [2023-02-27T15:16:56.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:16:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:16:56.952Z] Configure a credential helper to remove this warning. See [2023-02-27T15:16:56.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:16:56.952Z] [2023-02-27T15:16:56.952Z] Login Succeeded [2023-02-27T15:16:56.952Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:16:56.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T15:16:57.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:16:57.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:16:57.029Z] ========================================================= [2023-02-27T15:16:57.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T15:16:57.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:16:57.333Z] + 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-02-27T15:16:57.333Z] Sending build context to Docker daemon 6.433MB [2023-02-27T15:16:57.333Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:16:57.333Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-27T15:16:57.333Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T15:16:57.333Z] 213ec9aee27d: Pulling fs layer [2023-02-27T15:16:57.333Z] 4583459ba037: Pulling fs layer [2023-02-27T15:16:57.333Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T15:16:57.333Z] 53926ce57604: Pulling fs layer [2023-02-27T15:16:57.333Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T15:16:57.333Z] 22ff95d597cd: Pulling fs layer [2023-02-27T15:16:57.333Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T15:16:57.333Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T15:16:57.333Z] a7acece74701: Pulling fs layer [2023-02-27T15:16:57.333Z] 96b7cbca73a9: Waiting [2023-02-27T15:16:57.333Z] 21b2b0c7a3f4: Waiting [2023-02-27T15:16:57.333Z] a7acece74701: Waiting [2023-02-27T15:16:57.333Z] 22ff95d597cd: Waiting [2023-02-27T15:16:57.333Z] 12d6caf4c0d1: Waiting [2023-02-27T15:16:57.333Z] 53926ce57604: Waiting [2023-02-27T15:16:57.333Z] 93c1e223e6f2: Verifying Checksum [2023-02-27T15:16:57.333Z] 93c1e223e6f2: Download complete [2023-02-27T15:16:57.333Z] 4583459ba037: Download complete [2023-02-27T15:16:57.595Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T15:16:57.595Z] 21b2b0c7a3f4: Download complete [2023-02-27T15:16:57.595Z] 22ff95d597cd: Verifying Checksum [2023-02-27T15:16:57.595Z] 22ff95d597cd: Download complete [2023-02-27T15:16:57.595Z] 213ec9aee27d: Verifying Checksum [2023-02-27T15:16:57.595Z] 213ec9aee27d: Download complete [2023-02-27T15:16:57.595Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T15:16:57.595Z] 12d6caf4c0d1: Download complete [2023-02-27T15:16:57.595Z] 213ec9aee27d: Pull complete [2023-02-27T15:16:57.866Z] 4583459ba037: Pull complete [2023-02-27T15:16:57.866Z] 93c1e223e6f2: Pull complete [2023-02-27T15:16:58.129Z] a7acece74701: Verifying Checksum [2023-02-27T15:16:58.129Z] a7acece74701: Download complete [2023-02-27T15:16:58.387Z] 53926ce57604: Verifying Checksum [2023-02-27T15:16:58.387Z] 53926ce57604: Download complete [2023-02-27T15:16:58.387Z] 96b7cbca73a9: Verifying Checksum [2023-02-27T15:16:58.387Z] 96b7cbca73a9: Download complete [2023-02-27T15:17:02.576Z] 53926ce57604: Pull complete [2023-02-27T15:17:02.576Z] 21b2b0c7a3f4: Pull complete [2023-02-27T15:17:02.576Z] 22ff95d597cd: Pull complete [2023-02-27T15:17:02.576Z] 12d6caf4c0d1: Pull complete [2023-02-27T15:17:04.477Z] 96b7cbca73a9: Pull complete [2023-02-27T15:17:05.047Z] a7acece74701: Pull complete [2023-02-27T15:17:05.047Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T15:17:05.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T15:17:05.047Z] ---> db6d94c90886 [2023-02-27T15:17:05.047Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:17:08.335Z] ---> Running in 8f4e8a18c1c2 [2023-02-27T15:17:08.335Z] Removing intermediate container 8f4e8a18c1c2 [2023-02-27T15:17:08.335Z] ---> ba5264f41ead [2023-02-27T15:17:08.335Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:17:08.335Z] ---> Running in 755e3ed3ac19 [2023-02-27T15:17:08.335Z] Removing intermediate container 755e3ed3ac19 [2023-02-27T15:17:08.335Z] ---> ae6759b5c176 [2023-02-27T15:17:08.335Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-27T15:17:08.335Z] ---> Running in 08ebec8dc350 [2023-02-27T15:17:08.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:17:08.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:17:08.854Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T15:17:08.854Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-27T15:17:08.854Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T15:17:09.111Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T15:17:09.111Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-27T15:17:09.111Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-27T15:17:09.111Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-27T15:17:09.111Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-27T15:17:09.111Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:17:09.111Z] OK: 217 MiB in 59 packages [2023-02-27T15:17:09.680Z] Removing intermediate container 08ebec8dc350 [2023-02-27T15:17:09.680Z] ---> a06c1e3f4a87 [2023-02-27T15:17:09.680Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-27T15:17:09.680Z] ---> Running in 5cebd91bfde0 [2023-02-27T15:17:09.680Z] Removing intermediate container 5cebd91bfde0 [2023-02-27T15:17:09.680Z] ---> abb353614a84 [2023-02-27T15:17:09.680Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-27T15:17:09.680Z] ---> d76a454c0265 [2023-02-27T15:17:09.680Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:17:09.680Z] ---> Running in 6e11f89a4477 [2023-02-27T15:17:11.097Z] Still waiting to schedule task [2023-02-27T15:17:11.097Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7591’ is offline [2023-02-27T15:17:36.224Z] Removing intermediate container 6e11f89a4477 [2023-02-27T15:17:36.224Z] ---> 6918d7f5b176 [2023-02-27T15:17:36.224Z] Step 9/10 : COPY . . [2023-02-27T15:17:36.224Z] ---> 066673db113d [2023-02-27T15:17:36.224Z] Step 10/10 : RUN ${MAKE} [2023-02-27T15:17:36.224Z] ---> Running in 2f9f52ead1fd [2023-02-27T15:17:36.224Z] noop [2023-02-27T15:17:36.224Z] Removing intermediate container 2f9f52ead1fd [2023-02-27T15:17:36.224Z] ---> aac0d5be23da [2023-02-27T15:17:36.224Z] Successfully built aac0d5be23da [2023-02-27T15:17:36.224Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:17:36.531Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T15:17:36.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:17:36.602Z] prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container [2023-02-27T15:17:36.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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 ******** ci-base-image-x86_64 cat [2023-02-27T15:17:36.935Z] $ docker top 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:17:37.264Z] + go version [2023-02-27T15:17:37.264Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T15:17:37.276Z] $ docker stop --time=1 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 [2023-02-27T15:17:38.570Z] $ docker rm -f --volumes 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:17:38.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T15:17:38.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:17:39.052Z] prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container [2023-02-27T15:17:39.081Z] $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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 ******** ci-base-image-x86_64 cat [2023-02-27T15:17:39.397Z] $ docker top 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:17:39.743Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] fileExists [Pipeline] sh [2023-02-27T15:17:40.039Z] + make test [2023-02-27T15:17:40.039Z] go test ./... -coverprofile=coverage.out [2023-02-27T15:17:40.298Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-27T15:17:50.258Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-27T15:17:50.258Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.047s coverage: 47.7% of statements [2023-02-27T15:17:56.835Z] 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-02-27T15:17:56.835Z] go vet ./... [2023-02-27T15:18:00.114Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T15:18:00.114Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T15:18:00.114Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T15:18:00.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T15:18:00.137Z] $ docker stop --time=1 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 [2023-02-27T15:18:02.297Z] $ docker rm -f --volumes 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:18:02.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T15:18:02.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T15:18:03.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T15:18:03.493Z] + ls -al . [2023-02-27T15:18:03.493Z] total 184 [2023-02-27T15:18:03.493Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:17 . [2023-02-27T15:18:03.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:16 .. [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:16 .dockerignore [2023-02-27T15:18:03.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:17 .git [2023-02-27T15:18:03.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 .github [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:16 .gitignore [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:16 .golangci.yml [2023-02-27T15:18:03.493Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:16 .semver [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:16 Attribution.txt [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:16 CHANGELOG.md [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:16 Dockerfile [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:16 GOVERNANCE.md [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:16 Jenkinsfile [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:16 LICENSE [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:16 Makefile [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:16 OWNERS.md [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:16 README.md [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:16 VERSION [2023-02-27T15:18:03.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:16 bin [2023-02-27T15:18:03.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 cmd [2023-02-27T15:18:03.493Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:17 coverage.out [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:16 go.mod [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:16 go.sum [2023-02-27T15:18:03.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 internal [2023-02-27T15:18:03.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:16 simulator [2023-02-27T15:18:03.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:16 snap [2023-02-27T15:18:03.493Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:18:03.802Z] + 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=e79e8edbbbda87ce70d68e80a7af49f46533eea2 --label arch=amd64 --label version=0.0.0 . [2023-02-27T15:18:03.802Z] Sending build context to Docker daemon 6.457MB [2023-02-27T15:18:03.802Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:18:03.802Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-27T15:18:03.802Z] ---> aac0d5be23da [2023-02-27T15:18:03.802Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:18:03.802Z] ---> Running in a35ef8be5ed8 [2023-02-27T15:18:04.062Z] Removing intermediate container a35ef8be5ed8 [2023-02-27T15:18:04.062Z] ---> b1c1f436c1fe [2023-02-27T15:18:04.062Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:18:04.062Z] ---> Running in 0e80c6e819fb [2023-02-27T15:18:04.062Z] Removing intermediate container 0e80c6e819fb [2023-02-27T15:18:04.062Z] ---> d61f9cf31095 [2023-02-27T15:18:04.062Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-27T15:18:04.062Z] ---> Running in 0a59c9463893 [2023-02-27T15:18:04.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:18:04.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:18:04.580Z] OK: 217 MiB in 59 packages [2023-02-27T15:18:04.839Z] Removing intermediate container 0a59c9463893 [2023-02-27T15:18:04.839Z] ---> f79091b540f3 [2023-02-27T15:18:04.839Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-27T15:18:04.839Z] ---> Running in 89bd8965470f [2023-02-27T15:18:05.098Z] Removing intermediate container 89bd8965470f [2023-02-27T15:18:05.098Z] ---> 72711bf5a803 [2023-02-27T15:18:05.098Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-27T15:18:05.098Z] ---> 31faf1ffd8dc [2023-02-27T15:18:05.098Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:18:05.098Z] ---> Running in 47b1f0bf3ad6 [2023-02-27T15:18:06.044Z] Removing intermediate container 47b1f0bf3ad6 [2023-02-27T15:18:06.044Z] ---> e90ccfdc3571 [2023-02-27T15:18:06.044Z] Step 9/22 : COPY . . [2023-02-27T15:18:06.304Z] ---> 132261289178 [2023-02-27T15:18:06.304Z] Step 10/22 : RUN ${MAKE} [2023-02-27T15:18:06.304Z] ---> Running in 18899f5fe96e [2023-02-27T15:18:06.561Z] 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-02-27T15:18:28.486Z] Removing intermediate container 18899f5fe96e [2023-02-27T15:18:28.486Z] ---> 23da92e7c8fc [2023-02-27T15:18:28.486Z] Step 11/22 : FROM alpine:3.14 [2023-02-27T15:18:28.486Z] 3.14: Pulling from library/alpine [2023-02-27T15:18:28.486Z] d261077062b2: Pulling fs layer [2023-02-27T15:18:28.486Z] d261077062b2: Verifying Checksum [2023-02-27T15:18:28.486Z] d261077062b2: Download complete [2023-02-27T15:18:28.486Z] d261077062b2: Pull complete [2023-02-27T15:18:28.486Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-27T15:18:28.486Z] Status: Downloaded newer image for alpine:3.14 [2023-02-27T15:18:28.486Z] ---> 6dff1269bc79 [2023-02-27T15:18:28.486Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-27T15:18:28.486Z] ---> Running in a0891d1fb48c [2023-02-27T15:18:28.486Z] Removing intermediate container a0891d1fb48c [2023-02-27T15:18:28.486Z] ---> f2c27d027891 [2023-02-27T15:18:28.486Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-27T15:18:28.486Z] ---> Running in 08c2c99e525e [2023-02-27T15:18:28.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:18:28.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:18:28.486Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T15:18:28.486Z] Executing busybox-1.33.1-r8.trigger [2023-02-27T15:18:28.486Z] OK: 6 MiB in 15 packages [2023-02-27T15:18:28.486Z] Removing intermediate container 08c2c99e525e [2023-02-27T15:18:28.486Z] ---> 262bab73f1a2 [2023-02-27T15:18:28.486Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-27T15:18:28.744Z] ---> 7f59652a8eb6 [2023-02-27T15:18:28.744Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-27T15:18:28.744Z] ---> 274312ec4eb6 [2023-02-27T15:18:28.744Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-27T15:18:28.744Z] ---> 29ce0adcd498 [2023-02-27T15:18:28.744Z] Step 17/22 : EXPOSE 59901 [2023-02-27T15:18:29.004Z] ---> Running in 4277db2e0732 [2023-02-27T15:18:29.004Z] Removing intermediate container 4277db2e0732 [2023-02-27T15:18:29.004Z] ---> 472f93778869 [2023-02-27T15:18:29.004Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-27T15:18:29.004Z] ---> Running in 8de1964eaf11 [2023-02-27T15:18:29.004Z] Removing intermediate container 8de1964eaf11 [2023-02-27T15:18:29.004Z] ---> 4de6e2907973 [2023-02-27T15:18:29.004Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T15:18:29.004Z] ---> Running in e1fed8b1e0d8 [2023-02-27T15:18:29.004Z] Removing intermediate container e1fed8b1e0d8 [2023-02-27T15:18:29.004Z] ---> 63c82087f4c9 [2023-02-27T15:18:29.004Z] Step 20/22 : LABEL arch=amd64 [2023-02-27T15:18:29.263Z] ---> Running in 264e2ab7200c [2023-02-27T15:18:29.264Z] Removing intermediate container 264e2ab7200c [2023-02-27T15:18:29.264Z] ---> 39f494cc6b87 [2023-02-27T15:18:29.264Z] Step 21/22 : LABEL git_sha=e79e8edbbbda87ce70d68e80a7af49f46533eea2 [2023-02-27T15:18:29.264Z] ---> Running in f10c7aff0b0b [2023-02-27T15:18:29.264Z] Removing intermediate container f10c7aff0b0b [2023-02-27T15:18:29.264Z] ---> 1c3957f89620 [2023-02-27T15:18:29.264Z] Step 22/22 : LABEL version=0.0.0 [2023-02-27T15:18:29.264Z] ---> Running in 2aba234d5052 [2023-02-27T15:18:29.264Z] Removing intermediate container 2aba234d5052 [2023-02-27T15:18:29.264Z] ---> 839ba1bdfb29 [2023-02-27T15:18:29.264Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T15:18:29.522Z] Successfully built 839ba1bdfb29 [2023-02-27T15:18:29.522Z] 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-02-27T15:18:29.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:18:29.927Z] [2023-02-27T15:18:29.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:18:30.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:18:30.230Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T15:18:30.230Z] 5eb5b503b376: Pulling fs layer [2023-02-27T15:18:30.230Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T15:18:30.230Z] ec43610c2a17: Pulling fs layer [2023-02-27T15:18:30.230Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T15:18:30.230Z] 33b1e0a273af: Pulling fs layer [2023-02-27T15:18:30.230Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T15:18:30.230Z] 2f39f015ded8: Pulling fs layer [2023-02-27T15:18:30.230Z] 2f39f015ded8: Waiting [2023-02-27T15:18:30.230Z] 33b1e0a273af: Waiting [2023-02-27T15:18:30.230Z] 3a2ae6a8a46f: Waiting [2023-02-27T15:18:30.230Z] 5d3b04190fa2: Waiting [2023-02-27T15:18:30.230Z] 5c69ac0246d0: Verifying Checksum [2023-02-27T15:18:30.230Z] 5c69ac0246d0: Download complete [2023-02-27T15:18:30.230Z] 3a2ae6a8a46f: Download complete [2023-02-27T15:18:30.489Z] 33b1e0a273af: Verifying Checksum [2023-02-27T15:18:30.489Z] 33b1e0a273af: Download complete [2023-02-27T15:18:30.489Z] ec43610c2a17: Verifying Checksum [2023-02-27T15:18:30.489Z] ec43610c2a17: Download complete [2023-02-27T15:18:30.489Z] 5d3b04190fa2: Download complete [2023-02-27T15:18:30.489Z] 5eb5b503b376: Verifying Checksum [2023-02-27T15:18:30.489Z] 5eb5b503b376: Download complete [2023-02-27T15:18:31.056Z] 2f39f015ded8: Verifying Checksum [2023-02-27T15:18:31.056Z] 2f39f015ded8: Download complete [2023-02-27T15:18:31.624Z] 5eb5b503b376: Pull complete [2023-02-27T15:18:31.882Z] 5c69ac0246d0: Pull complete [2023-02-27T15:18:32.142Z] ec43610c2a17: Pull complete [2023-02-27T15:18:32.400Z] 3a2ae6a8a46f: Pull complete [2023-02-27T15:18:32.400Z] 33b1e0a273af: Pull complete [2023-02-27T15:18:32.659Z] 5d3b04190fa2: Pull complete [2023-02-27T15:18:36.846Z] 2f39f015ded8: Pull complete [2023-02-27T15:18:36.846Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T15:18:36.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:18:36.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:18:36.931Z] prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container [2023-02-27T15:18:36.955Z] $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T15:18:39.611Z] $ docker top e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:18:39.984Z] ---> job-cost.sh [2023-02-27T15:18:39.984Z] lf-activate-venv: SKIPPING [2023-02-27T15:18:39.984Z] INFO: No Stack... [2023-02-27T15:18:40.550Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T15:18:40.808Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T15:18:41.094Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-419/archives/cost.csv [2023-02-27T15:18:41.094Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T15:18:41.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [2023-02-27T15:18:41.121Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] did not exist. Created. [2023-02-27T15:18:41.122Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T15:18:41.416Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T15:18:41.447Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T15:18:41.456Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T15:18:41.476Z] $ docker stop --time=1 e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 [2023-02-27T15:18:42.619Z] $ docker rm -f --volumes e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T15:19:47.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7592 in /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] { [Pipeline] ws [2023-02-27T15:19:47.494Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-02-27T15:19:47.549Z] Selected Git installation does not exist. Using Default [2023-02-27T15:19:47.549Z] The recommended git tool is: NONE [2023-02-27T15:19:55.799Z] using credential edgex-jenkins-ssh [2023-02-27T15:19:55.815Z] Cloning the remote Git repository [2023-02-27T15:19:55.894Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-27T15:19:55.992Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-02-27T15:19:56.289Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-27T15:19:56.290Z] > git --version # timeout=10 [2023-02-27T15:19:56.317Z] > git --version # 'git version 2.25.1' [2023-02-27T15:19:56.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:19:56.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T15:19:57.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-27T15:19:57.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T15:19:59.211Z] Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 77210627d1b74a3d5b59b3a5a2d9479510698a1f [2023-02-27T15:19:59.482Z] Merge succeeded, producing 4a1c4304152c335d1479a18ef7520bb4eb2b5147 [2023-02-27T15:19:59.483Z] Checking out Revision 4a1c4304152c335d1479a18ef7520bb4eb2b5147 (PR-419) [2023-02-27T15:19:58.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-27T15:19:58.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-27T15:19:58.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:19:58.652Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T15:19:59.229Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T15:19:59.246Z] > git checkout -f 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 [2023-02-27T15:19:59.331Z] > git remote # timeout=10 [2023-02-27T15:19:59.349Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T15:19:59.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:19:59.389Z] > git merge 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 [2023-02-27T15:19:59.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T15:19:59.489Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T15:19:59.511Z] > git checkout -f 4a1c4304152c335d1479a18ef7520bb4eb2b5147 # timeout=10 [2023-02-27T15:20:03.018Z] Commit message: "Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD" [2023-02-27T15:20:03.026Z] > git rev-list --no-walk 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:20:04.050Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T15:20:04.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T15:20:04.050Z] Dload Upload Total Spent Left Speed [2023-02-27T15:20:04.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh [2023-02-27T15:20:04.741Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T15:20:05.080Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T15:20:05.080Z] + sudo tee /etc/docker/daemon.new [2023-02-27T15:20:05.080Z] { [2023-02-27T15:20:05.080Z] "registry-mirrors": [ [2023-02-27T15:20:05.080Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T15:20:05.080Z] ], [2023-02-27T15:20:05.080Z] "bip": "10.250.0.254/24", [2023-02-27T15:20:05.080Z] "hosts": [ [2023-02-27T15:20:05.080Z] "tcp://0.0.0.0:5555", [2023-02-27T15:20:05.080Z] "unix:///var/run/docker.sock" [2023-02-27T15:20:05.080Z] ], [2023-02-27T15:20:05.080Z] "mtu": 1458, [2023-02-27T15:20:05.080Z] "selinux-enabled": true, [2023-02-27T15:20:05.080Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T15:20:05.080Z] } [Pipeline] sh [2023-02-27T15:20:05.412Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T15:20:05.742Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:20:24.027Z] provisioning config files... [2023-02-27T15:20:24.053Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config5923892241506913143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:20:24.408Z] ---> docker-login.sh [2023-02-27T15:20:24.408Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:20:25.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:20:25.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:20:25.000Z] Configure a credential helper to remove this warning. See [2023-02-27T15:20:25.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:20:25.000Z] [2023-02-27T15:20:25.000Z] Login Succeeded [2023-02-27T15:20:25.000Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:20:25.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:20:25.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:20:25.540Z] Configure a credential helper to remove this warning. See [2023-02-27T15:20:25.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:20:25.541Z] [2023-02-27T15:20:25.541Z] Login Succeeded [2023-02-27T15:20:25.541Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:20:25.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:20:25.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:20:25.811Z] Configure a credential helper to remove this warning. See [2023-02-27T15:20:25.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:20:25.811Z] [2023-02-27T15:20:25.811Z] Login Succeeded [2023-02-27T15:20:25.811Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:20:26.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:20:26.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:20:26.352Z] Configure a credential helper to remove this warning. See [2023-02-27T15:20:26.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:20:26.352Z] [2023-02-27T15:20:26.352Z] Login Succeeded [2023-02-27T15:20:26.352Z] docker.io [2023-02-27T15:20:26.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:20:26.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:20:26.891Z] Configure a credential helper to remove this warning. See [2023-02-27T15:20:26.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:20:26.891Z] [2023-02-27T15:20:26.891Z] Login Succeeded [2023-02-27T15:20:26.891Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:20:26.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T15:20:27.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:20:27.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:20:27.204Z] ========================================================= [2023-02-27T15:20:27.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T15:20:27.204Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:20:27.552Z] + 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-02-27T15:20:28.140Z] Sending build context to Docker daemon 3.36MB [2023-02-27T15:20:28.140Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:20:28.140Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-27T15:20:28.412Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T15:20:28.412Z] 9b18e9b68314: Pulling fs layer [2023-02-27T15:20:28.412Z] 35d82f9e3411: Pulling fs layer [2023-02-27T15:20:28.412Z] e16973657156: Pulling fs layer [2023-02-27T15:20:28.412Z] fc693d55d65f: Pulling fs layer [2023-02-27T15:20:28.412Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T15:20:28.412Z] dda99020689f: Pulling fs layer [2023-02-27T15:20:28.412Z] db1c61fa0a46: Pulling fs layer [2023-02-27T15:20:28.412Z] 891c053d2c06: Pulling fs layer [2023-02-27T15:20:28.412Z] 7e9fc2657dce: Waiting [2023-02-27T15:20:28.412Z] dda99020689f: Waiting [2023-02-27T15:20:28.412Z] db1c61fa0a46: Waiting [2023-02-27T15:20:28.412Z] 891c053d2c06: Waiting [2023-02-27T15:20:28.412Z] fc693d55d65f: Waiting [2023-02-27T15:20:28.412Z] e16973657156: Verifying Checksum [2023-02-27T15:20:28.412Z] e16973657156: Download complete [2023-02-27T15:20:28.412Z] 35d82f9e3411: Verifying Checksum [2023-02-27T15:20:28.412Z] 35d82f9e3411: Download complete [2023-02-27T15:20:28.412Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T15:20:28.412Z] 7e9fc2657dce: Download complete [2023-02-27T15:20:28.412Z] dda99020689f: Verifying Checksum [2023-02-27T15:20:28.412Z] dda99020689f: Download complete [2023-02-27T15:20:28.412Z] 9b18e9b68314: Verifying Checksum [2023-02-27T15:20:28.412Z] 9b18e9b68314: Download complete [2023-02-27T15:20:29.389Z] 9b18e9b68314: Pull complete [2023-02-27T15:20:29.660Z] 891c053d2c06: Verifying Checksum [2023-02-27T15:20:29.660Z] 891c053d2c06: Download complete [2023-02-27T15:20:29.931Z] 35d82f9e3411: Pull complete [2023-02-27T15:20:30.205Z] e16973657156: Pull complete [2023-02-27T15:20:30.794Z] db1c61fa0a46: Verifying Checksum [2023-02-27T15:20:30.794Z] db1c61fa0a46: Download complete [2023-02-27T15:20:31.378Z] fc693d55d65f: Verifying Checksum [2023-02-27T15:20:31.378Z] fc693d55d65f: Download complete [2023-02-27T15:20:43.711Z] fc693d55d65f: Pull complete [2023-02-27T15:20:43.711Z] 7e9fc2657dce: Pull complete [2023-02-27T15:20:43.711Z] dda99020689f: Pull complete [2023-02-27T15:20:48.000Z] db1c61fa0a46: Pull complete [2023-02-27T15:20:49.430Z] 891c053d2c06: Pull complete [2023-02-27T15:20:49.700Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T15:20:49.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T15:20:49.700Z] ---> f96f9c87975a [2023-02-27T15:20:49.700Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:20:51.660Z] ---> Running in 3abb76d3d573 [2023-02-27T15:20:51.931Z] Removing intermediate container 3abb76d3d573 [2023-02-27T15:20:51.931Z] ---> b8588763f83f [2023-02-27T15:20:51.931Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:20:51.931Z] ---> Running in 3a18c7e3f8f1 [2023-02-27T15:20:52.200Z] Removing intermediate container 3a18c7e3f8f1 [2023-02-27T15:20:52.200Z] ---> e835942342ae [2023-02-27T15:20:52.200Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-27T15:20:52.200Z] ---> Running in 5236b3a446ea [2023-02-27T15:20:53.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:20:53.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:20:54.582Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T15:20:54.582Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-27T15:20:54.582Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T15:20:54.855Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T15:20:54.855Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-27T15:20:54.855Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-27T15:20:54.855Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-27T15:20:54.855Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-27T15:20:54.855Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:20:54.855Z] OK: 228 MiB in 59 packages [2023-02-27T15:20:55.837Z] Removing intermediate container 5236b3a446ea [2023-02-27T15:20:55.837Z] ---> 74202f88043c [2023-02-27T15:20:55.837Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-27T15:20:56.107Z] ---> Running in 9a59150320c9 [2023-02-27T15:20:56.375Z] Removing intermediate container 9a59150320c9 [2023-02-27T15:20:56.375Z] ---> a6315fabb605 [2023-02-27T15:20:56.375Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-27T15:20:56.961Z] ---> 48ca53f83f34 [2023-02-27T15:20:56.961Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:20:56.961Z] ---> Running in 97462e57288d [2023-02-27T15:22:04.894Z] Removing intermediate container 97462e57288d [2023-02-27T15:22:04.894Z] ---> 06f9a8771bb4 [2023-02-27T15:22:04.894Z] Step 9/10 : COPY . . [2023-02-27T15:22:04.894Z] ---> 76ff64f66562 [2023-02-27T15:22:04.894Z] Step 10/10 : RUN ${MAKE} [2023-02-27T15:22:04.894Z] ---> Running in 2d4e6aee2abc [2023-02-27T15:22:04.894Z] noop [2023-02-27T15:22:04.894Z] Removing intermediate container 2d4e6aee2abc [2023-02-27T15:22:04.894Z] ---> f9a2be096aa6 [2023-02-27T15:22:04.894Z] Successfully built f9a2be096aa6 [2023-02-27T15:22:04.894Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:22:05.238Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T15:22:05.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:22:05.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-02-27T15:22:05.495Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-27T15:22:06.765Z] $ docker top c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:22:07.613Z] + go version [2023-02-27T15:22:07.613Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T15:22:07.630Z] $ docker stop --time=1 c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 [2023-02-27T15:22:09.238Z] $ docker rm -f --volumes c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:22:09.787Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T15:22:09.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:22:09.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-02-27T15:22:10.023Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-27T15:22:11.223Z] $ docker top 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:22:11.739Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-27T15:22:12.670Z] + make test [2023-02-27T15:22:12.670Z] go test ./... -coverprofile=coverage.out [2023-02-27T15:22:14.636Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-27T15:23:36.289Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-27T15:23:36.289Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements [2023-02-27T15:23:36.289Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T15:23:36.289Z] go vet ./... [2023-02-27T15:23:58.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T15:23:58.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T15:23:58.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T15:23:58.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T15:23:58.387Z] $ docker stop --time=1 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 [2023-02-27T15:24:00.857Z] $ docker rm -f --volumes 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:24:01.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T15:24:01.809Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T15:24:02.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:24:02.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T15:24:03.012Z] + ls -al . [2023-02-27T15:24:03.012Z] total 180 [2023-02-27T15:24:03.012Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:22 . [2023-02-27T15:24:03.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:19 .. [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:19 .dockerignore [2023-02-27T15:24:03.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:19 .git [2023-02-27T15:24:03.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 .github [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:19 .gitignore [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:19 .golangci.yml [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:19 Attribution.txt [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:19 CHANGELOG.md [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:19 Dockerfile [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:19 GOVERNANCE.md [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:19 Jenkinsfile [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:19 LICENSE [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:19 Makefile [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:19 OWNERS.md [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:19 README.md [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:16 VERSION [2023-02-27T15:24:03.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:19 bin [2023-02-27T15:24:03.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 cmd [2023-02-27T15:24:03.012Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:23 coverage.out [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:19 go.mod [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:19 go.sum [2023-02-27T15:24:03.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 internal [2023-02-27T15:24:03.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:19 simulator [2023-02-27T15:24:03.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:19 snap [2023-02-27T15:24:03.012Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:24:03.346Z] + 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=4a1c4304152c335d1479a18ef7520bb4eb2b5147 --label arch=arm64 --label version=0.0.0 . [2023-02-27T15:24:03.613Z] Sending build context to Docker daemon 3.384MB [2023-02-27T15:24:03.613Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:24:03.613Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-27T15:24:03.613Z] ---> f9a2be096aa6 [2023-02-27T15:24:03.613Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:24:03.886Z] ---> Running in c51513fe29d0 [2023-02-27T15:24:04.154Z] Removing intermediate container c51513fe29d0 [2023-02-27T15:24:04.154Z] ---> 07a5f49f03d5 [2023-02-27T15:24:04.154Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:24:04.154Z] ---> Running in 6151c562f659 [2023-02-27T15:24:04.442Z] Removing intermediate container 6151c562f659 [2023-02-27T15:24:04.442Z] ---> c2e751d36b86 [2023-02-27T15:24:04.442Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-27T15:24:04.442Z] ---> Running in b9fab675a838 [2023-02-27T15:24:05.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:24:05.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:24:06.631Z] OK: 228 MiB in 59 packages [2023-02-27T15:24:07.591Z] Removing intermediate container b9fab675a838 [2023-02-27T15:24:07.591Z] ---> e87fa23c464d [2023-02-27T15:24:07.591Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-27T15:24:07.591Z] ---> Running in 1a6d2acf0bf6 [2023-02-27T15:24:07.859Z] Removing intermediate container 1a6d2acf0bf6 [2023-02-27T15:24:07.859Z] ---> 1b3dd6794c05 [2023-02-27T15:24:07.859Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-27T15:24:08.447Z] ---> 4264c5cca37c [2023-02-27T15:24:08.447Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:24:08.447Z] ---> Running in febde800a335 [2023-02-27T15:24:11.028Z] Removing intermediate container febde800a335 [2023-02-27T15:24:11.028Z] ---> 8dbf6de3a5d5 [2023-02-27T15:24:11.028Z] Step 9/22 : COPY . . [2023-02-27T15:24:14.378Z] ---> b4804f9d78a8 [2023-02-27T15:24:14.378Z] Step 10/22 : RUN ${MAKE} [2023-02-27T15:24:14.647Z] ---> Running in f48a15c65e3a [2023-02-27T15:24:15.611Z] 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-02-27T15:26:22.345Z] Removing intermediate container f48a15c65e3a [2023-02-27T15:26:22.345Z] ---> b59638dc2cdf [2023-02-27T15:26:22.345Z] Step 11/22 : FROM alpine:3.14 [2023-02-27T15:26:22.345Z] 3.14: Pulling from library/alpine [2023-02-27T15:26:22.345Z] 6f0e733d82e2: Pulling fs layer [2023-02-27T15:26:22.345Z] 6f0e733d82e2: Verifying Checksum [2023-02-27T15:26:22.345Z] 6f0e733d82e2: Download complete [2023-02-27T15:26:22.345Z] 6f0e733d82e2: Pull complete [2023-02-27T15:26:22.345Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-27T15:26:22.345Z] Status: Downloaded newer image for alpine:3.14 [2023-02-27T15:26:22.345Z] ---> bf97f6347a60 [2023-02-27T15:26:22.345Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-27T15:26:22.345Z] ---> Running in e71e0ed71e3e [2023-02-27T15:26:22.345Z] Removing intermediate container e71e0ed71e3e [2023-02-27T15:26:22.345Z] ---> 71a507c8be5f [2023-02-27T15:26:22.345Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-27T15:26:22.345Z] ---> Running in ea8a66f45a53 [2023-02-27T15:26:22.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:26:22.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:26:22.346Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T15:26:22.346Z] Executing busybox-1.33.1-r8.trigger [2023-02-27T15:26:22.346Z] OK: 6 MiB in 15 packages [2023-02-27T15:26:22.346Z] Removing intermediate container ea8a66f45a53 [2023-02-27T15:26:22.346Z] ---> 2bc06103f65b [2023-02-27T15:26:22.346Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-27T15:26:22.346Z] ---> 7edeff454a3c [2023-02-27T15:26:22.346Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-27T15:26:22.346Z] ---> 30da3b5ba692 [2023-02-27T15:26:22.346Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-27T15:26:22.961Z] ---> e0dfba98ce09 [2023-02-27T15:26:22.961Z] Step 17/22 : EXPOSE 59901 [2023-02-27T15:26:22.961Z] ---> Running in 4dd15d3f5a0e [2023-02-27T15:26:23.241Z] Removing intermediate container 4dd15d3f5a0e [2023-02-27T15:26:23.241Z] ---> 90af7707b74c [2023-02-27T15:26:23.241Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-27T15:26:23.519Z] ---> Running in 84b2c7da3ff8 [2023-02-27T15:26:23.784Z] Removing intermediate container 84b2c7da3ff8 [2023-02-27T15:26:23.784Z] ---> b26613711051 [2023-02-27T15:26:23.784Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T15:26:23.784Z] ---> Running in 72fcdb55629f [2023-02-27T15:26:24.050Z] Removing intermediate container 72fcdb55629f [2023-02-27T15:26:24.050Z] ---> c94e4502eae2 [2023-02-27T15:26:24.050Z] Step 20/22 : LABEL arch=arm64 [2023-02-27T15:26:24.050Z] ---> Running in 42e6b1a9fb22 [2023-02-27T15:26:24.319Z] Removing intermediate container 42e6b1a9fb22 [2023-02-27T15:26:24.319Z] ---> f53780331578 [2023-02-27T15:26:24.319Z] Step 21/22 : LABEL git_sha=4a1c4304152c335d1479a18ef7520bb4eb2b5147 [2023-02-27T15:26:24.586Z] ---> Running in 038f2f57a8ae [2023-02-27T15:26:24.853Z] Removing intermediate container 038f2f57a8ae [2023-02-27T15:26:24.853Z] ---> 5c2b4869aeed [2023-02-27T15:26:24.853Z] Step 22/22 : LABEL version=0.0.0 [2023-02-27T15:26:24.853Z] ---> Running in 443214f8a31c [2023-02-27T15:26:25.121Z] Removing intermediate container 443214f8a31c [2023-02-27T15:26:25.121Z] ---> 432c2e2bd0fd [2023-02-27T15:26:25.121Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T15:26:25.121Z] Successfully built 432c2e2bd0fd [2023-02-27T15:26:25.121Z] 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-02-27T15:26:25.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:26:25.549Z] [2023-02-27T15:26:25.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:26:25.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:26:25.877Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T15:26:25.877Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T15:26:25.877Z] 04944245beec: Pulling fs layer [2023-02-27T15:26:25.877Z] 699f458cf7ca: Pulling fs layer [2023-02-27T15:26:25.877Z] 765212b225bb: Pulling fs layer [2023-02-27T15:26:25.877Z] f23df028b6ca: Pulling fs layer [2023-02-27T15:26:25.877Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T15:26:25.877Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T15:26:25.877Z] f23df028b6ca: Waiting [2023-02-27T15:26:25.877Z] d65c8cfc05b1: Waiting [2023-02-27T15:26:25.877Z] 765212b225bb: Waiting [2023-02-27T15:26:25.877Z] 2437ff75d9bd: Waiting [2023-02-27T15:26:26.146Z] 04944245beec: Verifying Checksum [2023-02-27T15:26:26.146Z] 04944245beec: Download complete [2023-02-27T15:26:26.146Z] 765212b225bb: Verifying Checksum [2023-02-27T15:26:26.146Z] 765212b225bb: Download complete [2023-02-27T15:26:26.146Z] f23df028b6ca: Download complete [2023-02-27T15:26:26.146Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T15:26:26.146Z] d65c8cfc05b1: Download complete [2023-02-27T15:26:26.412Z] 699f458cf7ca: Verifying Checksum [2023-02-27T15:26:26.412Z] 699f458cf7ca: Download complete [2023-02-27T15:26:26.679Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T15:26:26.679Z] 8998bd30e6a1: Download complete [2023-02-27T15:26:29.257Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T15:26:29.257Z] 2437ff75d9bd: Download complete [2023-02-27T15:26:30.217Z] 8998bd30e6a1: Pull complete [2023-02-27T15:26:30.799Z] 04944245beec: Pull complete [2023-02-27T15:26:32.218Z] 699f458cf7ca: Pull complete [2023-02-27T15:26:32.218Z] 765212b225bb: Pull complete [2023-02-27T15:26:35.565Z] f23df028b6ca: Pull complete [2023-02-27T15:26:35.832Z] d65c8cfc05b1: Pull complete [2023-02-27T15:26:50.845Z] 2437ff75d9bd: Pull complete [2023-02-27T15:26:50.845Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T15:26:50.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:26:50.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:26:51.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-02-27T15:26:51.094Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-27T15:26:53.691Z] $ docker top f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:26:54.530Z] ---> job-cost.sh [2023-02-27T15:26:54.530Z] lf-activate-venv: SKIPPING [2023-02-27T15:26:54.530Z] INFO: No Stack... [2023-02-27T15:26:54.796Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T15:26:55.754Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T15:26:56.074Z] + cut -d, -f6 [2023-02-27T15:26:56.074Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2023-02-27T15:26:56.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [2023-02-27T15:26:56.413Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] did not exist. Created. [2023-02-27T15:26:56.413Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T15:26:56.749Z] /w/workspace/device-modbus-go/2@tmp/durable-1bd2e8f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T15:26:57.081Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T15:26:57.104Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T15:26:57.149Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T15:26:57.156Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T15:26:57.168Z] $ docker stop --time=1 f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 [2023-02-27T15:27:01.466Z] $ docker rm -f --volumes f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 [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-02-27T15:27:01.868Z] provisioning config files... [2023-02-27T15:27:01.879Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config6709426565678818451tmp [Pipeline] { [Pipeline] sh [2023-02-27T15:27:02.169Z] + set +x [2023-02-27T15:27:02.169Z] + bash -s -- [2023-02-27T15:27:02.169Z] + curl -s https://codecov.io/bash [2023-02-27T15:27:02.169Z] [2023-02-27T15:27:02.169Z] _____ _ [2023-02-27T15:27:02.169Z] / ____| | | [2023-02-27T15:27:02.169Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T15:27:02.169Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T15:27:02.169Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T15:27:02.169Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T15:27:02.169Z] Bash-1.0.6 [2023-02-27T15:27:02.169Z] [2023-02-27T15:27:02.169Z] [2023-02-27T15:27:02.169Z] ==> git version 2.25.1 found [2023-02-27T15:27:02.169Z] ==> 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-02-27T15:27:02.169Z] Release-Date: 2020-01-08 [2023-02-27T15:27:02.169Z] 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-02-27T15:27:02.169Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T15:27:02.169Z] ==> Jenkins CI detected. [2023-02-27T15:27:02.169Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-419 [2023-02-27T15:27:02.169Z] project root: . [2023-02-27T15:27:02.169Z] --> token set from env [2023-02-27T15:27:02.169Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T15:27:02.169Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T15:27:02.169Z] ==> Python coveragepy not found [2023-02-27T15:27:02.169Z] ==> Searching for coverage reports in: [2023-02-27T15:27:02.169Z] + . [2023-02-27T15:27:02.169Z] -> Found 1 reports [2023-02-27T15:27:02.169Z] ==> Detecting git/mercurial file structure [2023-02-27T15:27:02.169Z] ==> Reading reports [2023-02-27T15:27:02.169Z] + ./coverage.out bytes=23241 [2023-02-27T15:27:02.169Z] ==> Appending adjustments [2023-02-27T15:27:02.169Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T15:27:02.427Z] + Found adjustments [2023-02-27T15:27:02.427Z] ==> Gzipping contents [2023-02-27T15:27:02.427Z] 4.0K /tmp/codecov.IGeKAy.gz [2023-02-27T15:27:02.427Z] ==> Uploading reports [2023-02-27T15:27:02.427Z] url: https://codecov.io [2023-02-27T15:27:02.427Z] query: branch=PR-419&commit=e79e8edbbbda87ce70d68e80a7af49f46533eea2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= [2023-02-27T15:27:02.427Z] -> Pinging Codecov [2023-02-27T15:27:02.427Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-419&commit=e79e8edbbbda87ce70d68e80a7af49f46533eea2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= [2023-02-27T15:27:02.427Z] -> Uploading to [2023-02-27T15:27:02.427Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/55DBCA73C666E3227836607328DD7E49/e79e8edbbbda87ce70d68e80a7af49f46533eea2/dad2ff01-646e-4bd2-8f1e-2c39745a509b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T152702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d30e3b7dc51840bffd3805bdd2d29334750743e4d5e6e9f76160ef3f390e8b1a [2023-02-27T15:27:02.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T15:27:02.427Z] Dload Upload Total Spent Left Speed [2023-02-27T15:27:02.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3899 0 0 100 3899 0 19206 --:--:-- --:--:-- --:--:-- 19112 100 3899 0 0 100 3899 0 16521 --:--:-- --:--:-- --:--:-- 16451 [2023-02-27T15:27:02.686Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] } [2023-02-27T15:27:02.693Z] 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-02-27T15:27:03.322Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-419/archives ] [2023-02-27T15:27:03.322Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives [2023-02-27T15:27:03.322Z] total 16 [2023-02-27T15:27:03.322Z] drwxr-xr-x 3 root root 4096 Feb 27 15:18 . [2023-02-27T15:27:03.322Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:18 .. [2023-02-27T15:27:03.322Z] drwxr-xr-x 2 root root 4096 Feb 27 15:18 cost [2023-02-27T15:27:03.322Z] -rw-r--r-- 1 root root 88 Feb 27 15:18 cost.csv [2023-02-27T15:27:03.322Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-419/archives [2023-02-27T15:27:03.322Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives [2023-02-27T15:27:03.322Z] total 16 [2023-02-27T15:27:03.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:18 . [2023-02-27T15:27:03.322Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:18 .. [2023-02-27T15:27:03.322Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:18 cost [2023-02-27T15:27:03.322Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 27 15:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:03.608Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:04.464Z] ---> package-listing.sh [2023-02-27T15:27:04.464Z] ++ facter osfamily [2023-02-27T15:27:04.464Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T15:27:04.723Z] + OS_FAMILY=debian [2023-02-27T15:27:04.723Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-419 [2023-02-27T15:27:04.723Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T15:27:04.723Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T15:27:04.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T15:27:04.723Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T15:27:04.723Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' [2023-02-27T15:27:04.723Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T15:27:04.723Z] + case "${OS_FAMILY}" in [2023-02-27T15:27:04.723Z] + dpkg -l [2023-02-27T15:27:04.723Z] + grep '^ii' [2023-02-27T15:27:04.723Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T15:27:04.723Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T15:27:04.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T15:27:04.723Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' [2023-02-27T15:27:04.723Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ [2023-02-27T15:27:04.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ [Pipeline] echo [2023-02-27T15:27:04.733Z] 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-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T15:27:05.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:27:05.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:27:05.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:27:05.627Z] prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container [2023-02-27T15:27:05.656Z] $ 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-419/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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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-lftools-log-publisher:latest cat [2023-02-27T15:27:05.840Z] $ docker top d45f8a7314d98b6f7d98ea9bbb899d22db290f80194b9317b2428ee88a172a68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:27:06.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T15:27:06.465Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T15:27:06.752Z] + ls /var/log/sa-host [2023-02-27T15:27:06.752Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:27:06.815Z] provisioning config files... [2023-02-27T15:27:06.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config11421669258287859771tmp [Pipeline] { [Pipeline] echo [2023-02-27T15:27:06.839Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:07.121Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T15:27:07.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:07.452Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T15:27:07.461Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:07.745Z] ---> sudo-logs.sh [2023-02-27T15:27:07.745Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T15:27:07.768Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:08.049Z] ---> job-cost.sh [2023-02-27T15:27:08.049Z] lf-activate-venv: SKIPPING [2023-02-27T15:27:08.049Z] DEBUG: total: 0.2199999988079071 [2023-02-27T15:27:08.049Z] INFO: Retrieving Stack Cost... [2023-02-27T15:27:08.617Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T15:27:09.185Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T15:27:09.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:09.478Z] ---> logs-deploy.sh [2023-02-27T15:27:09.478Z] lf-activate-venv: SKIPPING [2023-02-27T15:27:09.478Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-419/2 [2023-02-27T15:27:09.478Z] INFO: archiving workspace using pattern(s): [2023-02-27T15:27:10.412Z] Archives upload complete. [2023-02-27T15:27:10.412Z] INFO: archiving logs to Nexus