Pull request #586 updated 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from e5332404101c211199c2a52bd4ae75d54dd119a6+35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 (d1c8251f7b893e263235b35a2b12d47165fe87bb) 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-ssh8950386489295810402.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17789073447713501354.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4732208608310587176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14034876231389840860.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7413592336021570397.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24098 in /w/workspace/xfoundry_device-modbus-go_PR-586 [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-586 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 into PR head commit e5332404101c211199c2a52bd4ae75d54dd119a6 Merge succeeded, producing e5332404101c211199c2a52bd4ae75d54dd119a6 Checking out Revision e5332404101c211199c2a52bd4ae75d54dd119a6 (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f e5332404101c211199c2a52bd4ae75d54dd119a6 # 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 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5332404101c211199c2a52bd4ae75d54dd119a6 # timeout=10 Commit message: "refactor!: update module to v4" First time build. Skipping changelog. > git rev-list --no-walk 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-30T06:42:44.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T06:42:44.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T06:42:44.168Z] ========================================================= [2024-10-30T06:42:44.168Z] EdgeX Global Pipelines Version Info [2024-10-30T06:42:44.168Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:42:44.914Z] ------------------- [2024-10-30T06:42:44.914Z] stable info: [2024-10-30T06:42:44.914Z] ------------------- [2024-10-30T06:42:44.914Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T06:42:44.914Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T06:42:44.914Z] Message: update stable to v1.0.265 [2024-10-30T06:42:45.485Z] ------------------- [2024-10-30T06:42:45.485Z] experimental info: [2024-10-30T06:42:45.485Z] ------------------- [2024-10-30T06:42:45.485Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T06:42:45.485Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T06:42:45.485Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T06:42:45.566Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-30T06:42:45.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-30T06:42:45.608Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T06:42:45.631Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T06:42:45.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T06:42:45.675Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T06:42:45.709Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T06:42:45.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T06:42:45.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T06:42:45.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T06:42:45.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T06:42:45.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-30T06:42:45.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T06:42:45.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T06:42:45.902Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:42:45.928Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:42:45.950Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:42:45.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:42:45.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T06:42:46.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T06:42:46.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T06:42:46.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T06:42:46.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T06:42:46.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T06:42:46.151Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T06:42:46.179Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T06:42:46.200Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T06:42:46.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2024-10-30T06:42:46.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2024-10-30T06:42:46.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2024-10-30T06:42:46.283Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5332404101c211199c2a52bd4ae75d54dd119a6 [Pipeline] echo [2024-10-30T06:42:46.301Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e533240 [Pipeline] echo [2024-10-30T06:42:46.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:42:46.374Z] provisioning config files... [2024-10-30T06:42:46.388Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config2958083146971832841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:42:46.721Z] ---> ****-login.sh [2024-10-30T06:42:46.721Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:42:46.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:42:46.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:42:46.982Z] Configure a credential helper to remove this warning. See [2024-10-30T06:42:46.982Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:42:46.982Z] [2024-10-30T06:42:46.982Z] Login Succeeded [2024-10-30T06:42:46.982Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:42:46.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:42:46.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:42:46.982Z] Configure a credential helper to remove this warning. See [2024-10-30T06:42:46.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:42:46.983Z] [2024-10-30T06:42:46.983Z] Login Succeeded [2024-10-30T06:42:46.983Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:42:47.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:42:47.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:42:47.243Z] Configure a credential helper to remove this warning. See [2024-10-30T06:42:47.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:42:47.243Z] [2024-10-30T06:42:47.243Z] Login Succeeded [2024-10-30T06:42:47.243Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:42:47.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:42:47.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:42:47.243Z] Configure a credential helper to remove this warning. See [2024-10-30T06:42:47.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:42:47.243Z] [2024-10-30T06:42:47.243Z] Login Succeeded [2024-10-30T06:42:47.243Z] ****.io [2024-10-30T06:42:47.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:42:47.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:42:47.504Z] Configure a credential helper to remove this warning. See [2024-10-30T06:42:47.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:42:47.504Z] [2024-10-30T06:42:47.504Z] Login Succeeded [2024-10-30T06:42:47.504Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:42:47.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T06:42:47.940Z] + git rev-list -1 --merges e5332404101c211199c2a52bd4ae75d54dd119a6~1..e5332404101c211199c2a52bd4ae75d54dd119a6 [Pipeline] echo [2024-10-30T06:42:47.971Z] -----------> git rev-list -1 --merges e5332404101c211199c2a52bd4ae75d54dd119a6~1..e5332404101c211199c2a52bd4ae75d54dd119a6 e5332404101c211199c2a52bd4ae75d54dd119a6 [false] [Pipeline] sh [2024-10-30T06:42:48.264Z] + git log --format=format:%s -1 e5332404101c211199c2a52bd4ae75d54dd119a6 [Pipeline] echo [2024-10-30T06:42:48.284Z] ========================================================= [2024-10-30T06:42:48.284Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T06:42:48.284Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:42:48.626Z] + git log --format=format:%s -1 e5332404101c211199c2a52bd4ae75d54dd119a6 [Pipeline] echo [2024-10-30T06:42:48.639Z] [semverPrep] GIT_COMMIT: e5332404101c211199c2a52bd4ae75d54dd119a6, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T06:42:48.654Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T06:42:49.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T06:42:49.026Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T06:42:49.026Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T06:42:49.026Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T06:42:49.026Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T06:42:49.026Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T06:42:49.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:42:49.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:42:49.477Z] [2024-10-30T06:42:49.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:42:49.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:42:49.794Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T06:42:49.794Z] b85a868b505f: Pulling fs layer [2024-10-30T06:42:49.794Z] e2be974225ed: Pulling fs layer [2024-10-30T06:42:49.794Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T06:42:49.794Z] 988bab9f4d93: Pulling fs layer [2024-10-30T06:42:49.794Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T06:42:49.794Z] eaf3925da568: Pulling fs layer [2024-10-30T06:42:49.794Z] bab4dde63d76: Pulling fs layer [2024-10-30T06:42:49.794Z] bde34c3a00c8: Pulling fs layer [2024-10-30T06:42:49.794Z] b352a97aabf1: Pulling fs layer [2024-10-30T06:42:49.794Z] 4872d77fe225: Pulling fs layer [2024-10-30T06:42:49.794Z] 5851b861e8e6: Pulling fs layer [2024-10-30T06:42:49.794Z] 1469e6f7b9e6: Waiting [2024-10-30T06:42:49.794Z] 988bab9f4d93: Waiting [2024-10-30T06:42:49.794Z] b352a97aabf1: Waiting [2024-10-30T06:42:49.794Z] 5851b861e8e6: Waiting [2024-10-30T06:42:49.794Z] bde34c3a00c8: Waiting [2024-10-30T06:42:49.794Z] bab4dde63d76: Waiting [2024-10-30T06:42:49.794Z] eaf3925da568: Waiting [2024-10-30T06:42:49.794Z] 4872d77fe225: Waiting [2024-10-30T06:42:49.794Z] e2be974225ed: Verifying Checksum [2024-10-30T06:42:49.794Z] e2be974225ed: Download complete [2024-10-30T06:42:49.794Z] 988bab9f4d93: Verifying Checksum [2024-10-30T06:42:49.794Z] 988bab9f4d93: Download complete [2024-10-30T06:42:49.794Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T06:42:49.794Z] 1469e6f7b9e6: Download complete [2024-10-30T06:42:50.069Z] eaf3925da568: Download complete [2024-10-30T06:42:50.069Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T06:42:50.069Z] 339a4e72a1f5: Download complete [2024-10-30T06:42:50.069Z] bde34c3a00c8: Download complete [2024-10-30T06:42:50.069Z] b85a868b505f: Verifying Checksum [2024-10-30T06:42:50.069Z] b85a868b505f: Download complete [2024-10-30T06:42:50.069Z] b352a97aabf1: Download complete [2024-10-30T06:42:50.069Z] 4872d77fe225: Verifying Checksum [2024-10-30T06:42:50.069Z] 4872d77fe225: Download complete [2024-10-30T06:42:50.069Z] 5851b861e8e6: Verifying Checksum [2024-10-30T06:42:50.069Z] 5851b861e8e6: Download complete [2024-10-30T06:42:50.338Z] bab4dde63d76: Verifying Checksum [2024-10-30T06:42:50.338Z] bab4dde63d76: Download complete [2024-10-30T06:42:51.278Z] b85a868b505f: Pull complete [2024-10-30T06:42:51.544Z] e2be974225ed: Pull complete [2024-10-30T06:42:51.804Z] 339a4e72a1f5: Pull complete [2024-10-30T06:42:52.065Z] 988bab9f4d93: Pull complete [2024-10-30T06:42:52.325Z] 1469e6f7b9e6: Pull complete [2024-10-30T06:42:52.325Z] eaf3925da568: Pull complete [2024-10-30T06:42:54.229Z] bab4dde63d76: Pull complete [2024-10-30T06:42:54.229Z] bde34c3a00c8: Pull complete [2024-10-30T06:42:54.229Z] b352a97aabf1: Pull complete [2024-10-30T06:42:54.489Z] 4872d77fe225: Pull complete [2024-10-30T06:42:54.489Z] 5851b861e8e6: Pull complete [2024-10-30T06:42:54.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T06:42:54.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:42:54.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:42:54.652Z] prd-ubuntu20.04-docker-8c-8g-24098 does not seem to be running inside a container [2024-10-30T06:42:54.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-30T06:42:57.976Z] $ docker top a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e -eo pid,comm [2024-10-30T06:42:58.034Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-30T06:42:58.034Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T06:42:58.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:42:58.097Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:42:58.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:42:58.220Z] $ docker exec a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e ssh-agent [2024-10-30T06:42:58.331Z] SSH_AUTH_SOCK=/tmp/ssh-R08ykAJC4yKi/agent.32 [2024-10-30T06:42:58.331Z] SSH_AGENT_PID=38 [2024-10-30T06:42:58.338Z] Running ssh-add (command line suppressed) [2024-10-30T06:42:58.457Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_1844759942778306788.key (/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_1844759942778306788.key) [2024-10-30T06:42:58.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:42:58.773Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T06:42:58.784Z] $ docker exec --env ******** --env ******** a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e ssh-agent -k [2024-10-30T06:42:58.885Z] unset SSH_AUTH_SOCK; [2024-10-30T06:42:58.886Z] unset SSH_AGENT_PID; [2024-10-30T06:42:58.886Z] echo Agent pid 38 killed; [2024-10-30T06:42:58.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T06:42:58.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:42:58.941Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:42:59.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:42:59.056Z] $ docker exec a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e ssh-agent [2024-10-30T06:42:59.176Z] SSH_AUTH_SOCK=/tmp/ssh-xTIw92RMA7mG/agent.71 [2024-10-30T06:42:59.176Z] SSH_AGENT_PID=77 [2024-10-30T06:42:59.184Z] Running ssh-add (command line suppressed) [2024-10-30T06:42:59.276Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_5739776159605203895.key (/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_5739776159605203895.key) [2024-10-30T06:42:59.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:42:59.590Z] + git semver init [2024-10-30T06:42:59.849Z] 2024-10-30 06:42:59,766 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T06:42:59.849Z] 2024-10-30 06:42:59,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver [2024-10-30T06:42:59.849Z] 2024-10-30 06:42:59,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-586/.semver [2024-10-30T06:42:59.849Z] 2024-10-30 06:42:59,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-586/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586, universal_newlines=False, shell=None, istream=None) [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,789 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-586/.git/info/exclude [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,790 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 with force:False [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,790 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,794 [execute] INFO git cat-file --batch-check [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,800 [execute] INFO git cat-file --batch [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:43:01.226Z] 2024-10-30 06:43:00,805 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 [2024-10-30T06:43:01.226Z] 0.0.0 [Pipeline] } [2024-10-30T06:43:01.237Z] $ docker exec --env ******** --env ******** a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e ssh-agent -k [2024-10-30T06:43:01.331Z] unset SSH_AUTH_SOCK; [2024-10-30T06:43:01.332Z] unset SSH_AGENT_PID; [2024-10-30T06:43:01.332Z] echo Agent pid 77 killed; [2024-10-30T06:43:01.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T06:43:01.670Z] + git semver [Pipeline] } [2024-10-30T06:43:01.943Z] $ docker stop --time=1 a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e [2024-10-30T06:43:03.282Z] $ docker rm -f --volumes a0fdbb74e20f81498f92b8d839d2df7b55a8fdc7b0130c0027b8ba3268ff849e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:43:03.642Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T06:43:03.896Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T06:43:03.901Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:43:04.078Z] provisioning config files... [2024-10-30T06:43:04.088Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config11510600721887450287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:43:04.393Z] ---> ****-login.sh [2024-10-30T06:43:04.394Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:43:04.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:43:04.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:43:04.394Z] Configure a credential helper to remove this warning. See [2024-10-30T06:43:04.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:43:04.394Z] [2024-10-30T06:43:04.394Z] Login Succeeded [2024-10-30T06:43:04.394Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:43:04.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:43:04.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:43:04.394Z] Configure a credential helper to remove this warning. See [2024-10-30T06:43:04.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:43:04.394Z] [2024-10-30T06:43:04.394Z] Login Succeeded [2024-10-30T06:43:04.394Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:43:04.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:43:04.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:43:04.654Z] Configure a credential helper to remove this warning. See [2024-10-30T06:43:04.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:43:04.654Z] [2024-10-30T06:43:04.654Z] Login Succeeded [2024-10-30T06:43:04.654Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:43:04.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:43:04.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:43:04.655Z] Configure a credential helper to remove this warning. See [2024-10-30T06:43:04.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:43:04.655Z] [2024-10-30T06:43:04.655Z] Login Succeeded [2024-10-30T06:43:04.655Z] ****.io [2024-10-30T06:43:04.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:43:05.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:43:05.177Z] Configure a credential helper to remove this warning. See [2024-10-30T06:43:05.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:43:05.177Z] [2024-10-30T06:43:05.177Z] Login Succeeded [2024-10-30T06:43:05.177Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:43:05.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:43:05.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:43:05.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:43:05.350Z] ========================================================= [2024-10-30T06:43:05.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T06:43:05.350Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:43:05.712Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T06:43:05.712Z] Sending build context to Docker daemon 18.08MB [2024-10-30T06:43:05.712Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:43:05.712Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-30T06:43:05.974Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T06:43:05.974Z] 43c4264eed91: Pulling fs layer [2024-10-30T06:43:05.974Z] 4cc291be95ef: Pulling fs layer [2024-10-30T06:43:05.974Z] 2ac1f1163629: Pulling fs layer [2024-10-30T06:43:05.974Z] 5c3c966382ef: Pulling fs layer [2024-10-30T06:43:05.974Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:43:05.974Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T06:43:05.974Z] 9f66e0745190: Pulling fs layer [2024-10-30T06:43:05.974Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T06:43:05.974Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T06:43:05.974Z] 5d5c8e513c77: Waiting [2024-10-30T06:43:05.974Z] 9f66e0745190: Waiting [2024-10-30T06:43:05.974Z] f49a43e4bbc0: Waiting [2024-10-30T06:43:05.974Z] 4f4fb700ef54: Waiting [2024-10-30T06:43:05.974Z] 5c3c966382ef: Waiting [2024-10-30T06:43:05.974Z] 561ebcabdf7f: Waiting [2024-10-30T06:43:05.974Z] 4cc291be95ef: Verifying Checksum [2024-10-30T06:43:05.974Z] 4cc291be95ef: Download complete [2024-10-30T06:43:05.974Z] 5c3c966382ef: Verifying Checksum [2024-10-30T06:43:05.974Z] 5c3c966382ef: Download complete [2024-10-30T06:43:05.974Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:43:05.974Z] 4f4fb700ef54: Download complete [2024-10-30T06:43:05.974Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T06:43:05.974Z] 5d5c8e513c77: Download complete [2024-10-30T06:43:05.974Z] 43c4264eed91: Verifying Checksum [2024-10-30T06:43:05.974Z] 43c4264eed91: Download complete [2024-10-30T06:43:05.974Z] 9f66e0745190: Verifying Checksum [2024-10-30T06:43:05.974Z] 9f66e0745190: Download complete [2024-10-30T06:43:06.235Z] 43c4264eed91: Pull complete [2024-10-30T06:43:06.235Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T06:43:06.235Z] 561ebcabdf7f: Download complete [2024-10-30T06:43:06.235Z] 4cc291be95ef: Pull complete [2024-10-30T06:43:06.493Z] 2ac1f1163629: Verifying Checksum [2024-10-30T06:43:06.493Z] 2ac1f1163629: Download complete [2024-10-30T06:43:06.750Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T06:43:06.750Z] f49a43e4bbc0: Download complete [2024-10-30T06:43:10.036Z] 2ac1f1163629: Pull complete [2024-10-30T06:43:10.298Z] 5c3c966382ef: Pull complete [2024-10-30T06:43:10.298Z] 4f4fb700ef54: Pull complete [2024-10-30T06:43:10.558Z] 5d5c8e513c77: Pull complete [2024-10-30T06:43:10.558Z] 9f66e0745190: Pull complete [2024-10-30T06:43:13.105Z] f49a43e4bbc0: Pull complete [2024-10-30T06:43:13.367Z] 561ebcabdf7f: Pull complete [2024-10-30T06:43:13.368Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T06:43:13.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T06:43:13.368Z] ---> 3a752c3f9dda [2024-10-30T06:43:13.368Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:43:18.744Z] ---> Running in c6b336264d53 [2024-10-30T06:43:18.744Z] Removing intermediate container c6b336264d53 [2024-10-30T06:43:18.744Z] ---> 1398f8b54f03 [2024-10-30T06:43:18.744Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:43:18.744Z] ---> Running in 5b8cf93511cf [2024-10-30T06:43:18.744Z] Removing intermediate container 5b8cf93511cf [2024-10-30T06:43:18.744Z] ---> 3f2dfa71e41c [2024-10-30T06:43:18.744Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-30T06:43:18.744Z] ---> Running in 9d269c34c5d0 [2024-10-30T06:43:18.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:43:18.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:43:19.002Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-30T06:43:19.002Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-30T06:43:19.002Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-30T06:43:19.002Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:43:19.002Z] OK: 252 MiB in 62 packages [2024-10-30T06:43:19.031Z] Still waiting to schedule task [2024-10-30T06:43:19.031Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24097’ [2024-10-30T06:43:19.575Z] Removing intermediate container 9d269c34c5d0 [2024-10-30T06:43:19.575Z] ---> 1472a266ef67 [2024-10-30T06:43:19.575Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-30T06:43:19.575Z] ---> Running in 92fded0420ef [2024-10-30T06:43:19.835Z] Removing intermediate container 92fded0420ef [2024-10-30T06:43:19.835Z] ---> bbbb6d0c2b3f [2024-10-30T06:43:19.835Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-30T06:43:19.835Z] ---> 9ba87144b597 [2024-10-30T06:43:19.835Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:43:19.835Z] ---> Running in 692676df3780 [2024-10-30T06:44:17.545Z] Removing intermediate container 692676df3780 [2024-10-30T06:44:17.545Z] ---> d2a574b313bd [2024-10-30T06:44:17.545Z] Step 9/10 : COPY . . [2024-10-30T06:44:17.545Z] ---> 145900f47ca0 [2024-10-30T06:44:17.545Z] Step 10/10 : RUN ${MAKE} [2024-10-30T06:44:17.545Z] ---> Running in 67b9102d8b96 [2024-10-30T06:44:17.545Z] noop [2024-10-30T06:44:17.545Z] Removing intermediate container 67b9102d8b96 [2024-10-30T06:44:17.545Z] ---> fc5260928c0d [2024-10-30T06:44:17.545Z] Successfully built fc5260928c0d [2024-10-30T06:44:17.545Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:44:21.763Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:44:21.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:44:24.694Z] prd-ubuntu20.04-docker-8c-8g-24098 does not seem to be running inside a container [2024-10-30T06:44:24.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T06:44:25.108Z] $ docker top 8a7af03c59641e74015993877fe9341ba214af8c18306669c2d1d5e79c3daae4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:44:25.459Z] + go version [2024-10-30T06:44:25.460Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T06:44:25.469Z] $ docker stop --time=1 8a7af03c59641e74015993877fe9341ba214af8c18306669c2d1d5e79c3daae4 [2024-10-30T06:44:26.722Z] $ docker rm -f --volumes 8a7af03c59641e74015993877fe9341ba214af8c18306669c2d1d5e79c3daae4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:44:27.165Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:44:27.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:44:27.245Z] prd-ubuntu20.04-docker-8c-8g-24098 does not seem to be running inside a container [2024-10-30T06:44:27.275Z] $ 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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T06:44:27.663Z] $ docker top da1e6ff1e583f919562d7f10871644d6004b7ed1d42bca212ed36e9d3977b020 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:44:28.018Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-586 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:44:28.319Z] + make test [2024-10-30T06:44:28.319Z] go test ./... -coverprofile=coverage.out [2024-10-30T06:44:30.227Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-30T06:44:48.680Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-30T06:44:48.680Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 48.0% of statements [2024-10-30T06:44:59.606Z] go vet ./... [2024-10-30T06:45:07.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:45:07.385Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:45:07.385Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:45:07.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:45:07.411Z] $ docker stop --time=1 da1e6ff1e583f919562d7f10871644d6004b7ed1d42bca212ed36e9d3977b020 [2024-10-30T06:45:11.677Z] $ docker rm -f --volumes da1e6ff1e583f919562d7f10871644d6004b7ed1d42bca212ed36e9d3977b020 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:45:12.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:45:12.296Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T06:45:12.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:45:13.048Z] + ls -al . [2024-10-30T06:45:13.048Z] total 272 [2024-10-30T06:45:13.048Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:44 . [2024-10-30T06:45:13.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:42 .. [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:42 .dockerignore [2024-10-30T06:45:13.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:44 .git [2024-10-30T06:45:13.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:42 .github [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 06:42 .gitignore [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 06:42 .golangci.yml [2024-10-30T06:45:13.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:43 .semver [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 06:42 Attribution.txt [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 06:42 CHANGELOG.md [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 06:42 Dockerfile [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:42 GOVERNANCE.md [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 06:42 Jenkinsfile [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:42 LICENSE [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 06:42 Makefile [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 06:42 OWNERS.md [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 06:42 README.md [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:43 VERSION [2024-10-30T06:45:13.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:42 bin [2024-10-30T06:45:13.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:42 cmd [2024-10-30T06:45:13.048Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 06:44 coverage.out [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 06:42 go.mod [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 06:42 go.sum [2024-10-30T06:45:13.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:42 internal [2024-10-30T06:45:13.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:42 simulator [2024-10-30T06:45:13.048Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 06:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:45:13.392Z] + 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=e5332404101c211199c2a52bd4ae75d54dd119a6 --label arch=amd64 --label version=0.0.0 . [2024-10-30T06:45:13.392Z] Sending build context to Docker daemon 18.1MB [2024-10-30T06:45:13.392Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:45:13.392Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-30T06:45:13.392Z] ---> fc5260928c0d [2024-10-30T06:45:13.392Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:45:13.651Z] ---> Running in 20a38840cfd0 [2024-10-30T06:45:13.651Z] Removing intermediate container 20a38840cfd0 [2024-10-30T06:45:13.651Z] ---> d4f032b752e2 [2024-10-30T06:45:13.651Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:45:13.651Z] ---> Running in 145f8ac2228a [2024-10-30T06:45:13.909Z] Removing intermediate container 145f8ac2228a [2024-10-30T06:45:13.909Z] ---> 219b30995e2a [2024-10-30T06:45:13.909Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-30T06:45:13.909Z] ---> Running in 7a41cd3e24cb [2024-10-30T06:45:15.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:15.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:15.001Z] OK: 252 MiB in 62 packages [2024-10-30T06:45:15.001Z] Removing intermediate container 7a41cd3e24cb [2024-10-30T06:45:15.001Z] ---> a87d544adcb5 [2024-10-30T06:45:15.001Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-30T06:45:15.001Z] ---> Running in e017502a062a [2024-10-30T06:45:15.259Z] Removing intermediate container e017502a062a [2024-10-30T06:45:15.259Z] ---> fa55dc03438e [2024-10-30T06:45:15.259Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-30T06:45:15.259Z] ---> 134d27007bfa [2024-10-30T06:45:15.259Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:45:15.259Z] ---> Running in 49a3b585fbfe [2024-10-30T06:45:16.792Z] Removing intermediate container 49a3b585fbfe [2024-10-30T06:45:16.792Z] ---> 1c9f0250c547 [2024-10-30T06:45:16.792Z] Step 9/23 : COPY . . [2024-10-30T06:45:16.792Z] ---> 501c64555716 [2024-10-30T06:45:16.792Z] Step 10/23 : RUN ${MAKE} [2024-10-30T06:45:16.792Z] ---> Running in fdf2a5d880d0 [2024-10-30T06:45:16.792Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-30T06:45:55.531Z] Removing intermediate container fdf2a5d880d0 [2024-10-30T06:45:55.531Z] ---> 082022b0bc55 [2024-10-30T06:45:55.531Z] Step 11/23 : FROM alpine:3.20 [2024-10-30T06:45:55.531Z] 3.20: Pulling from library/alpine [2024-10-30T06:45:55.531Z] 43c4264eed91: Already exists [2024-10-30T06:45:55.531Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:45:55.531Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:45:55.531Z] ---> 91ef0af61f39 [2024-10-30T06:45:55.531Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-30T06:45:55.531Z] ---> Running in 2a50103faa27 [2024-10-30T06:45:55.531Z] Removing intermediate container 2a50103faa27 [2024-10-30T06:45:55.531Z] ---> 22ddb9ac2161 [2024-10-30T06:45:55.531Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:45:55.531Z] ---> Running in b94947d25406 [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:45:55.531Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:45:55.531Z] OK: 8 MiB in 15 packages [2024-10-30T06:45:55.531Z] Removing intermediate container b94947d25406 [2024-10-30T06:45:55.531Z] ---> 6b6e2136e390 [2024-10-30T06:45:55.531Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-30T06:45:55.531Z] ---> Running in d9956fa43e3f [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:45:55.531Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:45:55.531Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:45:55.531Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:45:55.531Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:45:55.531Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:45:55.531Z] OK: 8 MiB in 15 packages [2024-10-30T06:45:56.099Z] Removing intermediate container d9956fa43e3f [2024-10-30T06:45:56.099Z] ---> 4279ffdcab3d [2024-10-30T06:45:56.099Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-30T06:45:57.481Z] ---> c8e6f375a7c9 [2024-10-30T06:45:57.481Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-30T06:45:57.741Z] ---> 6615d7278dcc [2024-10-30T06:45:57.741Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-30T06:45:57.741Z] ---> 8807cdccbb28 [2024-10-30T06:45:57.741Z] Step 18/23 : EXPOSE 59901 [2024-10-30T06:45:57.741Z] ---> Running in f16984584a28 [2024-10-30T06:45:57.741Z] Removing intermediate container f16984584a28 [2024-10-30T06:45:57.741Z] ---> ccdce06fd147 [2024-10-30T06:45:57.741Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-30T06:45:57.741Z] ---> Running in 96c4b96b3f48 [2024-10-30T06:45:58.001Z] Removing intermediate container 96c4b96b3f48 [2024-10-30T06:45:58.001Z] ---> df3255675f55 [2024-10-30T06:45:58.001Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:45:58.001Z] ---> Running in 795db3433643 [2024-10-30T06:45:58.001Z] Removing intermediate container 795db3433643 [2024-10-30T06:45:58.001Z] ---> 5c53d5f43790 [2024-10-30T06:45:58.001Z] Step 21/23 : LABEL arch=amd64 [2024-10-30T06:45:58.001Z] ---> Running in a5ddda1c0796 [2024-10-30T06:45:58.001Z] Removing intermediate container a5ddda1c0796 [2024-10-30T06:45:58.001Z] ---> 7016918e7757 [2024-10-30T06:45:58.001Z] Step 22/23 : LABEL git_sha=e5332404101c211199c2a52bd4ae75d54dd119a6 [2024-10-30T06:45:58.260Z] ---> Running in 442ff41dddc3 [2024-10-30T06:45:58.260Z] Removing intermediate container 442ff41dddc3 [2024-10-30T06:45:58.260Z] ---> 5a7edabc0aa8 [2024-10-30T06:45:58.260Z] Step 23/23 : LABEL version=0.0.0 [2024-10-30T06:45:58.260Z] ---> Running in 15015544e9c7 [2024-10-30T06:45:58.260Z] Removing intermediate container 15015544e9c7 [2024-10-30T06:45:58.260Z] ---> 43dbbb8e31ce [2024-10-30T06:45:58.260Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:45:58.260Z] Successfully built 43dbbb8e31ce [2024-10-30T06:45:58.260Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:45:58.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:45:58.742Z] [2024-10-30T06:45:58.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:45:59.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:45:59.044Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T06:45:59.044Z] 5eb5b503b376: Pulling fs layer [2024-10-30T06:45:59.044Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T06:45:59.044Z] ec43610c2a17: Pulling fs layer [2024-10-30T06:45:59.044Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T06:45:59.044Z] 33b1e0a273af: Pulling fs layer [2024-10-30T06:45:59.044Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T06:45:59.044Z] 2f39f015ded8: Pulling fs layer [2024-10-30T06:45:59.044Z] 33b1e0a273af: Waiting [2024-10-30T06:45:59.044Z] 5d3b04190fa2: Waiting [2024-10-30T06:45:59.044Z] 2f39f015ded8: Waiting [2024-10-30T06:45:59.044Z] 3a2ae6a8a46f: Waiting [2024-10-30T06:45:59.044Z] 5c69ac0246d0: Download complete [2024-10-30T06:45:59.044Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T06:45:59.044Z] 3a2ae6a8a46f: Download complete [2024-10-30T06:45:59.045Z] 33b1e0a273af: Verifying Checksum [2024-10-30T06:45:59.045Z] 33b1e0a273af: Download complete [2024-10-30T06:45:59.045Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T06:45:59.045Z] 5d3b04190fa2: Download complete [2024-10-30T06:45:59.308Z] ec43610c2a17: Download complete [2024-10-30T06:45:59.308Z] 5eb5b503b376: Verifying Checksum [2024-10-30T06:45:59.308Z] 5eb5b503b376: Download complete [2024-10-30T06:45:59.877Z] 2f39f015ded8: Download complete [2024-10-30T06:46:00.444Z] 5eb5b503b376: Pull complete [2024-10-30T06:46:00.704Z] 5c69ac0246d0: Pull complete [2024-10-30T06:46:00.963Z] ec43610c2a17: Pull complete [2024-10-30T06:46:00.963Z] 3a2ae6a8a46f: Pull complete [2024-10-30T06:46:01.222Z] 33b1e0a273af: Pull complete [2024-10-30T06:46:01.480Z] 5d3b04190fa2: Pull complete [2024-10-30T06:46:05.671Z] 2f39f015ded8: Pull complete [2024-10-30T06:46:05.671Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T06:46:05.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:46:05.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:46:05.778Z] prd-ubuntu20.04-docker-8c-8g-24098 does not seem to be running inside a container [2024-10-30T06:46:05.801Z] $ 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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T06:46:11.108Z] $ docker top 43c5051ab072a5f2c6883d369d881e76a992a88ceb16cde50c384f5ea426f27f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:46:11.507Z] ---> job-cost.sh [2024-10-30T06:46:11.507Z] lf-activate-venv: SKIPPING [2024-10-30T06:46:11.507Z] INFO: No Stack... [2024-10-30T06:46:12.445Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:46:12.706Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:46:12.994Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-586/archives/cost.csv [2024-10-30T06:46:12.994Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:46:13.008Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [2024-10-30T06:46:13.016Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] did not exist. Created. [2024-10-30T06:46:13.022Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:46:13.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T06:46:13.352Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:46:13.365Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:46:13.388Z] $ docker stop --time=1 43c5051ab072a5f2c6883d369d881e76a992a88ceb16cde50c384f5ea426f27f [2024-10-30T06:46:14.530Z] $ docker rm -f --volumes 43c5051ab072a5f2c6883d369d881e76a992a88ceb16cde50c384f5ea426f27f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T06:46:58.367Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24099 in /w/workspace/xfoundry_device-modbus-go_PR-586 [Pipeline] { [Pipeline] ws [2024-10-30T06:46:58.383Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-10-30T06:47:01.444Z] The recommended git tool is: git [2024-10-30T06:47:09.679Z] using credential edgex-jenkins-ssh [2024-10-30T06:47:09.705Z] Cloning the remote Git repository [2024-10-30T06:47:09.751Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T06:47:09.866Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-10-30T06:47:10.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T06:47:10.089Z] > git --version # timeout=10 [2024-10-30T06:47:10.137Z] > git --version # 'git version 2.25.1' [2024-10-30T06:47:10.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:47:10.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:47:12.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-30T06:47:12.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:47:14.564Z] Merging remotes/origin/main commit 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 into PR head commit e5332404101c211199c2a52bd4ae75d54dd119a6 [2024-10-30T06:47:13.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-30T06:47:13.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T06:47:13.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:47:13.937Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T06:47:14.581Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:47:14.691Z] > git checkout -f e5332404101c211199c2a52bd4ae75d54dd119a6 # timeout=10 [2024-10-30T06:47:15.012Z] Merge succeeded, producing e5332404101c211199c2a52bd4ae75d54dd119a6 [2024-10-30T06:47:15.012Z] Checking out Revision e5332404101c211199c2a52bd4ae75d54dd119a6 (PR-586) [2024-10-30T06:47:14.845Z] > git remote # timeout=10 [2024-10-30T06:47:14.876Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T06:47:14.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:47:14.944Z] > git merge 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 # timeout=10 [2024-10-30T06:47:14.986Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T06:47:15.024Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:47:15.181Z] > git checkout -f e5332404101c211199c2a52bd4ae75d54dd119a6 # timeout=10 [2024-10-30T06:47:19.003Z] Commit message: "refactor!: update module to v4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:47:20.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T06:47:20.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:47:20.691Z] Dload Upload Total Spent Left Speed [2024-10-30T06:47:20.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 184k 0 --:--:-- --:--:-- --:--:-- 184k [Pipeline] sh [2024-10-30T06:47:21.030Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T06:47:21.359Z] + sudo tee /etc/docker/daemon.new [2024-10-30T06:47:21.359Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T06:47:21.359Z] { [2024-10-30T06:47:21.359Z] "registry-mirrors": [ [2024-10-30T06:47:21.359Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T06:47:21.359Z] ], [2024-10-30T06:47:21.359Z] "bip": "10.250.0.254/24", [2024-10-30T06:47:21.359Z] "hosts": [ [2024-10-30T06:47:21.359Z] "tcp://0.0.0.0:5555", [2024-10-30T06:47:21.359Z] "unix:///var/run/docker.sock" [2024-10-30T06:47:21.359Z] ], [2024-10-30T06:47:21.359Z] "mtu": 1458, [2024-10-30T06:47:21.359Z] "selinux-enabled": true, [2024-10-30T06:47:21.359Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T06:47:21.359Z] } [Pipeline] sh [2024-10-30T06:47:21.687Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T06:47:22.023Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:47:40.291Z] provisioning config files... [2024-10-30T06:47:40.326Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4725024905957525670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:47:40.768Z] ---> ****-login.sh [2024-10-30T06:47:40.768Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:47:41.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:47:41.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:47:41.313Z] Configure a credential helper to remove this warning. See [2024-10-30T06:47:41.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:47:41.314Z] [2024-10-30T06:47:41.314Z] Login Succeeded [2024-10-30T06:47:41.314Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:47:41.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:47:41.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:47:41.857Z] Configure a credential helper to remove this warning. See [2024-10-30T06:47:41.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:47:41.857Z] [2024-10-30T06:47:41.857Z] Login Succeeded [2024-10-30T06:47:41.857Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:47:42.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:47:42.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:47:42.127Z] Configure a credential helper to remove this warning. See [2024-10-30T06:47:42.128Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:47:42.128Z] [2024-10-30T06:47:42.128Z] Login Succeeded [2024-10-30T06:47:42.128Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:47:42.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:47:42.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:47:42.398Z] Configure a credential helper to remove this warning. See [2024-10-30T06:47:42.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:47:42.398Z] [2024-10-30T06:47:42.399Z] Login Succeeded [2024-10-30T06:47:42.399Z] ****.io [2024-10-30T06:47:42.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:47:42.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:47:42.934Z] Configure a credential helper to remove this warning. See [2024-10-30T06:47:42.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:47:42.934Z] [2024-10-30T06:47:42.934Z] Login Succeeded [2024-10-30T06:47:42.934Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:47:42.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:47:43.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:47:43.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:47:43.298Z] ========================================================= [2024-10-30T06:47:43.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T06:47:43.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:47:43.672Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T06:47:43.940Z] Sending build context to Docker daemon 9.238MB [2024-10-30T06:47:44.210Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:47:44.210Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-30T06:47:44.210Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T06:47:44.210Z] cf04c63912e1: Pulling fs layer [2024-10-30T06:47:44.210Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T06:47:44.210Z] a37a00ec5f00: Pulling fs layer [2024-10-30T06:47:44.210Z] 50b3750afda1: Pulling fs layer [2024-10-30T06:47:44.210Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:47:44.210Z] 80978eb59214: Pulling fs layer [2024-10-30T06:47:44.210Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T06:47:44.210Z] c5a475d317c9: Pulling fs layer [2024-10-30T06:47:44.210Z] 50b3750afda1: Waiting [2024-10-30T06:47:44.210Z] 4f4fb700ef54: Waiting [2024-10-30T06:47:44.210Z] 80978eb59214: Waiting [2024-10-30T06:47:44.210Z] c9f46d7d2bd2: Waiting [2024-10-30T06:47:44.210Z] c5a475d317c9: Waiting [2024-10-30T06:47:44.210Z] 55b35a11ae5e: Verifying Checksum [2024-10-30T06:47:44.210Z] 55b35a11ae5e: Download complete [2024-10-30T06:47:44.210Z] 50b3750afda1: Verifying Checksum [2024-10-30T06:47:44.210Z] 50b3750afda1: Download complete [2024-10-30T06:47:44.210Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:47:44.210Z] 4f4fb700ef54: Download complete [2024-10-30T06:47:44.480Z] 80978eb59214: Verifying Checksum [2024-10-30T06:47:44.480Z] 80978eb59214: Download complete [2024-10-30T06:47:44.480Z] cf04c63912e1: Verifying Checksum [2024-10-30T06:47:44.480Z] cf04c63912e1: Download complete [2024-10-30T06:47:44.763Z] c5a475d317c9: Verifying Checksum [2024-10-30T06:47:44.763Z] c5a475d317c9: Download complete [2024-10-30T06:47:45.359Z] cf04c63912e1: Pull complete [2024-10-30T06:47:46.327Z] a37a00ec5f00: Verifying Checksum [2024-10-30T06:47:46.327Z] a37a00ec5f00: Download complete [2024-10-30T06:47:46.327Z] 55b35a11ae5e: Pull complete [2024-10-30T06:47:46.913Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T06:47:46.913Z] c9f46d7d2bd2: Download complete [2024-10-30T06:48:01.917Z] a37a00ec5f00: Pull complete [2024-10-30T06:48:01.917Z] 50b3750afda1: Pull complete [2024-10-30T06:48:01.917Z] 4f4fb700ef54: Pull complete [2024-10-30T06:48:01.917Z] 80978eb59214: Pull complete [2024-10-30T06:48:07.265Z] c9f46d7d2bd2: Pull complete [2024-10-30T06:48:08.669Z] c5a475d317c9: Pull complete [2024-10-30T06:48:08.669Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T06:48:08.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T06:48:08.669Z] ---> be29e6b0f0d4 [2024-10-30T06:48:08.669Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:48:10.068Z] ---> Running in 7869ef526610 [2024-10-30T06:48:10.334Z] Removing intermediate container 7869ef526610 [2024-10-30T06:48:10.334Z] ---> f28fd6ee97f1 [2024-10-30T06:48:10.334Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:48:10.602Z] ---> Running in bf51d4fa419d [2024-10-30T06:48:10.869Z] Removing intermediate container bf51d4fa419d [2024-10-30T06:48:10.870Z] ---> 97327bbf25d1 [2024-10-30T06:48:10.870Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-30T06:48:10.870Z] ---> Running in 1c4a5446556b [2024-10-30T06:48:11.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:48:12.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:48:13.382Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:48:13.382Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-30T06:48:13.382Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:48:13.651Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:48:13.651Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-30T06:48:13.651Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-30T06:48:13.651Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-30T06:48:13.651Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-30T06:48:13.651Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:48:13.651Z] OK: 244 MiB in 62 packages [2024-10-30T06:48:14.610Z] Removing intermediate container 1c4a5446556b [2024-10-30T06:48:14.610Z] ---> 9d18cd7de766 [2024-10-30T06:48:14.610Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-30T06:48:14.610Z] ---> Running in 9455f47b36a6 [2024-10-30T06:48:14.878Z] Removing intermediate container 9455f47b36a6 [2024-10-30T06:48:14.878Z] ---> 9f0e978cb174 [2024-10-30T06:48:14.878Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-30T06:48:15.464Z] ---> b9375992aa07 [2024-10-30T06:48:15.464Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:48:15.464Z] ---> Running in 8ed18394285f [2024-10-30T06:50:07.130Z] Removing intermediate container 8ed18394285f [2024-10-30T06:50:07.130Z] ---> db24d9093d10 [2024-10-30T06:50:07.130Z] Step 9/10 : COPY . . [2024-10-30T06:50:07.130Z] ---> aaafb1a30ae6 [2024-10-30T06:50:07.130Z] Step 10/10 : RUN ${MAKE} [2024-10-30T06:50:07.130Z] ---> Running in 56d75053f98e [2024-10-30T06:50:07.130Z] noop [2024-10-30T06:50:07.130Z] Removing intermediate container 56d75053f98e [2024-10-30T06:50:07.130Z] ---> 2d3bf4c01715 [2024-10-30T06:50:07.130Z] Successfully built 2d3bf4c01715 [2024-10-30T06:50:07.130Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:50:07.506Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:50:07.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:50:07.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-24099 does not seem to be running inside a container [2024-10-30T06:50:07.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:50:08.966Z] $ docker top fa0cda2ceb28b82c710dee193f8bbd0f05cceca4d9945e2a8f77951e85977ffa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:50:09.899Z] + go version [2024-10-30T06:50:09.899Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T06:50:09.920Z] $ docker stop --time=1 fa0cda2ceb28b82c710dee193f8bbd0f05cceca4d9945e2a8f77951e85977ffa [2024-10-30T06:50:11.485Z] $ docker rm -f --volumes fa0cda2ceb28b82c710dee193f8bbd0f05cceca4d9945e2a8f77951e85977ffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:50:12.053Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:50:12.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:50:12.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-24099 does not seem to be running inside a container [2024-10-30T06:50:12.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:50:13.490Z] $ docker top 95736634b7976cf25c33362d4b9f61acf43d1140c901c524c53c49f879e17eb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:50:13.990Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:50:14.591Z] + make test [2024-10-30T06:50:14.859Z] go test ./... -coverprofile=coverage.out [2024-10-30T06:50:21.495Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-30T06:53:43.233Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-30T06:53:43.233Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 48.0% of statements [2024-10-30T06:53:43.233Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T06:53:43.233Z] go vet ./... [2024-10-30T06:54:30.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:54:30.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:54:30.068Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:54:30.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:54:30.101Z] $ docker stop --time=1 95736634b7976cf25c33362d4b9f61acf43d1140c901c524c53c49f879e17eb1 [2024-10-30T06:54:31.994Z] $ docker rm -f --volumes 95736634b7976cf25c33362d4b9f61acf43d1140c901c524c53c49f879e17eb1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:54:33.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:54:33.648Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T06:54:34.276Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:54:34.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:54:35.034Z] + ls -al . [2024-10-30T06:54:35.034Z] total 268 [2024-10-30T06:54:35.034Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:50 . [2024-10-30T06:54:35.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:47 .. [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:47 .dockerignore [2024-10-30T06:54:35.034Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:47 .git [2024-10-30T06:54:35.034Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:47 .github [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 06:47 .gitignore [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 06:47 .golangci.yml [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 06:47 Attribution.txt [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 06:47 CHANGELOG.md [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 06:47 Dockerfile [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:47 GOVERNANCE.md [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 06:47 Jenkinsfile [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:47 LICENSE [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 06:47 Makefile [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 06:47 OWNERS.md [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 06:47 README.md [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:43 VERSION [2024-10-30T06:54:35.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:47 bin [2024-10-30T06:54:35.034Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:47 cmd [2024-10-30T06:54:35.034Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 06:53 coverage.out [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 06:47 go.mod [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 06:47 go.sum [2024-10-30T06:54:35.034Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:47 internal [2024-10-30T06:54:35.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:47 simulator [2024-10-30T06:54:35.034Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 06:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:54:35.395Z] + 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=e5332404101c211199c2a52bd4ae75d54dd119a6 --label arch=arm64 --label version=0.0.0 . [2024-10-30T06:54:35.987Z] Sending build context to Docker daemon 9.264MB [2024-10-30T06:54:35.987Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:54:35.987Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-30T06:54:35.987Z] ---> 2d3bf4c01715 [2024-10-30T06:54:35.987Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:54:35.987Z] ---> Running in 4005c2ec750a [2024-10-30T06:54:36.255Z] Removing intermediate container 4005c2ec750a [2024-10-30T06:54:36.255Z] ---> 29bbd4677768 [2024-10-30T06:54:36.255Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:54:36.523Z] ---> Running in 48c36254c64d [2024-10-30T06:54:36.798Z] Removing intermediate container 48c36254c64d [2024-10-30T06:54:36.798Z] ---> 87bd4d9895d3 [2024-10-30T06:54:36.798Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-30T06:54:36.798Z] ---> Running in 20620ad03fd0 [2024-10-30T06:54:38.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:54:38.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:54:39.632Z] OK: 244 MiB in 62 packages [2024-10-30T06:54:40.597Z] Removing intermediate container 20620ad03fd0 [2024-10-30T06:54:40.597Z] ---> 71d79f2bdbfb [2024-10-30T06:54:40.597Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-30T06:54:40.866Z] ---> Running in 0f2d8c3dcf75 [2024-10-30T06:54:41.137Z] Removing intermediate container 0f2d8c3dcf75 [2024-10-30T06:54:41.137Z] ---> c661eb0a89ca [2024-10-30T06:54:41.137Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-30T06:54:41.724Z] ---> dea90c7014a9 [2024-10-30T06:54:41.724Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:54:41.724Z] ---> Running in 92c8f7254a55 [2024-10-30T06:54:44.304Z] Removing intermediate container 92c8f7254a55 [2024-10-30T06:54:44.304Z] ---> c12f53e5b648 [2024-10-30T06:54:44.304Z] Step 9/23 : COPY . . [2024-10-30T06:54:45.266Z] ---> 74a3e1dc8aee [2024-10-30T06:54:45.266Z] Step 10/23 : RUN ${MAKE} [2024-10-30T06:54:45.266Z] ---> Running in 57c62d069525 [2024-10-30T06:54:45.847Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-30T06:58:37.647Z] Removing intermediate container 57c62d069525 [2024-10-30T06:58:37.647Z] ---> a506dac33a5a [2024-10-30T06:58:37.647Z] Step 11/23 : FROM alpine:3.20 [2024-10-30T06:58:37.647Z] 3.20: Pulling from library/alpine [2024-10-30T06:58:37.647Z] cf04c63912e1: Already exists [2024-10-30T06:58:37.647Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:58:37.647Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:58:37.647Z] ---> c157a85ed455 [2024-10-30T06:58:37.647Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-30T06:58:37.647Z] ---> Running in 09f3b45c68b7 [2024-10-30T06:58:37.647Z] Removing intermediate container 09f3b45c68b7 [2024-10-30T06:58:37.647Z] ---> 331ae3f00091 [2024-10-30T06:58:37.647Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:58:37.647Z] ---> Running in 2b521318499d [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:37.647Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:58:37.647Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:58:37.647Z] OK: 9 MiB in 15 packages [2024-10-30T06:58:37.647Z] Removing intermediate container 2b521318499d [2024-10-30T06:58:37.647Z] ---> 629c7edd7398 [2024-10-30T06:58:37.647Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-30T06:58:37.647Z] ---> Running in b6f529cf816e [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:37.647Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:58:37.647Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:58:37.647Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:58:37.647Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:37.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:58:38.242Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:58:38.242Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:58:38.242Z] OK: 9 MiB in 15 packages [2024-10-30T06:58:39.653Z] Removing intermediate container b6f529cf816e [2024-10-30T06:58:39.653Z] ---> 0765750a1eb7 [2024-10-30T06:58:39.653Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-30T06:58:42.239Z] ---> c4e0b943e57b [2024-10-30T06:58:42.239Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-30T06:58:42.506Z] ---> 946ffea4088c [2024-10-30T06:58:42.507Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-30T06:58:43.091Z] ---> 329fbcc39cfa [2024-10-30T06:58:43.091Z] Step 18/23 : EXPOSE 59901 [2024-10-30T06:58:43.091Z] ---> Running in 6c017663e277 [2024-10-30T06:58:43.679Z] Removing intermediate container 6c017663e277 [2024-10-30T06:58:43.679Z] ---> 37ed59b8d567 [2024-10-30T06:58:43.679Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-30T06:58:43.679Z] ---> Running in 66753dcb61c3 [2024-10-30T06:58:43.947Z] Removing intermediate container 66753dcb61c3 [2024-10-30T06:58:43.947Z] ---> 9759d5ccf93e [2024-10-30T06:58:43.947Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:58:43.947Z] ---> Running in 5654a10d5f13 [2024-10-30T06:58:44.538Z] Removing intermediate container 5654a10d5f13 [2024-10-30T06:58:44.538Z] ---> b6a7701492e1 [2024-10-30T06:58:44.538Z] Step 21/23 : LABEL arch=arm64 [2024-10-30T06:58:44.538Z] ---> Running in 7e670900b69b [2024-10-30T06:58:44.806Z] Removing intermediate container 7e670900b69b [2024-10-30T06:58:44.806Z] ---> d3568c7d49af [2024-10-30T06:58:44.806Z] Step 22/23 : LABEL git_sha=e5332404101c211199c2a52bd4ae75d54dd119a6 [2024-10-30T06:58:44.806Z] ---> Running in 43257e3ede9d [2024-10-30T06:58:45.075Z] Removing intermediate container 43257e3ede9d [2024-10-30T06:58:45.075Z] ---> a62b77740475 [2024-10-30T06:58:45.075Z] Step 23/23 : LABEL version=0.0.0 [2024-10-30T06:58:45.343Z] ---> Running in b8e928f81528 [2024-10-30T06:58:45.645Z] Removing intermediate container b8e928f81528 [2024-10-30T06:58:45.645Z] ---> f746383b65b9 [2024-10-30T06:58:45.645Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:58:45.645Z] Successfully built f746383b65b9 [2024-10-30T06:58:45.645Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:58:46.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:58:46.179Z] [2024-10-30T06:58:46.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:58:46.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:58:46.553Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T06:58:46.553Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T06:58:46.553Z] 04944245beec: Pulling fs layer [2024-10-30T06:58:46.553Z] 699f458cf7ca: Pulling fs layer [2024-10-30T06:58:46.553Z] 765212b225bb: Pulling fs layer [2024-10-30T06:58:46.553Z] f23df028b6ca: Pulling fs layer [2024-10-30T06:58:46.553Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T06:58:46.553Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T06:58:46.553Z] 765212b225bb: Waiting [2024-10-30T06:58:46.553Z] f23df028b6ca: Waiting [2024-10-30T06:58:46.553Z] d65c8cfc05b1: Waiting [2024-10-30T06:58:46.553Z] 2437ff75d9bd: Waiting [2024-10-30T06:58:46.834Z] 04944245beec: Verifying Checksum [2024-10-30T06:58:46.834Z] 04944245beec: Download complete [2024-10-30T06:58:46.834Z] 765212b225bb: Download complete [2024-10-30T06:58:46.834Z] f23df028b6ca: Download complete [2024-10-30T06:58:46.834Z] d65c8cfc05b1: Download complete [2024-10-30T06:58:47.107Z] 699f458cf7ca: Download complete [2024-10-30T06:58:47.693Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T06:58:47.693Z] 8998bd30e6a1: Download complete [2024-10-30T06:58:50.278Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T06:58:50.278Z] 2437ff75d9bd: Download complete [2024-10-30T06:58:52.863Z] 8998bd30e6a1: Pull complete [2024-10-30T06:58:53.130Z] 04944245beec: Pull complete [2024-10-30T06:58:55.078Z] 699f458cf7ca: Pull complete [2024-10-30T06:58:55.078Z] 765212b225bb: Pull complete [2024-10-30T06:58:56.044Z] f23df028b6ca: Pull complete [2024-10-30T06:58:56.315Z] d65c8cfc05b1: Pull complete [2024-10-30T06:59:14.535Z] 2437ff75d9bd: Pull complete [2024-10-30T06:59:14.535Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T06:59:14.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:59:14.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:59:14.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-24099 does not seem to be running inside a container [2024-10-30T06:59:14.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-30T06:59:18.508Z] $ docker top d6108e54f8e03c966edf1bba4057ff3e0b62c4e64c1e0b5366f1790d73ce07ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:19.369Z] ---> job-cost.sh [2024-10-30T06:59:19.369Z] lf-activate-venv: SKIPPING [2024-10-30T06:59:19.369Z] INFO: No Stack... [2024-10-30T06:59:19.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T06:59:20.602Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:59:21.242Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-10-30T06:59:21.242Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:59:21.304Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [2024-10-30T06:59:21.313Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] did not exist. Created. [2024-10-30T06:59:21.319Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:59:21.980Z] /w/workspace/device-modbus-go/2@tmp/durable-6a2261cc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T06:59:22.630Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T06:59:22.658Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T06:59:22.715Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:59:22.724Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:59:22.751Z] $ docker stop --time=1 d6108e54f8e03c966edf1bba4057ff3e0b62c4e64c1e0b5366f1790d73ce07ca [2024-10-30T06:59:24.371Z] $ docker rm -f --volumes d6108e54f8e03c966edf1bba4057ff3e0b62c4e64c1e0b5366f1790d73ce07ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-30T06:59:24.880Z] provisioning config files... [2024-10-30T06:59:24.887Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config10807775024552326567tmp [Pipeline] { [Pipeline] sh [2024-10-30T06:59:25.187Z] + set +x [2024-10-30T06:59:25.187Z] + + curl -s https://codecov.io/bashbash [2024-10-30T06:59:25.187Z] -s -- [2024-10-30T06:59:25.187Z] [2024-10-30T06:59:25.187Z] _____ _ [2024-10-30T06:59:25.187Z] / ____| | | [2024-10-30T06:59:25.187Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T06:59:25.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T06:59:25.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T06:59:25.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T06:59:25.187Z] Bash-1.0.6 [2024-10-30T06:59:25.187Z] [2024-10-30T06:59:25.187Z] [2024-10-30T06:59:25.187Z] ==> git version 2.25.1 found [2024-10-30T06:59:25.188Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-30T06:59:25.188Z] Release-Date: 2020-01-08 [2024-10-30T06:59:25.188Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-30T06:59:25.188Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T06:59:25.188Z] ==> Jenkins CI detected. [2024-10-30T06:59:25.188Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-586 [2024-10-30T06:59:25.188Z] project root: . [2024-10-30T06:59:25.188Z] --> token set from env [2024-10-30T06:59:25.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T06:59:25.188Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T06:59:25.188Z] ==> Python coveragepy not found [2024-10-30T06:59:25.188Z] ==> Searching for coverage reports in: [2024-10-30T06:59:25.188Z] + . [2024-10-30T06:59:25.188Z] -> Found 1 reports [2024-10-30T06:59:25.188Z] ==> Detecting git/mercurial file structure [2024-10-30T06:59:25.448Z] ==> Reading reports [2024-10-30T06:59:25.448Z] + ./coverage.out bytes=25464 [2024-10-30T06:59:25.448Z] ==> Appending adjustments [2024-10-30T06:59:25.448Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T06:59:25.448Z] + Found adjustments [2024-10-30T06:59:25.448Z] ==> Gzipping contents [2024-10-30T06:59:25.448Z] 4.0K /tmp/codecov.A7fvdz.gz [2024-10-30T06:59:25.448Z] ==> Uploading reports [2024-10-30T06:59:25.448Z] url: https://codecov.io [2024-10-30T06:59:25.448Z] query: branch=PR-586&commit=e5332404101c211199c2a52bd4ae75d54dd119a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-586%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=586&job=&cmd_args= [2024-10-30T06:59:25.448Z] -> Pinging Codecov [2024-10-30T06:59:25.449Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-586&commit=e5332404101c211199c2a52bd4ae75d54dd119a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-586%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=586&job=&cmd_args= [2024-10-30T06:59:25.708Z] -> Uploading to [2024-10-30T06:59:25.708Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/e5332404101c211199c2a52bd4ae75d54dd119a6/ceb30d05-2f95-436c-a8d1-e0941d6b9c26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T065925Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=511c80d7916779f24a408059649552fdf0b20e6cf50f10d44de1dd12b7169a5b [2024-10-30T06:59:25.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:59:25.708Z] Dload Upload Total Spent Left Speed [2024-10-30T06:59:25.966Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 17245 --:--:-- --:--:-- --:--:-- 17245 [2024-10-30T06:59:25.966Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e5332404101c211199c2a52bd4ae75d54dd119a6 [Pipeline] } [2024-10-30T06:59:25.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-30T06:59:26.882Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-586/archives ] [2024-10-30T06:59:26.882Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T06:59:26.882Z] total 16 [2024-10-30T06:59:26.882Z] drwxr-xr-x 3 root root 4096 Oct 30 06:46 . [2024-10-30T06:59:26.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:46 .. [2024-10-30T06:59:26.882Z] drwxr-xr-x 2 root root 4096 Oct 30 06:46 cost [2024-10-30T06:59:26.882Z] -rw-r--r-- 1 root root 88 Oct 30 06:46 cost.csv [2024-10-30T06:59:26.882Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T06:59:26.882Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T06:59:26.882Z] total 16 [2024-10-30T06:59:26.882Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:46 . [2024-10-30T06:59:26.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:46 .. [2024-10-30T06:59:26.882Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 06:46 cost [2024-10-30T06:59:26.882Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 30 06:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:27.177Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:28.041Z] ---> package-listing.sh [2024-10-30T06:59:28.041Z] ++ facter osfamily [2024-10-30T06:59:28.041Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T06:59:28.300Z] + OS_FAMILY=debian [2024-10-30T06:59:28.301Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-586 [2024-10-30T06:59:28.301Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T06:59:28.301Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T06:59:28.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T06:59:28.301Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T06:59:28.301Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-586 ']' [2024-10-30T06:59:28.301Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T06:59:28.301Z] + case "${OS_FAMILY}" in [2024-10-30T06:59:28.301Z] + dpkg -l [2024-10-30T06:59:28.301Z] + grep '^ii' [2024-10-30T06:59:28.301Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T06:59:28.301Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T06:59:28.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T06:59:28.301Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-586 ']' [2024-10-30T06:59:28.301Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-586/archives/ [2024-10-30T06:59:28.301Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-586/archives/ [Pipeline] echo [2024-10-30T06:59:28.315Z] 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-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T06:59:28.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:59:29.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:59:29.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:59:29.246Z] prd-ubuntu20.04-docker-8c-8g-24098 does not seem to be running inside a container [2024-10-30T06:59:29.268Z] $ 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-586/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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T06:59:29.509Z] $ docker top b0e0a44d075da2fe45b9cb8e6cc4846a9b36a1c5295eab5c590fbe7057d97f46 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:59:29.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T06:59:30.148Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T06:59:30.433Z] + ls /var/log/sa-host [2024-10-30T06:59:30.433Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:59:30.608Z] provisioning config files... [2024-10-30T06:59:30.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config5555550459720968920tmp [Pipeline] { [Pipeline] echo [2024-10-30T06:59:30.644Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:30.927Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T06:59:30.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:31.282Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T06:59:31.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:31.570Z] ---> sudo-logs.sh [2024-10-30T06:59:31.570Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T06:59:31.607Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:31.888Z] ---> job-cost.sh [2024-10-30T06:59:31.888Z] lf-activate-venv: SKIPPING [2024-10-30T06:59:31.888Z] DEBUG: total: 0.2199999988079071 [2024-10-30T06:59:31.888Z] INFO: Retrieving Stack Cost... [2024-10-30T06:59:32.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:59:32.406Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T06:59:32.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:59:32.700Z] ---> logs-deploy.sh [2024-10-30T06:59:32.700Z] lf-activate-venv: SKIPPING [2024-10-30T06:59:32.700Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-586/2 [2024-10-30T06:59:32.700Z] INFO: archiving workspace using pattern(s): [2024-10-30T06:59:33.635Z] Archives upload complete. [2024-10-30T06:59:33.635Z] INFO: archiving logs to Nexus