Pull request #572 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at a3ee41877b048388e7c3cdab8b1927d49f235cab rather than 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 Obtained Jenkinsfile from a3ee41877b048388e7c3cdab8b1927d49f235cab 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-ssh4802159457916539822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh1303733818334205012.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-572/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-572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17342571556183588085.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-572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7578997416956589255.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh7563878721717606872.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-572/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-572/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13931787074906151423.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-12011 in /w/workspace/xfoundry_device-modbus-go_PR-572 [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-572 # 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 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 Merge succeeded, producing 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 Checking out Revision 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 (PR-572) > 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/572/head:refs/remotes/origin/PR-572 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 # timeout=10 Commit message: "feat:reuse modbus client" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-29T09:25:37.709Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-29T09:25:37.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-29T09:25:38.073Z] ========================================================= [2024-09-29T09:25:38.073Z] EdgeX Global Pipelines Version Info [2024-09-29T09:25:38.073Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:25:39.213Z] ------------------- [2024-09-29T09:25:39.213Z] stable info: [2024-09-29T09:25:39.213Z] ------------------- [2024-09-29T09:25:39.213Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-29T09:25:39.213Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-29T09:25:39.213Z] Message: update stable to v1.0.264 [2024-09-29T09:25:39.476Z] ------------------- [2024-09-29T09:25:39.476Z] experimental info: [2024-09-29T09:25:39.476Z] ------------------- [2024-09-29T09:25:39.476Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-29T09:25:39.476Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-29T09:25:39.476Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-29T09:25:39.715Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-09-29T09:25:39.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-09-29T09:25:39.843Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-29T09:25:39.903Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-29T09:25:39.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-29T09:25:40.023Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-29T09:25:40.084Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-29T09:25:40.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-29T09:25:40.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-29T09:25:40.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-29T09:25:40.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-29T09:25:40.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-09-29T09:25:40.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-29T09:25:40.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-29T09:25:40.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-29T09:25:40.601Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-29T09:25:40.658Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-29T09:25:40.718Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-29T09:25:40.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-29T09:25:40.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-29T09:25:40.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-29T09:25:40.977Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-29T09:25:41.041Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-29T09:25:41.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-29T09:25:41.174Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-29T09:25:41.229Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-29T09:25:41.282Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-29T09:25:41.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-572 [Pipeline] echo [2024-09-29T09:25:41.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-572 [Pipeline] echo [2024-09-29T09:25:41.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-572 [Pipeline] echo [2024-09-29T09:25:41.514Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [Pipeline] echo [2024-09-29T09:25:41.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e63a5a [Pipeline] echo [2024-09-29T09:25:41.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-29T09:25:41.790Z] provisioning config files... [2024-09-29T09:25:41.804Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/config4641935033504637929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:25:42.203Z] ---> ****-login.sh [2024-09-29T09:25:42.203Z] nexus3.edgexfoundry.org:10001 [2024-09-29T09:25:42.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:25:42.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:25:42.469Z] Configure a credential helper to remove this warning. See [2024-09-29T09:25:42.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:25:42.469Z] [2024-09-29T09:25:42.469Z] Login Succeeded [2024-09-29T09:25:42.730Z] nexus3.edgexfoundry.org:10002 [2024-09-29T09:25:42.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:25:42.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:25:42.731Z] Configure a credential helper to remove this warning. See [2024-09-29T09:25:42.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:25:42.731Z] [2024-09-29T09:25:42.731Z] Login Succeeded [2024-09-29T09:25:42.731Z] nexus3.edgexfoundry.org:10003 [2024-09-29T09:25:42.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:25:42.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:25:42.731Z] Configure a credential helper to remove this warning. See [2024-09-29T09:25:42.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:25:42.731Z] [2024-09-29T09:25:42.731Z] Login Succeeded [2024-09-29T09:25:42.731Z] nexus3.edgexfoundry.org:10004 [2024-09-29T09:25:42.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:25:42.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:25:42.993Z] Configure a credential helper to remove this warning. See [2024-09-29T09:25:42.993Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:25:42.993Z] [2024-09-29T09:25:42.993Z] Login Succeeded [2024-09-29T09:25:42.993Z] ****.io [2024-09-29T09:25:42.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:25:43.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:25:43.255Z] Configure a credential helper to remove this warning. See [2024-09-29T09:25:43.255Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:25:43.255Z] [2024-09-29T09:25:43.255Z] Login Succeeded [2024-09-29T09:25:43.255Z] ---> ****-login.sh ends [Pipeline] } [2024-09-29T09:25:43.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-29T09:25:43.986Z] + git rev-list -1 --merges 9e63a5a6bc525dac590e8c40d19aa60e79a814b1~1..9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [Pipeline] echo [2024-09-29T09:25:44.037Z] -----------> git rev-list -1 --merges 9e63a5a6bc525dac590e8c40d19aa60e79a814b1~1..9e63a5a6bc525dac590e8c40d19aa60e79a814b1 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [false] [Pipeline] sh [2024-09-29T09:25:44.360Z] + git log --format=format:%s -1 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [Pipeline] echo [2024-09-29T09:25:44.407Z] ========================================================= [2024-09-29T09:25:44.407Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-29T09:25:44.407Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-29T09:25:45.045Z] + git log --format=format:%s -1 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [Pipeline] echo [2024-09-29T09:25:45.086Z] [semverPrep] GIT_COMMIT: 9e63a5a6bc525dac590e8c40d19aa60e79a814b1, Commit Message: feat:reuse modbus client [Pipeline] echo [2024-09-29T09:25:45.126Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-29T09:25:45.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-29T09:25:45.540Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-29T09:25:45.540Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-29T09:25:45.540Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-29T09:25:45.540Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-29T09:25:45.540Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-29T09:25:45.540Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:25:46.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-29T09:25:46.419Z] [2024-09-29T09:25:46.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:25:46.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-29T09:25:46.831Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-29T09:25:46.831Z] b85a868b505f: Pulling fs layer [2024-09-29T09:25:46.831Z] e2be974225ed: Pulling fs layer [2024-09-29T09:25:46.831Z] 339a4e72a1f5: Pulling fs layer [2024-09-29T09:25:46.831Z] 988bab9f4d93: Pulling fs layer [2024-09-29T09:25:46.831Z] 1469e6f7b9e6: Pulling fs layer [2024-09-29T09:25:46.831Z] eaf3925da568: Pulling fs layer [2024-09-29T09:25:46.831Z] bab4dde63d76: Pulling fs layer [2024-09-29T09:25:46.831Z] bde34c3a00c8: Pulling fs layer [2024-09-29T09:25:46.831Z] b352a97aabf1: Pulling fs layer [2024-09-29T09:25:46.831Z] 4872d77fe225: Pulling fs layer [2024-09-29T09:25:46.831Z] 5851b861e8e6: Pulling fs layer [2024-09-29T09:25:46.831Z] bab4dde63d76: Waiting [2024-09-29T09:25:46.831Z] bde34c3a00c8: Waiting [2024-09-29T09:25:46.831Z] b352a97aabf1: Waiting [2024-09-29T09:25:46.831Z] 4872d77fe225: Waiting [2024-09-29T09:25:46.831Z] 5851b861e8e6: Waiting [2024-09-29T09:25:46.831Z] 988bab9f4d93: Waiting [2024-09-29T09:25:46.831Z] 1469e6f7b9e6: Waiting [2024-09-29T09:25:46.831Z] eaf3925da568: Waiting [2024-09-29T09:25:46.831Z] e2be974225ed: Download complete [2024-09-29T09:25:46.831Z] 988bab9f4d93: Verifying Checksum [2024-09-29T09:25:46.831Z] 988bab9f4d93: Download complete [2024-09-29T09:25:47.092Z] 1469e6f7b9e6: Verifying Checksum [2024-09-29T09:25:47.092Z] 1469e6f7b9e6: Download complete [2024-09-29T09:25:47.092Z] eaf3925da568: Verifying Checksum [2024-09-29T09:25:47.092Z] eaf3925da568: Download complete [2024-09-29T09:25:47.092Z] 339a4e72a1f5: Verifying Checksum [2024-09-29T09:25:47.092Z] 339a4e72a1f5: Download complete [2024-09-29T09:25:47.092Z] bde34c3a00c8: Download complete [2024-09-29T09:25:47.092Z] b352a97aabf1: Download complete [2024-09-29T09:25:47.092Z] 4872d77fe225: Download complete [2024-09-29T09:25:47.092Z] 5851b861e8e6: Verifying Checksum [2024-09-29T09:25:47.092Z] b85a868b505f: Verifying Checksum [2024-09-29T09:25:47.092Z] b85a868b505f: Download complete [2024-09-29T09:25:47.351Z] bab4dde63d76: Verifying Checksum [2024-09-29T09:25:47.351Z] bab4dde63d76: Download complete [2024-09-29T09:25:48.287Z] b85a868b505f: Pull complete [2024-09-29T09:25:48.287Z] e2be974225ed: Pull complete [2024-09-29T09:25:48.856Z] 339a4e72a1f5: Pull complete [2024-09-29T09:25:48.856Z] 988bab9f4d93: Pull complete [2024-09-29T09:25:49.118Z] 1469e6f7b9e6: Pull complete [2024-09-29T09:25:49.118Z] eaf3925da568: Pull complete [2024-09-29T09:25:51.027Z] bab4dde63d76: Pull complete [2024-09-29T09:25:51.027Z] bde34c3a00c8: Pull complete [2024-09-29T09:25:51.027Z] b352a97aabf1: Pull complete [2024-09-29T09:25:51.027Z] 4872d77fe225: Pull complete [2024-09-29T09:25:51.027Z] 5851b861e8e6: Pull complete [2024-09-29T09:25:51.027Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-29T09:25:51.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-29T09:25:51.027Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:25:51.345Z] prd-ubuntu20.04-docker-8c-8g-12011 does not seem to be running inside a container [2024-09-29T09:25:51.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-572 -v /w/workspace/xfoundry_device-modbus-go_PR-572:/w/workspace/xfoundry_device-modbus-go_PR-572:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-572@tmp:/w/workspace/xfoundry_device-modbus-go_PR-572@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-29T09:25:53.742Z] $ docker top 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 -eo pid,comm [2024-09-29T09:25:53.801Z] 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-09-29T09:25:53.801Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-29T09:25:53.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-29T09:25:53.999Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-29T09:25:54.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-29T09:25:54.105Z] $ docker exec 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 ssh-agent [2024-09-29T09:25:54.219Z] SSH_AUTH_SOCK=/tmp/ssh-v2OESfdSFA1U/agent.33 [2024-09-29T09:25:54.219Z] SSH_AGENT_PID=39 [2024-09-29T09:25:54.225Z] Running ssh-add (command line suppressed) [2024-09-29T09:25:54.318Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-572@tmp/private_key_12093675437261890971.key (/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/private_key_12093675437261890971.key) [2024-09-29T09:25:54.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-29T09:25:54.687Z] + git tag --points-at HEAD [Pipeline] } [2024-09-29T09:25:54.709Z] $ docker exec --env ******** --env ******** 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 ssh-agent -k [2024-09-29T09:25:54.807Z] unset SSH_AUTH_SOCK; [2024-09-29T09:25:54.807Z] unset SSH_AGENT_PID; [2024-09-29T09:25:54.807Z] echo Agent pid 39 killed; [2024-09-29T09:25:54.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-29T09:25:54.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-29T09:25:54.951Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-29T09:25:55.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-29T09:25:55.056Z] $ docker exec 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 ssh-agent [2024-09-29T09:25:55.167Z] SSH_AUTH_SOCK=/tmp/ssh-6ai4Jn17IJpK/agent.72 [2024-09-29T09:25:55.167Z] SSH_AGENT_PID=78 [2024-09-29T09:25:55.172Z] Running ssh-add (command line suppressed) [2024-09-29T09:25:55.266Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-572@tmp/private_key_3398779666028168522.key (/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/private_key_3398779666028168522.key) [2024-09-29T09:25:55.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-29T09:25:55.645Z] + git semver init [2024-09-29T09:25:55.905Z] 2024-09-29 09:25:55,815 [run_init] DEBUG init version:0.0.0 force:False [2024-09-29T09:25:55.905Z] 2024-09-29 09:25:55,816 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-572/.semver [2024-09-29T09:25:55.905Z] 2024-09-29 09:25:55,816 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-572/.semver [2024-09-29T09:25:55.905Z] 2024-09-29 09:25:55,816 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-572/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-572, universal_newlines=False, shell=None, istream=None) [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,773 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-572/.git/info/exclude [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,773 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-572/.semver/PR-572 with force:False [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,773 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-572/.semver/PR-572 [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,778 [execute] INFO git cat-file --batch-check [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-572/.semver, universal_newlines=False, shell=None, istream=) [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,785 [execute] INFO git cat-file --batch [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-572/.semver, universal_newlines=False, shell=None, istream=) [2024-09-29T09:25:56.842Z] 2024-09-29 09:25:56,792 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-572/.semver/PR-572 [2024-09-29T09:25:56.842Z] 0.0.0 [Pipeline] } [2024-09-29T09:25:56.867Z] $ docker exec --env ******** --env ******** 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 ssh-agent -k [2024-09-29T09:25:56.950Z] unset SSH_AUTH_SOCK; [2024-09-29T09:25:56.950Z] unset SSH_AGENT_PID; [2024-09-29T09:25:56.950Z] echo Agent pid 78 killed; [2024-09-29T09:25:56.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-29T09:25:57.443Z] + git semver [Pipeline] } [2024-09-29T09:25:57.728Z] $ docker stop --time=1 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 [2024-09-29T09:25:59.032Z] $ docker rm -f --volumes 26a63e64c30728fb84c07442da655066bc6d0f571812a90e68120988ef6392c1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-29T09:25:59.452Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-29T09:25:59.830Z] Stashed 1 file(s) [Pipeline] echo [2024-09-29T09:25:59.855Z] [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-09-29T09:26:00.596Z] provisioning config files... [2024-09-29T09:26:00.609Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/config5958450284542256705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:26:00.988Z] ---> ****-login.sh [2024-09-29T09:26:00.988Z] nexus3.edgexfoundry.org:10001 [2024-09-29T09:26:00.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:26:00.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:26:00.989Z] Configure a credential helper to remove this warning. See [2024-09-29T09:26:00.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:26:00.989Z] [2024-09-29T09:26:00.989Z] Login Succeeded [2024-09-29T09:26:00.989Z] nexus3.edgexfoundry.org:10002 [2024-09-29T09:26:00.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:26:00.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:26:00.989Z] Configure a credential helper to remove this warning. See [2024-09-29T09:26:00.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:26:00.989Z] [2024-09-29T09:26:00.989Z] Login Succeeded [2024-09-29T09:26:00.989Z] nexus3.edgexfoundry.org:10003 [2024-09-29T09:26:01.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:26:01.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:26:01.250Z] Configure a credential helper to remove this warning. See [2024-09-29T09:26:01.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:26:01.250Z] [2024-09-29T09:26:01.250Z] Login Succeeded [2024-09-29T09:26:01.250Z] nexus3.edgexfoundry.org:10004 [2024-09-29T09:26:01.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:26:01.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:26:01.250Z] Configure a credential helper to remove this warning. See [2024-09-29T09:26:01.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:26:01.250Z] [2024-09-29T09:26:01.250Z] Login Succeeded [2024-09-29T09:26:01.250Z] ****.io [2024-09-29T09:26:01.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:26:01.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:26:01.510Z] Configure a credential helper to remove this warning. See [2024-09-29T09:26:01.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:26:01.510Z] [2024-09-29T09:26:01.510Z] Login Succeeded [2024-09-29T09:26:01.510Z] ---> ****-login.sh ends [Pipeline] } [2024-09-29T09:26:01.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-29T09:26:01.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-29T09:26:01.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-29T09:26:01.895Z] ========================================================= [2024-09-29T09:26:01.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-29T09:26:01.896Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:26:02.429Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-29T09:26:02.429Z] Sending build context to Docker daemon 17.95MB [2024-09-29T09:26:02.429Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-29T09:26:02.429Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-29T09:26:02.429Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-29T09:26:02.429Z] 619be1103602: Pulling fs layer [2024-09-29T09:26:02.429Z] 7862e08f4a3e: Pulling fs layer [2024-09-29T09:26:02.429Z] 5df492c9dc93: Pulling fs layer [2024-09-29T09:26:02.429Z] 7629e6793208: Pulling fs layer [2024-09-29T09:26:02.429Z] 4f4fb700ef54: Pulling fs layer [2024-09-29T09:26:02.429Z] fb5054dd5b73: Pulling fs layer [2024-09-29T09:26:02.429Z] eeca6798cff9: Pulling fs layer [2024-09-29T09:26:02.429Z] aa269ceb94a6: Pulling fs layer [2024-09-29T09:26:02.429Z] ada007ff1a6a: Pulling fs layer [2024-09-29T09:26:02.429Z] fb5054dd5b73: Waiting [2024-09-29T09:26:02.429Z] aa269ceb94a6: Waiting [2024-09-29T09:26:02.429Z] ada007ff1a6a: Waiting [2024-09-29T09:26:02.429Z] eeca6798cff9: Waiting [2024-09-29T09:26:02.429Z] 7629e6793208: Waiting [2024-09-29T09:26:02.429Z] 4f4fb700ef54: Waiting [2024-09-29T09:26:02.429Z] 7862e08f4a3e: Download complete [2024-09-29T09:26:02.699Z] 7629e6793208: Verifying Checksum [2024-09-29T09:26:02.699Z] 7629e6793208: Download complete [2024-09-29T09:26:02.699Z] 4f4fb700ef54: Verifying Checksum [2024-09-29T09:26:02.699Z] 4f4fb700ef54: Download complete [2024-09-29T09:26:02.699Z] fb5054dd5b73: Verifying Checksum [2024-09-29T09:26:02.699Z] fb5054dd5b73: Download complete [2024-09-29T09:26:02.699Z] 619be1103602: Verifying Checksum [2024-09-29T09:26:02.699Z] 619be1103602: Download complete [2024-09-29T09:26:02.699Z] 619be1103602: Pull complete [2024-09-29T09:26:02.699Z] eeca6798cff9: Verifying Checksum [2024-09-29T09:26:02.699Z] eeca6798cff9: Download complete [2024-09-29T09:26:02.958Z] 7862e08f4a3e: Pull complete [2024-09-29T09:26:02.959Z] ada007ff1a6a: Verifying Checksum [2024-09-29T09:26:02.959Z] ada007ff1a6a: Download complete [2024-09-29T09:26:03.218Z] 5df492c9dc93: Verifying Checksum [2024-09-29T09:26:03.218Z] 5df492c9dc93: Download complete [2024-09-29T09:26:03.478Z] aa269ceb94a6: Verifying Checksum [2024-09-29T09:26:03.478Z] aa269ceb94a6: Download complete [2024-09-29T09:26:06.766Z] 5df492c9dc93: Pull complete [2024-09-29T09:26:06.766Z] 7629e6793208: Pull complete [2024-09-29T09:26:06.766Z] 4f4fb700ef54: Pull complete [2024-09-29T09:26:06.766Z] fb5054dd5b73: Pull complete [2024-09-29T09:26:06.766Z] eeca6798cff9: Pull complete [2024-09-29T09:26:08.673Z] aa269ceb94a6: Pull complete [2024-09-29T09:26:08.932Z] ada007ff1a6a: Pull complete [2024-09-29T09:26:08.932Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-29T09:26:08.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-29T09:26:08.932Z] ---> f489d0715acc [2024-09-29T09:26:08.932Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-09-29T09:26:13.129Z] ---> Running in a271d531702e [2024-09-29T09:26:13.129Z] Removing intermediate container a271d531702e [2024-09-29T09:26:13.129Z] ---> 8f20a98f49c8 [2024-09-29T09:26:13.129Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-29T09:26:13.129Z] ---> Running in 7e5247612a10 [2024-09-29T09:26:13.129Z] Removing intermediate container 7e5247612a10 [2024-09-29T09:26:13.129Z] ---> 160ea46d963c [2024-09-29T09:26:13.129Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-09-29T09:26:13.129Z] ---> Running in 0e10d5e615ee [2024-09-29T09:26:13.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-29T09:26:13.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-29T09:26:13.647Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-09-29T09:26:13.647Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-09-29T09:26:13.647Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-09-29T09:26:13.647Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-09-29T09:26:13.647Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-09-29T09:26:13.647Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-09-29T09:26:13.906Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-09-29T09:26:13.906Z] (8/8) Installing openssh (9.3_p2-r2) [2024-09-29T09:26:13.906Z] Executing busybox-1.36.1-r5.trigger [2024-09-29T09:26:13.906Z] OK: 270 MiB in 60 packages [2024-09-29T09:26:14.474Z] Removing intermediate container 0e10d5e615ee [2024-09-29T09:26:14.474Z] ---> 276efa050be8 [2024-09-29T09:26:14.474Z] Step 6/10 : WORKDIR /device-modbus-go [2024-09-29T09:26:14.474Z] ---> Running in 847d438db241 [2024-09-29T09:26:14.474Z] Removing intermediate container 847d438db241 [2024-09-29T09:26:14.474Z] ---> 9d7fecf271de [2024-09-29T09:26:14.474Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-29T09:26:14.474Z] ---> c18b01031d5f [2024-09-29T09:26:14.474Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-29T09:26:14.474Z] ---> Running in ab17d3345cc2 [2024-09-29T09:26:15.371Z] Still waiting to schedule task [2024-09-29T09:26:15.371Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-29T09:27:23.387Z] Removing intermediate container ab17d3345cc2 [2024-09-29T09:27:23.387Z] ---> b1a3e0391982 [2024-09-29T09:27:23.387Z] Step 9/10 : COPY . . [2024-09-29T09:27:23.387Z] ---> 2385e60c8d98 [2024-09-29T09:27:23.387Z] Step 10/10 : RUN ${MAKE} [2024-09-29T09:27:23.387Z] ---> Running in e5c0cdefec6a [2024-09-29T09:27:23.387Z] noop [2024-09-29T09:27:23.387Z] Removing intermediate container e5c0cdefec6a [2024-09-29T09:27:23.387Z] ---> 740b890bed9d [2024-09-29T09:27:23.387Z] Successfully built 740b890bed9d [2024-09-29T09:27:23.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:27:24.415Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-29T09:27:24.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:27:24.582Z] prd-ubuntu20.04-docker-8c-8g-12011 does not seem to be running inside a container [2024-09-29T09:27:24.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-572 -v /w/workspace/xfoundry_device-modbus-go_PR-572:/w/workspace/xfoundry_device-modbus-go_PR-572:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-572@tmp:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-29T09:27:24.961Z] $ docker top 6d7896f9e0d2d1dd39338087454b0a50ca246a559ce9c74ff4864e2ba85e287c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-29T09:27:25.363Z] + go version [2024-09-29T09:27:25.363Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-29T09:27:25.405Z] $ docker stop --time=1 6d7896f9e0d2d1dd39338087454b0a50ca246a559ce9c74ff4864e2ba85e287c [2024-09-29T09:27:26.684Z] $ docker rm -f --volumes 6d7896f9e0d2d1dd39338087454b0a50ca246a559ce9c74ff4864e2ba85e287c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:27:27.444Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-29T09:27:27.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:27:27.613Z] prd-ubuntu20.04-docker-8c-8g-12011 does not seem to be running inside a container [2024-09-29T09:27:27.650Z] $ 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-572 -v /w/workspace/xfoundry_device-modbus-go_PR-572:/w/workspace/xfoundry_device-modbus-go_PR-572:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-572@tmp:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-29T09:27:27.977Z] $ docker top 16596bbb63aa3a7dcad9c3ed65dd8af61717817d62665873ea15cad25efdd99d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-29T09:27:28.378Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-572 [Pipeline] fileExists [Pipeline] sh [2024-09-29T09:27:28.761Z] + make test [2024-09-29T09:27:28.761Z] go test ./... -coverprofile=coverage.out [2024-09-29T09:27:30.667Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-09-29T09:27:48.742Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-09-29T09:27:48.742Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements [2024-09-29T09:27:55.296Z] go vet ./... [2024-09-29T09:27:59.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-29T09:27:59.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-29T09:27:59.489Z] ./bin/test-attribution-txt.sh [2024-09-29T09:27:59.489Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-29T09:27:59.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-29T09:27:59.581Z] $ docker stop --time=1 16596bbb63aa3a7dcad9c3ed65dd8af61717817d62665873ea15cad25efdd99d [2024-09-29T09:28:04.539Z] $ docker rm -f --volumes 16596bbb63aa3a7dcad9c3ed65dd8af61717817d62665873ea15cad25efdd99d [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-29T09:28:05.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-29T09:28:05.218Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-29T09:28:05.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-29T09:28:06.261Z] + ls -al . [2024-09-29T09:28:06.261Z] total 272 [2024-09-29T09:28:06.261Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 09:27 . [2024-09-29T09:28:06.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 09:25 .. [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 09:25 .dockerignore [2024-09-29T09:28:06.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 09:27 .git [2024-09-29T09:28:06.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:25 .github [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 266 Sep 29 09:25 .gitignore [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 29 09:25 .golangci.yml [2024-09-29T09:28:06.262Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 09:25 .semver [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 19432 Sep 29 09:25 Attribution.txt [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 16388 Sep 29 09:25 CHANGELOG.md [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 1474 Sep 29 09:25 Dockerfile [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 09:25 GOVERNANCE.md [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 658 Sep 29 09:25 Jenkinsfile [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 09:25 LICENSE [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 1942 Sep 29 09:25 Makefile [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 29 09:25 OWNERS.md [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 4463 Sep 29 09:25 README.md [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 09:25 VERSION [2024-09-29T09:28:06.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 09:25 bin [2024-09-29T09:28:06.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:25 cmd [2024-09-29T09:28:06.262Z] -rw-r--r-- 1 jenkins jenkins 25395 Sep 29 09:27 coverage.out [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 7186 Sep 29 09:25 go.mod [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 102017 Sep 29 09:25 go.sum [2024-09-29T09:28:06.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:25 internal [2024-09-29T09:28:06.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 09:25 simulator [2024-09-29T09:28:06.262Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 29 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:28:06.691Z] + 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=9e63a5a6bc525dac590e8c40d19aa60e79a814b1 --label arch=amd64 --label version=0.0.0 . [2024-09-29T09:28:06.691Z] Sending build context to Docker daemon 17.98MB [2024-09-29T09:28:06.691Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-09-29T09:28:06.691Z] Step 2/23 : FROM ${BASE} AS builder [2024-09-29T09:28:06.691Z] ---> 740b890bed9d [2024-09-29T09:28:06.691Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-09-29T09:28:06.949Z] ---> Running in c0f5e3d1800c [2024-09-29T09:28:07.625Z] Removing intermediate container c0f5e3d1800c [2024-09-29T09:28:07.625Z] ---> 5c1f03e0ce90 [2024-09-29T09:28:07.625Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-29T09:28:07.625Z] ---> Running in 476c34803411 [2024-09-29T09:28:07.625Z] Removing intermediate container 476c34803411 [2024-09-29T09:28:07.625Z] ---> 151b413c1482 [2024-09-29T09:28:07.625Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-09-29T09:28:07.625Z] ---> Running in c3711352c286 [2024-09-29T09:28:07.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:08.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:08.978Z] OK: 270 MiB in 60 packages [2024-09-29T09:28:09.543Z] Removing intermediate container c3711352c286 [2024-09-29T09:28:09.543Z] ---> 5813923e2410 [2024-09-29T09:28:09.543Z] Step 6/23 : WORKDIR /device-modbus-go [2024-09-29T09:28:09.543Z] ---> Running in 4d43b226d682 [2024-09-29T09:28:09.543Z] Removing intermediate container 4d43b226d682 [2024-09-29T09:28:09.543Z] ---> 3037d11505e4 [2024-09-29T09:28:09.543Z] Step 7/23 : COPY go.mod vendor* ./ [2024-09-29T09:28:09.543Z] ---> dc7ebaf5f8fb [2024-09-29T09:28:09.543Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-29T09:28:09.543Z] ---> Running in 5ed47fb16c3f [2024-09-29T09:28:10.110Z] Removing intermediate container 5ed47fb16c3f [2024-09-29T09:28:10.110Z] ---> 50865ec05def [2024-09-29T09:28:10.110Z] Step 9/23 : COPY . . [2024-09-29T09:28:11.989Z] ---> c18e2f5cca59 [2024-09-29T09:28:11.989Z] Step 10/23 : RUN ${MAKE} [2024-09-29T09:28:11.989Z] ---> Running in b066d6661531 [2024-09-29T09:28:12.248Z] 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-09-29T09:28:39.485Z] Removing intermediate container b066d6661531 [2024-09-29T09:28:39.485Z] ---> 21435efd78ee [2024-09-29T09:28:39.485Z] Step 11/23 : FROM alpine:3.18 [2024-09-29T09:28:39.485Z] 3.18: Pulling from library/alpine [2024-09-29T09:28:39.485Z] 1cc3d825d8b2: Pulling fs layer [2024-09-29T09:28:39.485Z] 1cc3d825d8b2: Download complete [2024-09-29T09:28:39.758Z] 1cc3d825d8b2: Pull complete [2024-09-29T09:28:39.758Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-29T09:28:39.758Z] Status: Downloaded newer image for alpine:3.18 [2024-09-29T09:28:39.758Z] ---> 2c64cf60f6f0 [2024-09-29T09:28:39.758Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-09-29T09:28:40.017Z] ---> Running in cbab219453d3 [2024-09-29T09:28:40.017Z] Removing intermediate container cbab219453d3 [2024-09-29T09:28:40.017Z] ---> 63b105543aa5 [2024-09-29T09:28:40.017Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-09-29T09:28:40.017Z] ---> Running in ebf7f3695c46 [2024-09-29T09:28:40.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:40.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:40.794Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-29T09:28:40.794Z] Executing busybox-1.36.1-r7.trigger [2024-09-29T09:28:40.794Z] OK: 7 MiB in 16 packages [2024-09-29T09:28:41.053Z] Removing intermediate container ebf7f3695c46 [2024-09-29T09:28:41.053Z] ---> c55e8cd1eca7 [2024-09-29T09:28:41.053Z] Step 14/23 : RUN apk --no-cache upgrade [2024-09-29T09:28:41.053Z] ---> Running in 5298cd171d72 [2024-09-29T09:28:41.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:41.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-29T09:28:41.571Z] OK: 7 MiB in 16 packages [2024-09-29T09:28:41.829Z] Removing intermediate container 5298cd171d72 [2024-09-29T09:28:41.829Z] ---> 0e0ed012c9ca [2024-09-29T09:28:41.829Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-09-29T09:28:42.770Z] ---> 89040b4b3586 [2024-09-29T09:28:42.770Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-09-29T09:28:42.770Z] ---> fa21f8ee8a1e [2024-09-29T09:28:42.770Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-09-29T09:28:43.027Z] ---> 9fbd95e3c522 [2024-09-29T09:28:43.027Z] Step 18/23 : EXPOSE 59901 [2024-09-29T09:28:43.027Z] ---> Running in a1882e40c1e4 [2024-09-29T09:28:43.027Z] Removing intermediate container a1882e40c1e4 [2024-09-29T09:28:43.027Z] ---> 4505b375bce7 [2024-09-29T09:28:43.027Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-09-29T09:28:43.027Z] ---> Running in 0a4b0ca2b0bd [2024-09-29T09:28:43.027Z] Removing intermediate container 0a4b0ca2b0bd [2024-09-29T09:28:43.027Z] ---> 79cefbb43417 [2024-09-29T09:28:43.027Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-29T09:28:43.027Z] ---> Running in f3a79c0ce0e8 [2024-09-29T09:28:43.285Z] Removing intermediate container f3a79c0ce0e8 [2024-09-29T09:28:43.285Z] ---> dabc977a3735 [2024-09-29T09:28:43.285Z] Step 21/23 : LABEL arch=amd64 [2024-09-29T09:28:43.285Z] ---> Running in 61ab91ba18ad [2024-09-29T09:28:43.285Z] Removing intermediate container 61ab91ba18ad [2024-09-29T09:28:43.285Z] ---> 2a65b5c28b4e [2024-09-29T09:28:43.285Z] Step 22/23 : LABEL git_sha=9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [2024-09-29T09:28:43.285Z] ---> Running in d0d795adf411 [2024-09-29T09:28:43.285Z] Removing intermediate container d0d795adf411 [2024-09-29T09:28:43.285Z] ---> b7d81936baa0 [2024-09-29T09:28:43.285Z] Step 23/23 : LABEL version=0.0.0 [2024-09-29T09:28:43.285Z] ---> Running in a5382bf084cd [2024-09-29T09:28:43.544Z] Removing intermediate container a5382bf084cd [2024-09-29T09:28:43.544Z] ---> 6254676168b8 [2024-09-29T09:28:43.544Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-29T09:28:43.544Z] Successfully built 6254676168b8 [2024-09-29T09:28:43.544Z] 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-09-29T09:28:44.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-29T09:28:44.614Z] [2024-09-29T09:28:44.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:28:45.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-29T09:28:45.017Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-29T09:28:45.017Z] 5eb5b503b376: Pulling fs layer [2024-09-29T09:28:45.017Z] 5c69ac0246d0: Pulling fs layer [2024-09-29T09:28:45.017Z] ec43610c2a17: Pulling fs layer [2024-09-29T09:28:45.017Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-29T09:28:45.017Z] 33b1e0a273af: Pulling fs layer [2024-09-29T09:28:45.017Z] 5d3b04190fa2: Pulling fs layer [2024-09-29T09:28:45.017Z] 2f39f015ded8: Pulling fs layer [2024-09-29T09:28:45.017Z] 3a2ae6a8a46f: Waiting [2024-09-29T09:28:45.017Z] 33b1e0a273af: Waiting [2024-09-29T09:28:45.017Z] 5d3b04190fa2: Waiting [2024-09-29T09:28:45.017Z] 2f39f015ded8: Waiting [2024-09-29T09:28:45.017Z] 5c69ac0246d0: Verifying Checksum [2024-09-29T09:28:45.017Z] 5c69ac0246d0: Download complete [2024-09-29T09:28:45.017Z] 3a2ae6a8a46f: Download complete [2024-09-29T09:28:45.017Z] 33b1e0a273af: Verifying Checksum [2024-09-29T09:28:45.017Z] 33b1e0a273af: Download complete [2024-09-29T09:28:45.017Z] 5d3b04190fa2: Verifying Checksum [2024-09-29T09:28:45.017Z] 5d3b04190fa2: Download complete [2024-09-29T09:28:45.017Z] ec43610c2a17: Verifying Checksum [2024-09-29T09:28:45.017Z] ec43610c2a17: Download complete [2024-09-29T09:28:45.274Z] 5eb5b503b376: Verifying Checksum [2024-09-29T09:28:45.274Z] 5eb5b503b376: Download complete [2024-09-29T09:28:45.838Z] 2f39f015ded8: Download complete [2024-09-29T09:28:46.402Z] 5eb5b503b376: Pull complete [2024-09-29T09:28:46.402Z] 5c69ac0246d0: Pull complete [2024-09-29T09:28:46.967Z] ec43610c2a17: Pull complete [2024-09-29T09:28:46.967Z] 3a2ae6a8a46f: Pull complete [2024-09-29T09:28:47.225Z] 33b1e0a273af: Pull complete [2024-09-29T09:28:47.225Z] 5d3b04190fa2: Pull complete [2024-09-29T09:28:51.405Z] 2f39f015ded8: Pull complete [2024-09-29T09:28:51.405Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-29T09:28:51.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-29T09:28:51.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:28:51.679Z] prd-ubuntu20.04-docker-8c-8g-12011 does not seem to be running inside a container [2024-09-29T09:28:51.720Z] $ 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-572 -v /w/workspace/xfoundry_device-modbus-go_PR-572:/w/workspace/xfoundry_device-modbus-go_PR-572:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-572@tmp:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-29T09:28:55.366Z] $ docker top d8f6a0701049910abb1a9f67b79f7de57ec10c03c93d797d9d1587974648c482 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:28:55.861Z] ---> job-cost.sh [2024-09-29T09:28:55.861Z] lf-activate-venv: SKIPPING [2024-09-29T09:28:55.861Z] INFO: No Stack... [2024-09-29T09:28:56.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-29T09:28:56.379Z] INFO: Archiving Costs [Pipeline] sh [2024-09-29T09:28:56.707Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-572/archives/cost.csv [2024-09-29T09:28:56.707Z] + cut -d, -f6 [Pipeline] lock [2024-09-29T09:28:56.759Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [2024-09-29T09:28:56.776Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] did not exist. Created. [2024-09-29T09:28:56.784Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-29T09:28:57.226Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-29T09:28:57.270Z] Stashed 1 file(s) [Pipeline] } [2024-09-29T09:28:57.319Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-29T09:28:57.423Z] $ docker stop --time=1 d8f6a0701049910abb1a9f67b79f7de57ec10c03c93d797d9d1587974648c482 [2024-09-29T09:28:58.563Z] $ docker rm -f --volumes d8f6a0701049910abb1a9f67b79f7de57ec10c03c93d797d9d1587974648c482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-29T09:41:42.638Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12030 in /w/workspace/xfoundry_device-modbus-go_PR-572 [Pipeline] { [Pipeline] ws [2024-09-29T09:41:42.713Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-09-29T09:41:45.830Z] The recommended git tool is: git [2024-09-29T09:41:53.880Z] using credential edgex-jenkins-ssh [2024-09-29T09:41:53.932Z] Cloning the remote Git repository [2024-09-29T09:41:53.986Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-09-29T09:41:54.096Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-09-29T09:41:54.296Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-09-29T09:41:54.297Z] > git --version # timeout=10 [2024-09-29T09:41:54.322Z] > git --version # 'git version 2.25.1' [2024-09-29T09:41:54.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-29T09:41:54.555Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-29T09:41:56.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-09-29T09:41:56.734Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-29T09:41:58.572Z] Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [2024-09-29T09:41:58.948Z] Merge succeeded, producing 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [2024-09-29T09:41:58.948Z] Checking out Revision 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 (PR-572) [2024-09-29T09:41:57.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-09-29T09:41:57.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-09-29T09:41:57.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-29T09:41:57.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/572/head:refs/remotes/origin/PR-572 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-29T09:41:58.594Z] > git config core.sparsecheckout # timeout=10 [2024-09-29T09:41:58.675Z] > git checkout -f 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 # timeout=10 [2024-09-29T09:41:58.792Z] > git remote # timeout=10 [2024-09-29T09:41:58.821Z] > git config --get remote.origin.url # timeout=10 [2024-09-29T09:41:58.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-29T09:41:58.865Z] > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 [2024-09-29T09:41:58.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-29T09:41:58.955Z] > git config core.sparsecheckout # timeout=10 [2024-09-29T09:41:58.972Z] > git checkout -f 9e63a5a6bc525dac590e8c40d19aa60e79a814b1 # timeout=10 [2024-09-29T09:42:02.735Z] Commit message: "feat:reuse modbus client" [2024-09-29T09:42:02.789Z] > git --version # timeout=10 [2024-09-29T09:42:02.803Z] > git --version # 'git version 2.25.1' [2024-09-29T09:42:02.814Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-29T09:42:04.910Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-29T09:42:04.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-29T09:42:04.910Z] Dload Upload Total Spent Left Speed [2024-09-29T09:42:04.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-09-29T09:42:05.265Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-29T09:42:05.626Z] + sudo tee /etc/docker/daemon.new [2024-09-29T09:42:05.626Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-29T09:42:05.626Z] { [2024-09-29T09:42:05.626Z] "registry-mirrors": [ [2024-09-29T09:42:05.626Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-29T09:42:05.626Z] ], [2024-09-29T09:42:05.626Z] "bip": "10.250.0.254/24", [2024-09-29T09:42:05.626Z] "hosts": [ [2024-09-29T09:42:05.626Z] "tcp://0.0.0.0:5555", [2024-09-29T09:42:05.626Z] "unix:///var/run/docker.sock" [2024-09-29T09:42:05.626Z] ], [2024-09-29T09:42:05.626Z] "mtu": 1458, [2024-09-29T09:42:05.626Z] "selinux-enabled": true, [2024-09-29T09:42:05.626Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-29T09:42:05.626Z] } [Pipeline] sh [2024-09-29T09:42:05.989Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-29T09:42:06.347Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-29T09:42:24.684Z] provisioning config files... [2024-09-29T09:42:24.715Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18294256538157444813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:42:25.417Z] ---> ****-login.sh [2024-09-29T09:42:25.418Z] nexus3.edgexfoundry.org:10001 [2024-09-29T09:42:26.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:42:26.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:42:26.281Z] Configure a credential helper to remove this warning. See [2024-09-29T09:42:26.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:42:26.281Z] [2024-09-29T09:42:26.281Z] Login Succeeded [2024-09-29T09:42:26.281Z] nexus3.edgexfoundry.org:10002 [2024-09-29T09:42:26.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:42:26.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:42:26.551Z] Configure a credential helper to remove this warning. See [2024-09-29T09:42:26.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:42:26.551Z] [2024-09-29T09:42:26.551Z] Login Succeeded [2024-09-29T09:42:26.551Z] nexus3.edgexfoundry.org:10003 [2024-09-29T09:42:26.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:42:26.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:42:26.821Z] Configure a credential helper to remove this warning. See [2024-09-29T09:42:26.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:42:26.821Z] [2024-09-29T09:42:26.821Z] Login Succeeded [2024-09-29T09:42:27.095Z] nexus3.edgexfoundry.org:10004 [2024-09-29T09:42:27.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:42:27.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:42:27.366Z] Configure a credential helper to remove this warning. See [2024-09-29T09:42:27.366Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:42:27.366Z] [2024-09-29T09:42:27.366Z] Login Succeeded [2024-09-29T09:42:27.366Z] ****.io [2024-09-29T09:42:27.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-29T09:42:27.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-29T09:42:27.904Z] Configure a credential helper to remove this warning. See [2024-09-29T09:42:27.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-29T09:42:27.905Z] [2024-09-29T09:42:27.905Z] Login Succeeded [2024-09-29T09:42:27.905Z] ---> ****-login.sh ends [Pipeline] } [2024-09-29T09:42:27.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-29T09:42:28.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-29T09:42:28.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-29T09:42:28.498Z] ========================================================= [2024-09-29T09:42:28.498Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-29T09:42:28.498Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:42:29.073Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-29T09:42:29.345Z] Sending build context to Docker daemon 9.129MB [2024-09-29T09:42:29.613Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-29T09:42:29.613Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-29T09:42:29.613Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-29T09:42:29.613Z] c6b39de5b339: Pulling fs layer [2024-09-29T09:42:29.613Z] a69c41024577: Pulling fs layer [2024-09-29T09:42:29.613Z] d6de4b400683: Pulling fs layer [2024-09-29T09:42:29.613Z] 35cb2a7552d0: Pulling fs layer [2024-09-29T09:42:29.613Z] 4f4fb700ef54: Pulling fs layer [2024-09-29T09:42:29.613Z] 35cb2a7552d0: Waiting [2024-09-29T09:42:29.613Z] 464afbd9ba4c: Pulling fs layer [2024-09-29T09:42:29.613Z] 4f4fb700ef54: Waiting [2024-09-29T09:42:29.613Z] 00f215d4a9da: Pulling fs layer [2024-09-29T09:42:29.613Z] 464afbd9ba4c: Waiting [2024-09-29T09:42:29.613Z] d496ad576159: Pulling fs layer [2024-09-29T09:42:29.613Z] 00f215d4a9da: Waiting [2024-09-29T09:42:29.613Z] d496ad576159: Waiting [2024-09-29T09:42:29.613Z] a69c41024577: Download complete [2024-09-29T09:42:29.613Z] 35cb2a7552d0: Verifying Checksum [2024-09-29T09:42:29.613Z] 35cb2a7552d0: Download complete [2024-09-29T09:42:29.883Z] 4f4fb700ef54: Verifying Checksum [2024-09-29T09:42:29.883Z] 4f4fb700ef54: Download complete [2024-09-29T09:42:29.883Z] 464afbd9ba4c: Verifying Checksum [2024-09-29T09:42:29.883Z] 464afbd9ba4c: Download complete [2024-09-29T09:42:29.883Z] c6b39de5b339: Verifying Checksum [2024-09-29T09:42:29.883Z] c6b39de5b339: Download complete [2024-09-29T09:42:30.152Z] d496ad576159: Verifying Checksum [2024-09-29T09:42:30.152Z] d496ad576159: Download complete [2024-09-29T09:42:30.736Z] c6b39de5b339: Pull complete [2024-09-29T09:42:31.321Z] a69c41024577: Pull complete [2024-09-29T09:42:31.589Z] d6de4b400683: Verifying Checksum [2024-09-29T09:42:31.589Z] d6de4b400683: Download complete [2024-09-29T09:42:32.997Z] 00f215d4a9da: Verifying Checksum [2024-09-29T09:42:32.998Z] 00f215d4a9da: Download complete [2024-09-29T09:42:45.301Z] d6de4b400683: Pull complete [2024-09-29T09:42:45.301Z] 35cb2a7552d0: Pull complete [2024-09-29T09:42:45.301Z] 4f4fb700ef54: Pull complete [2024-09-29T09:42:45.301Z] 464afbd9ba4c: Pull complete [2024-09-29T09:42:53.513Z] 00f215d4a9da: Pull complete [2024-09-29T09:42:54.926Z] d496ad576159: Pull complete [2024-09-29T09:42:54.926Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-29T09:42:54.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-29T09:42:54.926Z] ---> f246e2811388 [2024-09-29T09:42:54.926Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-09-29T09:42:55.888Z] ---> Running in 7ec32589ae9d [2024-09-29T09:42:56.154Z] Removing intermediate container 7ec32589ae9d [2024-09-29T09:42:56.154Z] ---> 4f00652f40ad [2024-09-29T09:42:56.154Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-29T09:42:56.154Z] ---> Running in 3c3a8c14f2cc [2024-09-29T09:42:56.424Z] Removing intermediate container 3c3a8c14f2cc [2024-09-29T09:42:56.424Z] ---> 3d398ec63f6d [2024-09-29T09:42:56.424Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-09-29T09:42:56.424Z] ---> Running in 75596b125eaa [2024-09-29T09:42:57.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-29T09:42:57.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-29T09:42:58.953Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-09-29T09:42:58.953Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-09-29T09:42:58.953Z] (8/8) Installing openssh (9.3_p2-r2) [2024-09-29T09:42:58.953Z] Executing busybox-1.36.1-r5.trigger [2024-09-29T09:42:58.953Z] OK: 272 MiB in 60 packages [2024-09-29T09:42:59.911Z] Removing intermediate container 75596b125eaa [2024-09-29T09:42:59.912Z] ---> aa06d2b75a23 [2024-09-29T09:42:59.912Z] Step 6/10 : WORKDIR /device-modbus-go [2024-09-29T09:43:00.178Z] ---> Running in 6e54cdc3c156 [2024-09-29T09:43:00.446Z] Removing intermediate container 6e54cdc3c156 [2024-09-29T09:43:00.446Z] ---> 711fc154c187 [2024-09-29T09:43:00.446Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-29T09:43:01.038Z] ---> 2ae0c1579d44 [2024-09-29T09:43:01.038Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-29T09:43:01.038Z] ---> Running in 8b5a6eecca9d [2024-09-29T09:45:07.785Z] Removing intermediate container 8b5a6eecca9d [2024-09-29T09:45:07.785Z] ---> 7b69c88fb12e [2024-09-29T09:45:07.785Z] Step 9/10 : COPY . . [2024-09-29T09:45:07.785Z] ---> f58d489aa97a [2024-09-29T09:45:07.785Z] Step 10/10 : RUN ${MAKE} [2024-09-29T09:45:07.785Z] ---> Running in dbc72144b149 [2024-09-29T09:45:07.785Z] noop [2024-09-29T09:45:07.785Z] Removing intermediate container dbc72144b149 [2024-09-29T09:45:07.785Z] ---> 825d6413323c [2024-09-29T09:45:07.785Z] Successfully built 825d6413323c [2024-09-29T09:45:07.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:45:08.305Z] + docker inspect -f . ci-base-image-arm64 [2024-09-29T09:45:08.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:45:08.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-12030 does not seem to be running inside a container [2024-09-29T09:45:08.653Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-09-29T09:45:09.869Z] $ docker top 9ea475e557800abe5d3093d1218a6bcf09325a63f1dcf138aed025d5d3b8c8f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-29T09:45:10.782Z] + go version [2024-09-29T09:45:10.782Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-29T09:45:10.819Z] $ docker stop --time=1 9ea475e557800abe5d3093d1218a6bcf09325a63f1dcf138aed025d5d3b8c8f7 [2024-09-29T09:45:12.454Z] $ docker rm -f --volumes 9ea475e557800abe5d3093d1218a6bcf09325a63f1dcf138aed025d5d3b8c8f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:45:13.393Z] + docker inspect -f . ci-base-image-arm64 [2024-09-29T09:45:13.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:45:13.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-12030 does not seem to be running inside a container [2024-09-29T09:45:13.740Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-09-29T09:45:14.895Z] $ docker top 235e1a00932a901c00c34954cd2eeb81e7baf2e53bd55574db36a53b4a852b42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-29T09:45:15.808Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-29T09:45:16.537Z] + make test [2024-09-29T09:45:16.537Z] go test ./... -coverprofile=coverage.out [2024-09-29T09:45:21.883Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-09-29T09:48:29.914Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-09-29T09:48:33.267Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements [2024-09-29T09:48:34.734Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-29T09:48:34.734Z] go vet ./... [2024-09-29T09:49:21.646Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-29T09:49:21.646Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-29T09:49:21.646Z] ./bin/test-attribution-txt.sh [2024-09-29T09:49:21.646Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-29T09:49:21.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-29T09:49:21.740Z] $ docker stop --time=1 235e1a00932a901c00c34954cd2eeb81e7baf2e53bd55574db36a53b4a852b42 [2024-09-29T09:49:23.581Z] $ docker rm -f --volumes 235e1a00932a901c00c34954cd2eeb81e7baf2e53bd55574db36a53b4a852b42 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-29T09:49:25.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-29T09:49:25.227Z] Warning: overwriting stash ‘coverage-report’ [2024-09-29T09:49:25.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-29T09:49:26.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-29T09:49:26.701Z] + ls -al . [2024-09-29T09:49:26.701Z] total 268 [2024-09-29T09:49:26.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 09:45 . [2024-09-29T09:49:26.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 09:41 .. [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 09:41 .dockerignore [2024-09-29T09:49:26.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 09:41 .git [2024-09-29T09:49:26.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:41 .github [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 266 Sep 29 09:41 .gitignore [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 29 09:41 .golangci.yml [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 19432 Sep 29 09:41 Attribution.txt [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 16388 Sep 29 09:41 CHANGELOG.md [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 1474 Sep 29 09:41 Dockerfile [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 09:41 GOVERNANCE.md [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 658 Sep 29 09:41 Jenkinsfile [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 09:41 LICENSE [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 1942 Sep 29 09:41 Makefile [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 29 09:41 OWNERS.md [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 4463 Sep 29 09:41 README.md [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 09:25 VERSION [2024-09-29T09:49:26.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 09:41 bin [2024-09-29T09:49:26.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:41 cmd [2024-09-29T09:49:26.701Z] -rw-r--r-- 1 jenkins jenkins 25395 Sep 29 09:48 coverage.out [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 7186 Sep 29 09:41 go.mod [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 102017 Sep 29 09:41 go.sum [2024-09-29T09:49:26.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 09:41 internal [2024-09-29T09:49:26.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 09:41 simulator [2024-09-29T09:49:26.701Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 29 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:49:27.165Z] + 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=9e63a5a6bc525dac590e8c40d19aa60e79a814b1 --label arch=arm64 --label version=0.0.0 . [2024-09-29T09:49:27.430Z] Sending build context to Docker daemon 9.156MB [2024-09-29T09:49:27.430Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-09-29T09:49:27.430Z] Step 2/23 : FROM ${BASE} AS builder [2024-09-29T09:49:27.430Z] ---> 825d6413323c [2024-09-29T09:49:27.430Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-09-29T09:49:27.696Z] ---> Running in 421b0dfa39ad [2024-09-29T09:49:27.963Z] Removing intermediate container 421b0dfa39ad [2024-09-29T09:49:27.963Z] ---> dbde5379249d [2024-09-29T09:49:27.963Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-29T09:49:27.963Z] ---> Running in 3b19a1087682 [2024-09-29T09:49:28.235Z] Removing intermediate container 3b19a1087682 [2024-09-29T09:49:28.235Z] ---> 5c4f7cebdc08 [2024-09-29T09:49:28.235Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-09-29T09:49:28.504Z] ---> Running in 74185e2a2f30 [2024-09-29T09:49:29.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-29T09:49:29.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-29T09:49:30.687Z] OK: 272 MiB in 60 packages [2024-09-29T09:49:31.661Z] Removing intermediate container 74185e2a2f30 [2024-09-29T09:49:31.662Z] ---> 29a81bc268f9 [2024-09-29T09:49:31.662Z] Step 6/23 : WORKDIR /device-modbus-go [2024-09-29T09:49:31.662Z] ---> Running in ff1b905b9a05 [2024-09-29T09:49:31.662Z] Removing intermediate container ff1b905b9a05 [2024-09-29T09:49:31.662Z] ---> c63f137b4f11 [2024-09-29T09:49:31.662Z] Step 7/23 : COPY go.mod vendor* ./ [2024-09-29T09:49:32.248Z] ---> dd770e48159a [2024-09-29T09:49:32.248Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-29T09:49:32.248Z] ---> Running in b71ba50eb2c4 [2024-09-29T09:49:34.832Z] Removing intermediate container b71ba50eb2c4 [2024-09-29T09:49:34.832Z] ---> c940f6d43309 [2024-09-29T09:49:34.832Z] Step 9/23 : COPY . . [2024-09-29T09:49:35.790Z] ---> bfae807e5778 [2024-09-29T09:49:35.790Z] Step 10/23 : RUN ${MAKE} [2024-09-29T09:49:35.790Z] ---> Running in 495cd83b9653 [2024-09-29T09:49:36.750Z] 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-09-29T09:52:59.843Z] Removing intermediate container 495cd83b9653 [2024-09-29T09:52:59.843Z] ---> 0ada1ee1321c [2024-09-29T09:52:59.843Z] Step 11/23 : FROM alpine:3.18 [2024-09-29T09:52:59.843Z] 3.18: Pulling from library/alpine [2024-09-29T09:52:59.843Z] 720f3032cd11: Pulling fs layer [2024-09-29T09:52:59.843Z] 720f3032cd11: Download complete [2024-09-29T09:52:59.843Z] 720f3032cd11: Pull complete [2024-09-29T09:52:59.843Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-29T09:52:59.843Z] Status: Downloaded newer image for alpine:3.18 [2024-09-29T09:52:59.843Z] ---> 3e834921e367 [2024-09-29T09:52:59.843Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-09-29T09:52:59.843Z] ---> Running in 21ee46ec6a57 [2024-09-29T09:52:59.843Z] Removing intermediate container 21ee46ec6a57 [2024-09-29T09:52:59.843Z] ---> da62f7573d01 [2024-09-29T09:52:59.843Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-09-29T09:52:59.843Z] ---> Running in 13accdba0cd5 [2024-09-29T09:52:59.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-29T09:52:59.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-29T09:52:59.843Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-29T09:52:59.843Z] Executing busybox-1.36.1-r7.trigger [2024-09-29T09:52:59.843Z] OK: 8 MiB in 16 packages [2024-09-29T09:52:59.843Z] Removing intermediate container 13accdba0cd5 [2024-09-29T09:52:59.843Z] ---> f6116c82e63b [2024-09-29T09:52:59.844Z] Step 14/23 : RUN apk --no-cache upgrade [2024-09-29T09:52:59.844Z] ---> Running in da21874abf09 [2024-09-29T09:52:59.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-29T09:52:59.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-29T09:53:00.807Z] OK: 8 MiB in 16 packages [2024-09-29T09:53:01.389Z] Removing intermediate container da21874abf09 [2024-09-29T09:53:01.389Z] ---> 45a2983d69e7 [2024-09-29T09:53:01.389Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-09-29T09:53:03.331Z] ---> 18c2b8d393b0 [2024-09-29T09:53:03.331Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-09-29T09:53:03.597Z] ---> 3b8cc3886385 [2024-09-29T09:53:03.597Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-09-29T09:53:04.179Z] ---> e72b69854261 [2024-09-29T09:53:04.179Z] Step 18/23 : EXPOSE 59901 [2024-09-29T09:53:04.179Z] ---> Running in 40262bf24343 [2024-09-29T09:53:04.445Z] Removing intermediate container 40262bf24343 [2024-09-29T09:53:04.445Z] ---> 81054a4ec341 [2024-09-29T09:53:04.445Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-09-29T09:53:04.710Z] ---> Running in a662475b4db7 [2024-09-29T09:53:04.978Z] Removing intermediate container a662475b4db7 [2024-09-29T09:53:04.978Z] ---> 603db1ff9d98 [2024-09-29T09:53:04.978Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-29T09:53:04.978Z] ---> Running in c202a562f099 [2024-09-29T09:53:05.245Z] Removing intermediate container c202a562f099 [2024-09-29T09:53:05.245Z] ---> 410ef3f10054 [2024-09-29T09:53:05.245Z] Step 21/23 : LABEL arch=arm64 [2024-09-29T09:53:05.245Z] ---> Running in 435932049e2f [2024-09-29T09:53:05.524Z] Removing intermediate container 435932049e2f [2024-09-29T09:53:05.524Z] ---> f6999929c2cd [2024-09-29T09:53:05.524Z] Step 22/23 : LABEL git_sha=9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [2024-09-29T09:53:05.791Z] ---> Running in f2417b5b23b4 [2024-09-29T09:53:06.058Z] Removing intermediate container f2417b5b23b4 [2024-09-29T09:53:06.058Z] ---> 040382da68aa [2024-09-29T09:53:06.058Z] Step 23/23 : LABEL version=0.0.0 [2024-09-29T09:53:06.058Z] ---> Running in 5a4f1832f5f3 [2024-09-29T09:53:06.324Z] Removing intermediate container 5a4f1832f5f3 [2024-09-29T09:53:06.324Z] ---> 7de52899bdc2 [2024-09-29T09:53:06.324Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-29T09:53:06.324Z] Successfully built 7de52899bdc2 [2024-09-29T09:53:06.324Z] 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-09-29T09:53:07.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-29T09:53:07.306Z] [2024-09-29T09:53:07.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:53:07.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-29T09:53:07.724Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-29T09:53:07.725Z] 8998bd30e6a1: Pulling fs layer [2024-09-29T09:53:07.725Z] 04944245beec: Pulling fs layer [2024-09-29T09:53:07.725Z] 699f458cf7ca: Pulling fs layer [2024-09-29T09:53:07.725Z] 765212b225bb: Pulling fs layer [2024-09-29T09:53:07.725Z] f23df028b6ca: Pulling fs layer [2024-09-29T09:53:07.725Z] d65c8cfc05b1: Pulling fs layer [2024-09-29T09:53:07.725Z] 2437ff75d9bd: Pulling fs layer [2024-09-29T09:53:07.725Z] f23df028b6ca: Waiting [2024-09-29T09:53:07.725Z] d65c8cfc05b1: Waiting [2024-09-29T09:53:07.725Z] 2437ff75d9bd: Waiting [2024-09-29T09:53:07.725Z] 765212b225bb: Waiting [2024-09-29T09:53:07.990Z] 04944245beec: Verifying Checksum [2024-09-29T09:53:07.990Z] 04944245beec: Download complete [2024-09-29T09:53:07.990Z] 765212b225bb: Verifying Checksum [2024-09-29T09:53:07.990Z] 765212b225bb: Download complete [2024-09-29T09:53:07.990Z] f23df028b6ca: Verifying Checksum [2024-09-29T09:53:07.990Z] f23df028b6ca: Download complete [2024-09-29T09:53:07.990Z] d65c8cfc05b1: Verifying Checksum [2024-09-29T09:53:07.990Z] d65c8cfc05b1: Download complete [2024-09-29T09:53:08.255Z] 699f458cf7ca: Verifying Checksum [2024-09-29T09:53:08.256Z] 699f458cf7ca: Download complete [2024-09-29T09:53:08.521Z] 8998bd30e6a1: Verifying Checksum [2024-09-29T09:53:08.521Z] 8998bd30e6a1: Download complete [2024-09-29T09:53:11.091Z] 2437ff75d9bd: Verifying Checksum [2024-09-29T09:53:11.091Z] 2437ff75d9bd: Download complete [2024-09-29T09:53:13.023Z] 8998bd30e6a1: Pull complete [2024-09-29T09:53:13.600Z] 04944245beec: Pull complete [2024-09-29T09:53:15.000Z] 699f458cf7ca: Pull complete [2024-09-29T09:53:15.265Z] 765212b225bb: Pull complete [2024-09-29T09:53:16.218Z] f23df028b6ca: Pull complete [2024-09-29T09:53:16.484Z] d65c8cfc05b1: Pull complete [2024-09-29T09:53:34.668Z] 2437ff75d9bd: Pull complete [2024-09-29T09:53:34.668Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-29T09:53:34.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-29T09:53:34.668Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:53:35.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-12030 does not seem to be running inside a container [2024-09-29T09:53:35.069Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-29T09:53:37.736Z] $ docker top a528f07c580e40788e4ac87cde3b3e1f530377500fc6d0cd5d93de6528f37dde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:38.659Z] ---> job-cost.sh [2024-09-29T09:53:38.659Z] lf-activate-venv: SKIPPING [2024-09-29T09:53:38.659Z] INFO: No Stack... [2024-09-29T09:53:38.924Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-29T09:53:39.878Z] INFO: Archiving Costs [Pipeline] sh [2024-09-29T09:53:40.542Z] + + catcut /w/workspace/device-modbus-go/1/archives/cost.csv -d, [2024-09-29T09:53:40.542Z] -f6 [Pipeline] lock [2024-09-29T09:53:40.627Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [2024-09-29T09:53:40.634Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] did not exist. Created. [2024-09-29T09:53:40.641Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-29T09:53:41.409Z] /w/workspace/device-modbus-go/1@tmp/durable-d0b54843/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-29T09:53:42.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-29T09:53:42.137Z] Warning: overwriting stash ‘stack-cost’ [2024-09-29T09:53:42.186Z] Stashed 1 file(s) [Pipeline] } [2024-09-29T09:53:42.207Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-572-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-29T09:53:42.300Z] $ docker stop --time=1 a528f07c580e40788e4ac87cde3b3e1f530377500fc6d0cd5d93de6528f37dde [2024-09-29T09:53:43.791Z] $ docker rm -f --volumes a528f07c580e40788e4ac87cde3b3e1f530377500fc6d0cd5d93de6528f37dde [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-09-29T09:53:45.033Z] provisioning config files... [2024-09-29T09:53:45.043Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/config2616015760406983549tmp [Pipeline] { [Pipeline] sh [2024-09-29T09:53:45.425Z] + set +x [2024-09-29T09:53:45.425Z] + + curl -s https://codecov.io/bashbash [2024-09-29T09:53:45.425Z] -s -- [2024-09-29T09:53:45.425Z] [2024-09-29T09:53:45.425Z] _____ _ [2024-09-29T09:53:45.425Z] / ____| | | [2024-09-29T09:53:45.425Z] | | ___ __| | ___ ___ _____ __ [2024-09-29T09:53:45.425Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-29T09:53:45.425Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-29T09:53:45.425Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-29T09:53:45.425Z] Bash-1.0.6 [2024-09-29T09:53:45.425Z] [2024-09-29T09:53:45.425Z] [2024-09-29T09:53:45.425Z] ==> git version 2.25.1 found [2024-09-29T09:53:45.425Z] ==> 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-09-29T09:53:45.425Z] Release-Date: 2020-01-08 [2024-09-29T09:53:45.425Z] 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-09-29T09:53:45.425Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-29T09:53:45.425Z] ==> Jenkins CI detected. [2024-09-29T09:53:45.425Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-572 [2024-09-29T09:53:45.425Z] project root: . [2024-09-29T09:53:45.425Z] --> token set from env [2024-09-29T09:53:45.425Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-29T09:53:45.425Z] ==> Running gcov in . (disable via -X gcov) [2024-09-29T09:53:45.425Z] ==> Python coveragepy not found [2024-09-29T09:53:45.425Z] ==> Searching for coverage reports in: [2024-09-29T09:53:45.425Z] + . [2024-09-29T09:53:45.425Z] -> Found 1 reports [2024-09-29T09:53:45.425Z] ==> Detecting git/mercurial file structure [2024-09-29T09:53:45.425Z] ==> Reading reports [2024-09-29T09:53:45.708Z] + ./coverage.out bytes=25395 [2024-09-29T09:53:45.708Z] ==> Appending adjustments [2024-09-29T09:53:45.708Z] https://docs.codecov.io/docs/fixing-reports [2024-09-29T09:53:45.708Z] + Found adjustments [2024-09-29T09:53:45.708Z] ==> Gzipping contents [2024-09-29T09:53:45.708Z] 4.0K /tmp/codecov.ze3xJ0.gz [2024-09-29T09:53:45.708Z] ==> Uploading reports [2024-09-29T09:53:45.708Z] url: https://codecov.io [2024-09-29T09:53:45.708Z] query: branch=PR-572&commit=9e63a5a6bc525dac590e8c40d19aa60e79a814b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=572&job=&cmd_args= [2024-09-29T09:53:45.708Z] -> Pinging Codecov [2024-09-29T09:53:45.708Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-572&commit=9e63a5a6bc525dac590e8c40d19aa60e79a814b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=572&job=&cmd_args= [2024-09-29T09:53:45.977Z] -> Uploading to [2024-09-29T09:53:45.977Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/9e63a5a6bc525dac590e8c40d19aa60e79a814b1/15fd6118-a7ba-42a0-b5f0-65bb5f19187c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20240929%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20240929T095345Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=dc50b35d76764173b6903fcf1c3ac6e52b77eb2f291ea472de73e7fe0d7778d7 [2024-09-29T09:53:45.977Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-29T09:53:45.977Z] Dload Upload Total Spent Left Speed [2024-09-29T09:53:46.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 14485 --:--:-- --:--:-- --:--:-- 14485 [2024-09-29T09:53:46.279Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9e63a5a6bc525dac590e8c40d19aa60e79a814b1 [Pipeline] } [2024-09-29T09:53:46.320Z] 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-09-29T09:53:48.699Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-572/archives ] [2024-09-29T09:53:48.699Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-572/archives [2024-09-29T09:53:48.699Z] total 16 [2024-09-29T09:53:48.699Z] drwxr-xr-x 3 root root 4096 Sep 29 09:28 . [2024-09-29T09:53:48.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 09:28 .. [2024-09-29T09:53:48.699Z] drwxr-xr-x 2 root root 4096 Sep 29 09:28 cost [2024-09-29T09:53:48.699Z] -rw-r--r-- 1 root root 88 Sep 29 09:28 cost.csv [2024-09-29T09:53:48.699Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-572/archives [2024-09-29T09:53:48.699Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-572/archives [2024-09-29T09:53:48.699Z] total 16 [2024-09-29T09:53:48.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 09:28 . [2024-09-29T09:53:48.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 09:28 .. [2024-09-29T09:53:48.699Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 09:28 cost [2024-09-29T09:53:48.699Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 29 09:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:49.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:49.958Z] ---> package-listing.sh [2024-09-29T09:53:49.959Z] ++ facter osfamily [2024-09-29T09:53:49.959Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-29T09:53:50.219Z] + OS_FAMILY=debian [2024-09-29T09:53:50.219Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-572 [2024-09-29T09:53:50.219Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-29T09:53:50.219Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-29T09:53:50.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-29T09:53:50.219Z] + PACKAGES=/tmp/packages_start.txt [2024-09-29T09:53:50.219Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-572 ']' [2024-09-29T09:53:50.219Z] + PACKAGES=/tmp/packages_end.txt [2024-09-29T09:53:50.219Z] + case "${OS_FAMILY}" in [2024-09-29T09:53:50.219Z] + dpkg -l [2024-09-29T09:53:50.219Z] + grep '^ii' [2024-09-29T09:53:50.219Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-29T09:53:50.219Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-29T09:53:50.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-29T09:53:50.219Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-572 ']' [2024-09-29T09:53:50.219Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-572/archives/ [2024-09-29T09:53:50.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-572/archives/ [Pipeline] echo [2024-09-29T09:53:50.262Z] 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-572/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-29T09:53:50.563Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-29T09:53:51.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-29T09:53:51.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-29T09:53:51.409Z] prd-ubuntu20.04-docker-8c-8g-12011 does not seem to be running inside a container [2024-09-29T09:53:51.466Z] $ 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-572/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-572 -v /w/workspace/xfoundry_device-modbus-go_PR-572:/w/workspace/xfoundry_device-modbus-go_PR-572:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-572@tmp:/w/workspace/xfoundry_device-modbus-go_PR-572@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-09-29T09:53:51.670Z] $ docker top ce49aac9e49ac230220c4de3ca5a3c74e64ef99f16d943e5208fcc3e56d8c990 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-29T09:53:52.083Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-29T09:53:52.402Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-29T09:53:52.722Z] + ls /var/log/sa-host [2024-09-29T09:53:52.722Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-29T09:53:53.003Z] provisioning config files... [2024-09-29T09:53:53.014Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-572@tmp/config4501057308903636635tmp [Pipeline] { [Pipeline] echo [2024-09-29T09:53:53.087Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:53.424Z] ---> create-netrc.sh [Pipeline] } [2024-09-29T09:53:53.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:53.932Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-29T09:53:53.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:54.316Z] ---> sudo-logs.sh [2024-09-29T09:53:54.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-29T09:53:54.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:54.759Z] ---> job-cost.sh [2024-09-29T09:53:54.759Z] lf-activate-venv: SKIPPING [2024-09-29T09:53:54.759Z] DEBUG: total: 0.2199999988079071 [2024-09-29T09:53:54.759Z] INFO: Retrieving Stack Cost... [2024-09-29T09:53:55.019Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-29T09:53:55.587Z] INFO: Archiving Costs [Pipeline] echo [2024-09-29T09:53:55.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-29T09:53:55.961Z] ---> logs-deploy.sh [2024-09-29T09:53:55.961Z] lf-activate-venv: SKIPPING [2024-09-29T09:53:55.961Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-572/1 [2024-09-29T09:53:55.961Z] INFO: archiving workspace using pattern(s): [2024-09-29T09:53:56.899Z] Archives upload complete. [2024-09-29T09:53:56.899Z] INFO: archiving logs to Nexus