Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 089867b0b0d00f771f727352db61cbcad45eb9d4+11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 (f1e43f0a4558a1515d0355ee83710b370c629cdd) 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-ssh4607225151616221775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5091440523723899317.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2535368808026572203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12758605668879468838.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11542886551664914673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [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.23 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25989 in /w/workspace/xfoundry_device-modbus-go_PR-590 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-590 # 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/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit 089867b0b0d00f771f727352db61cbcad45eb9d4 Merge succeeded, producing baeffff832230afdef053380aed2c051c71752e5 Checking out Revision baeffff832230afdef053380aed2c051c71752e5 (PR-590) > git config core.sparsecheckout # timeout=10 > git checkout -f 089867b0b0d00f771f727352db61cbcad45eb9d4 # 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 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f baeffff832230afdef053380aed2c051c71752e5 # timeout=10 Commit message: "Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD" > git rev-list --no-walk 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-09T00:55:18.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-09T00:55:18.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-09T00:55:18.870Z] ========================================================= [2024-11-09T00:55:18.870Z] EdgeX Global Pipelines Version Info [2024-11-09T00:55:18.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-09T00:55:19.600Z] ------------------- [2024-11-09T00:55:19.600Z] stable info: [2024-11-09T00:55:19.600Z] ------------------- [2024-11-09T00:55:19.600Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-09T00:55:19.600Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-09T00:55:19.600Z] Message: update stable to v1.0.265 [2024-11-09T00:55:20.172Z] ------------------- [2024-11-09T00:55:20.172Z] experimental info: [2024-11-09T00:55:20.172Z] ------------------- [2024-11-09T00:55:20.172Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-09T00:55:20.172Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-09T00:55:20.172Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-09T00:55:20.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-09T00:55:20.268Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-09T00:55:20.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-09T00:55:20.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-09T00:55:20.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-09T00:55:20.351Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-09T00:55:20.371Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-09T00:55:20.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-09T00:55:20.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-09T00:55:20.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-09T00:55:20.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-09T00:55:20.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-09T00:55:20.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-09T00:55:20.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-09T00:55:20.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-09T00:55:20.571Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-09T00:55:20.594Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-09T00:55:20.619Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-09T00:55:20.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-09T00:55:20.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-09T00:55:20.694Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-09T00:55:20.717Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-09T00:55:20.741Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-09T00:55:20.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-09T00:55:20.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-09T00:55:20.804Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-09T00:55:20.826Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-09T00:55:20.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-590 [Pipeline] echo [2024-11-09T00:55:20.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-590 [Pipeline] echo [2024-11-09T00:55:20.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-590 [Pipeline] echo [2024-11-09T00:55:20.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo [2024-11-09T00:55:20.950Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = baeffff [Pipeline] echo [2024-11-09T00:55:20.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-09T00:55:21.038Z] provisioning config files... [2024-11-09T00:55:21.051Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config15920470009117013313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-09T00:55:21.382Z] ---> ****-login.sh [2024-11-09T00:55:21.382Z] nexus3.edgexfoundry.org:10001 [2024-11-09T00:55:21.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:21.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:21.640Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:21.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:21.640Z] [2024-11-09T00:55:21.640Z] Login Succeeded [2024-11-09T00:55:21.640Z] nexus3.edgexfoundry.org:10002 [2024-11-09T00:55:21.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:21.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:21.900Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:21.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:21.900Z] [2024-11-09T00:55:21.900Z] Login Succeeded [2024-11-09T00:55:21.900Z] nexus3.edgexfoundry.org:10003 [2024-11-09T00:55:21.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:21.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:21.900Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:21.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:21.900Z] [2024-11-09T00:55:21.900Z] Login Succeeded [2024-11-09T00:55:21.900Z] nexus3.edgexfoundry.org:10004 [2024-11-09T00:55:21.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:21.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:21.900Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:21.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:21.900Z] [2024-11-09T00:55:21.900Z] Login Succeeded [2024-11-09T00:55:21.900Z] ****.io [2024-11-09T00:55:22.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:22.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:22.160Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:22.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:22.160Z] [2024-11-09T00:55:22.160Z] Login Succeeded [2024-11-09T00:55:22.160Z] ---> ****-login.sh ends [Pipeline] } [2024-11-09T00:55:22.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-09T00:55:22.572Z] + git rev-list -1 --merges baeffff832230afdef053380aed2c051c71752e5~1..baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo [2024-11-09T00:55:22.598Z] -----------> git rev-list -1 --merges baeffff832230afdef053380aed2c051c71752e5~1..baeffff832230afdef053380aed2c051c71752e5 baeffff832230afdef053380aed2c051c71752e5 [2024-11-09T00:55:22.598Z] baeffff832230afdef053380aed2c051c71752e5 [false] [Pipeline] sh [2024-11-09T00:55:22.888Z] + git log --format=format:%s -1 baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo [2024-11-09T00:55:22.905Z] ========================================================= [2024-11-09T00:55:22.905Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-09T00:55:22.905Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-09T00:55:23.244Z] + git log --format=format:%s -1 baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo [2024-11-09T00:55:23.256Z] [semverPrep] GIT_COMMIT: baeffff832230afdef053380aed2c051c71752e5, Commit Message: Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD [Pipeline] echo [2024-11-09T00:55:23.271Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-09T00:55:23.646Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-09T00:55:23.646Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-09T00:55:23.646Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-09T00:55:23.646Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-09T00:55:23.646Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-09T00:55:23.646Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-09T00:55:23.646Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:55:24.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-09T00:55:24.336Z] [2024-11-09T00:55:24.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:55:24.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-09T00:55:24.640Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-09T00:55:24.640Z] b85a868b505f: Pulling fs layer [2024-11-09T00:55:24.640Z] e2be974225ed: Pulling fs layer [2024-11-09T00:55:24.640Z] 339a4e72a1f5: Pulling fs layer [2024-11-09T00:55:24.640Z] 988bab9f4d93: Pulling fs layer [2024-11-09T00:55:24.640Z] 1469e6f7b9e6: Pulling fs layer [2024-11-09T00:55:24.640Z] eaf3925da568: Pulling fs layer [2024-11-09T00:55:24.640Z] bab4dde63d76: Pulling fs layer [2024-11-09T00:55:24.640Z] bde34c3a00c8: Pulling fs layer [2024-11-09T00:55:24.640Z] b352a97aabf1: Pulling fs layer [2024-11-09T00:55:24.640Z] 4872d77fe225: Pulling fs layer [2024-11-09T00:55:24.640Z] 5851b861e8e6: Pulling fs layer [2024-11-09T00:55:24.640Z] 988bab9f4d93: Waiting [2024-11-09T00:55:24.640Z] bab4dde63d76: Waiting [2024-11-09T00:55:24.640Z] 1469e6f7b9e6: Waiting [2024-11-09T00:55:24.640Z] bde34c3a00c8: Waiting [2024-11-09T00:55:24.640Z] eaf3925da568: Waiting [2024-11-09T00:55:24.640Z] b352a97aabf1: Waiting [2024-11-09T00:55:24.640Z] 5851b861e8e6: Waiting [2024-11-09T00:55:24.640Z] 4872d77fe225: Waiting [2024-11-09T00:55:24.640Z] e2be974225ed: Download complete [2024-11-09T00:55:24.640Z] 988bab9f4d93: Verifying Checksum [2024-11-09T00:55:24.640Z] 988bab9f4d93: Download complete [2024-11-09T00:55:24.640Z] 1469e6f7b9e6: Verifying Checksum [2024-11-09T00:55:24.640Z] 1469e6f7b9e6: Download complete [2024-11-09T00:55:24.640Z] eaf3925da568: Verifying Checksum [2024-11-09T00:55:24.640Z] eaf3925da568: Download complete [2024-11-09T00:55:24.900Z] 339a4e72a1f5: Verifying Checksum [2024-11-09T00:55:24.900Z] 339a4e72a1f5: Download complete [2024-11-09T00:55:24.900Z] bde34c3a00c8: Download complete [2024-11-09T00:55:24.900Z] b352a97aabf1: Download complete [2024-11-09T00:55:24.900Z] 4872d77fe225: Verifying Checksum [2024-11-09T00:55:24.900Z] 4872d77fe225: Download complete [2024-11-09T00:55:24.900Z] 5851b861e8e6: Verifying Checksum [2024-11-09T00:55:24.900Z] 5851b861e8e6: Download complete [2024-11-09T00:55:24.900Z] b85a868b505f: Verifying Checksum [2024-11-09T00:55:24.900Z] b85a868b505f: Download complete [2024-11-09T00:55:25.158Z] bab4dde63d76: Verifying Checksum [2024-11-09T00:55:25.158Z] bab4dde63d76: Download complete [2024-11-09T00:55:26.097Z] b85a868b505f: Pull complete [2024-11-09T00:55:26.097Z] e2be974225ed: Pull complete [2024-11-09T00:55:26.664Z] 339a4e72a1f5: Pull complete [2024-11-09T00:55:26.664Z] 988bab9f4d93: Pull complete [2024-11-09T00:55:26.923Z] 1469e6f7b9e6: Pull complete [2024-11-09T00:55:27.182Z] eaf3925da568: Pull complete [2024-11-09T00:55:29.085Z] bab4dde63d76: Pull complete [2024-11-09T00:55:29.085Z] bde34c3a00c8: Pull complete [2024-11-09T00:55:29.085Z] b352a97aabf1: Pull complete [2024-11-09T00:55:29.085Z] 4872d77fe225: Pull complete [2024-11-09T00:55:29.348Z] 5851b861e8e6: Pull complete [2024-11-09T00:55:29.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-09T00:55:29.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-09T00:55:29.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T00:55:29.491Z] prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container [2024-11-09T00:55:29.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-09T00:55:33.670Z] $ docker top 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e -eo pid,comm [2024-11-09T00:55:33.732Z] 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). [2024-11-09T00:55:33.732Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-09T00:55:33.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-09T00:55:33.796Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-09T00:55:33.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-09T00:55:33.912Z] $ docker exec 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent [2024-11-09T00:55:34.013Z] SSH_AUTH_SOCK=/tmp/ssh-YY1dXVgdTBhk/agent.32 [2024-11-09T00:55:34.013Z] SSH_AGENT_PID=38 [2024-11-09T00:55:34.019Z] Running ssh-add (command line suppressed) [2024-11-09T00:55:34.137Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_13303643374612644866.key (/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_13303643374612644866.key) [2024-11-09T00:55:34.153Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-09T00:55:34.454Z] + git tag --points-at HEAD [Pipeline] } [2024-11-09T00:55:34.463Z] $ docker exec --env ******** --env ******** 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent -k [2024-11-09T00:55:34.561Z] unset SSH_AUTH_SOCK; [2024-11-09T00:55:34.562Z] unset SSH_AGENT_PID; [2024-11-09T00:55:34.565Z] echo Agent pid 38 killed; [2024-11-09T00:55:34.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-09T00:55:34.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-09T00:55:34.623Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-09T00:55:34.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-09T00:55:34.751Z] $ docker exec 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent [2024-11-09T00:55:34.870Z] SSH_AUTH_SOCK=/tmp/ssh-zUISYLk9h5qB/agent.72 [2024-11-09T00:55:34.870Z] SSH_AGENT_PID=78 [2024-11-09T00:55:34.877Z] Running ssh-add (command line suppressed) [2024-11-09T00:55:34.989Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_16050124744936927858.key (/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_16050124744936927858.key) [2024-11-09T00:55:35.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-09T00:55:35.302Z] + git semver init [2024-11-09T00:55:35.561Z] 2024-11-09 00:55:35,473 [run_init] DEBUG init version:0.0.0 force:False [2024-11-09T00:55:35.561Z] 2024-11-09 00:55:35,474 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver [2024-11-09T00:55:35.561Z] 2024-11-09 00:55:35,474 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-590/.semver [2024-11-09T00:55:35.561Z] 2024-11-09 00:55:35,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-590/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590, universal_newlines=False, shell=None, istream=None) [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,514 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-590/.git/info/exclude [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 with force:False [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,515 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,519 [execute] INFO git cat-file --batch-check [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590/.semver, universal_newlines=False, shell=None, istream=) [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,527 [execute] INFO git cat-file --batch [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590/.semver, universal_newlines=False, shell=None, istream=) [2024-11-09T00:55:36.940Z] 2024-11-09 00:55:36,533 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 [2024-11-09T00:55:36.940Z] 0.0.0 [Pipeline] } [2024-11-09T00:55:36.949Z] $ docker exec --env ******** --env ******** 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent -k [2024-11-09T00:55:37.040Z] unset SSH_AUTH_SOCK; [2024-11-09T00:55:37.041Z] unset SSH_AGENT_PID; [2024-11-09T00:55:37.041Z] echo Agent pid 78 killed; [2024-11-09T00:55:37.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-09T00:55:37.373Z] + git semver [Pipeline] } [2024-11-09T00:55:37.641Z] $ docker stop --time=1 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e [2024-11-09T00:55:38.940Z] $ docker rm -f --volumes 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-09T00:55:39.285Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-09T00:55:39.513Z] Stashed 1 file(s) [Pipeline] echo [2024-11-09T00:55:39.517Z] [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 [2024-11-09T00:55:39.696Z] provisioning config files... [2024-11-09T00:55:39.706Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config13206222867495892951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-09T00:55:40.015Z] ---> ****-login.sh [2024-11-09T00:55:40.015Z] nexus3.edgexfoundry.org:10001 [2024-11-09T00:55:40.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:40.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:40.015Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:40.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:40.015Z] [2024-11-09T00:55:40.015Z] Login Succeeded [2024-11-09T00:55:40.015Z] nexus3.edgexfoundry.org:10002 [2024-11-09T00:55:40.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:40.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:40.015Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:40.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:40.015Z] [2024-11-09T00:55:40.015Z] Login Succeeded [2024-11-09T00:55:40.015Z] nexus3.edgexfoundry.org:10003 [2024-11-09T00:55:40.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:40.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:40.275Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:40.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:40.275Z] [2024-11-09T00:55:40.275Z] Login Succeeded [2024-11-09T00:55:40.275Z] nexus3.edgexfoundry.org:10004 [2024-11-09T00:55:40.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:40.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:40.275Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:40.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:40.275Z] [2024-11-09T00:55:40.275Z] Login Succeeded [2024-11-09T00:55:40.275Z] ****.io [2024-11-09T00:55:40.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:55:40.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:55:40.535Z] Configure a credential helper to remove this warning. See [2024-11-09T00:55:40.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:55:40.535Z] [2024-11-09T00:55:40.535Z] Login Succeeded [2024-11-09T00:55:40.535Z] ---> ****-login.sh ends [Pipeline] } [2024-11-09T00:55:40.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-09T00:55:40.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-09T00:55:40.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-09T00:55:40.685Z] ========================================================= [2024-11-09T00:55:40.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-09T00:55:40.686Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:55:41.016Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-09T00:55:41.016Z] Sending build context to Docker daemon 18.04MB [2024-11-09T00:55:41.016Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-09T00:55:41.016Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-09T00:55:41.016Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-09T00:55:41.016Z] 43c4264eed91: Pulling fs layer [2024-11-09T00:55:41.016Z] 4cc291be95ef: Pulling fs layer [2024-11-09T00:55:41.016Z] 2ac1f1163629: Pulling fs layer [2024-11-09T00:55:41.016Z] 5c3c966382ef: Pulling fs layer [2024-11-09T00:55:41.016Z] 4f4fb700ef54: Pulling fs layer [2024-11-09T00:55:41.016Z] 5d5c8e513c77: Pulling fs layer [2024-11-09T00:55:41.016Z] 9f66e0745190: Pulling fs layer [2024-11-09T00:55:41.016Z] f49a43e4bbc0: Pulling fs layer [2024-11-09T00:55:41.016Z] 561ebcabdf7f: Pulling fs layer [2024-11-09T00:55:41.016Z] 5c3c966382ef: Waiting [2024-11-09T00:55:41.016Z] 4f4fb700ef54: Waiting [2024-11-09T00:55:41.016Z] 5d5c8e513c77: Waiting [2024-11-09T00:55:41.016Z] 9f66e0745190: Waiting [2024-11-09T00:55:41.016Z] f49a43e4bbc0: Waiting [2024-11-09T00:55:41.016Z] 561ebcabdf7f: Waiting [2024-11-09T00:55:41.274Z] 4cc291be95ef: Verifying Checksum [2024-11-09T00:55:41.274Z] 4cc291be95ef: Download complete [2024-11-09T00:55:41.274Z] 5c3c966382ef: Verifying Checksum [2024-11-09T00:55:41.274Z] 5c3c966382ef: Download complete [2024-11-09T00:55:41.274Z] 4f4fb700ef54: Download complete [2024-11-09T00:55:41.274Z] 5d5c8e513c77: Verifying Checksum [2024-11-09T00:55:41.274Z] 5d5c8e513c77: Download complete [2024-11-09T00:55:41.274Z] 43c4264eed91: Download complete [2024-11-09T00:55:41.274Z] 9f66e0745190: Verifying Checksum [2024-11-09T00:55:41.274Z] 9f66e0745190: Download complete [2024-11-09T00:55:41.531Z] 43c4264eed91: Pull complete [2024-11-09T00:55:41.531Z] 561ebcabdf7f: Download complete [2024-11-09T00:55:41.531Z] 4cc291be95ef: Pull complete [2024-11-09T00:55:41.789Z] 2ac1f1163629: Verifying Checksum [2024-11-09T00:55:41.789Z] 2ac1f1163629: Download complete [2024-11-09T00:55:42.047Z] f49a43e4bbc0: Verifying Checksum [2024-11-09T00:55:42.047Z] f49a43e4bbc0: Download complete [2024-11-09T00:55:46.239Z] 2ac1f1163629: Pull complete [2024-11-09T00:55:46.239Z] 5c3c966382ef: Pull complete [2024-11-09T00:55:46.239Z] 4f4fb700ef54: Pull complete [2024-11-09T00:55:46.239Z] 5d5c8e513c77: Pull complete [2024-11-09T00:55:46.239Z] 9f66e0745190: Pull complete [2024-11-09T00:55:48.144Z] f49a43e4bbc0: Pull complete [2024-11-09T00:55:48.403Z] 561ebcabdf7f: Pull complete [2024-11-09T00:55:48.661Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-09T00:55:48.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-09T00:55:48.661Z] ---> 3a752c3f9dda [2024-11-09T00:55:48.661Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-09T00:55:54.647Z] Still waiting to schedule task [2024-11-09T00:55:54.647Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-09T00:55:55.237Z] ---> Running in b17d4864f92d [2024-11-09T00:55:55.237Z] Removing intermediate container b17d4864f92d [2024-11-09T00:55:55.237Z] ---> 80754992a6f3 [2024-11-09T00:55:55.237Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-09T00:55:55.237Z] ---> Running in 19037f277a15 [2024-11-09T00:55:55.237Z] Removing intermediate container 19037f277a15 [2024-11-09T00:55:55.237Z] ---> da9200e4aed8 [2024-11-09T00:55:55.237Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-09T00:55:55.237Z] ---> Running in 37baeb02a9f9 [2024-11-09T00:55:55.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-09T00:55:55.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-09T00:55:55.498Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-09T00:55:55.498Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-09T00:55:55.498Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-09T00:55:55.498Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T00:55:55.498Z] OK: 252 MiB in 62 packages [2024-11-09T00:55:56.068Z] Removing intermediate container 37baeb02a9f9 [2024-11-09T00:55:56.068Z] ---> 1c096b882ef7 [2024-11-09T00:55:56.068Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-09T00:55:56.068Z] ---> Running in 4ae0997886ee [2024-11-09T00:55:56.068Z] Removing intermediate container 4ae0997886ee [2024-11-09T00:55:56.068Z] ---> 6b4700ca5b31 [2024-11-09T00:55:56.068Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-09T00:55:56.327Z] ---> 367f49938ea1 [2024-11-09T00:55:56.327Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-09T00:55:56.327Z] ---> Running in 64594d6352d0 [2024-11-09T00:57:04.067Z] Removing intermediate container 64594d6352d0 [2024-11-09T00:57:04.067Z] ---> 7c1a02040782 [2024-11-09T00:57:04.067Z] Step 9/10 : COPY . . [2024-11-09T00:57:04.067Z] ---> aa53884b7525 [2024-11-09T00:57:04.067Z] Step 10/10 : RUN ${MAKE} [2024-11-09T00:57:04.067Z] ---> Running in 0bbce122b900 [2024-11-09T00:57:04.067Z] noop [2024-11-09T00:57:04.067Z] Removing intermediate container 0bbce122b900 [2024-11-09T00:57:04.067Z] ---> 0a8db356fecd [2024-11-09T00:57:04.067Z] Successfully built 0a8db356fecd [2024-11-09T00:57:04.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:57:04.406Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-09T00:57:04.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T00:57:04.494Z] prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container [2024-11-09T00:57:04.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-09T00:57:04.874Z] $ docker top ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-09T00:57:05.239Z] + go version [2024-11-09T00:57:05.239Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-09T00:57:05.250Z] $ docker stop --time=1 ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 [2024-11-09T00:57:06.541Z] $ docker rm -f --volumes ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:57:07.082Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-09T00:57:07.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T00:57:07.213Z] prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container [2024-11-09T00:57:07.236Z] $ 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-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-09T00:57:07.574Z] $ docker top 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-09T00:57:07.930Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-590 [Pipeline] fileExists [Pipeline] sh [2024-11-09T00:57:08.235Z] + make test [2024-11-09T00:57:08.235Z] go test ./... -coverprofile=coverage.out [2024-11-09T00:57:10.138Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-09T00:57:28.210Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-09T00:57:28.210Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 48.0% of statements [2024-11-09T00:57:38.189Z] go vet ./... [2024-11-09T00:57:43.460Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-09T00:57:43.460Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-09T00:57:43.460Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-09T00:57:43.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-09T00:57:43.493Z] $ docker stop --time=1 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 [2024-11-09T00:57:49.467Z] $ docker rm -f --volumes 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-09T00:57:50.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-09T00:57:50.077Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-09T00:57:50.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-09T00:57:50.925Z] + ls -al . [2024-11-09T00:57:50.925Z] total 260 [2024-11-09T00:57:50.925Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 00:57 . [2024-11-09T00:57:50.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 00:55 .. [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 00:55 .dockerignore [2024-11-09T00:57:50.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 00:57 .git [2024-11-09T00:57:50.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 .github [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 00:55 .gitignore [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 9 00:55 .golangci.yml [2024-11-09T00:57:50.925Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 00:55 .semver [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 9 00:55 Attribution.txt [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 00:55 CHANGELOG.md [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 9 00:55 Dockerfile [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 00:55 GOVERNANCE.md [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 00:55 Jenkinsfile [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 00:55 LICENSE [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 9 00:55 Makefile [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 00:55 OWNERS.md [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 00:55 README.md [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 00:55 VERSION [2024-11-09T00:57:50.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:55 bin [2024-11-09T00:57:50.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 cmd [2024-11-09T00:57:50.925Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 9 00:57 coverage.out [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 9 00:55 go.mod [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 9 00:55 go.sum [2024-11-09T00:57:50.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 internal [2024-11-09T00:57:50.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:55 simulator [2024-11-09T00:57:50.925Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 00:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:57:51.284Z] + 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=baeffff832230afdef053380aed2c051c71752e5 --label arch=amd64 --label version=0.0.0 . [2024-11-09T00:57:51.284Z] Sending build context to Docker daemon 18.07MB [2024-11-09T00:57:51.284Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-09T00:57:51.284Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-09T00:57:51.284Z] ---> 0a8db356fecd [2024-11-09T00:57:51.284Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-09T00:57:51.853Z] ---> Running in 060d8b2428c5 [2024-11-09T00:57:51.853Z] Removing intermediate container 060d8b2428c5 [2024-11-09T00:57:51.853Z] ---> 1c52a4e15ce3 [2024-11-09T00:57:51.853Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-09T00:57:51.853Z] ---> Running in f8d8b0374e4b [2024-11-09T00:57:51.853Z] Removing intermediate container f8d8b0374e4b [2024-11-09T00:57:51.853Z] ---> f5893cb459f0 [2024-11-09T00:57:51.853Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-09T00:57:52.111Z] ---> Running in a73389ddba5f [2024-11-09T00:57:52.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-09T00:57:52.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-09T00:57:52.630Z] OK: 252 MiB in 62 packages [2024-11-09T00:57:53.195Z] Removing intermediate container a73389ddba5f [2024-11-09T00:57:53.196Z] ---> 18060b8fe98e [2024-11-09T00:57:53.196Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-09T00:57:53.196Z] ---> Running in 1774eab0e576 [2024-11-09T00:57:53.196Z] Removing intermediate container 1774eab0e576 [2024-11-09T00:57:53.196Z] ---> 3d5c0c05c90d [2024-11-09T00:57:53.196Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-09T00:57:53.196Z] ---> 7058e374824f [2024-11-09T00:57:53.196Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-09T00:57:53.196Z] ---> Running in 4d7dc63102bc [2024-11-09T00:57:54.153Z] Removing intermediate container 4d7dc63102bc [2024-11-09T00:57:54.153Z] ---> 4595a57f0382 [2024-11-09T00:57:54.153Z] Step 9/23 : COPY . . [2024-11-09T00:57:54.853Z] ---> 2af02c776b20 [2024-11-09T00:57:54.853Z] Step 10/23 : RUN ${MAKE} [2024-11-09T00:57:54.853Z] ---> Running in bd015e390520 [2024-11-09T00:57:55.110Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-09T00:58:33.828Z] Removing intermediate container bd015e390520 [2024-11-09T00:58:33.828Z] ---> 37f13abb5d0a [2024-11-09T00:58:33.828Z] Step 11/23 : FROM alpine:3.20 [2024-11-09T00:58:33.828Z] 3.20: Pulling from library/alpine [2024-11-09T00:58:33.828Z] 43c4264eed91: Already exists [2024-11-09T00:58:33.828Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-09T00:58:33.828Z] Status: Downloaded newer image for alpine:3.20 [2024-11-09T00:58:33.828Z] ---> 91ef0af61f39 [2024-11-09T00:58:33.828Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-09T00:58:33.828Z] ---> Running in 48466bf36223 [2024-11-09T00:58:33.828Z] Removing intermediate container 48466bf36223 [2024-11-09T00:58:33.828Z] ---> d45926dab53e [2024-11-09T00:58:33.828Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-09T00:58:33.828Z] ---> Running in 53a58fc4d0e6 [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-09T00:58:33.828Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T00:58:33.828Z] OK: 8 MiB in 15 packages [2024-11-09T00:58:33.828Z] Removing intermediate container 53a58fc4d0e6 [2024-11-09T00:58:33.828Z] ---> e842c331bdb5 [2024-11-09T00:58:33.828Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-09T00:58:33.828Z] ---> Running in 900d5bacdce2 [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] Upgrading critical system libraries and apk-tools: [2024-11-09T00:58:33.828Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-09T00:58:33.828Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T00:58:33.828Z] Continuing the upgrade transaction with new apk-tools: [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-09T00:58:33.828Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-09T00:58:33.828Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-09T00:58:33.828Z] OK: 8 MiB in 15 packages [2024-11-09T00:58:33.828Z] Removing intermediate container 900d5bacdce2 [2024-11-09T00:58:33.828Z] ---> 8cb035998418 [2024-11-09T00:58:33.828Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-09T00:58:33.828Z] ---> 3ba42e407dbb [2024-11-09T00:58:33.828Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-09T00:58:33.828Z] ---> e44a6b565343 [2024-11-09T00:58:33.828Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-09T00:58:33.828Z] ---> 9ff318eae4ca [2024-11-09T00:58:33.828Z] Step 18/23 : EXPOSE 59901 [2024-11-09T00:58:33.828Z] ---> Running in d9d284fb944d [2024-11-09T00:58:33.828Z] Removing intermediate container d9d284fb944d [2024-11-09T00:58:33.828Z] ---> a27e006025ef [2024-11-09T00:58:33.828Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-09T00:58:33.828Z] ---> Running in f83b9c856560 [2024-11-09T00:58:33.828Z] Removing intermediate container f83b9c856560 [2024-11-09T00:58:33.828Z] ---> 31cfc2d33ac4 [2024-11-09T00:58:33.828Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-09T00:58:33.828Z] ---> Running in c7b87e0724af [2024-11-09T00:58:33.828Z] Removing intermediate container c7b87e0724af [2024-11-09T00:58:33.828Z] ---> 4a34bfe54437 [2024-11-09T00:58:33.828Z] Step 21/23 : LABEL arch=amd64 [2024-11-09T00:58:33.828Z] ---> Running in d27860948581 [2024-11-09T00:58:33.828Z] Removing intermediate container d27860948581 [2024-11-09T00:58:33.828Z] ---> e5f84681c718 [2024-11-09T00:58:33.828Z] Step 22/23 : LABEL git_sha=baeffff832230afdef053380aed2c051c71752e5 [2024-11-09T00:58:33.828Z] ---> Running in 239f733e1a7b [2024-11-09T00:58:33.828Z] Removing intermediate container 239f733e1a7b [2024-11-09T00:58:33.828Z] ---> c82e39c15a31 [2024-11-09T00:58:33.828Z] Step 23/23 : LABEL version=0.0.0 [2024-11-09T00:58:33.828Z] ---> Running in ee9b8c01209f [2024-11-09T00:58:33.828Z] Removing intermediate container ee9b8c01209f [2024-11-09T00:58:33.828Z] ---> 1f8af0a1be69 [2024-11-09T00:58:33.828Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-09T00:58:33.828Z] Successfully built 1f8af0a1be69 [2024-11-09T00:58:33.828Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:58:34.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-09T00:58:34.334Z] [2024-11-09T00:58:34.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:58:34.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-09T00:58:34.898Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-09T00:58:34.898Z] 5eb5b503b376: Pulling fs layer [2024-11-09T00:58:34.898Z] 5c69ac0246d0: Pulling fs layer [2024-11-09T00:58:34.898Z] ec43610c2a17: Pulling fs layer [2024-11-09T00:58:34.898Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-09T00:58:34.898Z] 33b1e0a273af: Pulling fs layer [2024-11-09T00:58:34.898Z] 5d3b04190fa2: Pulling fs layer [2024-11-09T00:58:34.898Z] 2f39f015ded8: Pulling fs layer [2024-11-09T00:58:34.898Z] 33b1e0a273af: Waiting [2024-11-09T00:58:34.898Z] 3a2ae6a8a46f: Waiting [2024-11-09T00:58:34.898Z] 5d3b04190fa2: Waiting [2024-11-09T00:58:34.898Z] 2f39f015ded8: Waiting [2024-11-09T00:58:34.898Z] 5c69ac0246d0: Verifying Checksum [2024-11-09T00:58:34.898Z] 5c69ac0246d0: Download complete [2024-11-09T00:58:34.898Z] 3a2ae6a8a46f: Download complete [2024-11-09T00:58:35.158Z] 33b1e0a273af: Verifying Checksum [2024-11-09T00:58:35.158Z] 33b1e0a273af: Download complete [2024-11-09T00:58:35.158Z] ec43610c2a17: Verifying Checksum [2024-11-09T00:58:35.158Z] ec43610c2a17: Download complete [2024-11-09T00:58:35.158Z] 5d3b04190fa2: Verifying Checksum [2024-11-09T00:58:35.158Z] 5d3b04190fa2: Download complete [2024-11-09T00:58:35.158Z] 5eb5b503b376: Verifying Checksum [2024-11-09T00:58:35.158Z] 5eb5b503b376: Download complete [2024-11-09T00:58:35.725Z] 2f39f015ded8: Download complete [2024-11-09T00:58:36.662Z] 5eb5b503b376: Pull complete [2024-11-09T00:58:36.922Z] 5c69ac0246d0: Pull complete [2024-11-09T00:58:37.866Z] ec43610c2a17: Pull complete [2024-11-09T00:58:38.125Z] 3a2ae6a8a46f: Pull complete [2024-11-09T00:58:39.064Z] 33b1e0a273af: Pull complete [2024-11-09T00:58:39.322Z] 5d3b04190fa2: Pull complete [2024-11-09T00:58:43.517Z] 2f39f015ded8: Pull complete [2024-11-09T00:58:43.517Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-09T00:58:43.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-09T00:58:43.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T00:58:43.628Z] prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container [2024-11-09T00:58:43.652Z] $ 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-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-09T00:58:49.465Z] $ docker top c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-09T00:58:49.884Z] ---> job-cost.sh [2024-11-09T00:58:49.884Z] lf-activate-venv: SKIPPING [2024-11-09T00:58:49.884Z] INFO: No Stack... [2024-11-09T00:58:50.143Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-09T00:58:50.403Z] INFO: Archiving Costs [Pipeline] sh [2024-11-09T00:58:50.692Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-590/archives/cost.csv [2024-11-09T00:58:50.692Z] + cut -d, -f6 [Pipeline] lock [2024-11-09T00:58:50.707Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [2024-11-09T00:58:50.716Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] did not exist. Created. [2024-11-09T00:58:50.723Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-09T00:58:51.036Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-09T00:58:51.072Z] Stashed 1 file(s) [Pipeline] } [2024-11-09T00:58:51.081Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-09T00:58:51.106Z] $ docker stop --time=1 c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b [2024-11-09T00:58:52.272Z] $ docker rm -f --volumes c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-09T00:59:11.821Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25990 in /w/workspace/xfoundry_device-modbus-go_PR-590 [Pipeline] { [Pipeline] ws [2024-11-09T00:59:11.843Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-11-09T00:59:14.914Z] The recommended git tool is: git [2024-11-09T00:59:21.546Z] using credential edgex-jenkins-ssh [2024-11-09T00:59:21.574Z] Cloning the remote Git repository [2024-11-09T00:59:21.649Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-09T00:59:21.804Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-11-09T00:59:22.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-09T00:59:22.021Z] > git --version # timeout=10 [2024-11-09T00:59:22.048Z] > git --version # 'git version 2.25.1' [2024-11-09T00:59:22.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-09T00:59:22.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-09T00:59:24.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-09T00:59:24.684Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-09T00:59:26.527Z] Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit 089867b0b0d00f771f727352db61cbcad45eb9d4 [2024-11-09T00:59:25.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-09T00:59:25.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-09T00:59:25.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-09T00:59:25.940Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-09T00:59:26.552Z] > git config core.sparsecheckout # timeout=10 [2024-11-09T00:59:26.647Z] > git checkout -f 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 [2024-11-09T00:59:26.750Z] > git remote # timeout=10 [2024-11-09T00:59:26.774Z] > git config --get remote.origin.url # timeout=10 [2024-11-09T00:59:26.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-09T00:59:26.821Z] > git merge 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 [2024-11-09T00:59:26.915Z] Merge succeeded, producing e9791558e96a2cd8f26b5c795245264f0cca9031 [2024-11-09T00:59:26.916Z] Checking out Revision e9791558e96a2cd8f26b5c795245264f0cca9031 (PR-590) [2024-11-09T00:59:26.892Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-09T00:59:26.920Z] > git config core.sparsecheckout # timeout=10 [2024-11-09T00:59:26.936Z] > git checkout -f e9791558e96a2cd8f26b5c795245264f0cca9031 # timeout=10 [2024-11-09T00:59:30.669Z] Commit message: "Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD" [2024-11-09T00:59:30.674Z] > git rev-list --no-walk 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-09T00:59:32.624Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-09T00:59:32.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-09T00:59:32.624Z] Dload Upload Total Spent Left Speed [2024-11-09T00:59:32.624Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh [2024-11-09T00:59:32.964Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-09T00:59:33.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-09T00:59:33.299Z] + sudo tee /etc/docker/daemon.new [2024-11-09T00:59:33.299Z] { [2024-11-09T00:59:33.299Z] "registry-mirrors": [ [2024-11-09T00:59:33.299Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-09T00:59:33.299Z] ], [2024-11-09T00:59:33.299Z] "bip": "10.250.0.254/24", [2024-11-09T00:59:33.299Z] "hosts": [ [2024-11-09T00:59:33.299Z] "tcp://0.0.0.0:5555", [2024-11-09T00:59:33.299Z] "unix:///var/run/docker.sock" [2024-11-09T00:59:33.299Z] ], [2024-11-09T00:59:33.299Z] "mtu": 1458, [2024-11-09T00:59:33.299Z] "selinux-enabled": true, [2024-11-09T00:59:33.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-09T00:59:33.299Z] } [Pipeline] sh [2024-11-09T00:59:33.639Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-09T00:59:33.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-09T00:59:52.335Z] provisioning config files... [2024-11-09T00:59:52.375Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7017059747010582996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-09T00:59:52.908Z] ---> ****-login.sh [2024-11-09T00:59:52.908Z] nexus3.edgexfoundry.org:10001 [2024-11-09T00:59:53.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:59:53.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:59:53.510Z] Configure a credential helper to remove this warning. See [2024-11-09T00:59:53.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:59:53.510Z] [2024-11-09T00:59:53.510Z] Login Succeeded [2024-11-09T00:59:53.789Z] nexus3.edgexfoundry.org:10002 [2024-11-09T00:59:54.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:59:54.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:59:54.066Z] Configure a credential helper to remove this warning. See [2024-11-09T00:59:54.066Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:59:54.066Z] [2024-11-09T00:59:54.066Z] Login Succeeded [2024-11-09T00:59:54.066Z] nexus3.edgexfoundry.org:10003 [2024-11-09T00:59:54.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:59:54.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:59:54.620Z] Configure a credential helper to remove this warning. See [2024-11-09T00:59:54.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:59:54.620Z] [2024-11-09T00:59:54.620Z] Login Succeeded [2024-11-09T00:59:54.620Z] nexus3.edgexfoundry.org:10004 [2024-11-09T00:59:54.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:59:54.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:59:54.896Z] Configure a credential helper to remove this warning. See [2024-11-09T00:59:54.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:59:54.896Z] [2024-11-09T00:59:54.896Z] Login Succeeded [2024-11-09T00:59:54.896Z] ****.io [2024-11-09T00:59:55.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-09T00:59:55.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-09T00:59:55.496Z] Configure a credential helper to remove this warning. See [2024-11-09T00:59:55.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-09T00:59:55.496Z] [2024-11-09T00:59:55.496Z] Login Succeeded [2024-11-09T00:59:55.496Z] ---> ****-login.sh ends [Pipeline] } [2024-11-09T00:59:55.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-09T00:59:56.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-09T00:59:56.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-09T00:59:56.038Z] ========================================================= [2024-11-09T00:59:56.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-09T00:59:56.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T00:59:56.425Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-09T00:59:57.032Z] Sending build context to Docker daemon 9.171MB [2024-11-09T00:59:57.032Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-09T00:59:57.032Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-09T00:59:57.032Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-09T00:59:57.032Z] cf04c63912e1: Pulling fs layer [2024-11-09T00:59:57.032Z] 55b35a11ae5e: Pulling fs layer [2024-11-09T00:59:57.032Z] a37a00ec5f00: Pulling fs layer [2024-11-09T00:59:57.032Z] 50b3750afda1: Pulling fs layer [2024-11-09T00:59:57.032Z] 4f4fb700ef54: Pulling fs layer [2024-11-09T00:59:57.032Z] 80978eb59214: Pulling fs layer [2024-11-09T00:59:57.032Z] c9f46d7d2bd2: Pulling fs layer [2024-11-09T00:59:57.032Z] c5a475d317c9: Pulling fs layer [2024-11-09T00:59:57.032Z] 50b3750afda1: Waiting [2024-11-09T00:59:57.032Z] 4f4fb700ef54: Waiting [2024-11-09T00:59:57.032Z] 80978eb59214: Waiting [2024-11-09T00:59:57.032Z] c5a475d317c9: Waiting [2024-11-09T00:59:57.032Z] c9f46d7d2bd2: Waiting [2024-11-09T00:59:57.306Z] 55b35a11ae5e: Verifying Checksum [2024-11-09T00:59:57.306Z] 55b35a11ae5e: Download complete [2024-11-09T00:59:57.306Z] 50b3750afda1: Verifying Checksum [2024-11-09T00:59:57.306Z] 50b3750afda1: Download complete [2024-11-09T00:59:57.306Z] 4f4fb700ef54: Verifying Checksum [2024-11-09T00:59:57.306Z] 4f4fb700ef54: Download complete [2024-11-09T00:59:57.306Z] 80978eb59214: Verifying Checksum [2024-11-09T00:59:57.306Z] 80978eb59214: Download complete [2024-11-09T00:59:57.306Z] cf04c63912e1: Verifying Checksum [2024-11-09T00:59:57.306Z] cf04c63912e1: Download complete [2024-11-09T00:59:57.916Z] c5a475d317c9: Verifying Checksum [2024-11-09T00:59:57.916Z] c5a475d317c9: Download complete [2024-11-09T00:59:58.526Z] cf04c63912e1: Pull complete [2024-11-09T00:59:59.132Z] 55b35a11ae5e: Pull complete [2024-11-09T00:59:59.403Z] a37a00ec5f00: Verifying Checksum [2024-11-09T00:59:59.403Z] a37a00ec5f00: Download complete [2024-11-09T01:00:00.381Z] c9f46d7d2bd2: Verifying Checksum [2024-11-09T01:00:00.381Z] c9f46d7d2bd2: Download complete [2024-11-09T01:00:15.455Z] a37a00ec5f00: Pull complete [2024-11-09T01:00:15.455Z] 50b3750afda1: Pull complete [2024-11-09T01:00:15.455Z] 4f4fb700ef54: Pull complete [2024-11-09T01:00:15.455Z] 80978eb59214: Pull complete [2024-11-09T01:00:23.706Z] c9f46d7d2bd2: Pull complete [2024-11-09T01:00:24.706Z] c5a475d317c9: Pull complete [2024-11-09T01:00:24.706Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-09T01:00:24.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-09T01:00:24.706Z] ---> be29e6b0f0d4 [2024-11-09T01:00:24.706Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-09T01:00:26.656Z] ---> Running in 1948f9341b43 [2024-11-09T01:00:27.247Z] Removing intermediate container 1948f9341b43 [2024-11-09T01:00:27.247Z] ---> 0e07bf1a9859 [2024-11-09T01:00:27.247Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-09T01:00:27.247Z] ---> Running in f0184aa8db88 [2024-11-09T01:00:27.520Z] Removing intermediate container f0184aa8db88 [2024-11-09T01:00:27.520Z] ---> 80d5ab3a92e8 [2024-11-09T01:00:27.520Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-09T01:00:27.799Z] ---> Running in 23c9c3caccb0 [2024-11-09T01:00:29.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-09T01:00:29.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-09T01:00:30.934Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-09T01:00:30.934Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-09T01:00:30.934Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-09T01:00:32.097Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T01:00:32.097Z] OK: 244 MiB in 62 packages [2024-11-09T01:00:32.369Z] Removing intermediate container 23c9c3caccb0 [2024-11-09T01:00:32.369Z] ---> 8d3c870f2448 [2024-11-09T01:00:32.369Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-09T01:00:32.642Z] ---> Running in fc835922b223 [2024-11-09T01:00:32.915Z] Removing intermediate container fc835922b223 [2024-11-09T01:00:32.915Z] ---> f337e9c09993 [2024-11-09T01:00:32.915Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-09T01:00:34.792Z] ---> 4b279cf7008f [2024-11-09T01:00:34.792Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-09T01:00:34.792Z] ---> Running in 0e2f2d8cdf0b [2024-11-09T01:02:39.509Z] Removing intermediate container 0e2f2d8cdf0b [2024-11-09T01:02:39.509Z] ---> 2306fd47e862 [2024-11-09T01:02:39.509Z] Step 9/10 : COPY . . [2024-11-09T01:02:39.509Z] ---> 72a0cec28a34 [2024-11-09T01:02:39.509Z] Step 10/10 : RUN ${MAKE} [2024-11-09T01:02:39.509Z] ---> Running in 363e2ed53d0c [2024-11-09T01:02:39.509Z] noop [2024-11-09T01:02:39.509Z] Removing intermediate container 363e2ed53d0c [2024-11-09T01:02:39.509Z] ---> 53bde685dda6 [2024-11-09T01:02:39.509Z] Successfully built 53bde685dda6 [2024-11-09T01:02:39.509Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:02:39.895Z] + docker inspect -f . ci-base-image-arm64 [2024-11-09T01:02:39.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T01:02:40.124Z] prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container [2024-11-09T01:02:40.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-09T01:02:41.416Z] $ docker top efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-09T01:02:42.307Z] + go version [2024-11-09T01:02:42.307Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-09T01:02:42.333Z] $ docker stop --time=1 efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 [2024-11-09T01:02:44.100Z] $ docker rm -f --volumes efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:02:44.752Z] + docker inspect -f . ci-base-image-arm64 [2024-11-09T01:02:44.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T01:02:44.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container [2024-11-09T01:02:45.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-09T01:02:46.509Z] $ docker top 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-09T01:02:47.390Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-09T01:02:48.083Z] + make test [2024-11-09T01:02:48.083Z] go test ./... -coverprofile=coverage.out [2024-11-09T01:02:54.807Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-09T01:06:46.724Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-09T01:06:50.979Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 48.0% of statements [2024-11-09T01:06:51.940Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-09T01:06:51.940Z] go vet ./... [2024-11-09T01:07:48.351Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-09T01:07:48.351Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-09T01:07:48.351Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-09T01:07:48.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-09T01:07:48.395Z] $ docker stop --time=1 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 [2024-11-09T01:07:50.331Z] $ docker rm -f --volumes 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-09T01:07:52.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-09T01:07:52.079Z] Warning: overwriting stash ‘coverage-report’ [2024-11-09T01:07:52.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-09T01:07:53.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-09T01:07:53.345Z] + ls -al . [2024-11-09T01:07:53.345Z] total 256 [2024-11-09T01:07:53.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 01:02 . [2024-11-09T01:07:53.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 00:59 .. [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 00:59 .dockerignore [2024-11-09T01:07:53.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 00:59 .git [2024-11-09T01:07:53.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 .github [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 00:59 .gitignore [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 9 00:59 .golangci.yml [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 9 00:59 Attribution.txt [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 00:59 CHANGELOG.md [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 9 00:59 Dockerfile [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 00:59 GOVERNANCE.md [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 00:59 Jenkinsfile [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 00:59 LICENSE [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 9 00:59 Makefile [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 00:59 OWNERS.md [2024-11-09T01:07:53.345Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 00:59 README.md [2024-11-09T01:07:53.346Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 00:55 VERSION [2024-11-09T01:07:53.346Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:59 bin [2024-11-09T01:07:53.346Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 cmd [2024-11-09T01:07:53.346Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 9 01:06 coverage.out [2024-11-09T01:07:53.346Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 9 00:59 go.mod [2024-11-09T01:07:53.346Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 9 00:59 go.sum [2024-11-09T01:07:53.346Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 internal [2024-11-09T01:07:53.346Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:59 simulator [2024-11-09T01:07:53.346Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:07:53.690Z] + 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=e9791558e96a2cd8f26b5c795245264f0cca9031 --label arch=arm64 --label version=0.0.0 . [2024-11-09T01:07:53.956Z] Sending build context to Docker daemon 9.197MB [2024-11-09T01:07:54.226Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-09T01:07:54.226Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-09T01:07:54.226Z] ---> 53bde685dda6 [2024-11-09T01:07:54.226Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-09T01:07:54.226Z] ---> Running in 21cfac3c1943 [2024-11-09T01:07:54.493Z] Removing intermediate container 21cfac3c1943 [2024-11-09T01:07:54.493Z] ---> 6b4c43629d96 [2024-11-09T01:07:54.493Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-09T01:07:54.762Z] ---> Running in f86f8b2ac0aa [2024-11-09T01:07:55.028Z] Removing intermediate container f86f8b2ac0aa [2024-11-09T01:07:55.029Z] ---> d7cc79dffe0e [2024-11-09T01:07:55.029Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-09T01:07:55.029Z] ---> Running in f20f6c6cb518 [2024-11-09T01:07:55.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-09T01:07:56.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-09T01:07:57.660Z] OK: 244 MiB in 62 packages [2024-11-09T01:07:58.625Z] Removing intermediate container f20f6c6cb518 [2024-11-09T01:07:58.625Z] ---> fe16cd8d2aed [2024-11-09T01:07:58.625Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-09T01:07:58.625Z] ---> Running in 5e5a22e57317 [2024-11-09T01:07:59.208Z] Removing intermediate container 5e5a22e57317 [2024-11-09T01:07:59.208Z] ---> 22ef7a280e80 [2024-11-09T01:07:59.208Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-09T01:07:59.477Z] ---> 1575fa821e84 [2024-11-09T01:07:59.477Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-09T01:07:59.477Z] ---> Running in 1bb413234d48 [2024-11-09T01:08:02.058Z] Removing intermediate container 1bb413234d48 [2024-11-09T01:08:02.058Z] ---> 96b407ebd35f [2024-11-09T01:08:02.058Z] Step 9/23 : COPY . . [2024-11-09T01:08:03.015Z] ---> 9bfc61372e62 [2024-11-09T01:08:03.015Z] Step 10/23 : RUN ${MAKE} [2024-11-09T01:08:03.015Z] ---> Running in 9b592e55fff6 [2024-11-09T01:08:03.984Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-09T01:11:40.768Z] Removing intermediate container 9b592e55fff6 [2024-11-09T01:11:40.768Z] ---> eb9393620035 [2024-11-09T01:11:40.768Z] Step 11/23 : FROM alpine:3.20 [2024-11-09T01:11:40.768Z] 3.20: Pulling from library/alpine [2024-11-09T01:11:40.768Z] cf04c63912e1: Already exists [2024-11-09T01:11:40.768Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-09T01:11:40.768Z] Status: Downloaded newer image for alpine:3.20 [2024-11-09T01:11:40.768Z] ---> c157a85ed455 [2024-11-09T01:11:40.768Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-09T01:11:40.768Z] ---> Running in f4a7c87f5601 [2024-11-09T01:11:40.768Z] Removing intermediate container f4a7c87f5601 [2024-11-09T01:11:40.768Z] ---> 944094051960 [2024-11-09T01:11:40.768Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-09T01:11:40.768Z] ---> Running in 2823921e33f0 [2024-11-09T01:11:40.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:40.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:42.174Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-09T01:11:42.174Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T01:11:42.174Z] OK: 9 MiB in 15 packages [2024-11-09T01:11:43.139Z] Removing intermediate container 2823921e33f0 [2024-11-09T01:11:43.139Z] ---> f32c0c4664c8 [2024-11-09T01:11:43.139Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-09T01:11:43.139Z] ---> Running in a0268ee9b9c1 [2024-11-09T01:11:44.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:44.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:46.238Z] Upgrading critical system libraries and apk-tools: [2024-11-09T01:11:46.238Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-09T01:11:46.238Z] Executing busybox-1.36.1-r29.trigger [2024-11-09T01:11:46.238Z] Continuing the upgrade transaction with new apk-tools: [2024-11-09T01:11:46.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:46.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-09T01:11:48.474Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-09T01:11:48.474Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-09T01:11:48.474Z] OK: 9 MiB in 15 packages [2024-11-09T01:11:49.886Z] Removing intermediate container a0268ee9b9c1 [2024-11-09T01:11:49.886Z] ---> 2355ee1d5f9b [2024-11-09T01:11:49.886Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-09T01:11:51.835Z] ---> 672e0a43b907 [2024-11-09T01:11:51.835Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-09T01:11:52.100Z] ---> c96ec223260b [2024-11-09T01:11:52.100Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-09T01:11:52.680Z] ---> 1451b08fd8b1 [2024-11-09T01:11:52.680Z] Step 18/23 : EXPOSE 59901 [2024-11-09T01:11:52.680Z] ---> Running in c118f65a58e1 [2024-11-09T01:11:52.948Z] Removing intermediate container c118f65a58e1 [2024-11-09T01:11:52.948Z] ---> c690937d9f8b [2024-11-09T01:11:52.948Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-09T01:11:53.216Z] ---> Running in 5e536de54c11 [2024-11-09T01:11:53.483Z] Removing intermediate container 5e536de54c11 [2024-11-09T01:11:53.484Z] ---> 0dc9a6f43fe6 [2024-11-09T01:11:53.484Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-09T01:11:53.484Z] ---> Running in b78162971609 [2024-11-09T01:11:53.750Z] Removing intermediate container b78162971609 [2024-11-09T01:11:53.750Z] ---> 4b866bf3cddd [2024-11-09T01:11:53.750Z] Step 21/23 : LABEL arch=arm64 [2024-11-09T01:11:54.019Z] ---> Running in 93e0df18f2d2 [2024-11-09T01:11:54.285Z] Removing intermediate container 93e0df18f2d2 [2024-11-09T01:11:54.285Z] ---> 09dc56d35b1f [2024-11-09T01:11:54.285Z] Step 22/23 : LABEL git_sha=e9791558e96a2cd8f26b5c795245264f0cca9031 [2024-11-09T01:11:54.285Z] ---> Running in 01fe1b854afc [2024-11-09T01:11:54.553Z] Removing intermediate container 01fe1b854afc [2024-11-09T01:11:54.553Z] ---> ec69af7c1022 [2024-11-09T01:11:54.553Z] Step 23/23 : LABEL version=0.0.0 [2024-11-09T01:11:54.553Z] ---> Running in 5a88be2e414c [2024-11-09T01:11:54.820Z] Removing intermediate container 5a88be2e414c [2024-11-09T01:11:54.820Z] ---> 54eda9643974 [2024-11-09T01:11:54.820Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-09T01:11:55.086Z] Successfully built 54eda9643974 [2024-11-09T01:11:55.086Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:11:55.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-09T01:11:55.650Z] [2024-11-09T01:11:55.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:11:56.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-09T01:11:56.272Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-09T01:11:56.272Z] 8998bd30e6a1: Pulling fs layer [2024-11-09T01:11:56.272Z] 04944245beec: Pulling fs layer [2024-11-09T01:11:56.272Z] 699f458cf7ca: Pulling fs layer [2024-11-09T01:11:56.272Z] 765212b225bb: Pulling fs layer [2024-11-09T01:11:56.272Z] f23df028b6ca: Pulling fs layer [2024-11-09T01:11:56.272Z] 765212b225bb: Waiting [2024-11-09T01:11:56.272Z] d65c8cfc05b1: Pulling fs layer [2024-11-09T01:11:56.272Z] 2437ff75d9bd: Pulling fs layer [2024-11-09T01:11:56.272Z] f23df028b6ca: Waiting [2024-11-09T01:11:56.272Z] 2437ff75d9bd: Waiting [2024-11-09T01:11:56.272Z] d65c8cfc05b1: Waiting [2024-11-09T01:11:56.272Z] 04944245beec: Verifying Checksum [2024-11-09T01:11:56.272Z] 04944245beec: Download complete [2024-11-09T01:11:56.272Z] 765212b225bb: Verifying Checksum [2024-11-09T01:11:56.272Z] 765212b225bb: Download complete [2024-11-09T01:11:56.272Z] f23df028b6ca: Verifying Checksum [2024-11-09T01:11:56.272Z] f23df028b6ca: Download complete [2024-11-09T01:11:56.272Z] d65c8cfc05b1: Verifying Checksum [2024-11-09T01:11:56.272Z] d65c8cfc05b1: Download complete [2024-11-09T01:11:56.542Z] 699f458cf7ca: Verifying Checksum [2024-11-09T01:11:56.542Z] 699f458cf7ca: Download complete [2024-11-09T01:11:57.141Z] 8998bd30e6a1: Verifying Checksum [2024-11-09T01:11:57.141Z] 8998bd30e6a1: Download complete [2024-11-09T01:11:59.735Z] 2437ff75d9bd: Verifying Checksum [2024-11-09T01:11:59.735Z] 2437ff75d9bd: Download complete [2024-11-09T01:12:01.694Z] 8998bd30e6a1: Pull complete [2024-11-09T01:12:02.280Z] 04944245beec: Pull complete [2024-11-09T01:12:04.240Z] 699f458cf7ca: Pull complete [2024-11-09T01:12:04.240Z] 765212b225bb: Pull complete [2024-11-09T01:12:05.205Z] f23df028b6ca: Pull complete [2024-11-09T01:12:05.205Z] d65c8cfc05b1: Pull complete [2024-11-09T01:12:23.444Z] 2437ff75d9bd: Pull complete [2024-11-09T01:12:23.444Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-09T01:12:23.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-09T01:12:23.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T01:12:23.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container [2024-11-09T01:12:23.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-09T01:12:27.137Z] $ docker top 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:28.006Z] ---> job-cost.sh [2024-11-09T01:12:28.006Z] lf-activate-venv: SKIPPING [2024-11-09T01:12:28.006Z] INFO: No Stack... [2024-11-09T01:12:28.584Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-09T01:12:29.163Z] INFO: Archiving Costs [Pipeline] sh [2024-11-09T01:12:29.487Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-11-09T01:12:29.487Z] + cut -d, -f6 [Pipeline] lock [2024-11-09T01:12:29.810Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [2024-11-09T01:12:29.821Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] did not exist. Created. [2024-11-09T01:12:29.828Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-09T01:12:30.499Z] /w/workspace/device-modbus-go/2@tmp/durable-7b57a3d4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-09T01:12:31.087Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-09T01:12:31.103Z] Warning: overwriting stash ‘stack-cost’ [2024-11-09T01:12:31.147Z] Stashed 1 file(s) [Pipeline] } [2024-11-09T01:12:31.157Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-09T01:12:31.181Z] $ docker stop --time=1 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 [2024-11-09T01:12:32.640Z] $ docker rm -f --volumes 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 [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 [2024-11-09T01:12:33.154Z] provisioning config files... [2024-11-09T01:12:33.163Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config17864839212529937751tmp [Pipeline] { [Pipeline] sh [2024-11-09T01:12:33.463Z] + set +x [2024-11-09T01:12:33.463Z] + curl -s https://codecov.io/bash [2024-11-09T01:12:33.463Z] + bash -s -- [2024-11-09T01:12:33.723Z] [2024-11-09T01:12:33.723Z] _____ _ [2024-11-09T01:12:33.723Z] / ____| | | [2024-11-09T01:12:33.723Z] | | ___ __| | ___ ___ _____ __ [2024-11-09T01:12:33.723Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-09T01:12:33.723Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-09T01:12:33.723Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-09T01:12:33.723Z] Bash-1.0.6 [2024-11-09T01:12:33.723Z] [2024-11-09T01:12:33.723Z] [2024-11-09T01:12:33.723Z] ==> git version 2.25.1 found [2024-11-09T01:12:33.723Z] ==> 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 [2024-11-09T01:12:33.723Z] Release-Date: 2020-01-08 [2024-11-09T01:12:33.723Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-09T01:12:33.723Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-09T01:12:33.723Z] ==> Jenkins CI detected. [2024-11-09T01:12:33.723Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-590 [2024-11-09T01:12:33.723Z] project root: . [2024-11-09T01:12:33.723Z] --> token set from env [2024-11-09T01:12:33.723Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-09T01:12:33.723Z] ==> Running gcov in . (disable via -X gcov) [2024-11-09T01:12:33.723Z] ==> Python coveragepy not found [2024-11-09T01:12:33.723Z] ==> Searching for coverage reports in: [2024-11-09T01:12:33.723Z] + . [2024-11-09T01:12:33.723Z] -> Found 1 reports [2024-11-09T01:12:33.723Z] ==> Detecting git/mercurial file structure [2024-11-09T01:12:33.723Z] ==> Reading reports [2024-11-09T01:12:33.723Z] + ./coverage.out bytes=25464 [2024-11-09T01:12:33.723Z] ==> Appending adjustments [2024-11-09T01:12:33.723Z] https://docs.codecov.io/docs/fixing-reports [2024-11-09T01:12:33.723Z] + Found adjustments [2024-11-09T01:12:33.723Z] ==> Gzipping contents [2024-11-09T01:12:33.723Z] 4.0K /tmp/codecov.DBMt2n.gz [2024-11-09T01:12:33.723Z] ==> Uploading reports [2024-11-09T01:12:33.723Z] url: https://codecov.io [2024-11-09T01:12:33.723Z] query: branch=PR-590&commit=baeffff832230afdef053380aed2c051c71752e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-590%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=590&job=&cmd_args= [2024-11-09T01:12:33.723Z] -> Pinging Codecov [2024-11-09T01:12:33.723Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-590&commit=baeffff832230afdef053380aed2c051c71752e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-590%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=590&job=&cmd_args= [2024-11-09T01:12:33.983Z] -> Uploading to [2024-11-09T01:12:33.983Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/baeffff832230afdef053380aed2c051c71752e5/7290f67f-6850-468b-bcc2-286c5ef19054.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241109%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241109T011233Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0d35fc9e7c5e6bebe123d72a7af0aa9a98c59fa1689a4a57522f1c233853da3b [2024-11-09T01:12:33.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-09T01:12:33.983Z] Dload Upload Total Spent Left Speed [2024-11-09T01:12:34.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 16948 --:--:-- --:--:-- --:--:-- 17021 [2024-11-09T01:12:34.244Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/baeffff832230afdef053380aed2c051c71752e5 [Pipeline] } [2024-11-09T01:12:34.253Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-09T01:12:35.135Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-590/archives ] [2024-11-09T01:12:35.135Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-590/archives [2024-11-09T01:12:35.135Z] total 16 [2024-11-09T01:12:35.135Z] drwxr-xr-x 3 root root 4096 Nov 9 00:58 . [2024-11-09T01:12:35.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 00:58 .. [2024-11-09T01:12:35.135Z] drwxr-xr-x 2 root root 4096 Nov 9 00:58 cost [2024-11-09T01:12:35.135Z] -rw-r--r-- 1 root root 88 Nov 9 00:58 cost.csv [2024-11-09T01:12:35.135Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-590/archives [2024-11-09T01:12:35.135Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-590/archives [2024-11-09T01:12:35.135Z] total 16 [2024-11-09T01:12:35.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 00:58 . [2024-11-09T01:12:35.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 00:58 .. [2024-11-09T01:12:35.135Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 00:58 cost [2024-11-09T01:12:35.135Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 9 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:35.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:36.287Z] ---> package-listing.sh [2024-11-09T01:12:36.287Z] ++ facter osfamily [2024-11-09T01:12:36.287Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-09T01:12:36.546Z] + OS_FAMILY=debian [2024-11-09T01:12:36.546Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-590 [2024-11-09T01:12:36.546Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-09T01:12:36.546Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-09T01:12:36.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-09T01:12:36.546Z] + PACKAGES=/tmp/packages_start.txt [2024-11-09T01:12:36.546Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-590 ']' [2024-11-09T01:12:36.546Z] + PACKAGES=/tmp/packages_end.txt [2024-11-09T01:12:36.546Z] + case "${OS_FAMILY}" in [2024-11-09T01:12:36.546Z] + dpkg -l [2024-11-09T01:12:36.546Z] + grep '^ii' [2024-11-09T01:12:36.546Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-09T01:12:36.546Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-09T01:12:36.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-09T01:12:36.546Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-590 ']' [2024-11-09T01:12:36.546Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-590/archives/ [2024-11-09T01:12:36.546Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-590/archives/ [Pipeline] echo [2024-11-09T01:12:36.559Z] 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-590/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-09T01:12:36.842Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-09T01:12:37.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-09T01:12:37.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-09T01:12:37.464Z] prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container [2024-11-09T01:12:37.484Z] $ 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-590/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-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-09T01:12:37.645Z] $ docker top 1731dba1053ddb54983db23f673db76c51cafda056caafba92c2210f592d3083 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-09T01:12:37.972Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-09T01:12:38.253Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-09T01:12:38.540Z] + ls /var/log/sa-host [2024-11-09T01:12:38.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-09T01:12:38.712Z] provisioning config files... [2024-11-09T01:12:38.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config15163411596777231401tmp [Pipeline] { [Pipeline] echo [2024-11-09T01:12:38.742Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:39.031Z] ---> create-netrc.sh [Pipeline] } [2024-11-09T01:12:39.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:39.393Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-09T01:12:39.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:39.690Z] ---> sudo-logs.sh [2024-11-09T01:12:39.690Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-09T01:12:39.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:40.009Z] ---> job-cost.sh [2024-11-09T01:12:40.009Z] lf-activate-venv: SKIPPING [2024-11-09T01:12:40.009Z] DEBUG: total: 0.2199999988079071 [2024-11-09T01:12:40.009Z] INFO: Retrieving Stack Cost... [2024-11-09T01:12:40.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-09T01:12:40.526Z] INFO: Archiving Costs [Pipeline] echo [2024-11-09T01:12:40.541Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-09T01:12:40.827Z] ---> logs-deploy.sh [2024-11-09T01:12:40.827Z] lf-activate-venv: SKIPPING [2024-11-09T01:12:40.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-590/2 [2024-11-09T01:12:40.827Z] INFO: archiving workspace using pattern(s): [2024-11-09T01:12:41.764Z] Archives upload complete. [2024-11-09T01:12:41.764Z] INFO: archiving logs to Nexus