Pull request #581 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 whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 7248720eb6e2bf16815f86cf3de46e0922eeefd9 rather than ef820458f36fdd7995b1e98d4d6cf7071728c9c0 Obtained Jenkinsfile from 7248720eb6e2bf16815f86cf3de46e0922eeefd9 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-ssh13107181341369288833.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-ssh17329588457491167792.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-581/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-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8306602992729558322.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-ssh9598464347368664747.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-581/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-581/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10220356242027272374.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23897 in /w/workspace/xfoundry_device-modbus-go_PR-581 [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-581 # 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/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit ef820458f36fdd7995b1e98d4d6cf7071728c9c0 Merge succeeded, producing 06cac1769c943f43437344af09232b15afca739c Checking out Revision 06cac1769c943f43437344af09232b15afca739c (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f ef820458f36fdd7995b1e98d4d6cf7071728c9c0 # 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 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06cac1769c943f43437344af09232b15afca739c # timeout=10 Commit message: "Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-28T07:15:24.414Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-28T07:15:24.508Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-28T07:15:24.545Z] ========================================================= [2024-10-28T07:15:24.545Z] EdgeX Global Pipelines Version Info [2024-10-28T07:15:24.545Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cfe0685d63c8d47f6d498016c42ba043e1b8bb66 # timeout=10 [2024-10-28T07:15:25.279Z] ------------------- [2024-10-28T07:15:25.279Z] stable info: [2024-10-28T07:15:25.279Z] ------------------- [2024-10-28T07:15:25.279Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-28T07:15:25.279Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-28T07:15:25.279Z] Message: update stable to v1.0.265 [2024-10-28T07:15:25.849Z] ------------------- [2024-10-28T07:15:25.850Z] experimental info: [2024-10-28T07:15:25.850Z] ------------------- [2024-10-28T07:15:25.850Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-28T07:15:25.850Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-28T07:15:25.850Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-28T07:15:25.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-28T07:15:25.959Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-28T07:15:25.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-28T07:15:26.006Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-28T07:15:26.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-28T07:15:26.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-28T07:15:26.084Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-28T07:15:26.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-28T07:15:26.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-28T07:15:26.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-28T07:15:26.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-28T07:15:26.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-28T07:15:26.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-28T07:15:26.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-28T07:15:26.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-28T07:15:26.316Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-28T07:15:26.340Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-28T07:15:26.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-28T07:15:26.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-28T07:15:26.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-28T07:15:26.431Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-28T07:15:26.454Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-28T07:15:26.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-28T07:15:26.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-28T07:15:26.521Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-28T07:15:26.542Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-28T07:15:26.563Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-28T07:15:26.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2024-10-28T07:15:26.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2024-10-28T07:15:26.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2024-10-28T07:15:26.659Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06cac1769c943f43437344af09232b15afca739c [Pipeline] echo [2024-10-28T07:15:26.682Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06cac17 [Pipeline] echo [2024-10-28T07:15:26.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:15:26.771Z] provisioning config files... [2024-10-28T07:15:26.785Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config11006395971650850300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:15:27.129Z] ---> ****-login.sh [2024-10-28T07:15:27.129Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:15:27.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:27.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:27.392Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:27.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:27.392Z] [2024-10-28T07:15:27.392Z] Login Succeeded [2024-10-28T07:15:27.392Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:15:27.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:27.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:27.654Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:27.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:27.654Z] [2024-10-28T07:15:27.654Z] Login Succeeded [2024-10-28T07:15:27.654Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:15:27.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:27.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:27.654Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:27.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:27.654Z] [2024-10-28T07:15:27.654Z] Login Succeeded [2024-10-28T07:15:27.654Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:15:27.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:27.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:27.916Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:27.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:27.916Z] [2024-10-28T07:15:27.916Z] Login Succeeded [2024-10-28T07:15:27.916Z] ****.io [2024-10-28T07:15:27.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:28.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:28.177Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:28.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:28.177Z] [2024-10-28T07:15:28.177Z] Login Succeeded [2024-10-28T07:15:28.177Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:15:28.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-28T07:15:28.614Z] + git rev-list -1 --merges 06cac1769c943f43437344af09232b15afca739c~1..06cac1769c943f43437344af09232b15afca739c [Pipeline] echo [2024-10-28T07:15:28.648Z] -----------> git rev-list -1 --merges 06cac1769c943f43437344af09232b15afca739c~1..06cac1769c943f43437344af09232b15afca739c 06cac1769c943f43437344af09232b15afca739c [2024-10-28T07:15:28.648Z] 06cac1769c943f43437344af09232b15afca739c [false] [Pipeline] sh [2024-10-28T07:15:28.944Z] + git log --format=format:%s -1 06cac1769c943f43437344af09232b15afca739c [Pipeline] echo [2024-10-28T07:15:28.962Z] ========================================================= [2024-10-28T07:15:28.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-28T07:15:28.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:15:29.317Z] + git log --format=format:%s -1 06cac1769c943f43437344af09232b15afca739c [Pipeline] echo [2024-10-28T07:15:29.332Z] [semverPrep] GIT_COMMIT: 06cac1769c943f43437344af09232b15afca739c, Commit Message: Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD [Pipeline] echo [2024-10-28T07:15:29.347Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-28T07:15:29.735Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-28T07:15:29.735Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-28T07:15:29.735Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-28T07:15:29.735Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-28T07:15:29.735Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-28T07:15:29.735Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-28T07:15:29.735Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:15:30.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:15:30.177Z] [2024-10-28T07:15:30.177Z] 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-28T07:15:30.485Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:15:30.485Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-28T07:15:30.485Z] b85a868b505f: Pulling fs layer [2024-10-28T07:15:30.485Z] e2be974225ed: Pulling fs layer [2024-10-28T07:15:30.485Z] 339a4e72a1f5: Pulling fs layer [2024-10-28T07:15:30.485Z] 988bab9f4d93: Pulling fs layer [2024-10-28T07:15:30.485Z] 1469e6f7b9e6: Pulling fs layer [2024-10-28T07:15:30.485Z] eaf3925da568: Pulling fs layer [2024-10-28T07:15:30.485Z] bab4dde63d76: Pulling fs layer [2024-10-28T07:15:30.485Z] bde34c3a00c8: Pulling fs layer [2024-10-28T07:15:30.485Z] b352a97aabf1: Pulling fs layer [2024-10-28T07:15:30.485Z] 4872d77fe225: Pulling fs layer [2024-10-28T07:15:30.485Z] 5851b861e8e6: Pulling fs layer [2024-10-28T07:15:30.485Z] bde34c3a00c8: Waiting [2024-10-28T07:15:30.485Z] 1469e6f7b9e6: Waiting [2024-10-28T07:15:30.485Z] bab4dde63d76: Waiting [2024-10-28T07:15:30.485Z] 988bab9f4d93: Waiting [2024-10-28T07:15:30.485Z] b352a97aabf1: Waiting [2024-10-28T07:15:30.485Z] 5851b861e8e6: Waiting [2024-10-28T07:15:30.485Z] 4872d77fe225: Waiting [2024-10-28T07:15:30.485Z] e2be974225ed: Download complete [2024-10-28T07:15:30.485Z] 988bab9f4d93: Verifying Checksum [2024-10-28T07:15:30.485Z] 988bab9f4d93: Download complete [2024-10-28T07:15:30.746Z] 1469e6f7b9e6: Verifying Checksum [2024-10-28T07:15:30.746Z] 1469e6f7b9e6: Download complete [2024-10-28T07:15:30.746Z] eaf3925da568: Verifying Checksum [2024-10-28T07:15:30.746Z] eaf3925da568: Download complete [2024-10-28T07:15:30.746Z] 339a4e72a1f5: Verifying Checksum [2024-10-28T07:15:30.746Z] 339a4e72a1f5: Download complete [2024-10-28T07:15:30.746Z] bde34c3a00c8: Verifying Checksum [2024-10-28T07:15:30.746Z] bde34c3a00c8: Download complete [2024-10-28T07:15:30.746Z] b352a97aabf1: Verifying Checksum [2024-10-28T07:15:30.746Z] b352a97aabf1: Download complete [2024-10-28T07:15:30.746Z] 4872d77fe225: Verifying Checksum [2024-10-28T07:15:30.746Z] 4872d77fe225: Download complete [2024-10-28T07:15:30.746Z] 5851b861e8e6: Download complete [2024-10-28T07:15:30.746Z] b85a868b505f: Download complete [2024-10-28T07:15:31.006Z] bab4dde63d76: Verifying Checksum [2024-10-28T07:15:31.006Z] bab4dde63d76: Download complete [2024-10-28T07:15:31.948Z] b85a868b505f: Pull complete [2024-10-28T07:15:32.208Z] e2be974225ed: Pull complete [2024-10-28T07:15:32.469Z] 339a4e72a1f5: Pull complete [2024-10-28T07:15:32.731Z] 988bab9f4d93: Pull complete [2024-10-28T07:15:32.991Z] 1469e6f7b9e6: Pull complete [2024-10-28T07:15:32.991Z] eaf3925da568: Pull complete [2024-10-28T07:15:34.900Z] bab4dde63d76: Pull complete [2024-10-28T07:15:34.900Z] bde34c3a00c8: Pull complete [2024-10-28T07:15:35.171Z] b352a97aabf1: Pull complete [2024-10-28T07:15:35.171Z] 4872d77fe225: Pull complete [2024-10-28T07:15:35.171Z] 5851b861e8e6: Pull complete [2024-10-28T07:15:35.171Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-28T07:15:35.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:15:35.171Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:15:35.324Z] prd-ubuntu20.04-docker-8c-8g-23897 does not seem to be running inside a container [2024-10-28T07:15:35.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-28T07:15:37.485Z] $ docker top 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e -eo pid,comm [2024-10-28T07:15:37.545Z] 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-28T07:15:37.545Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-28T07:15:37.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-28T07:15:37.607Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-28T07:15:37.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-28T07:15:37.729Z] $ docker exec 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e ssh-agent [2024-10-28T07:15:37.841Z] SSH_AUTH_SOCK=/tmp/ssh-A6MdXNfQKEK2/agent.33 [2024-10-28T07:15:37.841Z] SSH_AGENT_PID=39 [2024-10-28T07:15:37.848Z] Running ssh-add (command line suppressed) [2024-10-28T07:15:37.956Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_396916438401349524.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_396916438401349524.key) [2024-10-28T07:15:37.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-28T07:15:38.274Z] + git tag --points-at HEAD [Pipeline] } [2024-10-28T07:15:38.287Z] $ docker exec --env ******** --env ******** 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e ssh-agent -k [2024-10-28T07:15:38.393Z] unset SSH_AUTH_SOCK; [2024-10-28T07:15:38.394Z] unset SSH_AGENT_PID; [2024-10-28T07:15:38.394Z] echo Agent pid 39 killed; [2024-10-28T07:15:38.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-28T07:15:38.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-28T07:15:38.454Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-28T07:15:38.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-28T07:15:38.559Z] $ docker exec 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e ssh-agent [2024-10-28T07:15:38.676Z] SSH_AUTH_SOCK=/tmp/ssh-0wgyzASg9AZt/agent.72 [2024-10-28T07:15:38.676Z] SSH_AGENT_PID=78 [2024-10-28T07:15:38.681Z] Running ssh-add (command line suppressed) [2024-10-28T07:15:38.786Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_6591456086252283913.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_6591456086252283913.key) [2024-10-28T07:15:38.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-28T07:15:39.099Z] + git semver init [2024-10-28T07:15:39.360Z] 2024-10-28 07:15:39,287 [run_init] DEBUG init version:0.0.0 force:False [2024-10-28T07:15:39.360Z] 2024-10-28 07:15:39,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-28T07:15:39.360Z] 2024-10-28 07:15:39,288 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-28T07:15:39.360Z] 2024-10-28 07:15:39,288 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-581/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581, universal_newlines=False, shell=None, istream=None) [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,232 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.git/info/exclude [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,233 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 with force:False [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,233 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,235 [execute] INFO git cat-file --batch-check [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,243 [execute] INFO git cat-file --batch [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-28T07:15:40.300Z] 2024-10-28 07:15:40,248 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-28T07:15:40.300Z] 0.0.0 [Pipeline] } [2024-10-28T07:15:40.307Z] $ docker exec --env ******** --env ******** 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e ssh-agent -k [2024-10-28T07:15:40.411Z] unset SSH_AUTH_SOCK; [2024-10-28T07:15:40.411Z] unset SSH_AGENT_PID; [2024-10-28T07:15:40.411Z] echo Agent pid 78 killed; [2024-10-28T07:15:40.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-28T07:15:40.761Z] + git semver [Pipeline] } [2024-10-28T07:15:41.034Z] $ docker stop --time=1 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e [2024-10-28T07:15:42.338Z] $ docker rm -f --volumes 0b51a1442705acc8f2e3f942e61f6268ffef717057607c60296fb6c67e6f948e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-28T07:15:42.700Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-28T07:15:42.948Z] Stashed 1 file(s) [Pipeline] echo [2024-10-28T07:15:42.953Z] [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-28T07:15:43.149Z] provisioning config files... [2024-10-28T07:15:43.159Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config8728564192636084183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:15:43.467Z] ---> ****-login.sh [2024-10-28T07:15:43.467Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:15:43.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:43.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:43.468Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:43.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:43.468Z] [2024-10-28T07:15:43.468Z] Login Succeeded [2024-10-28T07:15:43.468Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:15:43.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:43.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:43.468Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:43.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:43.468Z] [2024-10-28T07:15:43.468Z] Login Succeeded [2024-10-28T07:15:43.468Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:15:43.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:43.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:43.729Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:43.729Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:43.729Z] [2024-10-28T07:15:43.729Z] Login Succeeded [2024-10-28T07:15:43.729Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:15:43.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:43.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:43.729Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:43.729Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:43.729Z] [2024-10-28T07:15:43.729Z] Login Succeeded [2024-10-28T07:15:43.729Z] ****.io [2024-10-28T07:15:43.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:15:43.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:15:43.990Z] Configure a credential helper to remove this warning. See [2024-10-28T07:15:43.990Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:15:43.990Z] [2024-10-28T07:15:43.990Z] Login Succeeded [2024-10-28T07:15:43.990Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:15:43.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-28T07:15:44.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:15:44.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:15:44.130Z] ========================================================= [2024-10-28T07:15:44.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-28T07:15:44.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:15:44.477Z] + 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-28T07:15:44.477Z] Sending build context to Docker daemon 18.01MB [2024-10-28T07:15:44.477Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:15:44.477Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-28T07:15:44.737Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-28T07:15:44.737Z] 43c4264eed91: Pulling fs layer [2024-10-28T07:15:44.737Z] 4cc291be95ef: Pulling fs layer [2024-10-28T07:15:44.737Z] 2ac1f1163629: Pulling fs layer [2024-10-28T07:15:44.737Z] 5c3c966382ef: Pulling fs layer [2024-10-28T07:15:44.737Z] 4f4fb700ef54: Pulling fs layer [2024-10-28T07:15:44.737Z] 5d5c8e513c77: Pulling fs layer [2024-10-28T07:15:44.737Z] 9f66e0745190: Pulling fs layer [2024-10-28T07:15:44.737Z] f49a43e4bbc0: Pulling fs layer [2024-10-28T07:15:44.737Z] 561ebcabdf7f: Pulling fs layer [2024-10-28T07:15:44.737Z] 5c3c966382ef: Waiting [2024-10-28T07:15:44.737Z] 4f4fb700ef54: Waiting [2024-10-28T07:15:44.737Z] 5d5c8e513c77: Waiting [2024-10-28T07:15:44.737Z] 9f66e0745190: Waiting [2024-10-28T07:15:44.737Z] f49a43e4bbc0: Waiting [2024-10-28T07:15:44.737Z] 561ebcabdf7f: Waiting [2024-10-28T07:15:44.737Z] 4cc291be95ef: Verifying Checksum [2024-10-28T07:15:44.737Z] 5c3c966382ef: Verifying Checksum [2024-10-28T07:15:44.737Z] 5c3c966382ef: Download complete [2024-10-28T07:15:44.737Z] 4f4fb700ef54: Verifying Checksum [2024-10-28T07:15:44.737Z] 4f4fb700ef54: Download complete [2024-10-28T07:15:44.737Z] 5d5c8e513c77: Verifying Checksum [2024-10-28T07:15:44.737Z] 5d5c8e513c77: Download complete [2024-10-28T07:15:44.737Z] 43c4264eed91: Verifying Checksum [2024-10-28T07:15:44.737Z] 43c4264eed91: Download complete [2024-10-28T07:15:44.737Z] 9f66e0745190: Verifying Checksum [2024-10-28T07:15:44.737Z] 9f66e0745190: Download complete [2024-10-28T07:15:44.737Z] 43c4264eed91: Pull complete [2024-10-28T07:15:44.997Z] 561ebcabdf7f: Download complete [2024-10-28T07:15:44.997Z] 4cc291be95ef: Pull complete [2024-10-28T07:15:45.261Z] 2ac1f1163629: Download complete [2024-10-28T07:15:45.522Z] f49a43e4bbc0: Download complete [2024-10-28T07:15:49.725Z] 2ac1f1163629: Pull complete [2024-10-28T07:15:49.725Z] 5c3c966382ef: Pull complete [2024-10-28T07:15:49.725Z] 4f4fb700ef54: Pull complete [2024-10-28T07:15:49.725Z] 5d5c8e513c77: Pull complete [2024-10-28T07:15:49.725Z] 9f66e0745190: Pull complete [2024-10-28T07:15:51.627Z] f49a43e4bbc0: Pull complete [2024-10-28T07:15:51.887Z] 561ebcabdf7f: Pull complete [2024-10-28T07:15:51.887Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-28T07:15:52.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-28T07:15:52.146Z] ---> 3a752c3f9dda [2024-10-28T07:15:52.146Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:15:54.685Z] ---> Running in 23c0607e74eb [2024-10-28T07:15:54.685Z] Removing intermediate container 23c0607e74eb [2024-10-28T07:15:54.685Z] ---> 103230f357b1 [2024-10-28T07:15:54.685Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:15:54.685Z] ---> Running in 72f8c4be5e02 [2024-10-28T07:15:54.685Z] Removing intermediate container 72f8c4be5e02 [2024-10-28T07:15:54.685Z] ---> f72a67cfe117 [2024-10-28T07:15:54.685Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:15:54.685Z] ---> Running in db3ac55b84a1 [2024-10-28T07:15:54.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:15:55.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:15:55.462Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-28T07:15:55.726Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-28T07:15:55.726Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-28T07:15:55.726Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:15:55.726Z] OK: 252 MiB in 62 packages [2024-10-28T07:15:56.303Z] Removing intermediate container db3ac55b84a1 [2024-10-28T07:15:56.303Z] ---> 61ff9ecae55a [2024-10-28T07:15:56.303Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-28T07:15:56.303Z] ---> Running in 113778c7b554 [2024-10-28T07:15:56.303Z] Removing intermediate container 113778c7b554 [2024-10-28T07:15:56.303Z] ---> cc486fe960fc [2024-10-28T07:15:56.303Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-28T07:15:56.564Z] ---> 23a5021a1420 [2024-10-28T07:15:56.564Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:15:56.564Z] ---> Running in bceadab188f9 [2024-10-28T07:15:58.094Z] Still waiting to schedule task [2024-10-28T07:15:58.095Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-28T07:17:04.342Z] Removing intermediate container bceadab188f9 [2024-10-28T07:17:04.342Z] ---> 19372c42f5af [2024-10-28T07:17:04.342Z] Step 9/10 : COPY . . [2024-10-28T07:17:04.342Z] ---> 488952f04929 [2024-10-28T07:17:04.342Z] Step 10/10 : RUN ${MAKE} [2024-10-28T07:17:04.342Z] ---> Running in 8174afa8604e [2024-10-28T07:17:04.342Z] noop [2024-10-28T07:17:04.342Z] Removing intermediate container 8174afa8604e [2024-10-28T07:17:04.342Z] ---> 825552dfd7c6 [2024-10-28T07:17:04.342Z] Successfully built 825552dfd7c6 [2024-10-28T07:17:04.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:17:04.686Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-28T07:17:04.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:17:04.760Z] prd-ubuntu20.04-docker-8c-8g-23897 does not seem to be running inside a container [2024-10-28T07:17:04.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@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 ******** ci-base-image-x86_64 cat [2024-10-28T07:17:05.148Z] $ docker top a129f9fd860a28be6e0a2965c90e5ce858e3e76fe9d9fa0b8d44964cb9a919a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:17:05.498Z] + go version [2024-10-28T07:17:05.499Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-28T07:17:05.509Z] $ docker stop --time=1 a129f9fd860a28be6e0a2965c90e5ce858e3e76fe9d9fa0b8d44964cb9a919a5 [2024-10-28T07:17:06.815Z] $ docker rm -f --volumes a129f9fd860a28be6e0a2965c90e5ce858e3e76fe9d9fa0b8d44964cb9a919a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:17:07.270Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-28T07:17:07.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:17:07.360Z] prd-ubuntu20.04-docker-8c-8g-23897 does not seem to be running inside a container [2024-10-28T07:17:07.396Z] $ 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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@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 ******** ci-base-image-x86_64 cat [2024-10-28T07:17:07.738Z] $ docker top d718357e4a4139fc32cf49d6014de525b58aab97bb5c429911866118edaece4e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:17:08.098Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] fileExists [Pipeline] sh [2024-10-28T07:17:08.408Z] + make test [2024-10-28T07:17:08.408Z] go test ./... -coverprofile=coverage.out [2024-10-28T07:17:10.313Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-28T07:17:32.247Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-28T07:17:32.247Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements [2024-10-28T07:17:33.928Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23898 in /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] { [Pipeline] ws [2024-10-28T07:17:33.947Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2024-10-28T07:17:37.011Z] The recommended git tool is: git [2024-10-28T07:17:41.948Z] using credential edgex-jenkins-ssh [2024-10-28T07:17:41.979Z] Cloning the remote Git repository [2024-10-28T07:17:42.230Z] go vet ./... [2024-10-28T07:17:42.034Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:17:42.145Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2024-10-28T07:17:42.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:17:42.346Z] > git --version # timeout=10 [2024-10-28T07:17:42.370Z] > git --version # 'git version 2.25.1' [2024-10-28T07:17:42.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:17:42.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-28T07:17:44.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-28T07:17:44.515Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-28T07:17:45.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-28T07:17:45.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:17:45.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:17:45.672Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-28T07:17:46.218Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit ef820458f36fdd7995b1e98d4d6cf7071728c9c0 [2024-10-28T07:17:46.567Z] Merge succeeded, producing 3659de257de8445bf2738d26d8c449ebf30ccefd [2024-10-28T07:17:46.567Z] Checking out Revision 3659de257de8445bf2738d26d8c449ebf30ccefd (PR-581) [2024-10-28T07:17:46.235Z] > git config core.sparsecheckout # timeout=10 [2024-10-28T07:17:46.298Z] > git checkout -f ef820458f36fdd7995b1e98d4d6cf7071728c9c0 # timeout=10 [2024-10-28T07:17:46.396Z] > git remote # timeout=10 [2024-10-28T07:17:46.421Z] > git config --get remote.origin.url # timeout=10 [2024-10-28T07:17:46.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:17:46.474Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-28T07:17:46.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-28T07:17:46.572Z] > git config core.sparsecheckout # timeout=10 [2024-10-28T07:17:46.596Z] > git checkout -f 3659de257de8445bf2738d26d8c449ebf30ccefd # timeout=10 [2024-10-28T07:17:48.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-28T07:17:48.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-28T07:17:48.804Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-28T07:17:48.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-28T07:17:48.834Z] $ docker stop --time=1 d718357e4a4139fc32cf49d6014de525b58aab97bb5c429911866118edaece4e [2024-10-28T07:17:50.189Z] Commit message: "Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD" [2024-10-28T07:17:50.216Z] First time build. Skipping changelog. [2024-10-28T07:17:50.194Z] > git rev-list --no-walk cfe0685d63c8d47f6d498016c42ba043e1b8bb66 # timeout=10 [2024-10-28T07:17:51.242Z] $ docker rm -f --volumes d718357e4a4139fc32cf49d6014de525b58aab97bb5c429911866118edaece4e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:17:51.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-28T07:17:51.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-28T07:17:52.203Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-28T07:17:52.204Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-28T07:17:52.204Z] Dload Upload Total Spent Left Speed [2024-10-28T07:17:52.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12828 86 11015 0 0 89552 0 --:--:-- --:--:-- --:--:-- 89552 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [Pipeline] sh [2024-10-28T07:17:52.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-28T07:17:52.586Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-28T07:17:52.822Z] + ls -al . [2024-10-28T07:17:52.822Z] total 272 [2024-10-28T07:17:52.822Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 07:17 . [2024-10-28T07:17:52.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 07:15 .. [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 07:15 .dockerignore [2024-10-28T07:17:52.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:17 .git [2024-10-28T07:17:52.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:15 .github [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 28 07:15 .gitignore [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 28 07:15 .golangci.yml [2024-10-28T07:17:52.822Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 07:15 .semver [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 28 07:15 Attribution.txt [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 28 07:15 CHANGELOG.md [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 28 07:15 Dockerfile [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 07:15 GOVERNANCE.md [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 28 07:15 Jenkinsfile [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 07:15 LICENSE [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 28 07:15 Makefile [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 28 07:15 OWNERS.md [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 28 07:15 README.md [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 07:15 VERSION [2024-10-28T07:17:52.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:15 bin [2024-10-28T07:17:52.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:15 cmd [2024-10-28T07:17:52.822Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 28 07:17 coverage.out [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 28 07:15 go.mod [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 28 07:15 go.sum [2024-10-28T07:17:52.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:15 internal [2024-10-28T07:17:52.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:15 simulator [2024-10-28T07:17:52.822Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 28 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:17:52.920Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-28T07:17:52.920Z] + sudo tee /etc/docker/daemon.new [2024-10-28T07:17:52.920Z] { [2024-10-28T07:17:52.920Z] "registry-mirrors": [ [2024-10-28T07:17:52.920Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-28T07:17:52.920Z] ], [2024-10-28T07:17:52.920Z] "bip": "10.250.0.254/24", [2024-10-28T07:17:52.920Z] "hosts": [ [2024-10-28T07:17:52.920Z] "tcp://0.0.0.0:5555", [2024-10-28T07:17:52.920Z] "unix:///var/run/docker.sock" [2024-10-28T07:17:52.920Z] ], [2024-10-28T07:17:52.920Z] "mtu": 1458, [2024-10-28T07:17:52.920Z] "selinux-enabled": true, [2024-10-28T07:17:52.920Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-28T07:17:52.920Z] } [Pipeline] sh [2024-10-28T07:17:53.149Z] + 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=06cac1769c943f43437344af09232b15afca739c --label arch=amd64 --label version=0.0.0 . [2024-10-28T07:17:53.149Z] Sending build context to Docker daemon 18.04MB [2024-10-28T07:17:53.149Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:17:53.149Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-28T07:17:53.149Z] ---> 825552dfd7c6 [2024-10-28T07:17:53.149Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:17:53.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-28T07:17:53.411Z] ---> Running in f3f869b9b594 [2024-10-28T07:17:53.411Z] Removing intermediate container f3f869b9b594 [2024-10-28T07:17:53.411Z] ---> f754d036cef8 [2024-10-28T07:17:53.411Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:17:53.411Z] ---> Running in c65a57f1fc14 [2024-10-28T07:17:53.581Z] + sudo service docker restart [2024-10-28T07:17:53.672Z] Removing intermediate container c65a57f1fc14 [2024-10-28T07:17:53.672Z] ---> f5f600fa0bf1 [2024-10-28T07:17:53.672Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:17:53.672Z] ---> Running in d09effccfbcd [2024-10-28T07:17:53.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:17:54.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:17:54.453Z] OK: 252 MiB in 62 packages [2024-10-28T07:17:54.715Z] Removing intermediate container d09effccfbcd [2024-10-28T07:17:54.715Z] ---> d3a68e0f0304 [2024-10-28T07:17:54.715Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-28T07:17:54.715Z] ---> Running in d6c92aacb5bb [2024-10-28T07:17:54.976Z] Removing intermediate container d6c92aacb5bb [2024-10-28T07:17:54.976Z] ---> fdfcce835869 [2024-10-28T07:17:54.976Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-28T07:17:54.976Z] ---> 62c59c06b8d5 [2024-10-28T07:17:54.976Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:17:54.976Z] ---> Running in ab2b1490e61e [2024-10-28T07:17:55.916Z] Removing intermediate container ab2b1490e61e [2024-10-28T07:17:55.916Z] ---> 4d17c6c5db42 [2024-10-28T07:17:55.916Z] Step 9/23 : COPY . . [2024-10-28T07:17:56.177Z] ---> 77aed4770e36 [2024-10-28T07:17:56.177Z] Step 10/23 : RUN ${MAKE} [2024-10-28T07:17:56.177Z] ---> Running in c0200c2e3355 [2024-10-28T07:17:56.445Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:18:11.878Z] provisioning config files... [2024-10-28T07:18:11.914Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config11478852726248245527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:18:12.384Z] ---> ****-login.sh [2024-10-28T07:18:12.384Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:18:12.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:18:12.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:18:12.972Z] Configure a credential helper to remove this warning. See [2024-10-28T07:18:12.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:18:12.972Z] [2024-10-28T07:18:12.972Z] Login Succeeded [2024-10-28T07:18:12.972Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:18:13.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:18:13.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:18:13.241Z] Configure a credential helper to remove this warning. See [2024-10-28T07:18:13.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:18:13.241Z] [2024-10-28T07:18:13.241Z] Login Succeeded [2024-10-28T07:18:13.241Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:18:13.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:18:13.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:18:13.775Z] Configure a credential helper to remove this warning. See [2024-10-28T07:18:13.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:18:13.775Z] [2024-10-28T07:18:13.775Z] Login Succeeded [2024-10-28T07:18:13.775Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:18:14.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:18:14.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:18:14.045Z] Configure a credential helper to remove this warning. See [2024-10-28T07:18:14.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:18:14.045Z] [2024-10-28T07:18:14.045Z] Login Succeeded [2024-10-28T07:18:14.045Z] ****.io [2024-10-28T07:18:14.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:18:14.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:18:14.589Z] Configure a credential helper to remove this warning. See [2024-10-28T07:18:14.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:18:14.589Z] [2024-10-28T07:18:14.589Z] Login Succeeded [2024-10-28T07:18:14.589Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:18:14.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-28T07:18:14.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:18:14.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:18:14.944Z] ========================================================= [2024-10-28T07:18:14.944Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-28T07:18:14.944Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:18:15.322Z] + 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-28T07:18:15.907Z] Sending build context to Docker daemon 9.162MB [2024-10-28T07:18:15.907Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:18:15.907Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-28T07:18:15.907Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-28T07:18:15.907Z] cf04c63912e1: Pulling fs layer [2024-10-28T07:18:15.907Z] 55b35a11ae5e: Pulling fs layer [2024-10-28T07:18:15.907Z] a37a00ec5f00: Pulling fs layer [2024-10-28T07:18:15.907Z] 50b3750afda1: Pulling fs layer [2024-10-28T07:18:15.907Z] 4f4fb700ef54: Pulling fs layer [2024-10-28T07:18:15.907Z] 80978eb59214: Pulling fs layer [2024-10-28T07:18:15.907Z] c9f46d7d2bd2: Pulling fs layer [2024-10-28T07:18:15.907Z] c5a475d317c9: Pulling fs layer [2024-10-28T07:18:15.907Z] 4f4fb700ef54: Waiting [2024-10-28T07:18:15.907Z] 80978eb59214: Waiting [2024-10-28T07:18:15.907Z] c9f46d7d2bd2: Waiting [2024-10-28T07:18:15.907Z] c5a475d317c9: Waiting [2024-10-28T07:18:15.907Z] 50b3750afda1: Waiting [2024-10-28T07:18:15.907Z] 55b35a11ae5e: Verifying Checksum [2024-10-28T07:18:15.907Z] 55b35a11ae5e: Download complete [2024-10-28T07:18:16.174Z] 50b3750afda1: Verifying Checksum [2024-10-28T07:18:16.174Z] 50b3750afda1: Download complete [2024-10-28T07:18:16.174Z] 4f4fb700ef54: Verifying Checksum [2024-10-28T07:18:16.174Z] 4f4fb700ef54: Download complete [2024-10-28T07:18:16.174Z] 80978eb59214: Verifying Checksum [2024-10-28T07:18:16.174Z] 80978eb59214: Download complete [2024-10-28T07:18:16.174Z] cf04c63912e1: Verifying Checksum [2024-10-28T07:18:16.174Z] cf04c63912e1: Download complete [2024-10-28T07:18:16.843Z] c5a475d317c9: Verifying Checksum [2024-10-28T07:18:16.843Z] c5a475d317c9: Download complete [2024-10-28T07:18:17.442Z] cf04c63912e1: Pull complete [2024-10-28T07:18:18.415Z] 55b35a11ae5e: Pull complete [2024-10-28T07:18:18.683Z] a37a00ec5f00: Verifying Checksum [2024-10-28T07:18:18.683Z] a37a00ec5f00: Download complete [2024-10-28T07:18:19.644Z] c9f46d7d2bd2: Verifying Checksum [2024-10-28T07:18:19.644Z] c9f46d7d2bd2: Download complete [2024-10-28T07:18:28.552Z] Removing intermediate container c0200c2e3355 [2024-10-28T07:18:28.552Z] ---> 6ee7e1f5db28 [2024-10-28T07:18:28.552Z] Step 11/23 : FROM alpine:3.20 [2024-10-28T07:18:28.552Z] 3.20: Pulling from library/alpine [2024-10-28T07:18:28.552Z] 43c4264eed91: Already exists [2024-10-28T07:18:28.552Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-28T07:18:28.552Z] Status: Downloaded newer image for alpine:3.20 [2024-10-28T07:18:28.552Z] ---> 91ef0af61f39 [2024-10-28T07:18:28.552Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-28T07:18:28.552Z] ---> Running in 6d838df0280d [2024-10-28T07:18:28.811Z] Removing intermediate container 6d838df0280d [2024-10-28T07:18:28.811Z] ---> 7e0095110aa8 [2024-10-28T07:18:28.811Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-28T07:18:28.811Z] ---> Running in b78a4ff8468e [2024-10-28T07:18:29.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:29.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:29.590Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-28T07:18:29.591Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:18:29.591Z] OK: 8 MiB in 15 packages [2024-10-28T07:18:30.160Z] Removing intermediate container b78a4ff8468e [2024-10-28T07:18:30.160Z] ---> 49a4535f8bb6 [2024-10-28T07:18:30.160Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-28T07:18:30.160Z] ---> Running in f08026af4636 [2024-10-28T07:18:30.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:30.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:30.678Z] Upgrading critical system libraries and apk-tools: [2024-10-28T07:18:30.678Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-28T07:18:30.678Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:18:30.678Z] Continuing the upgrade transaction with new apk-tools: [2024-10-28T07:18:30.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:30.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:18:31.198Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:18:31.198Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:18:31.198Z] OK: 8 MiB in 15 packages [2024-10-28T07:18:31.765Z] Removing intermediate container f08026af4636 [2024-10-28T07:18:31.765Z] ---> c3f9ce5dd582 [2024-10-28T07:18:31.765Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-28T07:18:32.709Z] ---> 690e33b1fe24 [2024-10-28T07:18:32.709Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-28T07:18:32.709Z] ---> c1c05828e6e1 [2024-10-28T07:18:32.709Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-28T07:18:32.968Z] ---> 726c44aa99f6 [2024-10-28T07:18:32.968Z] Step 18/23 : EXPOSE 59901 [2024-10-28T07:18:32.968Z] ---> Running in f89a6c2234b1 [2024-10-28T07:18:32.968Z] Removing intermediate container f89a6c2234b1 [2024-10-28T07:18:32.968Z] ---> 0b230984740c [2024-10-28T07:18:32.968Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-28T07:18:32.968Z] ---> Running in f6c95c06e1d9 [2024-10-28T07:18:33.228Z] Removing intermediate container f6c95c06e1d9 [2024-10-28T07:18:33.228Z] ---> b4333213a3ad [2024-10-28T07:18:33.228Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-28T07:18:33.228Z] ---> Running in 4ea834615b04 [2024-10-28T07:18:33.228Z] Removing intermediate container 4ea834615b04 [2024-10-28T07:18:33.228Z] ---> 591032933f46 [2024-10-28T07:18:33.228Z] Step 21/23 : LABEL arch=amd64 [2024-10-28T07:18:33.228Z] ---> Running in 912fb8e657d8 [2024-10-28T07:18:33.487Z] Removing intermediate container 912fb8e657d8 [2024-10-28T07:18:33.487Z] ---> 4432fd072df5 [2024-10-28T07:18:33.487Z] Step 22/23 : LABEL git_sha=06cac1769c943f43437344af09232b15afca739c [2024-10-28T07:18:33.487Z] ---> Running in f50ea51dfaa7 [2024-10-28T07:18:33.487Z] Removing intermediate container f50ea51dfaa7 [2024-10-28T07:18:33.487Z] ---> 3c8881ab8fc6 [2024-10-28T07:18:33.487Z] Step 23/23 : LABEL version=0.0.0 [2024-10-28T07:18:33.487Z] ---> Running in b3c829e0ed9c [2024-10-28T07:18:33.487Z] Removing intermediate container b3c829e0ed9c [2024-10-28T07:18:33.487Z] ---> db015dd2429c [2024-10-28T07:18:33.487Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-28T07:18:33.746Z] Successfully built db015dd2429c [2024-10-28T07:18:33.746Z] 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-28T07:18:34.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:18:34.262Z] [2024-10-28T07:18:34.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:18:34.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:18:34.570Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-28T07:18:34.570Z] 5eb5b503b376: Pulling fs layer [2024-10-28T07:18:34.570Z] 5c69ac0246d0: Pulling fs layer [2024-10-28T07:18:34.570Z] ec43610c2a17: Pulling fs layer [2024-10-28T07:18:34.570Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-28T07:18:34.570Z] 33b1e0a273af: Pulling fs layer [2024-10-28T07:18:34.570Z] 5d3b04190fa2: Pulling fs layer [2024-10-28T07:18:34.570Z] 2f39f015ded8: Pulling fs layer [2024-10-28T07:18:34.570Z] 5d3b04190fa2: Waiting [2024-10-28T07:18:34.570Z] 3a2ae6a8a46f: Waiting [2024-10-28T07:18:34.570Z] 2f39f015ded8: Waiting [2024-10-28T07:18:34.570Z] 33b1e0a273af: Waiting [2024-10-28T07:18:34.570Z] 5c69ac0246d0: Download complete [2024-10-28T07:18:34.570Z] 3a2ae6a8a46f: Download complete [2024-10-28T07:18:34.570Z] 33b1e0a273af: Verifying Checksum [2024-10-28T07:18:34.570Z] 33b1e0a273af: Download complete [2024-10-28T07:18:34.570Z] 5d3b04190fa2: Verifying Checksum [2024-10-28T07:18:34.570Z] 5d3b04190fa2: Download complete [2024-10-28T07:18:34.570Z] ec43610c2a17: Verifying Checksum [2024-10-28T07:18:34.570Z] ec43610c2a17: Download complete [2024-10-28T07:18:34.828Z] 5eb5b503b376: Verifying Checksum [2024-10-28T07:18:34.828Z] 5eb5b503b376: Download complete [2024-10-28T07:18:35.396Z] 2f39f015ded8: Verifying Checksum [2024-10-28T07:18:35.396Z] 2f39f015ded8: Download complete [2024-10-28T07:18:35.966Z] 5eb5b503b376: Pull complete [2024-10-28T07:18:36.225Z] 5c69ac0246d0: Pull complete [2024-10-28T07:18:36.484Z] ec43610c2a17: Pull complete [2024-10-28T07:18:36.748Z] 3a2ae6a8a46f: Pull complete [2024-10-28T07:18:36.748Z] 33b1e0a273af: Pull complete [2024-10-28T07:18:37.007Z] 5d3b04190fa2: Pull complete [2024-10-28T07:18:37.876Z] a37a00ec5f00: Pull complete [2024-10-28T07:18:38.147Z] 50b3750afda1: Pull complete [2024-10-28T07:18:38.420Z] 4f4fb700ef54: Pull complete [2024-10-28T07:18:38.688Z] 80978eb59214: Pull complete [2024-10-28T07:18:41.190Z] 2f39f015ded8: Pull complete [2024-10-28T07:18:41.190Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-28T07:18:41.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:18:41.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:18:41.291Z] prd-ubuntu20.04-docker-8c-8g-23897 does not seem to be running inside a container [2024-10-28T07:18:41.318Z] $ 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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-28T07:18:43.723Z] $ docker top 3ac7b855d275edb902c43f9f971fc5b471e137bd3b7a57ed8fb1e04d56276de7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:18:44.140Z] ---> job-cost.sh [2024-10-28T07:18:44.140Z] lf-activate-venv: SKIPPING [2024-10-28T07:18:44.140Z] INFO: No Stack... [2024-10-28T07:18:44.399Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-28T07:18:44.659Z] INFO: Archiving Costs [Pipeline] sh [2024-10-28T07:18:44.949Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-581/archives/cost.csv [2024-10-28T07:18:44.950Z] + cut -d, -f6 [Pipeline] lock [2024-10-28T07:18:44.962Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [2024-10-28T07:18:44.974Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] did not exist. Created. [2024-10-28T07:18:44.982Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-28T07:18:45.297Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-28T07:18:45.333Z] Stashed 1 file(s) [Pipeline] } [2024-10-28T07:18:45.341Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-28T07:18:45.360Z] $ docker stop --time=1 3ac7b855d275edb902c43f9f971fc5b471e137bd3b7a57ed8fb1e04d56276de7 [2024-10-28T07:18:46.522Z] $ docker rm -f --volumes 3ac7b855d275edb902c43f9f971fc5b471e137bd3b7a57ed8fb1e04d56276de7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-28T07:18:46.913Z] c9f46d7d2bd2: Pull complete [2024-10-28T07:18:48.315Z] c5a475d317c9: Pull complete [2024-10-28T07:18:48.315Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-28T07:18:48.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-28T07:18:48.315Z] ---> be29e6b0f0d4 [2024-10-28T07:18:48.315Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:18:49.724Z] ---> Running in d6c5cee711df [2024-10-28T07:18:49.999Z] Removing intermediate container d6c5cee711df [2024-10-28T07:18:49.999Z] ---> b61020bf327c [2024-10-28T07:18:49.999Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:18:49.999Z] ---> Running in 181f89309d2f [2024-10-28T07:18:50.272Z] Removing intermediate container 181f89309d2f [2024-10-28T07:18:50.272Z] ---> 6f47d3386687 [2024-10-28T07:18:50.272Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:18:50.547Z] ---> Running in eeea55e98609 [2024-10-28T07:18:51.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:18:51.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:18:53.183Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-28T07:18:53.451Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-28T07:18:53.451Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-28T07:18:53.451Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:18:53.451Z] OK: 244 MiB in 62 packages [2024-10-28T07:18:54.868Z] Removing intermediate container eeea55e98609 [2024-10-28T07:18:54.868Z] ---> fb1550ec48de [2024-10-28T07:18:54.868Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-28T07:18:55.139Z] ---> Running in 7eab45af16c5 [2024-10-28T07:18:55.408Z] Removing intermediate container 7eab45af16c5 [2024-10-28T07:18:55.408Z] ---> bd08af28b590 [2024-10-28T07:18:55.408Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-28T07:18:55.992Z] ---> 236f6681c07a [2024-10-28T07:18:55.992Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:18:55.992Z] ---> Running in c9f440001f1a [2024-10-28T07:20:47.650Z] Removing intermediate container c9f440001f1a [2024-10-28T07:20:47.650Z] ---> de6bf5828389 [2024-10-28T07:20:47.650Z] Step 9/10 : COPY . . [2024-10-28T07:20:47.650Z] ---> 593957140c97 [2024-10-28T07:20:47.650Z] Step 10/10 : RUN ${MAKE} [2024-10-28T07:20:47.650Z] ---> Running in 0bafd5cf29d4 [2024-10-28T07:20:47.650Z] noop [2024-10-28T07:20:47.650Z] Removing intermediate container 0bafd5cf29d4 [2024-10-28T07:20:47.650Z] ---> 268eb1c183d6 [2024-10-28T07:20:47.650Z] Successfully built 268eb1c183d6 [2024-10-28T07:20:47.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:20:48.017Z] + docker inspect -f . ci-base-image-arm64 [2024-10-28T07:20:48.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:20:48.247Z] prd-ubuntu20.04-docker-arm64-4c-16g-23898 does not seem to be running inside a container [2024-10-28T07:20:48.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** ci-base-image-arm64 cat [2024-10-28T07:20:49.840Z] $ docker top febf150cc65d3da458ea3c98f66f4215e0fd4e90893f34086224a0e58aa63bd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:20:50.681Z] + go version [2024-10-28T07:20:50.681Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-28T07:20:50.699Z] $ docker stop --time=1 febf150cc65d3da458ea3c98f66f4215e0fd4e90893f34086224a0e58aa63bd1 [2024-10-28T07:20:52.343Z] $ docker rm -f --volumes febf150cc65d3da458ea3c98f66f4215e0fd4e90893f34086224a0e58aa63bd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:20:52.921Z] + docker inspect -f . ci-base-image-arm64 [2024-10-28T07:20:52.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:20:53.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-23898 does not seem to be running inside a container [2024-10-28T07:20:53.178Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** ci-base-image-arm64 cat [2024-10-28T07:20:54.343Z] $ docker top 3632ecb2922cba78eedb217f57ccf1ea8ffc883167e7b63499ce0f5278155be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:20:55.049Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh [2024-10-28T07:20:55.389Z] + make test [2024-10-28T07:20:55.389Z] go test ./... -coverprofile=coverage.out [2024-10-28T07:21:02.032Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-28T07:24:23.796Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-28T07:24:23.796Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 48.0% of statements [2024-10-28T07:24:23.796Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-28T07:24:23.796Z] go vet ./... [2024-10-28T07:25:02.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-28T07:25:02.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-28T07:25:02.688Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-28T07:25:02.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-28T07:25:02.772Z] $ docker stop --time=1 3632ecb2922cba78eedb217f57ccf1ea8ffc883167e7b63499ce0f5278155be1 [2024-10-28T07:25:04.671Z] $ docker rm -f --volumes 3632ecb2922cba78eedb217f57ccf1ea8ffc883167e7b63499ce0f5278155be1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-28T07:25:06.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-28T07:25:06.232Z] Warning: overwriting stash ‘coverage-report’ [2024-10-28T07:25:06.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:25:07.131Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-28T07:25:07.440Z] + ls -al . [2024-10-28T07:25:07.440Z] total 268 [2024-10-28T07:25:07.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:20 . [2024-10-28T07:25:07.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 07:17 .. [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 07:17 .dockerignore [2024-10-28T07:25:07.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:17 .git [2024-10-28T07:25:07.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:17 .github [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 28 07:17 .gitignore [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 28 07:17 .golangci.yml [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 28 07:17 Attribution.txt [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 28 07:17 CHANGELOG.md [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 28 07:17 Dockerfile [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 07:17 GOVERNANCE.md [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 28 07:17 Jenkinsfile [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 07:17 LICENSE [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 28 07:17 Makefile [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 28 07:17 OWNERS.md [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 28 07:17 README.md [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 07:15 VERSION [2024-10-28T07:25:07.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:17 bin [2024-10-28T07:25:07.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:17 cmd [2024-10-28T07:25:07.440Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 28 07:24 coverage.out [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 28 07:17 go.mod [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 28 07:17 go.sum [2024-10-28T07:25:07.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:17 internal [2024-10-28T07:25:07.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:17 simulator [2024-10-28T07:25:07.440Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 28 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:25:07.784Z] + 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=3659de257de8445bf2738d26d8c449ebf30ccefd --label arch=arm64 --label version=0.0.0 . [2024-10-28T07:25:08.168Z] Sending build context to Docker daemon 9.188MB [2024-10-28T07:25:08.168Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:25:08.168Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-28T07:25:08.168Z] ---> 268eb1c183d6 [2024-10-28T07:25:08.168Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:25:08.432Z] ---> Running in 104d78ba12a1 [2024-10-28T07:25:08.697Z] Removing intermediate container 104d78ba12a1 [2024-10-28T07:25:08.697Z] ---> 298015cb28a1 [2024-10-28T07:25:08.697Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:25:08.697Z] ---> Running in cfe1d436664a [2024-10-28T07:25:08.991Z] Removing intermediate container cfe1d436664a [2024-10-28T07:25:08.991Z] ---> fa159dca7c7a [2024-10-28T07:25:08.991Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:25:08.991Z] ---> Running in 301e49bac63e [2024-10-28T07:25:09.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:25:10.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:25:11.929Z] OK: 244 MiB in 62 packages [2024-10-28T07:25:12.898Z] Removing intermediate container 301e49bac63e [2024-10-28T07:25:12.898Z] ---> dc1d058449f1 [2024-10-28T07:25:12.898Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-28T07:25:12.898Z] ---> Running in 368eac17c3c4 [2024-10-28T07:25:13.164Z] Removing intermediate container 368eac17c3c4 [2024-10-28T07:25:13.164Z] ---> 2fb81dce5d2c [2024-10-28T07:25:13.164Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-28T07:25:13.745Z] ---> 82627b797bd2 [2024-10-28T07:25:13.745Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:25:13.745Z] ---> Running in 2f1f1b299c8a [2024-10-28T07:25:18.568Z] Removing intermediate container 2f1f1b299c8a [2024-10-28T07:25:18.568Z] ---> ad54c9457bec [2024-10-28T07:25:18.568Z] Step 9/23 : COPY . . [2024-10-28T07:25:18.568Z] ---> 7b8843aed842 [2024-10-28T07:25:18.568Z] Step 10/23 : RUN ${MAKE} [2024-10-28T07:25:18.568Z] ---> Running in b5205063a539 [2024-10-28T07:25:18.568Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-28T07:28:48.526Z] Removing intermediate container b5205063a539 [2024-10-28T07:28:48.526Z] ---> e63bfca975ba [2024-10-28T07:28:48.526Z] Step 11/23 : FROM alpine:3.20 [2024-10-28T07:28:48.526Z] 3.20: Pulling from library/alpine [2024-10-28T07:28:48.526Z] cf04c63912e1: Already exists [2024-10-28T07:28:48.526Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-28T07:28:48.526Z] Status: Downloaded newer image for alpine:3.20 [2024-10-28T07:28:48.526Z] ---> c157a85ed455 [2024-10-28T07:28:48.526Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-28T07:28:48.526Z] ---> Running in d99012b0c63b [2024-10-28T07:28:48.526Z] Removing intermediate container d99012b0c63b [2024-10-28T07:28:48.526Z] ---> 56b7d1bf72a3 [2024-10-28T07:28:48.526Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-28T07:28:48.526Z] ---> Running in 5abae69fe50e [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:48.526Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-28T07:28:48.526Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:28:48.526Z] OK: 9 MiB in 15 packages [2024-10-28T07:28:48.526Z] Removing intermediate container 5abae69fe50e [2024-10-28T07:28:48.526Z] ---> 1eac0d3f8f94 [2024-10-28T07:28:48.526Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-28T07:28:48.526Z] ---> Running in 2fb925e1e4d3 [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:48.526Z] Upgrading critical system libraries and apk-tools: [2024-10-28T07:28:48.526Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-28T07:28:48.526Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:28:48.526Z] Continuing the upgrade transaction with new apk-tools: [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:48.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:28:49.109Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:28:49.109Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:28:49.109Z] OK: 9 MiB in 15 packages [2024-10-28T07:28:50.522Z] Removing intermediate container 2fb925e1e4d3 [2024-10-28T07:28:50.522Z] ---> ea951d3dddf5 [2024-10-28T07:28:50.522Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-28T07:28:53.101Z] ---> b23a8e4a9247 [2024-10-28T07:28:53.101Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-28T07:28:53.101Z] ---> 1ecff806d7fe [2024-10-28T07:28:53.101Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-28T07:28:53.684Z] ---> 454d193b7369 [2024-10-28T07:28:53.684Z] Step 18/23 : EXPOSE 59901 [2024-10-28T07:28:53.684Z] ---> Running in 60279720110a [2024-10-28T07:28:53.951Z] Removing intermediate container 60279720110a [2024-10-28T07:28:53.951Z] ---> 9566e6d416aa [2024-10-28T07:28:53.951Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-28T07:28:54.217Z] ---> Running in 814566ebaad7 [2024-10-28T07:28:54.484Z] Removing intermediate container 814566ebaad7 [2024-10-28T07:28:54.484Z] ---> 0b5c1f6bc633 [2024-10-28T07:28:54.484Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-28T07:28:54.484Z] ---> Running in 889098fe43e6 [2024-10-28T07:28:54.751Z] Removing intermediate container 889098fe43e6 [2024-10-28T07:28:54.751Z] ---> 03ab04385e29 [2024-10-28T07:28:54.751Z] Step 21/23 : LABEL arch=arm64 [2024-10-28T07:28:54.751Z] ---> Running in 4d1c79dc6561 [2024-10-28T07:28:55.019Z] Removing intermediate container 4d1c79dc6561 [2024-10-28T07:28:55.019Z] ---> 25e835a14ccb [2024-10-28T07:28:55.019Z] Step 22/23 : LABEL git_sha=3659de257de8445bf2738d26d8c449ebf30ccefd [2024-10-28T07:28:55.286Z] ---> Running in 23755c8456ba [2024-10-28T07:28:55.553Z] Removing intermediate container 23755c8456ba [2024-10-28T07:28:55.553Z] ---> 24cd991c4f64 [2024-10-28T07:28:55.553Z] Step 23/23 : LABEL version=0.0.0 [2024-10-28T07:28:55.553Z] ---> Running in dd32a578b56f [2024-10-28T07:28:55.818Z] Removing intermediate container dd32a578b56f [2024-10-28T07:28:55.818Z] ---> ee00b2c985f5 [2024-10-28T07:28:55.818Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-28T07:28:55.818Z] Successfully built ee00b2c985f5 [2024-10-28T07:28:55.818Z] 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-28T07:28:56.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:28:56.296Z] [2024-10-28T07:28:56.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:28:56.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:28:56.624Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-28T07:28:56.624Z] 8998bd30e6a1: Pulling fs layer [2024-10-28T07:28:56.624Z] 04944245beec: Pulling fs layer [2024-10-28T07:28:56.624Z] 699f458cf7ca: Pulling fs layer [2024-10-28T07:28:56.624Z] 765212b225bb: Pulling fs layer [2024-10-28T07:28:56.624Z] f23df028b6ca: Pulling fs layer [2024-10-28T07:28:56.624Z] d65c8cfc05b1: Pulling fs layer [2024-10-28T07:28:56.624Z] 2437ff75d9bd: Pulling fs layer [2024-10-28T07:28:56.624Z] 765212b225bb: Waiting [2024-10-28T07:28:56.624Z] f23df028b6ca: Waiting [2024-10-28T07:28:56.624Z] d65c8cfc05b1: Waiting [2024-10-28T07:28:56.624Z] 2437ff75d9bd: Waiting [2024-10-28T07:28:56.892Z] 04944245beec: Verifying Checksum [2024-10-28T07:28:56.892Z] 04944245beec: Download complete [2024-10-28T07:28:56.892Z] 765212b225bb: Verifying Checksum [2024-10-28T07:28:56.892Z] 765212b225bb: Download complete [2024-10-28T07:28:56.892Z] f23df028b6ca: Verifying Checksum [2024-10-28T07:28:56.892Z] f23df028b6ca: Download complete [2024-10-28T07:28:56.892Z] d65c8cfc05b1: Download complete [2024-10-28T07:28:57.159Z] 699f458cf7ca: Verifying Checksum [2024-10-28T07:28:57.159Z] 699f458cf7ca: Download complete [2024-10-28T07:28:57.426Z] 8998bd30e6a1: Verifying Checksum [2024-10-28T07:28:57.426Z] 8998bd30e6a1: Download complete [2024-10-28T07:29:00.008Z] 2437ff75d9bd: Verifying Checksum [2024-10-28T07:29:00.008Z] 2437ff75d9bd: Download complete [2024-10-28T07:29:01.951Z] 8998bd30e6a1: Pull complete [2024-10-28T07:29:02.532Z] 04944245beec: Pull complete [2024-10-28T07:29:03.937Z] 699f458cf7ca: Pull complete [2024-10-28T07:29:04.203Z] 765212b225bb: Pull complete [2024-10-28T07:29:05.161Z] f23df028b6ca: Pull complete [2024-10-28T07:29:05.161Z] d65c8cfc05b1: Pull complete [2024-10-28T07:29:23.355Z] 2437ff75d9bd: Pull complete [2024-10-28T07:29:23.355Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-28T07:29:23.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:29:23.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:29:23.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-23898 does not seem to be running inside a container [2024-10-28T07:29:23.627Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-28T07:29:26.324Z] $ docker top b5db3df855cf4191bb7ca8f2f651c76a0e52972a86e8c75487bb0bbad5109bc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:27.140Z] ---> job-cost.sh [2024-10-28T07:29:27.140Z] lf-activate-venv: SKIPPING [2024-10-28T07:29:27.140Z] INFO: No Stack... [2024-10-28T07:29:27.717Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-28T07:29:28.295Z] INFO: Archiving Costs [Pipeline] sh [2024-10-28T07:29:28.616Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2024-10-28T07:29:28.616Z] + cut -d, -f6 [Pipeline] lock [2024-10-28T07:29:28.914Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [2024-10-28T07:29:28.926Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] did not exist. Created. [2024-10-28T07:29:28.934Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-28T07:29:29.595Z] /w/workspace/device-modbus-go/4@tmp/durable-f628f23e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-28T07:29:30.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-28T07:29:30.247Z] Warning: overwriting stash ‘stack-cost’ [2024-10-28T07:29:30.346Z] Stashed 1 file(s) [Pipeline] } [2024-10-28T07:29:30.355Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-28T07:29:30.391Z] $ docker stop --time=1 b5db3df855cf4191bb7ca8f2f651c76a0e52972a86e8c75487bb0bbad5109bc3 [2024-10-28T07:29:31.905Z] $ docker rm -f --volumes b5db3df855cf4191bb7ca8f2f651c76a0e52972a86e8c75487bb0bbad5109bc3 [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-28T07:29:32.420Z] provisioning config files... [2024-10-28T07:29:32.429Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config5286127965162078279tmp [Pipeline] { [Pipeline] sh [2024-10-28T07:29:32.734Z] + set +x [2024-10-28T07:29:32.734Z] + curl -s https://codecov.io/bash [2024-10-28T07:29:32.734Z] + bash -s -- [2024-10-28T07:29:32.734Z] [2024-10-28T07:29:32.734Z] _____ _ [2024-10-28T07:29:32.734Z] / ____| | | [2024-10-28T07:29:32.734Z] | | ___ __| | ___ ___ _____ __ [2024-10-28T07:29:32.734Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-28T07:29:32.734Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-28T07:29:32.734Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-28T07:29:32.734Z] Bash-1.0.6 [2024-10-28T07:29:32.734Z] [2024-10-28T07:29:32.734Z] [2024-10-28T07:29:32.734Z] ==> git version 2.25.1 found [2024-10-28T07:29:32.734Z] ==> 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-28T07:29:32.734Z] Release-Date: 2020-01-08 [2024-10-28T07:29:32.734Z] 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-28T07:29:32.734Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-28T07:29:32.734Z] ==> Jenkins CI detected. [2024-10-28T07:29:32.734Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-28T07:29:32.734Z] project root: . [2024-10-28T07:29:32.734Z] --> token set from env [2024-10-28T07:29:32.734Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-28T07:29:32.735Z] ==> Running gcov in . (disable via -X gcov) [2024-10-28T07:29:32.735Z] ==> Python coveragepy not found [2024-10-28T07:29:32.735Z] ==> Searching for coverage reports in: [2024-10-28T07:29:32.735Z] + . [2024-10-28T07:29:32.735Z] -> Found 1 reports [2024-10-28T07:29:32.995Z] ==> Detecting git/mercurial file structure [2024-10-28T07:29:32.995Z] ==> Reading reports [2024-10-28T07:29:32.995Z] + ./coverage.out bytes=25464 [2024-10-28T07:29:32.995Z] ==> Appending adjustments [2024-10-28T07:29:32.995Z] https://docs.codecov.io/docs/fixing-reports [2024-10-28T07:29:32.995Z] + Found adjustments [2024-10-28T07:29:32.995Z] ==> Gzipping contents [2024-10-28T07:29:32.995Z] 4.0K /tmp/codecov.8ojQbp.gz [2024-10-28T07:29:32.995Z] ==> Uploading reports [2024-10-28T07:29:32.995Z] url: https://codecov.io [2024-10-28T07:29:32.995Z] query: branch=PR-581&commit=06cac1769c943f43437344af09232b15afca739c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-28T07:29:32.995Z] -> Pinging Codecov [2024-10-28T07:29:32.995Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-581&commit=06cac1769c943f43437344af09232b15afca739c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-28T07:29:33.255Z] -> Uploading to [2024-10-28T07:29:33.255Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/06cac1769c943f43437344af09232b15afca739c/6b49be63-70c4-4f9e-a306-3673afdb109c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241028%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241028T072933Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1da54ae9a632f3e5759923af1e365dfc6c420dd8f12bade2452c5005d67eb529 [2024-10-28T07:29:33.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-28T07:29:33.255Z] Dload Upload Total Spent Left Speed [2024-10-28T07:29:33.514Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3927 0 0 100 3927 0 18971 --:--:-- --:--:-- --:--:-- 18879 100 3927 0 0 100 3927 0 18436 --:--:-- --:--:-- --:--:-- 18350 [2024-10-28T07:29:33.514Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/06cac1769c943f43437344af09232b15afca739c [Pipeline] } [2024-10-28T07:29:33.523Z] 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-28T07:29:34.433Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-581/archives ] [2024-10-28T07:29:34.433Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:29:34.433Z] total 16 [2024-10-28T07:29:34.433Z] drwxr-xr-x 3 root root 4096 Oct 28 07:18 . [2024-10-28T07:29:34.433Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 07:18 .. [2024-10-28T07:29:34.433Z] drwxr-xr-x 2 root root 4096 Oct 28 07:18 cost [2024-10-28T07:29:34.433Z] -rw-r--r-- 1 root root 88 Oct 28 07:18 cost.csv [2024-10-28T07:29:34.433Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:29:34.433Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:29:34.433Z] total 16 [2024-10-28T07:29:34.433Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 07:18 . [2024-10-28T07:29:34.433Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 07:18 .. [2024-10-28T07:29:34.433Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 28 07:18 cost [2024-10-28T07:29:34.433Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 28 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:34.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:35.588Z] ---> package-listing.sh [2024-10-28T07:29:35.588Z] ++ facter osfamily [2024-10-28T07:29:35.588Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-28T07:29:35.847Z] + OS_FAMILY=debian [2024-10-28T07:29:35.848Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-28T07:29:35.848Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-28T07:29:35.848Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-28T07:29:35.848Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-28T07:29:35.848Z] + PACKAGES=/tmp/packages_start.txt [2024-10-28T07:29:35.848Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-28T07:29:35.848Z] + PACKAGES=/tmp/packages_end.txt [2024-10-28T07:29:35.848Z] + case "${OS_FAMILY}" in [2024-10-28T07:29:35.848Z] + dpkg -l [2024-10-28T07:29:35.848Z] + grep '^ii' [2024-10-28T07:29:35.848Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-28T07:29:35.848Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-28T07:29:35.848Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-28T07:29:35.848Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-28T07:29:35.848Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [2024-10-28T07:29:35.848Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [Pipeline] echo [2024-10-28T07:29:35.861Z] 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-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-28T07:29:36.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:29:36.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:29:36.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:29:36.919Z] prd-ubuntu20.04-docker-8c-8g-23897 does not seem to be running inside a container [2024-10-28T07:29:36.973Z] $ 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-581/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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-28T07:29:37.182Z] $ docker top 5047d54be0970c65d34f64e94b39c2d5d04c3f0d0b357331390c7fd905ab54bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:29:37.543Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-28T07:29:37.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-28T07:29:38.118Z] + ls /var/log/sa-host [2024-10-28T07:29:38.118Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:29:38.297Z] provisioning config files... [2024-10-28T07:29:38.522Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config16416410091110249492tmp [Pipeline] { [Pipeline] echo [2024-10-28T07:29:38.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:38.829Z] ---> create-netrc.sh [Pipeline] } [2024-10-28T07:29:38.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:39.187Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-28T07:29:39.196Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:39.482Z] ---> sudo-logs.sh [2024-10-28T07:29:39.482Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-28T07:29:39.518Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:39.809Z] ---> job-cost.sh [2024-10-28T07:29:39.809Z] lf-activate-venv: SKIPPING [2024-10-28T07:29:39.809Z] DEBUG: total: 0.2199999988079071 [2024-10-28T07:29:39.809Z] INFO: Retrieving Stack Cost... [2024-10-28T07:29:40.068Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-28T07:29:40.636Z] INFO: Archiving Costs [Pipeline] echo [2024-10-28T07:29:40.649Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:29:40.932Z] ---> logs-deploy.sh [2024-10-28T07:29:40.932Z] lf-activate-venv: SKIPPING [2024-10-28T07:29:40.932Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-581/4 [2024-10-28T07:29:40.932Z] INFO: archiving workspace using pattern(s): [2024-10-28T07:29:41.904Z] Archives upload complete. [2024-10-28T07:29:42.165Z] INFO: archiving logs to Nexus [2024-10-28T07:29:42.733Z] ---> uname -a: [2024-10-28T07:29:42.733Z] Linux prd-ubuntu20-04-docker-8c-8g-23897 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] ---> lscpu: [2024-10-28T07:29:42.733Z] Architecture: x86_64 [2024-10-28T07:29:42.733Z] CPU op-mode(s): 32-bit, 64-bit [2024-10-28T07:29:42.733Z] Byte Order: Little Endian [2024-10-28T07:29:42.733Z] Address sizes: 40 bits physical, 48 bits virtual [2024-10-28T07:29:42.733Z] CPU(s): 8 [2024-10-28T07:29:42.733Z] On-line CPU(s) list: 0-7 [2024-10-28T07:29:42.733Z] Thread(s) per core: 1 [2024-10-28T07:29:42.733Z] Core(s) per socket: 1 [2024-10-28T07:29:42.733Z] Socket(s): 8 [2024-10-28T07:29:42.733Z] NUMA node(s): 1 [2024-10-28T07:29:42.733Z] Vendor ID: AuthenticAMD [2024-10-28T07:29:42.733Z] CPU family: 23 [2024-10-28T07:29:42.733Z] Model: 49 [2024-10-28T07:29:42.733Z] Model name: AMD EPYC-Rome Processor [2024-10-28T07:29:42.733Z] Stepping: 0 [2024-10-28T07:29:42.733Z] CPU MHz: 2800.000 [2024-10-28T07:29:42.733Z] BogoMIPS: 5600.00 [2024-10-28T07:29:42.733Z] Virtualization: AMD-V [2024-10-28T07:29:42.733Z] Hypervisor vendor: KVM [2024-10-28T07:29:42.733Z] Virtualization type: full [2024-10-28T07:29:42.733Z] L1d cache: 256 KiB [2024-10-28T07:29:42.733Z] L1i cache: 256 KiB [2024-10-28T07:29:42.733Z] L2 cache: 4 MiB [2024-10-28T07:29:42.733Z] L3 cache: 128 MiB [2024-10-28T07:29:42.733Z] NUMA node0 CPU(s): 0-7 [2024-10-28T07:29:42.733Z] Vulnerability Itlb multihit: Not affected [2024-10-28T07:29:42.733Z] Vulnerability L1tf: Not affected [2024-10-28T07:29:42.733Z] Vulnerability Mds: Not affected [2024-10-28T07:29:42.733Z] Vulnerability Meltdown: Not affected [2024-10-28T07:29:42.733Z] Vulnerability Mmio stale data: Not affected [2024-10-28T07:29:42.733Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-10-28T07:29:42.733Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-10-28T07:29:42.733Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-10-28T07:29:42.733Z] Vulnerability Srbds: Not affected [2024-10-28T07:29:42.733Z] Vulnerability Tsx async abort: Not affected [2024-10-28T07:29:42.733Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] ---> nproc: [2024-10-28T07:29:42.733Z] 8 [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z] ---> df -h: [2024-10-28T07:29:42.733Z] Filesystem Size Used Avail Use% Mounted on [2024-10-28T07:29:42.733Z] overlay 155G 12G 143G 8% / [2024-10-28T07:29:42.733Z] tmpfs 64M 0 64M 0% /dev [2024-10-28T07:29:42.733Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-10-28T07:29:42.733Z] shm 64M 0 64M 0% /dev/shm [2024-10-28T07:29:42.733Z] /dev/vda1 155G 12G 143G 8% /facter-os [2024-10-28T07:29:42.733Z] [2024-10-28T07:29:42.733Z]