Pull request #578 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7e59a9eb314454fb5a2ea0758c50bae37a4e494+e778c6a7e22bae4333302da5b4dc0bc2aa806a86 (fe9440b03ecfb5a1ae635b0f72f7fb246154bdf1) 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-ssh5913621162736725752.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-ssh8195612270611780049.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8110247846831535283.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4548817404784152486.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3812368545642285023.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-578/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-578/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1407828548282120983.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21991 in /w/workspace/xfoundry_device-modbus-go_PR-578 [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-578 # 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/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit c7e59a9eb314454fb5a2ea0758c50bae37a4e494 Merge succeeded, producing c7e59a9eb314454fb5a2ea0758c50bae37a4e494 Checking out Revision c7e59a9eb314454fb5a2ea0758c50bae37a4e494 (PR-578) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f c7e59a9eb314454fb5a2ea0758c50bae37a4e494 # 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7e59a9eb314454fb5a2ea0758c50bae37a4e494 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T05:27:36.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T05:27:36.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T05:27:37.026Z] ========================================================= [2024-10-07T05:27:37.026Z] EdgeX Global Pipelines Version Info [2024-10-07T05:27:37.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:27:37.784Z] ------------------- [2024-10-07T05:27:37.784Z] stable info: [2024-10-07T05:27:37.784Z] ------------------- [2024-10-07T05:27:37.784Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T05:27:37.784Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T05:27:37.784Z] Message: update stable to v1.0.265 [2024-10-07T05:27:38.355Z] ------------------- [2024-10-07T05:27:38.355Z] experimental info: [2024-10-07T05:27:38.355Z] ------------------- [2024-10-07T05:27:38.355Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T05:27:38.355Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T05:27:38.355Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T05:27:38.568Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-07T05:27:38.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-07T05:27:38.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T05:27:38.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T05:27:38.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T05:27:38.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T05:27:38.911Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T05:27:38.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-07T05:27:39.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T05:27:39.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T05:27:39.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T05:27:39.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-07T05:27:39.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T05:27:39.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T05:27:39.359Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T05:27:39.415Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T05:27:39.473Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T05:27:39.538Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T05:27:39.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T05:27:39.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T05:27:39.708Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-07T05:27:39.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-07T05:27:39.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T05:27:39.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T05:27:39.933Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T05:27:39.989Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T05:27:40.045Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T05:27:40.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-578 [Pipeline] echo [2024-10-07T05:27:40.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-578 [Pipeline] echo [2024-10-07T05:27:40.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-578 [Pipeline] echo [2024-10-07T05:27:40.259Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [Pipeline] echo [2024-10-07T05:27:40.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7e59a9 [Pipeline] echo [2024-10-07T05:27:40.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T05:27:40.513Z] provisioning config files... [2024-10-07T05:27:40.527Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/config11021632859157039437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:27:40.927Z] ---> ****-login.sh [2024-10-07T05:27:40.927Z] nexus3.edgexfoundry.org:10001 [2024-10-07T05:27:41.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:27:41.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:27:41.188Z] Configure a credential helper to remove this warning. See [2024-10-07T05:27:41.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:27:41.188Z] [2024-10-07T05:27:41.188Z] Login Succeeded [2024-10-07T05:27:41.188Z] nexus3.edgexfoundry.org:10002 [2024-10-07T05:27:41.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:27:41.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:27:41.448Z] Configure a credential helper to remove this warning. See [2024-10-07T05:27:41.448Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:27:41.448Z] [2024-10-07T05:27:41.448Z] Login Succeeded [2024-10-07T05:27:41.448Z] nexus3.edgexfoundry.org:10003 [2024-10-07T05:27:41.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:27:41.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:27:41.448Z] Configure a credential helper to remove this warning. See [2024-10-07T05:27:41.448Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:27:41.448Z] [2024-10-07T05:27:41.448Z] Login Succeeded [2024-10-07T05:27:41.448Z] nexus3.edgexfoundry.org:10004 [2024-10-07T05:27:41.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:27:41.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:27:41.711Z] Configure a credential helper to remove this warning. See [2024-10-07T05:27:41.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:27:41.711Z] [2024-10-07T05:27:41.711Z] Login Succeeded [2024-10-07T05:27:41.711Z] ****.io [2024-10-07T05:27:41.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:27:41.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:27:41.972Z] Configure a credential helper to remove this warning. See [2024-10-07T05:27:41.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:27:41.972Z] [2024-10-07T05:27:41.972Z] Login Succeeded [2024-10-07T05:27:41.972Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T05:27:42.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T05:27:42.713Z] + git rev-list -1 --merges c7e59a9eb314454fb5a2ea0758c50bae37a4e494~1..c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [Pipeline] echo [2024-10-07T05:27:42.764Z] -----------> git rev-list -1 --merges c7e59a9eb314454fb5a2ea0758c50bae37a4e494~1..c7e59a9eb314454fb5a2ea0758c50bae37a4e494 c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [false] [Pipeline] sh [2024-10-07T05:27:43.092Z] + git log --format=format:%s -1 c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [Pipeline] echo [2024-10-07T05:27:43.136Z] ========================================================= [2024-10-07T05:27:43.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T05:27:43.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T05:27:43.610Z] + git log --format=format:%s -1 c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [Pipeline] echo [2024-10-07T05:27:43.651Z] [semverPrep] GIT_COMMIT: c7e59a9eb314454fb5a2ea0758c50bae37a4e494, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-07T05:27:43.698Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T05:27:44.113Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T05:27:44.113Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T05:27:44.113Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T05:27:44.113Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T05:27:44.113Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T05:27:44.113Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T05:27:44.113Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:27:44.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T05:27:44.682Z] [2024-10-07T05:27:44.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:27:45.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T05:27:45.102Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T05:27:45.102Z] b85a868b505f: Pulling fs layer [2024-10-07T05:27:45.102Z] e2be974225ed: Pulling fs layer [2024-10-07T05:27:45.102Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T05:27:45.102Z] 988bab9f4d93: Pulling fs layer [2024-10-07T05:27:45.102Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T05:27:45.102Z] eaf3925da568: Pulling fs layer [2024-10-07T05:27:45.102Z] bab4dde63d76: Pulling fs layer [2024-10-07T05:27:45.102Z] bde34c3a00c8: Pulling fs layer [2024-10-07T05:27:45.102Z] b352a97aabf1: Pulling fs layer [2024-10-07T05:27:45.102Z] 4872d77fe225: Pulling fs layer [2024-10-07T05:27:45.102Z] eaf3925da568: Waiting [2024-10-07T05:27:45.102Z] 5851b861e8e6: Pulling fs layer [2024-10-07T05:27:45.102Z] bde34c3a00c8: Waiting [2024-10-07T05:27:45.102Z] b352a97aabf1: Waiting [2024-10-07T05:27:45.102Z] bab4dde63d76: Waiting [2024-10-07T05:27:45.102Z] 4872d77fe225: Waiting [2024-10-07T05:27:45.102Z] 1469e6f7b9e6: Waiting [2024-10-07T05:27:45.102Z] 5851b861e8e6: Waiting [2024-10-07T05:27:45.102Z] 988bab9f4d93: Waiting [2024-10-07T05:27:45.102Z] e2be974225ed: Verifying Checksum [2024-10-07T05:27:45.102Z] e2be974225ed: Download complete [2024-10-07T05:27:45.102Z] 988bab9f4d93: Verifying Checksum [2024-10-07T05:27:45.102Z] 988bab9f4d93: Download complete [2024-10-07T05:27:45.362Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T05:27:45.362Z] 1469e6f7b9e6: Download complete [2024-10-07T05:27:45.362Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T05:27:45.362Z] 339a4e72a1f5: Download complete [2024-10-07T05:27:45.362Z] eaf3925da568: Download complete [2024-10-07T05:27:45.362Z] bde34c3a00c8: Download complete [2024-10-07T05:27:45.362Z] b352a97aabf1: Download complete [2024-10-07T05:27:45.362Z] 4872d77fe225: Verifying Checksum [2024-10-07T05:27:45.362Z] 4872d77fe225: Download complete [2024-10-07T05:27:45.362Z] 5851b861e8e6: Verifying Checksum [2024-10-07T05:27:45.362Z] 5851b861e8e6: Download complete [2024-10-07T05:27:45.362Z] b85a868b505f: Verifying Checksum [2024-10-07T05:27:45.362Z] b85a868b505f: Download complete [2024-10-07T05:27:45.623Z] bab4dde63d76: Verifying Checksum [2024-10-07T05:27:45.623Z] bab4dde63d76: Download complete [2024-10-07T05:27:46.559Z] b85a868b505f: Pull complete [2024-10-07T05:27:46.818Z] e2be974225ed: Pull complete [2024-10-07T05:27:47.388Z] 339a4e72a1f5: Pull complete [2024-10-07T05:27:47.388Z] 988bab9f4d93: Pull complete [2024-10-07T05:27:47.648Z] 1469e6f7b9e6: Pull complete [2024-10-07T05:27:47.648Z] eaf3925da568: Pull complete [2024-10-07T05:27:49.556Z] bab4dde63d76: Pull complete [2024-10-07T05:27:49.556Z] bde34c3a00c8: Pull complete [2024-10-07T05:27:49.556Z] b352a97aabf1: Pull complete [2024-10-07T05:27:49.556Z] 4872d77fe225: Pull complete [2024-10-07T05:27:49.556Z] 5851b861e8e6: Pull complete [2024-10-07T05:27:49.556Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T05:27:49.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T05:27:49.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:27:50.112Z] prd-ubuntu20.04-docker-8c-8g-21991 does not seem to be running inside a container [2024-10-07T05:27:50.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-578 -v /w/workspace/xfoundry_device-modbus-go_PR-578:/w/workspace/xfoundry_device-modbus-go_PR-578:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-578@tmp:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-07T05:27:53.262Z] $ docker top 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 -eo pid,comm [2024-10-07T05:27:53.311Z] 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-10-07T05:27:53.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T05:27:53.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T05:27:53.478Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T05:27:53.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T05:27:53.601Z] $ docker exec 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 ssh-agent [2024-10-07T05:27:53.710Z] SSH_AUTH_SOCK=/tmp/ssh-drv3Od1m4DO9/agent.32 [2024-10-07T05:27:53.710Z] SSH_AGENT_PID=38 [2024-10-07T05:27:53.716Z] Running ssh-add (command line suppressed) [2024-10-07T05:27:53.815Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-578@tmp/private_key_1867383137640066151.key (/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/private_key_1867383137640066151.key) [2024-10-07T05:27:53.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T05:27:54.184Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T05:27:54.214Z] $ docker exec --env ******** --env ******** 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 ssh-agent -k [2024-10-07T05:27:54.303Z] unset SSH_AUTH_SOCK; [2024-10-07T05:27:54.304Z] unset SSH_AGENT_PID; [2024-10-07T05:27:54.304Z] echo Agent pid 38 killed; [2024-10-07T05:27:54.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T05:27:54.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T05:27:54.426Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T05:27:54.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T05:27:54.534Z] $ docker exec 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 ssh-agent [2024-10-07T05:27:54.640Z] SSH_AUTH_SOCK=/tmp/ssh-I2loRWYyRNrQ/agent.71 [2024-10-07T05:27:54.640Z] SSH_AGENT_PID=77 [2024-10-07T05:27:54.644Z] Running ssh-add (command line suppressed) [2024-10-07T05:27:54.742Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-578@tmp/private_key_15956067281855050539.key (/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/private_key_15956067281855050539.key) [2024-10-07T05:27:54.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T05:27:55.101Z] + git semver init [2024-10-07T05:27:55.363Z] 2024-10-07 05:27:55,269 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T05:27:55.363Z] 2024-10-07 05:27:55,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-578/.semver [2024-10-07T05:27:55.363Z] 2024-10-07 05:27:55,270 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-578/.semver [2024-10-07T05:27:55.363Z] 2024-10-07 05:27:55,270 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-578/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-578, universal_newlines=False, shell=None, istream=None) [2024-10-07T05:27:56.303Z] 2024-10-07 05:27:56,262 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-578/.git/info/exclude [2024-10-07T05:27:56.303Z] 2024-10-07 05:27:56,263 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-578/.semver/PR-578 with force:False [2024-10-07T05:27:56.303Z] 2024-10-07 05:27:56,263 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-578/.semver/PR-578 [2024-10-07T05:27:56.303Z] 2024-10-07 05:27:56,267 [execute] INFO git cat-file --batch-check [2024-10-07T05:27:56.304Z] 2024-10-07 05:27:56,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T05:27:56.304Z] 2024-10-07 05:27:56,273 [execute] INFO git cat-file --batch [2024-10-07T05:27:56.304Z] 2024-10-07 05:27:56,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T05:27:56.304Z] 2024-10-07 05:27:56,278 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-578/.semver/PR-578 [2024-10-07T05:27:56.304Z] 0.0.0 [Pipeline] } [2024-10-07T05:27:56.334Z] $ docker exec --env ******** --env ******** 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 ssh-agent -k [2024-10-07T05:27:56.430Z] unset SSH_AUTH_SOCK; [2024-10-07T05:27:56.431Z] unset SSH_AGENT_PID; [2024-10-07T05:27:56.431Z] echo Agent pid 77 killed; [2024-10-07T05:27:56.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T05:27:56.900Z] + git semver [Pipeline] } [2024-10-07T05:27:57.188Z] $ docker stop --time=1 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 [2024-10-07T05:27:58.494Z] $ docker rm -f --volumes 16c5932ca7500b228da62a118a21ed76b53b3ff4e4a8fce974ee3d641fb5c691 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T05:27:58.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T05:27:59.329Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T05:27:59.356Z] [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-10-07T05:28:00.076Z] provisioning config files... [2024-10-07T05:28:00.086Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/config12256989631023437967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:28:00.445Z] ---> ****-login.sh [2024-10-07T05:28:00.445Z] nexus3.edgexfoundry.org:10001 [2024-10-07T05:28:00.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:28:00.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:28:00.446Z] Configure a credential helper to remove this warning. See [2024-10-07T05:28:00.446Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:28:00.446Z] [2024-10-07T05:28:00.446Z] Login Succeeded [2024-10-07T05:28:00.446Z] nexus3.edgexfoundry.org:10002 [2024-10-07T05:28:00.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:28:00.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:28:00.446Z] Configure a credential helper to remove this warning. See [2024-10-07T05:28:00.446Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:28:00.446Z] [2024-10-07T05:28:00.446Z] Login Succeeded [2024-10-07T05:28:00.446Z] nexus3.edgexfoundry.org:10003 [2024-10-07T05:28:00.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:28:00.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:28:00.706Z] Configure a credential helper to remove this warning. See [2024-10-07T05:28:00.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:28:00.706Z] [2024-10-07T05:28:00.706Z] Login Succeeded [2024-10-07T05:28:00.706Z] nexus3.edgexfoundry.org:10004 [2024-10-07T05:28:00.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:28:00.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:28:00.706Z] Configure a credential helper to remove this warning. See [2024-10-07T05:28:00.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:28:00.706Z] [2024-10-07T05:28:00.706Z] Login Succeeded [2024-10-07T05:28:00.706Z] ****.io [2024-10-07T05:28:00.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:28:00.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:28:00.967Z] Configure a credential helper to remove this warning. See [2024-10-07T05:28:00.967Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:28:00.967Z] [2024-10-07T05:28:00.967Z] Login Succeeded [2024-10-07T05:28:00.967Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T05:28:00.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T05:28:01.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T05:28:01.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T05:28:01.325Z] ========================================================= [2024-10-07T05:28:01.325Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T05:28:01.325Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:28:01.838Z] + 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-10-07T05:28:01.838Z] Sending build context to Docker daemon 17.96MB [2024-10-07T05:28:01.838Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T05:28:01.838Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T05:28:01.838Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T05:28:01.838Z] 43c4264eed91: Pulling fs layer [2024-10-07T05:28:01.838Z] 4cc291be95ef: Pulling fs layer [2024-10-07T05:28:01.838Z] 2ac1f1163629: Pulling fs layer [2024-10-07T05:28:01.838Z] 5c3c966382ef: Pulling fs layer [2024-10-07T05:28:01.838Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T05:28:01.838Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T05:28:01.838Z] 9f66e0745190: Pulling fs layer [2024-10-07T05:28:01.838Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T05:28:01.838Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T05:28:01.838Z] 9f66e0745190: Waiting [2024-10-07T05:28:01.838Z] f49a43e4bbc0: Waiting [2024-10-07T05:28:01.838Z] 4f4fb700ef54: Waiting [2024-10-07T05:28:01.838Z] 5d5c8e513c77: Waiting [2024-10-07T05:28:01.838Z] 561ebcabdf7f: Waiting [2024-10-07T05:28:01.838Z] 5c3c966382ef: Waiting [2024-10-07T05:28:02.098Z] 4cc291be95ef: Verifying Checksum [2024-10-07T05:28:02.098Z] 4cc291be95ef: Download complete [2024-10-07T05:28:02.098Z] 5c3c966382ef: Verifying Checksum [2024-10-07T05:28:02.098Z] 5c3c966382ef: Download complete [2024-10-07T05:28:02.098Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T05:28:02.098Z] 4f4fb700ef54: Download complete [2024-10-07T05:28:02.098Z] 5d5c8e513c77: Verifying Checksum [2024-10-07T05:28:02.098Z] 5d5c8e513c77: Download complete [2024-10-07T05:28:02.098Z] 43c4264eed91: Download complete [2024-10-07T05:28:02.098Z] 9f66e0745190: Verifying Checksum [2024-10-07T05:28:02.098Z] 9f66e0745190: Download complete [2024-10-07T05:28:02.098Z] 43c4264eed91: Pull complete [2024-10-07T05:28:02.358Z] 4cc291be95ef: Pull complete [2024-10-07T05:28:02.358Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T05:28:02.358Z] 561ebcabdf7f: Download complete [2024-10-07T05:28:02.618Z] 2ac1f1163629: Download complete [2024-10-07T05:28:02.876Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T05:28:02.876Z] f49a43e4bbc0: Download complete [2024-10-07T05:28:05.405Z] 2ac1f1163629: Pull complete [2024-10-07T05:28:05.664Z] 5c3c966382ef: Pull complete [2024-10-07T05:28:05.664Z] 4f4fb700ef54: Pull complete [2024-10-07T05:28:05.664Z] 5d5c8e513c77: Pull complete [2024-10-07T05:28:05.664Z] 9f66e0745190: Pull complete [2024-10-07T05:28:08.192Z] f49a43e4bbc0: Pull complete [2024-10-07T05:28:08.451Z] 561ebcabdf7f: Pull complete [2024-10-07T05:28:08.451Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T05:28:08.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T05:28:08.451Z] ---> 3a752c3f9dda [2024-10-07T05:28:08.451Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-07T05:28:12.660Z] ---> Running in 032cf9479c2c [2024-10-07T05:28:12.660Z] Removing intermediate container 032cf9479c2c [2024-10-07T05:28:12.660Z] ---> aec5b0ab16db [2024-10-07T05:28:12.660Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T05:28:12.660Z] ---> Running in f9ecbc2ebcbd [2024-10-07T05:28:12.660Z] Removing intermediate container f9ecbc2ebcbd [2024-10-07T05:28:12.660Z] ---> d938d45157f0 [2024-10-07T05:28:12.660Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-07T05:28:12.660Z] ---> Running in 74c554a3dd69 [2024-10-07T05:28:12.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T05:28:12.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T05:28:13.179Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T05:28:13.179Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-07T05:28:13.438Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T05:28:13.438Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T05:28:13.438Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-07T05:28:13.438Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-07T05:28:13.438Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-07T05:28:13.438Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-07T05:28:13.438Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:28:13.438Z] OK: 252 MiB in 62 packages [2024-10-07T05:28:14.007Z] Removing intermediate container 74c554a3dd69 [2024-10-07T05:28:14.007Z] ---> 8ca497c40926 [2024-10-07T05:28:14.007Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-07T05:28:14.007Z] ---> Running in 320abb53d8e1 [2024-10-07T05:28:14.007Z] Removing intermediate container 320abb53d8e1 [2024-10-07T05:28:14.007Z] ---> f7c27a892a26 [2024-10-07T05:28:14.007Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T05:28:14.007Z] ---> 945cd6dc43af [2024-10-07T05:28:14.007Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T05:28:14.007Z] ---> Running in a5f729e9bd2c [2024-10-07T05:28:14.871Z] Still waiting to schedule task [2024-10-07T05:28:14.872Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T05:29:10.429Z] Removing intermediate container a5f729e9bd2c [2024-10-07T05:29:10.429Z] ---> 195681a23e48 [2024-10-07T05:29:10.429Z] Step 9/10 : COPY . . [2024-10-07T05:29:10.429Z] ---> eebab423b7ff [2024-10-07T05:29:10.429Z] Step 10/10 : RUN ${MAKE} [2024-10-07T05:29:10.429Z] ---> Running in 9ae8cb373eb6 [2024-10-07T05:29:10.429Z] noop [2024-10-07T05:29:10.429Z] Removing intermediate container 9ae8cb373eb6 [2024-10-07T05:29:10.429Z] ---> 0883d9c35433 [2024-10-07T05:29:10.429Z] Successfully built 0883d9c35433 [2024-10-07T05:29:10.429Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:29:10.903Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T05:29:10.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:29:11.083Z] prd-ubuntu20.04-docker-8c-8g-21991 does not seem to be running inside a container [2024-10-07T05:29:11.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-578 -v /w/workspace/xfoundry_device-modbus-go_PR-578:/w/workspace/xfoundry_device-modbus-go_PR-578:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-578@tmp:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T05:29:11.465Z] $ docker top 6661d46fbd9204d8206becc13c04417e903893eec9c1656438db67a664c5d0c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T05:29:11.864Z] + go version [2024-10-07T05:29:11.864Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T05:29:11.896Z] $ docker stop --time=1 6661d46fbd9204d8206becc13c04417e903893eec9c1656438db67a664c5d0c4 [2024-10-07T05:29:13.169Z] $ docker rm -f --volumes 6661d46fbd9204d8206becc13c04417e903893eec9c1656438db67a664c5d0c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:29:13.972Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T05:29:13.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:29:14.138Z] prd-ubuntu20.04-docker-8c-8g-21991 does not seem to be running inside a container [2024-10-07T05:29:14.166Z] $ 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-578 -v /w/workspace/xfoundry_device-modbus-go_PR-578:/w/workspace/xfoundry_device-modbus-go_PR-578:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-578@tmp:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T05:29:14.493Z] $ docker top fe92e8ddeecc9ca083636be26fb8b99d38ffa540f47c9334dd95c598ebd60c61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T05:29:14.899Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-578 [Pipeline] fileExists [Pipeline] sh [2024-10-07T05:29:15.267Z] + make test [2024-10-07T05:29:15.267Z] go test ./... -coverprofile=coverage.out [2024-10-07T05:29:16.641Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-07T05:29:34.725Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-07T05:29:34.725Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-10-07T05:29:45.478Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21992 in /w/workspace/xfoundry_device-modbus-go_PR-578 [Pipeline] { [Pipeline] ws [2024-10-07T05:29:45.558Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-07T05:29:46.923Z] go vet ./... [2024-10-07T05:29:48.657Z] The recommended git tool is: git [2024-10-07T05:29:51.106Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T05:29:51.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T05:29:51.365Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T05:29:51.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T05:29:51.456Z] $ docker stop --time=1 fe92e8ddeecc9ca083636be26fb8b99d38ffa540f47c9334dd95c598ebd60c61 [2024-10-07T05:29:53.065Z] using credential edgex-jenkins-ssh [2024-10-07T05:29:53.090Z] Cloning the remote Git repository [2024-10-07T05:29:53.135Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-07T05:29:53.225Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-07T05:29:53.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-07T05:29:53.357Z] > git --version # timeout=10 [2024-10-07T05:29:53.379Z] > git --version # 'git version 2.25.1' [2024-10-07T05:29:53.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T05:29:53.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T05:29:55.096Z] $ docker rm -f --volumes fe92e8ddeecc9ca083636be26fb8b99d38ffa540f47c9334dd95c598ebd60c61 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T05:29:55.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T05:29:55.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-07T05:29:55.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-07T05:29:55.440Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2024-10-07T05:29:56.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T05:29:56.812Z] Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [2024-10-07T05:29:56.860Z] + ls -al . [2024-10-07T05:29:56.860Z] total 272 [2024-10-07T05:29:56.860Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 05:29 . [2024-10-07T05:29:56.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:27 .. [2024-10-07T05:29:56.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 05:27 .dockerignore [2024-10-07T05:29:56.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 05:29 .git [2024-10-07T05:29:56.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:27 .github [2024-10-07T05:29:56.860Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 7 05:27 .gitignore [2024-10-07T05:29:56.860Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 05:27 .golangci.yml [2024-10-07T05:29:56.860Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 05:27 .semver [2024-10-07T05:29:56.860Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 7 05:27 Attribution.txt [2024-10-07T05:29:56.860Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 7 05:27 CHANGELOG.md [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 7 05:27 Dockerfile [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 05:27 GOVERNANCE.md [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 7 05:27 Jenkinsfile [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 05:27 LICENSE [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 7 05:27 Makefile [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 05:27 OWNERS.md [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 7 05:27 README.md [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 05:27 VERSION [2024-10-07T05:29:56.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:27 bin [2024-10-07T05:29:56.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:27 cmd [2024-10-07T05:29:56.861Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 7 05:29 coverage.out [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 7 05:27 go.mod [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 7 05:27 go.sum [2024-10-07T05:29:56.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:27 internal [2024-10-07T05:29:56.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:27 simulator [2024-10-07T05:29:56.861Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 7 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:29:57.058Z] Merge succeeded, producing c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [2024-10-07T05:29:57.058Z] Checking out Revision c7e59a9eb314454fb5a2ea0758c50bae37a4e494 (PR-578) [2024-10-07T05:29:57.281Z] + 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=c7e59a9eb314454fb5a2ea0758c50bae37a4e494 --label arch=amd64 --label version=0.0.0 . [2024-10-07T05:29:57.281Z] Sending build context to Docker daemon 17.98MB [2024-10-07T05:29:57.281Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T05:29:57.281Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-07T05:29:57.281Z] ---> 0883d9c35433 [2024-10-07T05:29:57.281Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-07T05:29:56.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-07T05:29:56.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-07T05:29:56.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T05:29:56.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T05:29:56.829Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T05:29:56.883Z] > git checkout -f c7e59a9eb314454fb5a2ea0758c50bae37a4e494 # timeout=10 [2024-10-07T05:29:56.966Z] > git remote # timeout=10 [2024-10-07T05:29:56.981Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T05:29:57.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T05:29:57.023Z] > git merge e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 [2024-10-07T05:29:57.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T05:29:57.065Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T05:29:57.085Z] > git checkout -f c7e59a9eb314454fb5a2ea0758c50bae37a4e494 # timeout=10 [2024-10-07T05:29:57.543Z] ---> Running in 884b5657d320 [2024-10-07T05:29:57.543Z] Removing intermediate container 884b5657d320 [2024-10-07T05:29:57.543Z] ---> 254720633e1a [2024-10-07T05:29:57.543Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T05:29:57.586Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-07T05:29:57.630Z] > git --version # timeout=10 [2024-10-07T05:29:57.638Z] > git --version # 'git version 2.25.1' [2024-10-07T05:29:57.652Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T05:29:57.807Z] ---> Running in 2432ca74e63b [2024-10-07T05:29:57.807Z] Removing intermediate container 2432ca74e63b [2024-10-07T05:29:57.807Z] ---> 4d3da2f2b5d6 [2024-10-07T05:29:57.807Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-07T05:29:57.807Z] ---> Running in 56843f34d872 [2024-10-07T05:29:58.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T05:29:58.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T05:29:58.637Z] OK: 252 MiB in 62 packages [2024-10-07T05:29:58.896Z] Removing intermediate container 56843f34d872 [2024-10-07T05:29:58.896Z] ---> ecf13df72524 [2024-10-07T05:29:58.896Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-07T05:29:58.896Z] ---> Running in 0b8aa5afbd3f [2024-10-07T05:29:58.896Z] Removing intermediate container 0b8aa5afbd3f [2024-10-07T05:29:58.896Z] ---> ebe8382c0923 [2024-10-07T05:29:58.896Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-07T05:29:58.896Z] ---> 5af00df035c9 [2024-10-07T05:29:58.896Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T05:29:58.896Z] ---> Running in f43bae5cacad [2024-10-07T05:29:59.990Z] Removing intermediate container f43bae5cacad [2024-10-07T05:29:59.990Z] ---> fc583c4e84cd [2024-10-07T05:29:59.990Z] Step 9/23 : COPY . . [2024-10-07T05:30:00.251Z] ---> b0be54576396 [2024-10-07T05:30:00.251Z] Step 10/23 : RUN ${MAKE} [2024-10-07T05:30:00.251Z] ---> Running in 2e001e4de28c [2024-10-07T05:30:00.512Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.43" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T05:30:02.613Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T05:30:02.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T05:30:02.613Z] Dload Upload Total Spent Left Speed [2024-10-07T05:30:02.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-10-07T05:30:02.967Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T05:30:03.304Z] + sudo tee /etc/docker/daemon.new [2024-10-07T05:30:03.304Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-07T05:30:03.304Z] { [2024-10-07T05:30:03.304Z] "registry-mirrors": [ [2024-10-07T05:30:03.304Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T05:30:03.304Z] ], [2024-10-07T05:30:03.304Z] "bip": "10.250.0.254/24", [2024-10-07T05:30:03.304Z] "hosts": [ [2024-10-07T05:30:03.304Z] "tcp://0.0.0.0:5555", [2024-10-07T05:30:03.304Z] "unix:///var/run/docker.sock" [2024-10-07T05:30:03.304Z] ], [2024-10-07T05:30:03.304Z] "mtu": 1458, [2024-10-07T05:30:03.304Z] "selinux-enabled": true, [2024-10-07T05:30:03.305Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T05:30:03.305Z] } [Pipeline] sh [2024-10-07T05:30:03.650Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T05:30:04.003Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T05:30:22.329Z] provisioning config files... [2024-10-07T05:30:22.357Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config705743714443306553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:30:22.876Z] ---> ****-login.sh [2024-10-07T05:30:22.877Z] nexus3.edgexfoundry.org:10001 [2024-10-07T05:30:23.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:30:23.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:30:23.420Z] Configure a credential helper to remove this warning. See [2024-10-07T05:30:23.420Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:30:23.420Z] [2024-10-07T05:30:23.420Z] Login Succeeded [2024-10-07T05:30:23.420Z] nexus3.edgexfoundry.org:10002 [2024-10-07T05:30:23.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:30:23.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:30:23.959Z] Configure a credential helper to remove this warning. See [2024-10-07T05:30:23.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:30:23.959Z] [2024-10-07T05:30:23.959Z] Login Succeeded [2024-10-07T05:30:23.959Z] nexus3.edgexfoundry.org:10003 [2024-10-07T05:30:23.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:30:24.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:30:24.234Z] Configure a credential helper to remove this warning. See [2024-10-07T05:30:24.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:30:24.234Z] [2024-10-07T05:30:24.234Z] Login Succeeded [2024-10-07T05:30:24.234Z] nexus3.edgexfoundry.org:10004 [2024-10-07T05:30:24.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:30:24.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:30:24.503Z] Configure a credential helper to remove this warning. See [2024-10-07T05:30:24.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:30:24.503Z] [2024-10-07T05:30:24.503Z] Login Succeeded [2024-10-07T05:30:24.503Z] ****.io [2024-10-07T05:30:24.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T05:30:25.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T05:30:25.040Z] Configure a credential helper to remove this warning. See [2024-10-07T05:30:25.040Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T05:30:25.040Z] [2024-10-07T05:30:25.041Z] Login Succeeded [2024-10-07T05:30:25.041Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T05:30:25.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T05:30:25.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T05:30:25.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T05:30:25.637Z] ========================================================= [2024-10-07T05:30:25.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T05:30:25.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:30:26.174Z] + 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-10-07T05:30:26.450Z] Sending build context to Docker daemon 9.113MB [2024-10-07T05:30:26.451Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T05:30:26.451Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T05:30:26.731Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T05:30:26.731Z] cf04c63912e1: Pulling fs layer [2024-10-07T05:30:26.731Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T05:30:26.731Z] a37a00ec5f00: Pulling fs layer [2024-10-07T05:30:26.731Z] 50b3750afda1: Pulling fs layer [2024-10-07T05:30:26.731Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T05:30:26.731Z] 80978eb59214: Pulling fs layer [2024-10-07T05:30:26.731Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T05:30:26.731Z] 50b3750afda1: Waiting [2024-10-07T05:30:26.731Z] 4f4fb700ef54: Waiting [2024-10-07T05:30:26.731Z] c5a475d317c9: Pulling fs layer [2024-10-07T05:30:26.731Z] 80978eb59214: Waiting [2024-10-07T05:30:26.731Z] c9f46d7d2bd2: Waiting [2024-10-07T05:30:26.731Z] c5a475d317c9: Waiting [2024-10-07T05:30:26.731Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T05:30:26.731Z] 55b35a11ae5e: Download complete [2024-10-07T05:30:26.731Z] 50b3750afda1: Download complete [2024-10-07T05:30:26.731Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T05:30:26.731Z] 4f4fb700ef54: Download complete [2024-10-07T05:30:26.731Z] 80978eb59214: Verifying Checksum [2024-10-07T05:30:26.731Z] 80978eb59214: Download complete [2024-10-07T05:30:27.003Z] cf04c63912e1: Verifying Checksum [2024-10-07T05:30:27.003Z] cf04c63912e1: Download complete [2024-10-07T05:30:27.288Z] c5a475d317c9: Verifying Checksum [2024-10-07T05:30:27.288Z] c5a475d317c9: Download complete [2024-10-07T05:30:27.883Z] cf04c63912e1: Pull complete [2024-10-07T05:30:28.497Z] 55b35a11ae5e: Pull complete [2024-10-07T05:30:28.771Z] a37a00ec5f00: Download complete [2024-10-07T05:30:29.733Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T05:30:29.733Z] c9f46d7d2bd2: Download complete [2024-10-07T05:30:32.591Z] Removing intermediate container 2e001e4de28c [2024-10-07T05:30:32.591Z] ---> 2ee05092a964 [2024-10-07T05:30:32.591Z] Step 11/23 : FROM alpine:3.20 [2024-10-07T05:30:32.591Z] 3.20: Pulling from library/alpine [2024-10-07T05:30:32.591Z] 43c4264eed91: Already exists [2024-10-07T05:30:32.591Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T05:30:32.591Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T05:30:32.591Z] ---> 91ef0af61f39 [2024-10-07T05:30:32.591Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-07T05:30:32.591Z] ---> Running in 5b0d9abfda33 [2024-10-07T05:30:32.591Z] Removing intermediate container 5b0d9abfda33 [2024-10-07T05:30:32.591Z] ---> f9b186d5237a [2024-10-07T05:30:32.591Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-07T05:30:32.591Z] ---> Running in e8e14ec25d71 [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T05:30:32.591Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:30:32.591Z] OK: 8 MiB in 15 packages [2024-10-07T05:30:32.591Z] Removing intermediate container e8e14ec25d71 [2024-10-07T05:30:32.591Z] ---> b0092afe8b2b [2024-10-07T05:30:32.591Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-07T05:30:32.591Z] ---> Running in b20495497d66 [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] Upgrading critical system libraries and apk-tools: [2024-10-07T05:30:32.591Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T05:30:32.591Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:30:32.591Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T05:30:32.591Z] OK: 8 MiB in 15 packages [2024-10-07T05:30:32.591Z] Removing intermediate container b20495497d66 [2024-10-07T05:30:32.591Z] ---> 17dfbb796736 [2024-10-07T05:30:32.591Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-07T05:30:33.163Z] ---> 17eef513fe6e [2024-10-07T05:30:33.163Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-07T05:30:33.423Z] ---> 936378380553 [2024-10-07T05:30:33.423Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-07T05:30:33.423Z] ---> 049f8948c58a [2024-10-07T05:30:33.423Z] Step 18/23 : EXPOSE 59901 [2024-10-07T05:30:33.423Z] ---> Running in d13910b31196 [2024-10-07T05:30:33.423Z] Removing intermediate container d13910b31196 [2024-10-07T05:30:33.423Z] ---> 760d97076426 [2024-10-07T05:30:33.423Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-07T05:30:33.682Z] ---> Running in c167ba9c8127 [2024-10-07T05:30:33.682Z] Removing intermediate container c167ba9c8127 [2024-10-07T05:30:33.682Z] ---> 0344767b98b0 [2024-10-07T05:30:33.682Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-07T05:30:33.682Z] ---> Running in 6a15c2c59c66 [2024-10-07T05:30:33.682Z] Removing intermediate container 6a15c2c59c66 [2024-10-07T05:30:33.682Z] ---> 1218de7548f1 [2024-10-07T05:30:33.682Z] Step 21/23 : LABEL arch=amd64 [2024-10-07T05:30:33.682Z] ---> Running in 04c27c169b25 [2024-10-07T05:30:33.942Z] Removing intermediate container 04c27c169b25 [2024-10-07T05:30:33.942Z] ---> 0de447330cd9 [2024-10-07T05:30:33.942Z] Step 22/23 : LABEL git_sha=c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [2024-10-07T05:30:33.942Z] ---> Running in b4b944ba087d [2024-10-07T05:30:33.942Z] Removing intermediate container b4b944ba087d [2024-10-07T05:30:33.942Z] ---> 17bc5dbcfd59 [2024-10-07T05:30:33.942Z] Step 23/23 : LABEL version=0.0.0 [2024-10-07T05:30:33.942Z] ---> Running in 8c1be01849ae [2024-10-07T05:30:33.942Z] Removing intermediate container 8c1be01849ae [2024-10-07T05:30:33.942Z] ---> 60de8371cacc [2024-10-07T05:30:33.942Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T05:30:33.942Z] Successfully built 60de8371cacc [2024-10-07T05:30:33.942Z] 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-10-07T05:30:40.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T05:30:40.140Z] [2024-10-07T05:30:40.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:30:40.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T05:30:40.559Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T05:30:40.559Z] 5eb5b503b376: Pulling fs layer [2024-10-07T05:30:40.559Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T05:30:40.559Z] ec43610c2a17: Pulling fs layer [2024-10-07T05:30:40.559Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T05:30:40.559Z] 33b1e0a273af: Pulling fs layer [2024-10-07T05:30:40.559Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T05:30:40.559Z] 2f39f015ded8: Pulling fs layer [2024-10-07T05:30:40.559Z] 33b1e0a273af: Waiting [2024-10-07T05:30:40.559Z] 5d3b04190fa2: Waiting [2024-10-07T05:30:40.559Z] 2f39f015ded8: Waiting [2024-10-07T05:30:40.559Z] 3a2ae6a8a46f: Waiting [2024-10-07T05:30:40.559Z] 5c69ac0246d0: Download complete [2024-10-07T05:30:40.559Z] 3a2ae6a8a46f: Download complete [2024-10-07T05:30:40.559Z] 33b1e0a273af: Verifying Checksum [2024-10-07T05:30:40.559Z] 33b1e0a273af: Download complete [2024-10-07T05:30:40.559Z] 5d3b04190fa2: Download complete [2024-10-07T05:30:40.559Z] ec43610c2a17: Verifying Checksum [2024-10-07T05:30:40.559Z] ec43610c2a17: Download complete [2024-10-07T05:30:40.818Z] 5eb5b503b376: Verifying Checksum [2024-10-07T05:30:40.818Z] 5eb5b503b376: Download complete [2024-10-07T05:30:41.384Z] 2f39f015ded8: Download complete [2024-10-07T05:30:41.949Z] 5eb5b503b376: Pull complete [2024-10-07T05:30:41.949Z] 5c69ac0246d0: Pull complete [2024-10-07T05:30:42.516Z] ec43610c2a17: Pull complete [2024-10-07T05:30:42.516Z] 3a2ae6a8a46f: Pull complete [2024-10-07T05:30:42.774Z] 33b1e0a273af: Pull complete [2024-10-07T05:30:42.774Z] 5d3b04190fa2: Pull complete [2024-10-07T05:30:43.300Z] a37a00ec5f00: Pull complete [2024-10-07T05:30:43.300Z] 50b3750afda1: Pull complete [2024-10-07T05:30:43.300Z] 4f4fb700ef54: Pull complete [2024-10-07T05:30:43.300Z] 80978eb59214: Pull complete [2024-10-07T05:30:46.322Z] 2f39f015ded8: Pull complete [2024-10-07T05:30:46.322Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T05:30:46.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T05:30:46.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:30:46.575Z] prd-ubuntu20.04-docker-8c-8g-21991 does not seem to be running inside a container [2024-10-07T05:30:46.605Z] $ 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-578 -v /w/workspace/xfoundry_device-modbus-go_PR-578:/w/workspace/xfoundry_device-modbus-go_PR-578:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-578@tmp:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T05:30:49.677Z] $ docker top c32c17f7ee7bb151db43406b178a19baf74afc32594046a034a468512391f30f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:30:49.950Z] c9f46d7d2bd2: Pull complete [2024-10-07T05:30:50.157Z] ---> job-cost.sh [2024-10-07T05:30:50.157Z] lf-activate-venv: SKIPPING [2024-10-07T05:30:50.157Z] INFO: No Stack... [2024-10-07T05:30:50.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T05:30:50.676Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T05:30:51.002Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-578/archives/cost.csv [2024-10-07T05:30:51.002Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T05:30:51.051Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [2024-10-07T05:30:51.057Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] did not exist. Created. [2024-10-07T05:30:51.063Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T05:30:51.479Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T05:30:51.542Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T05:30:51.579Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T05:30:51.670Z] $ docker stop --time=1 c32c17f7ee7bb151db43406b178a19baf74afc32594046a034a468512391f30f [2024-10-07T05:30:51.915Z] c5a475d317c9: Pull complete [2024-10-07T05:30:51.915Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T05:30:51.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T05:30:51.915Z] ---> be29e6b0f0d4 [2024-10-07T05:30:51.915Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-07T05:30:52.501Z] ---> Running in 099e69c9c374 [2024-10-07T05:30:52.773Z] Removing intermediate container 099e69c9c374 [2024-10-07T05:30:52.773Z] ---> 7914c9d5f0a9 [2024-10-07T05:30:52.773Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T05:30:52.824Z] $ docker rm -f --volumes c32c17f7ee7bb151db43406b178a19baf74afc32594046a034a468512391f30f [Pipeline] // withDockerContainer [Pipeline] } [2024-10-07T05:30:53.047Z] ---> Running in 0e316b83b61a [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T05:30:53.374Z] Removing intermediate container 0e316b83b61a [2024-10-07T05:30:53.374Z] ---> 28a3931dacac [2024-10-07T05:30:53.374Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-07T05:30:53.374Z] ---> Running in 8ca292a8aeea [2024-10-07T05:30:54.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T05:30:54.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T05:30:56.056Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T05:30:56.056Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-07T05:30:56.056Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T05:30:56.329Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T05:30:56.329Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-07T05:30:56.329Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-07T05:30:56.329Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-07T05:30:56.329Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-07T05:30:56.329Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:30:56.329Z] OK: 244 MiB in 62 packages [2024-10-07T05:30:57.740Z] Removing intermediate container 8ca292a8aeea [2024-10-07T05:30:57.740Z] ---> 43d740395acb [2024-10-07T05:30:57.740Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-07T05:30:57.740Z] ---> Running in 492714fa3e1b [2024-10-07T05:30:58.008Z] Removing intermediate container 492714fa3e1b [2024-10-07T05:30:58.008Z] ---> 6d744473ecfd [2024-10-07T05:30:58.008Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T05:30:58.593Z] ---> 03336cf14750 [2024-10-07T05:30:58.593Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T05:30:58.593Z] ---> Running in 4761ff186cb7 [2024-10-07T05:32:50.274Z] Removing intermediate container 4761ff186cb7 [2024-10-07T05:32:50.274Z] ---> db444e5099bd [2024-10-07T05:32:50.274Z] Step 9/10 : COPY . . [2024-10-07T05:32:50.274Z] ---> 9ad323dcefd4 [2024-10-07T05:32:50.274Z] Step 10/10 : RUN ${MAKE} [2024-10-07T05:32:50.274Z] ---> Running in a61f65d92dc1 [2024-10-07T05:32:50.274Z] noop [2024-10-07T05:32:50.274Z] Removing intermediate container a61f65d92dc1 [2024-10-07T05:32:50.274Z] ---> e5d3ecd4b975 [2024-10-07T05:32:50.274Z] Successfully built e5d3ecd4b975 [2024-10-07T05:32:50.274Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:32:50.777Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T05:32:50.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:32:51.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-21992 does not seem to be running inside a container [2024-10-07T05:32:51.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T05:32:52.799Z] $ docker top 584fca6c244f48432b2045d58ca03eb4df10df1a90f8352607ef44d10e7b8b7b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T05:32:53.683Z] + go version [2024-10-07T05:32:53.684Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T05:32:53.719Z] $ docker stop --time=1 584fca6c244f48432b2045d58ca03eb4df10df1a90f8352607ef44d10e7b8b7b [2024-10-07T05:32:55.351Z] $ docker rm -f --volumes 584fca6c244f48432b2045d58ca03eb4df10df1a90f8352607ef44d10e7b8b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:32:56.297Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T05:32:56.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:32:56.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-21992 does not seem to be running inside a container [2024-10-07T05:32:56.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T05:32:57.846Z] $ docker top 7a9183f80eec11b7735a861f808a54396c33733ba238788a48fbc314576cd5b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T05:32:58.751Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-07T05:32:59.471Z] + make test [2024-10-07T05:32:59.472Z] go test ./... -coverprofile=coverage.out [2024-10-07T05:33:05.881Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-07T05:36:42.679Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-07T05:36:44.084Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements [2024-10-07T05:36:45.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T05:36:45.039Z] go vet ./... [2024-10-07T05:37:31.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T05:37:31.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T05:37:31.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T05:37:31.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T05:37:31.927Z] $ docker stop --time=1 7a9183f80eec11b7735a861f808a54396c33733ba238788a48fbc314576cd5b8 [2024-10-07T05:37:33.827Z] $ docker rm -f --volumes 7a9183f80eec11b7735a861f808a54396c33733ba238788a48fbc314576cd5b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T05:37:35.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T05:37:35.512Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T05:37:35.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T05:37:36.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T05:37:36.903Z] + ls -al . [2024-10-07T05:37:36.903Z] total 268 [2024-10-07T05:37:36.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 05:33 . [2024-10-07T05:37:36.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:29 .. [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 05:29 .dockerignore [2024-10-07T05:37:36.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 05:30 .git [2024-10-07T05:37:36.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:29 .github [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 7 05:29 .gitignore [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 05:29 .golangci.yml [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 7 05:29 Attribution.txt [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 7 05:29 CHANGELOG.md [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 7 05:29 Dockerfile [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 05:29 GOVERNANCE.md [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 7 05:29 Jenkinsfile [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 05:29 LICENSE [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 7 05:29 Makefile [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 05:29 OWNERS.md [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 7 05:29 README.md [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 05:27 VERSION [2024-10-07T05:37:36.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:29 bin [2024-10-07T05:37:36.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:29 cmd [2024-10-07T05:37:36.903Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 7 05:36 coverage.out [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 7 05:29 go.mod [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 7 05:29 go.sum [2024-10-07T05:37:36.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:29 internal [2024-10-07T05:37:36.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:29 simulator [2024-10-07T05:37:36.903Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 7 05:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:37:37.335Z] + 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=c7e59a9eb314454fb5a2ea0758c50bae37a4e494 --label arch=arm64 --label version=0.0.0 . [2024-10-07T05:37:37.603Z] Sending build context to Docker daemon 9.138MB [2024-10-07T05:37:37.870Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T05:37:37.870Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-07T05:37:37.870Z] ---> e5d3ecd4b975 [2024-10-07T05:37:37.870Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-07T05:37:37.870Z] ---> Running in 2bd1ff2c1d35 [2024-10-07T05:37:38.455Z] Removing intermediate container 2bd1ff2c1d35 [2024-10-07T05:37:38.455Z] ---> 4b8f49d86f57 [2024-10-07T05:37:38.455Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T05:37:38.455Z] ---> Running in 8d5b2bd9bbcf [2024-10-07T05:37:38.729Z] Removing intermediate container 8d5b2bd9bbcf [2024-10-07T05:37:38.729Z] ---> 5c1a383e92ee [2024-10-07T05:37:38.729Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-07T05:37:38.729Z] ---> Running in c103e77bcf28 [2024-10-07T05:37:39.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T05:37:40.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T05:37:41.680Z] OK: 244 MiB in 62 packages [2024-10-07T05:37:42.264Z] Removing intermediate container c103e77bcf28 [2024-10-07T05:37:42.264Z] ---> 75873936e5e6 [2024-10-07T05:37:42.264Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-07T05:37:42.540Z] ---> Running in 08a58e0771f3 [2024-10-07T05:37:42.807Z] Removing intermediate container 08a58e0771f3 [2024-10-07T05:37:42.807Z] ---> 25248eb2bfe0 [2024-10-07T05:37:42.807Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-07T05:37:43.076Z] ---> b200f4cfbe0d [2024-10-07T05:37:43.076Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T05:37:43.343Z] ---> Running in 92bc80ceae1b [2024-10-07T05:37:45.924Z] Removing intermediate container 92bc80ceae1b [2024-10-07T05:37:45.924Z] ---> d1b1f0f9f812 [2024-10-07T05:37:45.924Z] Step 9/23 : COPY . . [2024-10-07T05:37:47.327Z] ---> 283808bc9063 [2024-10-07T05:37:47.327Z] Step 10/23 : RUN ${MAKE} [2024-10-07T05:37:47.327Z] ---> Running in c6d3f1c18f48 [2024-10-07T05:37:48.283Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.43" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-07T05:41:10.077Z] Removing intermediate container c6d3f1c18f48 [2024-10-07T05:41:10.077Z] ---> 79e5758d9d82 [2024-10-07T05:41:10.077Z] Step 11/23 : FROM alpine:3.20 [2024-10-07T05:41:10.077Z] 3.20: Pulling from library/alpine [2024-10-07T05:41:10.077Z] cf04c63912e1: Already exists [2024-10-07T05:41:10.077Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T05:41:10.077Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T05:41:10.077Z] ---> c157a85ed455 [2024-10-07T05:41:10.077Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-07T05:41:10.077Z] ---> Running in fcf581a0cfec [2024-10-07T05:41:10.077Z] Removing intermediate container fcf581a0cfec [2024-10-07T05:41:10.077Z] ---> 7d4695c4e1ef [2024-10-07T05:41:10.077Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-07T05:41:10.077Z] ---> Running in f6d59f6fca8c [2024-10-07T05:41:10.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:10.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:10.663Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T05:41:10.663Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:41:10.663Z] OK: 9 MiB in 15 packages [2024-10-07T05:41:11.629Z] Removing intermediate container f6d59f6fca8c [2024-10-07T05:41:11.629Z] ---> 030258071e6c [2024-10-07T05:41:11.629Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-07T05:41:11.629Z] ---> Running in d5d4e63d034b [2024-10-07T05:41:12.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:12.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:14.267Z] Upgrading critical system libraries and apk-tools: [2024-10-07T05:41:14.267Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T05:41:14.267Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T05:41:14.856Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T05:41:14.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:14.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T05:41:16.272Z] OK: 9 MiB in 15 packages [2024-10-07T05:41:17.247Z] Removing intermediate container d5d4e63d034b [2024-10-07T05:41:17.247Z] ---> ab2fb8a4f7d7 [2024-10-07T05:41:17.247Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-07T05:41:19.187Z] ---> 74c697242a9b [2024-10-07T05:41:19.187Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-07T05:41:19.768Z] ---> 0c9fda4a0376 [2024-10-07T05:41:19.768Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-07T05:41:20.350Z] ---> cc68bb5e6007 [2024-10-07T05:41:20.350Z] Step 18/23 : EXPOSE 59901 [2024-10-07T05:41:20.350Z] ---> Running in beccaee15932 [2024-10-07T05:41:20.617Z] Removing intermediate container beccaee15932 [2024-10-07T05:41:20.617Z] ---> 879b4974b47b [2024-10-07T05:41:20.617Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-07T05:41:20.617Z] ---> Running in 2722aea7c634 [2024-10-07T05:41:20.893Z] Removing intermediate container 2722aea7c634 [2024-10-07T05:41:20.893Z] ---> 478af4df2a59 [2024-10-07T05:41:20.893Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-07T05:41:21.162Z] ---> Running in 09596589eb56 [2024-10-07T05:41:21.428Z] Removing intermediate container 09596589eb56 [2024-10-07T05:41:21.428Z] ---> 3ec912d5a3b2 [2024-10-07T05:41:21.428Z] Step 21/23 : LABEL arch=arm64 [2024-10-07T05:41:21.428Z] ---> Running in 1edfd87660ce [2024-10-07T05:41:21.697Z] Removing intermediate container 1edfd87660ce [2024-10-07T05:41:21.697Z] ---> c7cff6437bac [2024-10-07T05:41:21.697Z] Step 22/23 : LABEL git_sha=c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [2024-10-07T05:41:21.969Z] ---> Running in ca1e14e21016 [2024-10-07T05:41:22.242Z] Removing intermediate container ca1e14e21016 [2024-10-07T05:41:22.242Z] ---> 5ac51f351551 [2024-10-07T05:41:22.242Z] Step 23/23 : LABEL version=0.0.0 [2024-10-07T05:41:22.242Z] ---> Running in b324d44f369a [2024-10-07T05:41:22.511Z] Removing intermediate container b324d44f369a [2024-10-07T05:41:22.511Z] ---> 84fb33dda2df [2024-10-07T05:41:22.511Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T05:41:22.511Z] Successfully built 84fb33dda2df [2024-10-07T05:41:22.779Z] 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-10-07T05:41:23.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T05:41:23.734Z] [2024-10-07T05:41:23.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:41:24.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T05:41:24.438Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T05:41:24.438Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T05:41:24.438Z] 04944245beec: Pulling fs layer [2024-10-07T05:41:24.438Z] 699f458cf7ca: Pulling fs layer [2024-10-07T05:41:24.438Z] 765212b225bb: Pulling fs layer [2024-10-07T05:41:24.438Z] f23df028b6ca: Pulling fs layer [2024-10-07T05:41:24.438Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T05:41:24.438Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T05:41:24.438Z] 765212b225bb: Waiting [2024-10-07T05:41:24.438Z] f23df028b6ca: Waiting [2024-10-07T05:41:24.438Z] d65c8cfc05b1: Waiting [2024-10-07T05:41:24.438Z] 2437ff75d9bd: Waiting [2024-10-07T05:41:24.438Z] 04944245beec: Verifying Checksum [2024-10-07T05:41:24.438Z] 04944245beec: Download complete [2024-10-07T05:41:24.438Z] 765212b225bb: Verifying Checksum [2024-10-07T05:41:24.438Z] 765212b225bb: Download complete [2024-10-07T05:41:24.438Z] f23df028b6ca: Verifying Checksum [2024-10-07T05:41:24.438Z] f23df028b6ca: Download complete [2024-10-07T05:41:24.438Z] d65c8cfc05b1: Download complete [2024-10-07T05:41:24.705Z] 699f458cf7ca: Verifying Checksum [2024-10-07T05:41:24.705Z] 699f458cf7ca: Download complete [2024-10-07T05:41:25.288Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T05:41:25.288Z] 8998bd30e6a1: Download complete [2024-10-07T05:41:27.865Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T05:41:27.865Z] 2437ff75d9bd: Download complete [2024-10-07T05:41:29.823Z] 8998bd30e6a1: Pull complete [2024-10-07T05:41:30.407Z] 04944245beec: Pull complete [2024-10-07T05:41:32.356Z] 699f458cf7ca: Pull complete [2024-10-07T05:41:32.357Z] 765212b225bb: Pull complete [2024-10-07T05:41:33.333Z] f23df028b6ca: Pull complete [2024-10-07T05:41:33.602Z] d65c8cfc05b1: Pull complete [2024-10-07T05:41:51.847Z] 2437ff75d9bd: Pull complete [2024-10-07T05:41:51.847Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T05:41:51.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T05:41:51.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:41:52.245Z] prd-ubuntu20.04-docker-arm64-4c-16g-21992 does not seem to be running inside a container [2024-10-07T05:41:52.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-07T05:41:55.700Z] $ docker top 3ae5eb4a2ab450a8d2fe5776707d9b81bce7b5e2e459c8dc33b4efdc270d32cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:41:56.681Z] ---> job-cost.sh [2024-10-07T05:41:56.681Z] lf-activate-venv: SKIPPING [2024-10-07T05:41:56.681Z] INFO: No Stack... [2024-10-07T05:41:57.267Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T05:41:57.854Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T05:41:58.532Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-07T05:41:58.532Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T05:41:58.632Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [2024-10-07T05:41:58.640Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] did not exist. Created. [2024-10-07T05:41:58.650Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T05:41:59.407Z] /w/workspace/device-modbus-go/1@tmp/durable-8cc68c16/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T05:42:00.148Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T05:42:00.190Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T05:42:00.259Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T05:42:00.278Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-578-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T05:42:00.377Z] $ docker stop --time=1 3ae5eb4a2ab450a8d2fe5776707d9b81bce7b5e2e459c8dc33b4efdc270d32cd [2024-10-07T05:42:02.054Z] $ docker rm -f --volumes 3ae5eb4a2ab450a8d2fe5776707d9b81bce7b5e2e459c8dc33b4efdc270d32cd [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-10-07T05:42:03.322Z] provisioning config files... [2024-10-07T05:42:03.329Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/config13131663031017644107tmp [Pipeline] { [Pipeline] sh [2024-10-07T05:42:03.683Z] + set +x [2024-10-07T05:42:03.683Z] + curl -s https://codecov.io/bash [2024-10-07T05:42:03.683Z] + bash -s -- [2024-10-07T05:42:03.683Z] [2024-10-07T05:42:03.683Z] _____ _ [2024-10-07T05:42:03.683Z] / ____| | | [2024-10-07T05:42:03.683Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T05:42:03.683Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T05:42:03.683Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T05:42:03.683Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T05:42:03.683Z] Bash-1.0.6 [2024-10-07T05:42:03.683Z] [2024-10-07T05:42:03.683Z] [2024-10-07T05:42:03.683Z] ==> git version 2.25.1 found [2024-10-07T05:42:03.683Z] ==> 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-10-07T05:42:03.683Z] Release-Date: 2020-01-08 [2024-10-07T05:42:03.683Z] 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-10-07T05:42:03.683Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T05:42:03.683Z] ==> Jenkins CI detected. [2024-10-07T05:42:03.683Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-578 [2024-10-07T05:42:03.683Z] project root: . [2024-10-07T05:42:03.683Z] --> token set from env [2024-10-07T05:42:03.683Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T05:42:03.683Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T05:42:03.944Z] ==> Python coveragepy not found [2024-10-07T05:42:03.944Z] ==> Searching for coverage reports in: [2024-10-07T05:42:03.944Z] + . [2024-10-07T05:42:03.944Z] -> Found 1 reports [2024-10-07T05:42:03.944Z] ==> Detecting git/mercurial file structure [2024-10-07T05:42:03.944Z] ==> Reading reports [2024-10-07T05:42:03.944Z] + ./coverage.out bytes=24669 [2024-10-07T05:42:03.944Z] ==> Appending adjustments [2024-10-07T05:42:03.944Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T05:42:03.944Z] + Found adjustments [2024-10-07T05:42:03.944Z] ==> Gzipping contents [2024-10-07T05:42:03.944Z] 4.0K /tmp/codecov.xVrpzp.gz [2024-10-07T05:42:03.944Z] ==> Uploading reports [2024-10-07T05:42:03.944Z] url: https://codecov.io [2024-10-07T05:42:03.944Z] query: branch=PR-578&commit=c7e59a9eb314454fb5a2ea0758c50bae37a4e494&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-578%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=578&job=&cmd_args= [2024-10-07T05:42:03.944Z] -> Pinging Codecov [2024-10-07T05:42:03.944Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-578&commit=c7e59a9eb314454fb5a2ea0758c50bae37a4e494&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-578%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=578&job=&cmd_args= [2024-10-07T05:42:04.204Z] -> Uploading to [2024-10-07T05:42:04.204Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/c7e59a9eb314454fb5a2ea0758c50bae37a4e494/41584734-1fd1-428b-b706-a7a117cf965c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T054203Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ddb24d53c57db3f30bb53d15051b8dbe5fa395a7317be8f30123111c5389d19c [2024-10-07T05:42:04.204Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T05:42:04.204Z] Dload Upload Total Spent Left Speed [2024-10-07T05:42:04.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 18642 --:--:-- --:--:-- --:--:-- 18642 [2024-10-07T05:42:04.465Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c7e59a9eb314454fb5a2ea0758c50bae37a4e494 [Pipeline] } [2024-10-07T05:42:04.497Z] 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-10-07T05:42:06.758Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-578/archives ] [2024-10-07T05:42:06.758Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-578/archives [2024-10-07T05:42:06.758Z] total 16 [2024-10-07T05:42:06.758Z] drwxr-xr-x 3 root root 4096 Oct 7 05:30 . [2024-10-07T05:42:06.758Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 05:30 .. [2024-10-07T05:42:06.758Z] drwxr-xr-x 2 root root 4096 Oct 7 05:30 cost [2024-10-07T05:42:06.758Z] -rw-r--r-- 1 root root 88 Oct 7 05:30 cost.csv [2024-10-07T05:42:06.758Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-578/archives [2024-10-07T05:42:06.758Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-578/archives [2024-10-07T05:42:06.758Z] total 16 [2024-10-07T05:42:06.758Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 05:30 . [2024-10-07T05:42:06.758Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 05:30 .. [2024-10-07T05:42:06.758Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 05:30 cost [2024-10-07T05:42:06.758Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 7 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:07.104Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:08.008Z] ---> package-listing.sh [2024-10-07T05:42:08.008Z] ++ facter osfamily [2024-10-07T05:42:08.008Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T05:42:08.268Z] + OS_FAMILY=debian [2024-10-07T05:42:08.268Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-578 [2024-10-07T05:42:08.268Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T05:42:08.268Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T05:42:08.268Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T05:42:08.268Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T05:42:08.268Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-578 ']' [2024-10-07T05:42:08.268Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T05:42:08.268Z] + case "${OS_FAMILY}" in [2024-10-07T05:42:08.268Z] + dpkg -l [2024-10-07T05:42:08.268Z] + grep '^ii' [2024-10-07T05:42:08.268Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T05:42:08.268Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T05:42:08.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T05:42:08.268Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-578 ']' [2024-10-07T05:42:08.268Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-578/archives/ [2024-10-07T05:42:08.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-578/archives/ [Pipeline] echo [2024-10-07T05:42:08.314Z] 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-578/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T05:42:08.618Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T05:42:09.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T05:42:09.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T05:42:09.527Z] prd-ubuntu20.04-docker-8c-8g-21991 does not seem to be running inside a container [2024-10-07T05:42:09.581Z] $ 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-578/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-578 -v /w/workspace/xfoundry_device-modbus-go_PR-578:/w/workspace/xfoundry_device-modbus-go_PR-578:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-578@tmp:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T05:42:09.793Z] $ docker top ad0ef3615d092d686eea7f646f94ff5f7d362f9d08fa626ac5e897a3e2dd6041 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T05:42:10.206Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T05:42:10.525Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T05:42:10.846Z] + ls /var/log/sa-host [2024-10-07T05:42:10.846Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T05:42:11.100Z] provisioning config files... [2024-10-07T05:42:11.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-578@tmp/config17767543851636596799tmp [Pipeline] { [Pipeline] echo [2024-10-07T05:42:11.183Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:11.513Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T05:42:11.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:12.080Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T05:42:12.121Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:12.456Z] ---> sudo-logs.sh [2024-10-07T05:42:12.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T05:42:12.571Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:12.898Z] ---> job-cost.sh [2024-10-07T05:42:12.898Z] lf-activate-venv: SKIPPING [2024-10-07T05:42:12.898Z] DEBUG: total: 0.2199999988079071 [2024-10-07T05:42:12.898Z] INFO: Retrieving Stack Cost... [2024-10-07T05:42:13.157Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T05:42:13.726Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T05:42:13.768Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T05:42:14.097Z] ---> logs-deploy.sh [2024-10-07T05:42:14.097Z] lf-activate-venv: SKIPPING [2024-10-07T05:42:14.097Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-578/1 [2024-10-07T05:42:14.097Z] INFO: archiving workspace using pattern(s): [2024-10-07T05:42:15.036Z] Archives upload complete. [2024-10-07T05:42:15.036Z] INFO: archiving logs to Nexus