Pull request #506 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d45f907f436f01f3ca0c4cbc51431d60c88ea6a0+ea9b4c32d21bf45c7fb886341563953752c62ac9 (2281e61cffa5cd570d861561efa9d3cfcc2ce8d3) 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-ssh5114452690936506984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16549756553820413799.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12222412401911207580.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17234693747716442972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7665269403980617339.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13813813561384726228.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-8113 in /w/workspace/xfoundry_device-modbus-go_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea9b4c32d21bf45c7fb886341563953752c62ac9 into PR head commit d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 Merge succeeded, producing d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 Checking out Revision d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 (PR-506) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-28T05:13:45.250Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 # 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 ea9b4c32d21bf45c7fb886341563953752c62ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 # timeout=10 [Pipeline] { [Pipeline] withCredentials [2023-09-28T05:13:45.431Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T05:13:45.535Z] ========================================================= [2023-09-28T05:13:45.536Z] EdgeX Global Pipelines Version Info [2023-09-28T05:13:45.536Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:13:46.300Z] ------------------- [2023-09-28T05:13:46.300Z] stable info: [2023-09-28T05:13:46.300Z] ------------------- [2023-09-28T05:13:46.300Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T05:13:46.300Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T05:13:46.300Z] Message: update stable to v1.0.254 [2023-09-28T05:13:46.870Z] ------------------- [2023-09-28T05:13:46.871Z] experimental info: [2023-09-28T05:13:46.871Z] ------------------- [2023-09-28T05:13:46.871Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T05:13:46.871Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T05:13:46.871Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T05:13:47.182Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-28T05:13:47.338Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-28T05:13:47.377Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T05:13:47.414Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T05:13:47.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T05:13:47.493Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-28T05:13:47.535Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-28T05:13:47.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-28T05:13:47.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-28T05:13:47.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T05:13:47.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T05:13:47.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-28T05:13:47.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T05:13:47.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T05:13:47.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T05:13:47.986Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T05:13:48.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T05:13:48.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T05:13:48.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T05:13:48.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T05:13:48.287Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-28T05:13:48.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-28T05:13:48.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-28T05:13:48.426Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-28T05:13:48.473Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-28T05:13:48.518Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T05:13:48.561Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-28T05:13:48.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo [2023-09-28T05:13:48.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo [2023-09-28T05:13:48.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo [2023-09-28T05:13:48.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [Pipeline] echo [2023-09-28T05:13:48.797Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d45f907 [Pipeline] echo [2023-09-28T05:13:48.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T05:13:48.981Z] provisioning config files... [2023-09-28T05:13:48.997Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/config15802990988767124842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:13:49.347Z] ---> docker-login.sh [2023-09-28T05:13:49.347Z] nexus3.edgexfoundry.org:10001 [2023-09-28T05:13:49.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:13:49.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:13:49.866Z] Configure a credential helper to remove this warning. See [2023-09-28T05:13:49.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:13:49.866Z] [2023-09-28T05:13:49.866Z] Login Succeeded [2023-09-28T05:13:49.866Z] nexus3.edgexfoundry.org:10002 [2023-09-28T05:13:49.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:13:49.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:13:49.866Z] Configure a credential helper to remove this warning. See [2023-09-28T05:13:49.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:13:49.866Z] [2023-09-28T05:13:49.866Z] Login Succeeded [2023-09-28T05:13:49.866Z] nexus3.edgexfoundry.org:10003 [2023-09-28T05:13:49.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:13:50.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:13:50.125Z] Configure a credential helper to remove this warning. See [2023-09-28T05:13:50.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:13:50.125Z] [2023-09-28T05:13:50.125Z] Login Succeeded [2023-09-28T05:13:50.125Z] nexus3.edgexfoundry.org:10004 [2023-09-28T05:13:50.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:13:50.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:13:50.125Z] Configure a credential helper to remove this warning. See [2023-09-28T05:13:50.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:13:50.125Z] [2023-09-28T05:13:50.125Z] Login Succeeded [2023-09-28T05:13:50.125Z] docker.io [2023-09-28T05:13:50.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:13:50.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:13:50.385Z] Configure a credential helper to remove this warning. See [2023-09-28T05:13:50.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:13:50.385Z] [2023-09-28T05:13:50.385Z] Login Succeeded [2023-09-28T05:13:50.385Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T05:13:50.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T05:13:51.276Z] + git rev-list -1 --merges d45f907f436f01f3ca0c4cbc51431d60c88ea6a0~1..d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [Pipeline] echo [2023-09-28T05:13:51.338Z] -----------> git rev-list -1 --merges d45f907f436f01f3ca0c4cbc51431d60c88ea6a0~1..d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [false] [Pipeline] sh [2023-09-28T05:13:51.646Z] + git log --format=format:%s -1 d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [Pipeline] echo [2023-09-28T05:13:51.683Z] ========================================================= [2023-09-28T05:13:51.683Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T05:13:51.683Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T05:13:52.129Z] + git log --format=format:%s -1 d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [Pipeline] echo [2023-09-28T05:13:52.162Z] [semverPrep] GIT_COMMIT: d45f907f436f01f3ca0c4cbc51431d60c88ea6a0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-28T05:13:52.192Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-28T05:13:52.583Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T05:13:52.583Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T05:13:52.583Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T05:13:52.583Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T05:13:52.583Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T05:13:52.583Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T05:13:52.583Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:13:53.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T05:13:53.088Z] [2023-09-28T05:13:53.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:13:53.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T05:13:53.464Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T05:13:53.464Z] b85a868b505f: Pulling fs layer [2023-09-28T05:13:53.464Z] e2be974225ed: Pulling fs layer [2023-09-28T05:13:53.464Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T05:13:53.464Z] 988bab9f4d93: Pulling fs layer [2023-09-28T05:13:53.464Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T05:13:53.464Z] eaf3925da568: Pulling fs layer [2023-09-28T05:13:53.464Z] bab4dde63d76: Pulling fs layer [2023-09-28T05:13:53.464Z] bde34c3a00c8: Pulling fs layer [2023-09-28T05:13:53.464Z] b352a97aabf1: Pulling fs layer [2023-09-28T05:13:53.464Z] 4872d77fe225: Pulling fs layer [2023-09-28T05:13:53.464Z] 5851b861e8e6: Pulling fs layer [2023-09-28T05:13:53.464Z] 1469e6f7b9e6: Waiting [2023-09-28T05:13:53.464Z] 4872d77fe225: Waiting [2023-09-28T05:13:53.464Z] 988bab9f4d93: Waiting [2023-09-28T05:13:53.464Z] 5851b861e8e6: Waiting [2023-09-28T05:13:53.464Z] bab4dde63d76: Waiting [2023-09-28T05:13:53.464Z] bde34c3a00c8: Waiting [2023-09-28T05:13:53.464Z] eaf3925da568: Waiting [2023-09-28T05:13:53.464Z] b352a97aabf1: Waiting [2023-09-28T05:13:53.464Z] e2be974225ed: Verifying Checksum [2023-09-28T05:13:53.464Z] e2be974225ed: Download complete [2023-09-28T05:13:53.464Z] 988bab9f4d93: Verifying Checksum [2023-09-28T05:13:53.464Z] 988bab9f4d93: Download complete [2023-09-28T05:13:53.735Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T05:13:53.735Z] 1469e6f7b9e6: Download complete [2023-09-28T05:13:53.735Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T05:13:53.735Z] 339a4e72a1f5: Download complete [2023-09-28T05:13:53.735Z] bde34c3a00c8: Verifying Checksum [2023-09-28T05:13:53.735Z] bde34c3a00c8: Download complete [2023-09-28T05:13:53.735Z] b352a97aabf1: Download complete [2023-09-28T05:13:53.735Z] 4872d77fe225: Verifying Checksum [2023-09-28T05:13:53.735Z] 4872d77fe225: Download complete [2023-09-28T05:13:53.735Z] 5851b861e8e6: Verifying Checksum [2023-09-28T05:13:53.735Z] 5851b861e8e6: Download complete [2023-09-28T05:13:53.735Z] b85a868b505f: Verifying Checksum [2023-09-28T05:13:53.735Z] b85a868b505f: Download complete [2023-09-28T05:13:54.004Z] bab4dde63d76: Verifying Checksum [2023-09-28T05:13:54.004Z] bab4dde63d76: Download complete [2023-09-28T05:13:54.944Z] b85a868b505f: Pull complete [2023-09-28T05:13:55.203Z] e2be974225ed: Pull complete [2023-09-28T05:13:55.771Z] 339a4e72a1f5: Pull complete [2023-09-28T05:13:55.771Z] 988bab9f4d93: Pull complete [2023-09-28T05:13:56.029Z] 1469e6f7b9e6: Pull complete [2023-09-28T05:13:56.029Z] eaf3925da568: Pull complete [2023-09-28T05:13:57.934Z] bab4dde63d76: Pull complete [2023-09-28T05:13:57.934Z] bde34c3a00c8: Pull complete [2023-09-28T05:13:58.194Z] b352a97aabf1: Pull complete [2023-09-28T05:13:58.194Z] 4872d77fe225: Pull complete [2023-09-28T05:13:58.453Z] 5851b861e8e6: Pull complete [2023-09-28T05:13:58.453Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T05:13:58.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T05:13:58.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:13:58.705Z] prd-ubuntu20.04-docker-8c-8g-8113 does not seem to be running inside a container [2023-09-28T05:13:58.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-506 -v /w/workspace/xfoundry_device-modbus-go_PR-506:/w/workspace/xfoundry_device-modbus-go_PR-506:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-506@tmp:/w/workspace/xfoundry_device-modbus-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T05:14:03.451Z] $ docker top 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 -eo pid,comm [2023-09-28T05:14:03.511Z] 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-09-28T05:14:03.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T05:14:03.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T05:14:03.643Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T05:14:03.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T05:14:03.761Z] $ docker exec 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 ssh-agent [2023-09-28T05:14:03.901Z] SSH_AUTH_SOCK=/tmp/ssh-TDZFlS9T6kpy/agent.32 [2023-09-28T05:14:03.901Z] SSH_AGENT_PID=38 [2023-09-28T05:14:03.908Z] Running ssh-add (command line suppressed) [2023-09-28T05:14:04.010Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-506@tmp/private_key_17509566752308701046.key (/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/private_key_17509566752308701046.key) [2023-09-28T05:14:04.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T05:14:04.365Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T05:14:04.391Z] $ docker exec --env ******** --env ******** 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 ssh-agent -k [2023-09-28T05:14:04.487Z] unset SSH_AUTH_SOCK; [2023-09-28T05:14:04.487Z] unset SSH_AGENT_PID; [2023-09-28T05:14:04.488Z] echo Agent pid 38 killed; [2023-09-28T05:14:04.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T05:14:04.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T05:14:04.588Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T05:14:04.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T05:14:04.714Z] $ docker exec 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 ssh-agent [2023-09-28T05:14:04.831Z] SSH_AUTH_SOCK=/tmp/ssh-cErsitkyKAjY/agent.70 [2023-09-28T05:14:04.831Z] SSH_AGENT_PID=76 [2023-09-28T05:14:04.837Z] Running ssh-add (command line suppressed) [2023-09-28T05:14:04.940Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-506@tmp/private_key_17981066745331677857.key (/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/private_key_17981066745331677857.key) [2023-09-28T05:14:04.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T05:14:05.287Z] + git semver init [2023-09-28T05:14:05.546Z] 2023-09-28 05:14:05,468 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T05:14:05.546Z] 2023-09-28 05:14:05,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-506/.semver [2023-09-28T05:14:05.546Z] 2023-09-28 05:14:05,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-506/.semver [2023-09-28T05:14:05.546Z] 2023-09-28 05:14:05,470 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-506/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-506, universal_newlines=False, shell=None, istream=None) [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,334 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-506/.git/info/exclude [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-506/.semver/PR-506 with force:False [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,335 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-506/.semver/PR-506 [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,339 [execute] INFO git cat-file --batch-check [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,345 [execute] INFO git cat-file --batch [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T05:14:06.486Z] 2023-09-28 05:14:06,351 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-506/.semver/PR-506 [2023-09-28T05:14:06.486Z] 0.0.0 [Pipeline] } [2023-09-28T05:14:06.510Z] $ docker exec --env ******** --env ******** 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 ssh-agent -k [2023-09-28T05:14:06.609Z] unset SSH_AUTH_SOCK; [2023-09-28T05:14:06.610Z] unset SSH_AGENT_PID; [2023-09-28T05:14:06.610Z] echo Agent pid 76 killed; [2023-09-28T05:14:06.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T05:14:07.052Z] + git semver [Pipeline] } [2023-09-28T05:14:07.336Z] $ docker stop --time=1 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 [2023-09-28T05:14:08.657Z] $ docker rm -f --volumes 52e2523d50d98694cb1b5c64599d26d753751025cf002c3f3ed8721eb617a6d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T05:14:09.058Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T05:14:09.345Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T05:14:09.362Z] [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-09-28T05:14:09.966Z] provisioning config files... [2023-09-28T05:14:09.975Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/config16269818024829239622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:14:10.329Z] ---> docker-login.sh [2023-09-28T05:14:10.330Z] nexus3.edgexfoundry.org:10001 [2023-09-28T05:14:10.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:14:10.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:14:10.330Z] Configure a credential helper to remove this warning. See [2023-09-28T05:14:10.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:14:10.330Z] [2023-09-28T05:14:10.330Z] Login Succeeded [2023-09-28T05:14:10.330Z] nexus3.edgexfoundry.org:10002 [2023-09-28T05:14:10.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:14:10.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:14:10.330Z] Configure a credential helper to remove this warning. See [2023-09-28T05:14:10.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:14:10.330Z] [2023-09-28T05:14:10.330Z] Login Succeeded [2023-09-28T05:14:10.330Z] nexus3.edgexfoundry.org:10003 [2023-09-28T05:14:10.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:14:10.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:14:10.589Z] Configure a credential helper to remove this warning. See [2023-09-28T05:14:10.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:14:10.589Z] [2023-09-28T05:14:10.589Z] Login Succeeded [2023-09-28T05:14:10.589Z] nexus3.edgexfoundry.org:10004 [2023-09-28T05:14:10.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:14:10.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:14:10.589Z] Configure a credential helper to remove this warning. See [2023-09-28T05:14:10.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:14:10.589Z] [2023-09-28T05:14:10.589Z] Login Succeeded [2023-09-28T05:14:10.589Z] docker.io [2023-09-28T05:14:10.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:14:10.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:14:10.849Z] Configure a credential helper to remove this warning. See [2023-09-28T05:14:10.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:14:10.849Z] [2023-09-28T05:14:10.849Z] Login Succeeded [2023-09-28T05:14:10.849Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T05:14:10.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T05:14:11.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T05:14:11.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T05:14:11.156Z] ========================================================= [2023-09-28T05:14:11.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-28T05:14:11.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:14:11.638Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T05:14:11.638Z] Sending build context to Docker daemon 6.496MB [2023-09-28T05:14:11.638Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T05:14:11.638Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-28T05:14:11.638Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-28T05:14:11.638Z] 7264a8db6415: Pulling fs layer [2023-09-28T05:14:11.638Z] c4d48a809fc2: Pulling fs layer [2023-09-28T05:14:11.638Z] 4f1c88b9dad5: Pulling fs layer [2023-09-28T05:14:11.638Z] ad3a456e5733: Pulling fs layer [2023-09-28T05:14:11.638Z] 33e27b845d1e: Pulling fs layer [2023-09-28T05:14:11.638Z] c68163c4e522: Pulling fs layer [2023-09-28T05:14:11.638Z] 50da416c3ac9: Pulling fs layer [2023-09-28T05:14:11.638Z] 23d2d4c4bb30: Pulling fs layer [2023-09-28T05:14:11.638Z] 33e27b845d1e: Waiting [2023-09-28T05:14:11.638Z] c68163c4e522: Waiting [2023-09-28T05:14:11.638Z] 50da416c3ac9: Waiting [2023-09-28T05:14:11.638Z] ad3a456e5733: Waiting [2023-09-28T05:14:11.897Z] c4d48a809fc2: Verifying Checksum [2023-09-28T05:14:11.897Z] c4d48a809fc2: Download complete [2023-09-28T05:14:11.897Z] ad3a456e5733: Verifying Checksum [2023-09-28T05:14:11.897Z] ad3a456e5733: Download complete [2023-09-28T05:14:11.897Z] 33e27b845d1e: Verifying Checksum [2023-09-28T05:14:11.897Z] 33e27b845d1e: Download complete [2023-09-28T05:14:11.897Z] 7264a8db6415: Verifying Checksum [2023-09-28T05:14:11.897Z] 7264a8db6415: Download complete [2023-09-28T05:14:11.897Z] c68163c4e522: Verifying Checksum [2023-09-28T05:14:11.897Z] c68163c4e522: Download complete [2023-09-28T05:14:11.897Z] 7264a8db6415: Pull complete [2023-09-28T05:14:12.160Z] c4d48a809fc2: Pull complete [2023-09-28T05:14:12.160Z] 23d2d4c4bb30: Verifying Checksum [2023-09-28T05:14:12.160Z] 23d2d4c4bb30: Download complete [2023-09-28T05:14:12.421Z] 4f1c88b9dad5: Verifying Checksum [2023-09-28T05:14:12.421Z] 4f1c88b9dad5: Download complete [2023-09-28T05:14:12.680Z] 50da416c3ac9: Verifying Checksum [2023-09-28T05:14:12.680Z] 50da416c3ac9: Download complete [2023-09-28T05:14:15.963Z] 4f1c88b9dad5: Pull complete [2023-09-28T05:14:15.963Z] ad3a456e5733: Pull complete [2023-09-28T05:14:15.963Z] 33e27b845d1e: Pull complete [2023-09-28T05:14:15.963Z] c68163c4e522: Pull complete [2023-09-28T05:14:18.495Z] 50da416c3ac9: Pull complete [2023-09-28T05:14:18.753Z] 23d2d4c4bb30: Pull complete [2023-09-28T05:14:18.753Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-28T05:14:18.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-28T05:14:18.753Z] ---> 0786185ac409 [2023-09-28T05:14:18.753Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-28T05:14:24.779Z] Still waiting to schedule task [2023-09-28T05:14:24.779Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-28T05:14:25.320Z] ---> Running in 2035cc7e65f5 [2023-09-28T05:14:25.320Z] Removing intermediate container 2035cc7e65f5 [2023-09-28T05:14:25.320Z] ---> 228a82dc82e5 [2023-09-28T05:14:25.320Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T05:14:25.579Z] ---> Running in 46372c163718 [2023-09-28T05:14:25.579Z] Removing intermediate container 46372c163718 [2023-09-28T05:14:25.579Z] ---> f9f80c9aeb3c [2023-09-28T05:14:25.579Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-28T05:14:25.579Z] ---> Running in f63f9c3314a3 [2023-09-28T05:14:25.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T05:14:26.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T05:14:26.356Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-28T05:14:26.356Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-28T05:14:26.356Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-28T05:14:26.356Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T05:14:26.356Z] OK: 270 MiB in 60 packages [2023-09-28T05:14:27.301Z] Removing intermediate container f63f9c3314a3 [2023-09-28T05:14:27.301Z] ---> 95a2ebac1be8 [2023-09-28T05:14:27.301Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-28T05:14:27.301Z] ---> Running in c53228bc40cb [2023-09-28T05:14:27.301Z] Removing intermediate container c53228bc40cb [2023-09-28T05:14:27.301Z] ---> f9ed0f83d9dc [2023-09-28T05:14:27.301Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-28T05:14:27.301Z] ---> db063a1feea6 [2023-09-28T05:14:27.301Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T05:14:27.301Z] ---> Running in e611d200b2b4 [2023-09-28T05:15:06.293Z] Removing intermediate container e611d200b2b4 [2023-09-28T05:15:06.293Z] ---> e1a13f689f08 [2023-09-28T05:15:06.293Z] Step 9/10 : COPY . . [2023-09-28T05:15:06.552Z] ---> 75591d8fa333 [2023-09-28T05:15:06.552Z] Step 10/10 : RUN ${MAKE} [2023-09-28T05:15:06.552Z] ---> Running in ac691f3d83a8 [2023-09-28T05:15:06.810Z] noop [2023-09-28T05:15:07.069Z] Removing intermediate container ac691f3d83a8 [2023-09-28T05:15:07.069Z] ---> 3eab070b1f4c [2023-09-28T05:15:07.069Z] Successfully built 3eab070b1f4c [2023-09-28T05:15:07.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:15:07.532Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T05:15:07.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:15:07.685Z] prd-ubuntu20.04-docker-8c-8g-8113 does not seem to be running inside a container [2023-09-28T05:15:07.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-506 -v /w/workspace/xfoundry_device-modbus-go_PR-506:/w/workspace/xfoundry_device-modbus-go_PR-506:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-506@tmp:/w/workspace/xfoundry_device-modbus-go_PR-506@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 ******** ci-base-image-x86_64 cat [2023-09-28T05:15:08.056Z] $ docker top ba8bfb7b8fa5ae237de4a6f5307a3bb287d42897a7f61a803ff223b39f415a41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T05:15:08.447Z] + go version [2023-09-28T05:15:08.447Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-28T05:15:08.491Z] $ docker stop --time=1 ba8bfb7b8fa5ae237de4a6f5307a3bb287d42897a7f61a803ff223b39f415a41 [2023-09-28T05:15:09.773Z] $ docker rm -f --volumes ba8bfb7b8fa5ae237de4a6f5307a3bb287d42897a7f61a803ff223b39f415a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:15:10.509Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T05:15:10.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:15:10.677Z] prd-ubuntu20.04-docker-8c-8g-8113 does not seem to be running inside a container [2023-09-28T05:15:10.712Z] $ 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-506 -v /w/workspace/xfoundry_device-modbus-go_PR-506:/w/workspace/xfoundry_device-modbus-go_PR-506:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-506@tmp:/w/workspace/xfoundry_device-modbus-go_PR-506@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 ******** ci-base-image-x86_64 cat [2023-09-28T05:15:11.032Z] $ docker top 7b9c6c914effeef48e81922e1669fea0d4d326259c06fedcd063aa7f8f627996 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T05:15:11.422Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-506 [Pipeline] fileExists [Pipeline] sh [2023-09-28T05:15:11.782Z] + make test [2023-09-28T05:15:11.782Z] go test ./... -coverprofile=coverage.out [2023-09-28T05:15:13.172Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-28T05:15:23.148Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-28T05:15:23.148Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-09-28T05:15:29.720Z] go vet ./... [2023-09-28T05:15:33.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T05:15:33.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T05:15:33.129Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T05:15:33.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T05:15:33.215Z] $ docker stop --time=1 7b9c6c914effeef48e81922e1669fea0d4d326259c06fedcd063aa7f8f627996 [2023-09-28T05:15:36.483Z] $ docker rm -f --volumes 7b9c6c914effeef48e81922e1669fea0d4d326259c06fedcd063aa7f8f627996 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T05:15:37.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T05:15:37.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-28T05:15:37.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T05:15:38.116Z] + ls -al . [2023-09-28T05:15:38.116Z] total 192 [2023-09-28T05:15:38.116Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 05:15 . [2023-09-28T05:15:38.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:13 .. [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 05:13 .dockerignore [2023-09-28T05:15:38.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 05:15 .git [2023-09-28T05:15:38.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:13 .github [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 05:13 .gitignore [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 05:13 .golangci.yml [2023-09-28T05:15:38.116Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 05:14 .semver [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 28 05:13 Attribution.txt [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 28 05:13 CHANGELOG.md [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 28 05:13 Dockerfile [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 05:13 GOVERNANCE.md [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 05:13 Jenkinsfile [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 05:13 LICENSE [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 28 05:13 Makefile [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 05:13 OWNERS.md [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 28 05:13 README.md [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 05:14 VERSION [2023-09-28T05:15:38.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 05:13 bin [2023-09-28T05:15:38.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:13 cmd [2023-09-28T05:15:38.116Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 28 05:15 coverage.out [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 28 05:13 go.mod [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 28 05:13 go.sum [2023-09-28T05:15:38.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:13 internal [2023-09-28T05:15:38.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 05:13 simulator [2023-09-28T05:15:38.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:13 snap [2023-09-28T05:15:38.116Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:15:38.515Z] + 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=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 --label arch=amd64 --label version=0.0.0 . [2023-09-28T05:15:38.515Z] Sending build context to Docker daemon 6.521MB [2023-09-28T05:15:38.515Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T05:15:38.515Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-28T05:15:38.515Z] ---> 3eab070b1f4c [2023-09-28T05:15:38.515Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-28T05:15:38.775Z] ---> Running in cc789da60dee [2023-09-28T05:15:38.775Z] Removing intermediate container cc789da60dee [2023-09-28T05:15:38.775Z] ---> aabf30a7aaa0 [2023-09-28T05:15:38.775Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T05:15:38.775Z] ---> Running in 74fdfd6d485f [2023-09-28T05:15:38.775Z] Removing intermediate container 74fdfd6d485f [2023-09-28T05:15:38.775Z] ---> e379235afd1b [2023-09-28T05:15:38.775Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-28T05:15:38.775Z] ---> Running in 77e228213d4f [2023-09-28T05:15:39.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T05:15:39.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T05:15:39.294Z] OK: 270 MiB in 60 packages [2023-09-28T05:15:39.864Z] Removing intermediate container 77e228213d4f [2023-09-28T05:15:39.864Z] ---> 3f577cd357e2 [2023-09-28T05:15:39.864Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-28T05:15:39.864Z] ---> Running in 9923ca2401a4 [2023-09-28T05:15:39.864Z] Removing intermediate container 9923ca2401a4 [2023-09-28T05:15:39.864Z] ---> d2788c804291 [2023-09-28T05:15:39.864Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-28T05:15:39.864Z] ---> 52e22bf61ac7 [2023-09-28T05:15:39.864Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T05:15:40.124Z] ---> Running in d31216ea95f4 [2023-09-28T05:15:40.693Z] Removing intermediate container d31216ea95f4 [2023-09-28T05:15:40.693Z] ---> 7d0b6945f6fa [2023-09-28T05:15:40.693Z] Step 9/22 : COPY . . [2023-09-28T05:15:40.952Z] ---> 7193e3008366 [2023-09-28T05:15:40.952Z] Step 10/22 : RUN ${MAKE} [2023-09-28T05:15:40.952Z] ---> Running in 70db0a7fdc4c [2023-09-28T05:15:41.211Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-28T05:16:03.154Z] Removing intermediate container 70db0a7fdc4c [2023-09-28T05:16:03.154Z] ---> a9da4e3ac916 [2023-09-28T05:16:03.154Z] Step 11/22 : FROM alpine:3.18 [2023-09-28T05:16:03.154Z] 3.18: Pulling from library/alpine [2023-09-28T05:16:03.154Z] 7264a8db6415: Already exists [2023-09-28T05:16:03.154Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T05:16:03.154Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T05:16:03.154Z] ---> 7e01a0d0a1dc [2023-09-28T05:16:03.154Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-28T05:16:03.154Z] ---> Running in bd703b42cb89 [2023-09-28T05:16:03.154Z] Removing intermediate container bd703b42cb89 [2023-09-28T05:16:03.154Z] ---> 02e2bd917421 [2023-09-28T05:16:03.154Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-28T05:16:03.154Z] ---> Running in 7f9c9d41f996 [2023-09-28T05:16:03.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T05:16:03.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T05:16:03.154Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T05:16:03.154Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T05:16:03.154Z] OK: 7 MiB in 16 packages [2023-09-28T05:16:03.154Z] Removing intermediate container 7f9c9d41f996 [2023-09-28T05:16:03.154Z] ---> 88228f7af704 [2023-09-28T05:16:03.154Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-28T05:16:03.414Z] ---> 27e9895f82d7 [2023-09-28T05:16:03.414Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-28T05:16:03.674Z] ---> e127b5f96b80 [2023-09-28T05:16:03.674Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-28T05:16:03.932Z] ---> ecdaf063f37b [2023-09-28T05:16:03.932Z] Step 17/22 : EXPOSE 59901 [2023-09-28T05:16:03.932Z] ---> Running in d822cd8f6cfb [2023-09-28T05:16:03.932Z] Removing intermediate container d822cd8f6cfb [2023-09-28T05:16:03.932Z] ---> 4d5cc7a6c24c [2023-09-28T05:16:03.932Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-28T05:16:03.932Z] ---> Running in 195025a8f774 [2023-09-28T05:16:04.191Z] Removing intermediate container 195025a8f774 [2023-09-28T05:16:04.191Z] ---> 7dce4dfb8e1a [2023-09-28T05:16:04.191Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T05:16:04.191Z] ---> Running in d36756011e52 [2023-09-28T05:16:04.191Z] Removing intermediate container d36756011e52 [2023-09-28T05:16:04.191Z] ---> 0b05f2a3ad46 [2023-09-28T05:16:04.191Z] Step 20/22 : LABEL arch=amd64 [2023-09-28T05:16:04.191Z] ---> Running in 4b31f8564fe9 [2023-09-28T05:16:04.191Z] Removing intermediate container 4b31f8564fe9 [2023-09-28T05:16:04.191Z] ---> ce49bd6fdfd7 [2023-09-28T05:16:04.191Z] Step 21/22 : LABEL git_sha=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [2023-09-28T05:16:04.449Z] ---> Running in 2bb907ecd722 [2023-09-28T05:16:04.450Z] Removing intermediate container 2bb907ecd722 [2023-09-28T05:16:04.450Z] ---> 307a3cc27dea [2023-09-28T05:16:04.450Z] Step 22/22 : LABEL version=0.0.0 [2023-09-28T05:16:04.450Z] ---> Running in 52524992f38a [2023-09-28T05:16:04.450Z] Removing intermediate container 52524992f38a [2023-09-28T05:16:04.450Z] ---> fc37f772b3da [2023-09-28T05:16:04.450Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T05:16:04.450Z] Successfully built fc37f772b3da [2023-09-28T05:16:04.450Z] 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-09-28T05:16:05.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T05:16:05.543Z] [2023-09-28T05:16:05.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:16:05.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T05:16:05.998Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T05:16:05.998Z] 5eb5b503b376: Pulling fs layer [2023-09-28T05:16:05.998Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T05:16:05.998Z] ec43610c2a17: Pulling fs layer [2023-09-28T05:16:05.998Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T05:16:05.998Z] 33b1e0a273af: Pulling fs layer [2023-09-28T05:16:05.998Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T05:16:05.998Z] 2f39f015ded8: Pulling fs layer [2023-09-28T05:16:05.998Z] 3a2ae6a8a46f: Waiting [2023-09-28T05:16:05.998Z] 33b1e0a273af: Waiting [2023-09-28T05:16:05.998Z] 5d3b04190fa2: Waiting [2023-09-28T05:16:05.998Z] 2f39f015ded8: Waiting [2023-09-28T05:16:05.998Z] 5c69ac0246d0: Verifying Checksum [2023-09-28T05:16:05.998Z] 5c69ac0246d0: Download complete [2023-09-28T05:16:05.998Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-28T05:16:05.998Z] 3a2ae6a8a46f: Download complete [2023-09-28T05:16:05.998Z] 33b1e0a273af: Verifying Checksum [2023-09-28T05:16:05.998Z] 33b1e0a273af: Download complete [2023-09-28T05:16:05.998Z] 5d3b04190fa2: Verifying Checksum [2023-09-28T05:16:05.998Z] 5d3b04190fa2: Download complete [2023-09-28T05:16:06.283Z] ec43610c2a17: Verifying Checksum [2023-09-28T05:16:06.283Z] ec43610c2a17: Download complete [2023-09-28T05:16:06.283Z] 5eb5b503b376: Verifying Checksum [2023-09-28T05:16:06.283Z] 5eb5b503b376: Download complete [2023-09-28T05:16:06.860Z] 2f39f015ded8: Verifying Checksum [2023-09-28T05:16:06.860Z] 2f39f015ded8: Download complete [2023-09-28T05:16:07.425Z] 5eb5b503b376: Pull complete [2023-09-28T05:16:07.683Z] 5c69ac0246d0: Pull complete [2023-09-28T05:16:07.941Z] ec43610c2a17: Pull complete [2023-09-28T05:16:08.199Z] 3a2ae6a8a46f: Pull complete [2023-09-28T05:16:08.199Z] 33b1e0a273af: Pull complete [2023-09-28T05:16:08.456Z] 5d3b04190fa2: Pull complete [2023-09-28T05:16:12.640Z] 2f39f015ded8: Pull complete [2023-09-28T05:16:12.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T05:16:12.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T05:16:12.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:16:12.853Z] prd-ubuntu20.04-docker-8c-8g-8113 does not seem to be running inside a container [2023-09-28T05:16:12.895Z] $ 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-506 -v /w/workspace/xfoundry_device-modbus-go_PR-506:/w/workspace/xfoundry_device-modbus-go_PR-506:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-506@tmp:/w/workspace/xfoundry_device-modbus-go_PR-506@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-lftools-log-publisher:latest cat [2023-09-28T05:16:15.834Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8114 in /w/workspace/xfoundry_device-modbus-go_PR-506 [2023-09-28T05:16:18.026Z] $ docker top 2f892eb307494abc2351c4d590a4b396542b2db9780fd37184eb2cff34fb5c50 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-28T05:16:18.272Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-09-28T05:16:18.360Z] Selected Git installation does not exist. Using Default [2023-09-28T05:16:18.360Z] The recommended git tool is: NONE [2023-09-28T05:16:18.508Z] ---> job-cost.sh [2023-09-28T05:16:18.508Z] lf-activate-venv: SKIPPING [2023-09-28T05:16:18.508Z] INFO: No Stack... [2023-09-28T05:16:19.076Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T05:16:19.335Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T05:16:19.649Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-506/archives/cost.csv [2023-09-28T05:16:19.649Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T05:16:19.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [2023-09-28T05:16:19.692Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] did not exist. Created. [2023-09-28T05:16:19.692Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T05:16:20.141Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T05:16:20.193Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T05:16:20.218Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T05:16:20.308Z] $ docker stop --time=1 2f892eb307494abc2351c4d590a4b396542b2db9780fd37184eb2cff34fb5c50 [2023-09-28T05:16:21.452Z] $ docker rm -f --volumes 2f892eb307494abc2351c4d590a4b396542b2db9780fd37184eb2cff34fb5c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T05:16:24.647Z] using credential edgex-jenkins-ssh [2023-09-28T05:16:24.668Z] Cloning the remote Git repository [2023-09-28T05:16:24.736Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-28T05:16:24.860Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-09-28T05:16:25.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-28T05:16:25.034Z] > git --version # timeout=10 [2023-09-28T05:16:25.058Z] > git --version # 'git version 2.25.1' [2023-09-28T05:16:25.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T05:16:25.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T05:16:27.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-28T05:16:27.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T05:16:28.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-28T05:16:28.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-28T05:16:28.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T05:16:29.271Z] Merging remotes/origin/main commit ea9b4c32d21bf45c7fb886341563953752c62ac9 into PR head commit d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [2023-09-28T05:16:29.573Z] Merge succeeded, producing d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [2023-09-28T05:16:29.574Z] Checking out Revision d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 (PR-506) [2023-09-28T05:16:30.155Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-28T05:16:28.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-28T05:16:29.296Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T05:16:29.377Z] > git checkout -f d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 # timeout=10 [2023-09-28T05:16:29.469Z] > git remote # timeout=10 [2023-09-28T05:16:29.491Z] > git config --get remote.origin.url # timeout=10 [2023-09-28T05:16:29.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T05:16:29.526Z] > git merge ea9b4c32d21bf45c7fb886341563953752c62ac9 # timeout=10 [2023-09-28T05:16:29.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-28T05:16:29.582Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T05:16:29.604Z] > git checkout -f d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 # timeout=10 [2023-09-28T05:16:30.222Z] > git --version # timeout=10 [2023-09-28T05:16:30.235Z] > git --version # 'git version 2.25.1' [2023-09-28T05:16:30.252Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T05:16:31.486Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T05:16:31.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T05:16:31.486Z] Dload Upload Total Spent Left Speed [2023-09-28T05:16:31.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 43223 0 --:--:-- --:--:-- --:--:-- 43223 [Pipeline] sh [2023-09-28T05:16:32.399Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T05:16:32.758Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-28T05:16:32.758Z] + sudo tee /etc/docker/daemon.new [2023-09-28T05:16:32.758Z] { [2023-09-28T05:16:32.758Z] "registry-mirrors": [ [2023-09-28T05:16:32.758Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T05:16:32.758Z] ], [2023-09-28T05:16:32.758Z] "bip": "10.250.0.254/24", [2023-09-28T05:16:32.758Z] "hosts": [ [2023-09-28T05:16:32.758Z] "tcp://0.0.0.0:5555", [2023-09-28T05:16:32.758Z] "unix:///var/run/docker.sock" [2023-09-28T05:16:32.758Z] ], [2023-09-28T05:16:32.758Z] "mtu": 1458, [2023-09-28T05:16:32.758Z] "selinux-enabled": true, [2023-09-28T05:16:32.758Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T05:16:32.758Z] } [Pipeline] sh [2023-09-28T05:16:33.108Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T05:16:33.467Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T05:16:51.821Z] provisioning config files... [2023-09-28T05:16:51.855Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2822812523316830896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:16:52.264Z] ---> docker-login.sh [2023-09-28T05:16:52.264Z] nexus3.edgexfoundry.org:10001 [2023-09-28T05:16:52.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:16:52.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:16:52.858Z] Configure a credential helper to remove this warning. See [2023-09-28T05:16:52.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:16:52.858Z] [2023-09-28T05:16:52.858Z] Login Succeeded [2023-09-28T05:16:52.858Z] nexus3.edgexfoundry.org:10002 [2023-09-28T05:16:53.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:16:53.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:16:53.464Z] Configure a credential helper to remove this warning. See [2023-09-28T05:16:53.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:16:53.464Z] [2023-09-28T05:16:53.464Z] Login Succeeded [2023-09-28T05:16:53.464Z] nexus3.edgexfoundry.org:10003 [2023-09-28T05:16:53.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:16:53.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:16:53.737Z] Configure a credential helper to remove this warning. See [2023-09-28T05:16:53.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:16:53.738Z] [2023-09-28T05:16:53.738Z] Login Succeeded [2023-09-28T05:16:53.738Z] nexus3.edgexfoundry.org:10004 [2023-09-28T05:16:54.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:16:54.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:16:54.286Z] Configure a credential helper to remove this warning. See [2023-09-28T05:16:54.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:16:54.286Z] [2023-09-28T05:16:54.286Z] Login Succeeded [2023-09-28T05:16:54.286Z] docker.io [2023-09-28T05:16:54.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T05:16:54.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T05:16:54.827Z] Configure a credential helper to remove this warning. See [2023-09-28T05:16:54.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T05:16:54.827Z] [2023-09-28T05:16:54.827Z] Login Succeeded [2023-09-28T05:16:54.827Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T05:16:54.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T05:16:55.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T05:16:55.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T05:16:55.390Z] ========================================================= [2023-09-28T05:16:55.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-28T05:16:55.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:16:55.925Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T05:16:56.198Z] Sending build context to Docker daemon 3.374MB [2023-09-28T05:16:56.487Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T05:16:56.487Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-28T05:16:56.487Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-28T05:16:56.487Z] 9fda8d8052c6: Pulling fs layer [2023-09-28T05:16:56.487Z] 5d54e960e981: Pulling fs layer [2023-09-28T05:16:56.487Z] c4a7e357bf2a: Pulling fs layer [2023-09-28T05:16:56.487Z] f0e02332f6b5: Pulling fs layer [2023-09-28T05:16:56.487Z] cefa15bbcfad: Pulling fs layer [2023-09-28T05:16:56.487Z] 17808c966233: Pulling fs layer [2023-09-28T05:16:56.487Z] f4c1fc716caa: Pulling fs layer [2023-09-28T05:16:56.487Z] f0e02332f6b5: Waiting [2023-09-28T05:16:56.487Z] cefa15bbcfad: Waiting [2023-09-28T05:16:56.487Z] 17808c966233: Waiting [2023-09-28T05:16:56.487Z] f4c1fc716caa: Waiting [2023-09-28T05:16:56.487Z] 5d54e960e981: Verifying Checksum [2023-09-28T05:16:56.487Z] 5d54e960e981: Download complete [2023-09-28T05:16:56.487Z] f0e02332f6b5: Verifying Checksum [2023-09-28T05:16:56.487Z] f0e02332f6b5: Download complete [2023-09-28T05:16:56.764Z] cefa15bbcfad: Verifying Checksum [2023-09-28T05:16:56.764Z] cefa15bbcfad: Download complete [2023-09-28T05:16:56.764Z] 9fda8d8052c6: Verifying Checksum [2023-09-28T05:16:56.764Z] 9fda8d8052c6: Download complete [2023-09-28T05:16:57.044Z] f4c1fc716caa: Verifying Checksum [2023-09-28T05:16:57.044Z] f4c1fc716caa: Download complete [2023-09-28T05:16:57.643Z] 9fda8d8052c6: Pull complete [2023-09-28T05:16:58.238Z] 5d54e960e981: Pull complete [2023-09-28T05:16:58.514Z] c4a7e357bf2a: Verifying Checksum [2023-09-28T05:16:58.514Z] c4a7e357bf2a: Download complete [2023-09-28T05:16:59.485Z] 17808c966233: Verifying Checksum [2023-09-28T05:16:59.485Z] 17808c966233: Download complete [2023-09-28T05:17:11.957Z] c4a7e357bf2a: Pull complete [2023-09-28T05:17:11.957Z] f0e02332f6b5: Pull complete [2023-09-28T05:17:11.957Z] cefa15bbcfad: Pull complete [2023-09-28T05:17:18.652Z] 17808c966233: Pull complete [2023-09-28T05:17:22.009Z] f4c1fc716caa: Pull complete [2023-09-28T05:17:22.009Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-28T05:17:22.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-28T05:17:22.009Z] ---> ea914061e18c [2023-09-28T05:17:22.009Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-28T05:17:23.970Z] ---> Running in cc5c91f8a7a6 [2023-09-28T05:17:23.970Z] Removing intermediate container cc5c91f8a7a6 [2023-09-28T05:17:23.970Z] ---> cff09f61c727 [2023-09-28T05:17:23.970Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T05:17:23.970Z] ---> Running in 1aef578483ae [2023-09-28T05:17:24.558Z] Removing intermediate container 1aef578483ae [2023-09-28T05:17:24.558Z] ---> 7b0828071a8b [2023-09-28T05:17:24.558Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-28T05:17:24.558Z] ---> Running in 9474ca0b6585 [2023-09-28T05:17:25.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T05:17:26.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T05:17:27.532Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-28T05:17:27.532Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-28T05:17:27.532Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-28T05:17:27.532Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T05:17:27.532Z] OK: 272 MiB in 60 packages [2023-09-28T05:17:28.957Z] Removing intermediate container 9474ca0b6585 [2023-09-28T05:17:28.957Z] ---> bcf134c16f6d [2023-09-28T05:17:28.957Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-28T05:17:28.957Z] ---> Running in 83dccd04f019 [2023-09-28T05:17:29.226Z] Removing intermediate container 83dccd04f019 [2023-09-28T05:17:29.226Z] ---> bb225d6e145c [2023-09-28T05:17:29.226Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-28T05:17:29.814Z] ---> 4a86cba8bcfa [2023-09-28T05:17:29.814Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T05:17:29.814Z] ---> Running in 9de392999df8 [2023-09-28T05:18:51.466Z] Removing intermediate container 9de392999df8 [2023-09-28T05:18:51.466Z] ---> 2fdd9cbcd116 [2023-09-28T05:18:51.466Z] Step 9/10 : COPY . . [2023-09-28T05:18:51.466Z] ---> f819b7e5089e [2023-09-28T05:18:51.466Z] Step 10/10 : RUN ${MAKE} [2023-09-28T05:18:51.466Z] ---> Running in dcc6ddc76bf0 [2023-09-28T05:18:51.466Z] noop [2023-09-28T05:18:51.466Z] Removing intermediate container dcc6ddc76bf0 [2023-09-28T05:18:51.466Z] ---> fa1bd5eb51b4 [2023-09-28T05:18:51.466Z] Successfully built fa1bd5eb51b4 [2023-09-28T05:18:51.466Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:18:51.956Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T05:18:51.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:18:52.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container [2023-09-28T05:18:52.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat [2023-09-28T05:18:53.632Z] $ docker top 5c4822e8d49206dfb96f84e61d72dd885d339b70aed2961ad0b52354e54daece -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T05:18:54.561Z] + go version [2023-09-28T05:18:54.561Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-28T05:18:54.594Z] $ docker stop --time=1 5c4822e8d49206dfb96f84e61d72dd885d339b70aed2961ad0b52354e54daece [2023-09-28T05:18:56.264Z] $ docker rm -f --volumes 5c4822e8d49206dfb96f84e61d72dd885d339b70aed2961ad0b52354e54daece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:18:57.191Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T05:18:57.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:18:57.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container [2023-09-28T05:18:57.515Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat [2023-09-28T05:18:59.282Z] $ docker top dfc7816a60c0bf5269bbce7ff61101847e478c818a741e3c2598bc26649a7d99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T05:19:00.178Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-28T05:19:00.897Z] + make test [2023-09-28T05:19:00.897Z] go test ./... -coverprofile=coverage.out [2023-09-28T05:19:05.188Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-28T05:21:15.267Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-28T05:21:15.267Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.104s coverage: 47.9% of statements [2023-09-28T05:21:15.267Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-28T05:21:15.267Z] go vet ./... [2023-09-28T05:21:37.342Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T05:21:37.342Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T05:21:37.342Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T05:21:37.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T05:21:37.997Z] $ docker stop --time=1 dfc7816a60c0bf5269bbce7ff61101847e478c818a741e3c2598bc26649a7d99 [2023-09-28T05:21:39.861Z] $ docker rm -f --volumes dfc7816a60c0bf5269bbce7ff61101847e478c818a741e3c2598bc26649a7d99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T05:21:41.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T05:21:41.195Z] Warning: overwriting stash ‘coverage-report’ [2023-09-28T05:21:41.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T05:21:42.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T05:21:42.570Z] + ls -al . [2023-09-28T05:21:42.570Z] total 188 [2023-09-28T05:21:42.570Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 05:19 . [2023-09-28T05:21:42.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:16 .. [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 05:16 .dockerignore [2023-09-28T05:21:42.570Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 05:16 .git [2023-09-28T05:21:42.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:16 .github [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 05:16 .gitignore [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 05:16 .golangci.yml [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 28 05:16 Attribution.txt [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 28 05:16 CHANGELOG.md [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 28 05:16 Dockerfile [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 05:16 GOVERNANCE.md [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 05:16 Jenkinsfile [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 05:16 LICENSE [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 28 05:16 Makefile [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 05:16 OWNERS.md [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 28 05:16 README.md [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 05:14 VERSION [2023-09-28T05:21:42.570Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 05:16 bin [2023-09-28T05:21:42.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:16 cmd [2023-09-28T05:21:42.570Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 28 05:21 coverage.out [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 28 05:16 go.mod [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 28 05:16 go.sum [2023-09-28T05:21:42.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:16 internal [2023-09-28T05:21:42.570Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 05:16 simulator [2023-09-28T05:21:42.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:16 snap [2023-09-28T05:21:42.570Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:21:42.997Z] + 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=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 --label arch=arm64 --label version=0.0.0 . [2023-09-28T05:21:43.266Z] Sending build context to Docker daemon 3.399MB [2023-09-28T05:21:43.266Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T05:21:43.266Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-28T05:21:43.266Z] ---> fa1bd5eb51b4 [2023-09-28T05:21:43.266Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-28T05:21:43.534Z] ---> Running in aae9306ed739 [2023-09-28T05:21:43.804Z] Removing intermediate container aae9306ed739 [2023-09-28T05:21:43.804Z] ---> 70efa61900d8 [2023-09-28T05:21:43.804Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T05:21:43.804Z] ---> Running in 8d8966ed10ca [2023-09-28T05:21:44.072Z] Removing intermediate container 8d8966ed10ca [2023-09-28T05:21:44.072Z] ---> e20da32b2b8c [2023-09-28T05:21:44.072Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-28T05:21:44.355Z] ---> Running in 652f211ddfbf [2023-09-28T05:21:45.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T05:21:45.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T05:21:47.315Z] OK: 272 MiB in 60 packages [2023-09-28T05:21:47.904Z] Removing intermediate container 652f211ddfbf [2023-09-28T05:21:47.904Z] ---> 66f253ecbf72 [2023-09-28T05:21:47.904Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-28T05:21:48.178Z] ---> Running in 5a12d9254178 [2023-09-28T05:21:48.446Z] Removing intermediate container 5a12d9254178 [2023-09-28T05:21:48.446Z] ---> 5dde41a31730 [2023-09-28T05:21:48.446Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-28T05:21:49.034Z] ---> 567bcb122d5b [2023-09-28T05:21:49.034Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T05:21:49.034Z] ---> Running in e7b0c2136470 [2023-09-28T05:21:51.622Z] Removing intermediate container e7b0c2136470 [2023-09-28T05:21:51.622Z] ---> 582afad9e83d [2023-09-28T05:21:51.622Z] Step 9/22 : COPY . . [2023-09-28T05:21:52.211Z] ---> 8e5d3d303290 [2023-09-28T05:21:52.211Z] Step 10/22 : RUN ${MAKE} [2023-09-28T05:21:52.211Z] ---> Running in 14fcaaf65f8e [2023-09-28T05:21:53.244Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-28T05:23:59.981Z] Removing intermediate container 14fcaaf65f8e [2023-09-28T05:23:59.981Z] ---> 69305bb0eced [2023-09-28T05:23:59.981Z] Step 11/22 : FROM alpine:3.18 [2023-09-28T05:23:59.981Z] 3.18: Pulling from library/alpine [2023-09-28T05:23:59.981Z] 9fda8d8052c6: Already exists [2023-09-28T05:23:59.981Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T05:23:59.981Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T05:23:59.981Z] ---> f6648c04cd6c [2023-09-28T05:23:59.981Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-28T05:23:59.981Z] ---> Running in 78afe36d55af [2023-09-28T05:23:59.981Z] Removing intermediate container 78afe36d55af [2023-09-28T05:23:59.981Z] ---> e190635f6db7 [2023-09-28T05:23:59.981Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-28T05:23:59.981Z] ---> Running in 8477e3857b81 [2023-09-28T05:23:59.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T05:23:59.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T05:23:59.981Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T05:23:59.981Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T05:23:59.981Z] OK: 8 MiB in 16 packages [2023-09-28T05:23:59.981Z] Removing intermediate container 8477e3857b81 [2023-09-28T05:23:59.981Z] ---> ba25152fb6f0 [2023-09-28T05:23:59.981Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-28T05:23:59.981Z] ---> 7c7a0c1e6889 [2023-09-28T05:23:59.981Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-28T05:23:59.981Z] ---> 5ed2be77857f [2023-09-28T05:23:59.981Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-28T05:24:00.251Z] ---> a866d34be90c [2023-09-28T05:24:00.251Z] Step 17/22 : EXPOSE 59901 [2023-09-28T05:24:00.251Z] ---> Running in faacbefde46c [2023-09-28T05:24:00.519Z] Removing intermediate container faacbefde46c [2023-09-28T05:24:00.519Z] ---> af0ae82de62a [2023-09-28T05:24:00.519Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-28T05:24:00.787Z] ---> Running in 047c4453cd8e [2023-09-28T05:24:01.055Z] Removing intermediate container 047c4453cd8e [2023-09-28T05:24:01.055Z] ---> 4515089f66d1 [2023-09-28T05:24:01.055Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T05:24:01.055Z] ---> Running in 681167bd25dd [2023-09-28T05:24:01.323Z] Removing intermediate container 681167bd25dd [2023-09-28T05:24:01.323Z] ---> 154c88eafe47 [2023-09-28T05:24:01.323Z] Step 20/22 : LABEL arch=arm64 [2023-09-28T05:24:01.323Z] ---> Running in 894c6d7b2f23 [2023-09-28T05:24:01.908Z] Removing intermediate container 894c6d7b2f23 [2023-09-28T05:24:01.908Z] ---> a39b73ff4841 [2023-09-28T05:24:01.908Z] Step 21/22 : LABEL git_sha=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [2023-09-28T05:24:01.908Z] ---> Running in 6ccf58706c49 [2023-09-28T05:24:02.175Z] Removing intermediate container 6ccf58706c49 [2023-09-28T05:24:02.175Z] ---> d4d3433adf6b [2023-09-28T05:24:02.175Z] Step 22/22 : LABEL version=0.0.0 [2023-09-28T05:24:02.175Z] ---> Running in 55752d064d0a [2023-09-28T05:24:02.762Z] Removing intermediate container 55752d064d0a [2023-09-28T05:24:02.762Z] ---> 374ebd277214 [2023-09-28T05:24:02.762Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T05:24:02.762Z] Successfully built 374ebd277214 [2023-09-28T05:24:02.762Z] 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-09-28T05:24:03.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T05:24:03.600Z] [2023-09-28T05:24:03.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:24:04.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T05:24:04.008Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T05:24:04.008Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T05:24:04.008Z] 04944245beec: Pulling fs layer [2023-09-28T05:24:04.008Z] 699f458cf7ca: Pulling fs layer [2023-09-28T05:24:04.008Z] 765212b225bb: Pulling fs layer [2023-09-28T05:24:04.008Z] f23df028b6ca: Pulling fs layer [2023-09-28T05:24:04.008Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T05:24:04.008Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T05:24:04.008Z] f23df028b6ca: Waiting [2023-09-28T05:24:04.008Z] d65c8cfc05b1: Waiting [2023-09-28T05:24:04.008Z] 765212b225bb: Waiting [2023-09-28T05:24:04.276Z] 04944245beec: Verifying Checksum [2023-09-28T05:24:04.276Z] 04944245beec: Download complete [2023-09-28T05:24:04.276Z] 765212b225bb: Verifying Checksum [2023-09-28T05:24:04.276Z] 765212b225bb: Download complete [2023-09-28T05:24:04.276Z] f23df028b6ca: Verifying Checksum [2023-09-28T05:24:04.276Z] f23df028b6ca: Download complete [2023-09-28T05:24:04.276Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T05:24:04.276Z] d65c8cfc05b1: Download complete [2023-09-28T05:24:04.543Z] 699f458cf7ca: Verifying Checksum [2023-09-28T05:24:04.543Z] 699f458cf7ca: Download complete [2023-09-28T05:24:04.812Z] 8998bd30e6a1: Verifying Checksum [2023-09-28T05:24:04.812Z] 8998bd30e6a1: Download complete [2023-09-28T05:24:07.412Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T05:24:07.412Z] 2437ff75d9bd: Download complete [2023-09-28T05:24:09.366Z] 8998bd30e6a1: Pull complete [2023-09-28T05:24:09.633Z] 04944245beec: Pull complete [2023-09-28T05:24:14.983Z] 699f458cf7ca: Pull complete [2023-09-28T05:24:14.983Z] 765212b225bb: Pull complete [2023-09-28T05:24:15.633Z] f23df028b6ca: Pull complete [2023-09-28T05:24:15.633Z] d65c8cfc05b1: Pull complete [2023-09-28T05:24:30.729Z] 2437ff75d9bd: Pull complete [2023-09-28T05:24:30.729Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T05:24:30.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T05:24:30.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:24:31.042Z] prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container [2023-09-28T05:24:31.110Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-lftools-log-publisher:arm64 cat [2023-09-28T05:24:33.901Z] $ docker top 8f3c17d290786031352fdaed37836ed7f9040470a0e3af60b9e1e373372ab4e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:34.775Z] ---> job-cost.sh [2023-09-28T05:24:34.775Z] lf-activate-venv: SKIPPING [2023-09-28T05:24:34.775Z] INFO: No Stack... [2023-09-28T05:24:35.040Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T05:24:35.999Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T05:24:36.343Z] + + catcut /w/workspace/device-modbus-go/1/archives/cost.csv -d, [2023-09-28T05:24:36.343Z] -f6 [Pipeline] lock [2023-09-28T05:24:36.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [2023-09-28T05:24:36.694Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] did not exist. Created. [2023-09-28T05:24:36.694Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T05:24:37.433Z] /w/workspace/device-modbus-go/1@tmp/durable-c161d236/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T05:24:38.096Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T05:24:38.130Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T05:24:38.184Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T05:24:38.199Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-506-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T05:24:38.280Z] $ docker stop --time=1 8f3c17d290786031352fdaed37836ed7f9040470a0e3af60b9e1e373372ab4e1 [2023-09-28T05:24:43.060Z] $ docker rm -f --volumes 8f3c17d290786031352fdaed37836ed7f9040470a0e3af60b9e1e373372ab4e1 [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-09-28T05:24:44.063Z] provisioning config files... [2023-09-28T05:24:44.072Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/config6556276002981563506tmp [Pipeline] { [Pipeline] sh [2023-09-28T05:24:44.407Z] + set +x [2023-09-28T05:24:44.407Z] + curl -s https://codecov.io/bash [2023-09-28T05:24:44.407Z] + bash -s -- [2023-09-28T05:24:44.407Z] [2023-09-28T05:24:44.407Z] _____ _ [2023-09-28T05:24:44.407Z] / ____| | | [2023-09-28T05:24:44.407Z] | | ___ __| | ___ ___ _____ __ [2023-09-28T05:24:44.407Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-28T05:24:44.407Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-28T05:24:44.407Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-28T05:24:44.407Z] Bash-1.0.6 [2023-09-28T05:24:44.407Z] [2023-09-28T05:24:44.407Z] [2023-09-28T05:24:44.407Z] ==> git version 2.25.1 found [2023-09-28T05:24:44.407Z] ==> 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-09-28T05:24:44.407Z] Release-Date: 2020-01-08 [2023-09-28T05:24:44.407Z] 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-09-28T05:24:44.407Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-28T05:24:44.407Z] ==> Jenkins CI detected. [2023-09-28T05:24:44.407Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-506 [2023-09-28T05:24:44.407Z] project root: . [2023-09-28T05:24:44.407Z] --> token set from env [2023-09-28T05:24:44.407Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-28T05:24:44.407Z] ==> Running gcov in . (disable via -X gcov) [2023-09-28T05:24:44.407Z] ==> Python coveragepy not found [2023-09-28T05:24:44.407Z] ==> Searching for coverage reports in: [2023-09-28T05:24:44.407Z] + . [2023-09-28T05:24:44.407Z] -> Found 1 reports [2023-09-28T05:24:44.407Z] ==> Detecting git/mercurial file structure [2023-09-28T05:24:44.407Z] ==> Reading reports [2023-09-28T05:24:44.667Z] + ./coverage.out bytes=24334 [2023-09-28T05:24:44.667Z] ==> Appending adjustments [2023-09-28T05:24:44.667Z] https://docs.codecov.io/docs/fixing-reports [2023-09-28T05:24:44.667Z] + Found adjustments [2023-09-28T05:24:44.667Z] ==> Gzipping contents [2023-09-28T05:24:44.667Z] 4.0K /tmp/codecov.WCn66d.gz [2023-09-28T05:24:44.667Z] ==> Uploading reports [2023-09-28T05:24:44.667Z] url: https://codecov.io [2023-09-28T05:24:44.667Z] query: branch=PR-506&commit=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=506&job=&cmd_args= [2023-09-28T05:24:44.667Z] -> Pinging Codecov [2023-09-28T05:24:44.667Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-506&commit=d45f907f436f01f3ca0c4cbc51431d60c88ea6a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=506&job=&cmd_args= [2023-09-28T05:24:44.667Z] -> Uploading to [2023-09-28T05:24:44.667Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-28/55DBCA73C666E3227836607328DD7E49/d45f907f436f01f3ca0c4cbc51431d60c88ea6a0/83eef86b-5c5f-424e-9c44-c4ec3b69d63e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T052444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2feaeaa24a1748daa7cbc3d235f774d9fba137c9e1390aa2f81e79f1134b5bbf [2023-09-28T05:24:44.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T05:24:44.926Z] Dload Upload Total Spent Left Speed [2023-09-28T05:24:45.186Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 13563 --:--:-- --:--:-- --:--:-- 13563 [2023-09-28T05:24:45.186Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d45f907f436f01f3ca0c4cbc51431d60c88ea6a0 [Pipeline] } [2023-09-28T05:24:45.215Z] 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-09-28T05:24:47.307Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-506/archives ] [2023-09-28T05:24:47.308Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-506/archives [2023-09-28T05:24:47.308Z] total 16 [2023-09-28T05:24:47.308Z] drwxr-xr-x 3 root root 4096 Sep 28 05:16 . [2023-09-28T05:24:47.308Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 05:16 .. [2023-09-28T05:24:47.308Z] drwxr-xr-x 2 root root 4096 Sep 28 05:16 cost [2023-09-28T05:24:47.308Z] -rw-r--r-- 1 root root 88 Sep 28 05:16 cost.csv [2023-09-28T05:24:47.308Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-506/archives [2023-09-28T05:24:47.308Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-506/archives [2023-09-28T05:24:47.308Z] total 16 [2023-09-28T05:24:47.308Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 05:16 . [2023-09-28T05:24:47.308Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 05:16 .. [2023-09-28T05:24:47.308Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 05:16 cost [2023-09-28T05:24:47.308Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 28 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:47.638Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:48.522Z] ---> package-listing.sh [2023-09-28T05:24:48.522Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T05:24:48.522Z] ++ facter osfamily [2023-09-28T05:24:48.781Z] + OS_FAMILY=debian [2023-09-28T05:24:48.781Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-506 [2023-09-28T05:24:48.781Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T05:24:48.781Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T05:24:48.781Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T05:24:48.781Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T05:24:48.781Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-506 ']' [2023-09-28T05:24:48.781Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T05:24:48.781Z] + case "${OS_FAMILY}" in [2023-09-28T05:24:48.781Z] + dpkg -l [2023-09-28T05:24:48.781Z] + grep '^ii' [2023-09-28T05:24:48.781Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T05:24:48.781Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T05:24:48.781Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T05:24:48.781Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-506 ']' [2023-09-28T05:24:48.781Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-506/archives/ [2023-09-28T05:24:48.781Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-506/archives/ [Pipeline] echo [2023-09-28T05:24:48.814Z] 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-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-28T05:24:49.105Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T05:24:49.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T05:24:49.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T05:24:49.885Z] prd-ubuntu20.04-docker-8c-8g-8113 does not seem to be running inside a container [2023-09-28T05:24:49.942Z] $ 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-506/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-506 -v /w/workspace/xfoundry_device-modbus-go_PR-506:/w/workspace/xfoundry_device-modbus-go_PR-506:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-506@tmp:/w/workspace/xfoundry_device-modbus-go_PR-506@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T05:24:50.135Z] $ docker top 0730beaba86be95976ac2a2867318fc3a70f6ea1d6fdf72a5790baf8c6f27bda -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T05:24:50.511Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T05:24:50.819Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T05:24:51.129Z] + ls /var/log/sa-host [2023-09-28T05:24:51.129Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T05:24:51.332Z] provisioning config files... [2023-09-28T05:24:51.339Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-506@tmp/config13176509408033969212tmp [Pipeline] { [Pipeline] echo [2023-09-28T05:24:51.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:51.699Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T05:24:51.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:52.134Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T05:24:52.168Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:52.476Z] ---> sudo-logs.sh [2023-09-28T05:24:52.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T05:24:52.568Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:52.883Z] ---> job-cost.sh [2023-09-28T05:24:52.883Z] lf-activate-venv: SKIPPING [2023-09-28T05:24:52.883Z] DEBUG: total: 0.2199999988079071 [2023-09-28T05:24:52.883Z] INFO: Retrieving Stack Cost... [2023-09-28T05:24:53.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T05:24:53.712Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T05:24:53.745Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T05:24:54.058Z] ---> logs-deploy.sh [2023-09-28T05:24:54.058Z] lf-activate-venv: SKIPPING [2023-09-28T05:24:54.058Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-506/1 [2023-09-28T05:24:54.058Z] INFO: archiving workspace using pattern(s): [2023-09-28T05:24:54.993Z] Archives upload complete. [2023-09-28T05:24:54.993Z] INFO: archiving logs to Nexus