Pull request #549 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 rcrtss for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 78c106f1b1d485d6b9e2c5cc4debe4f465169507 rather than e715f9585823a2f61c57f68e6edd4d3151291ed5 Obtained Jenkinsfile from 78c106f1b1d485d6b9e2c5cc4debe4f465169507 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-ssh839632147872806967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6475757562256116010.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-549/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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8227134792740312407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh16373710593312872038.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-549/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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10116333718199581757.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3500 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-549 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit e715f9585823a2f61c57f68e6edd4d3151291ed5 Merge succeeded, producing e715f9585823a2f61c57f68e6edd4d3151291ed5 Checking out Revision e715f9585823a2f61c57f68e6edd4d3151291ed5 (PR-549) > 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/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # 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 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 Commit message: "Update internal/driver/deviceclient.go" > git rev-list --no-walk 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-24T10:07:37.060Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-24T10:07:37.133Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-24T10:07:37.156Z] ========================================================= [2024-04-24T10:07:37.156Z] EdgeX Global Pipelines Version Info [2024-04-24T10:07:37.156Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:07:37.872Z] ------------------- [2024-04-24T10:07:37.872Z] stable info: [2024-04-24T10:07:37.872Z] ------------------- [2024-04-24T10:07:37.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-24T10:07:37.872Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T10:07:37.872Z] Message: update stable to v1.0.258 [2024-04-24T10:07:38.439Z] ------------------- [2024-04-24T10:07:38.439Z] experimental info: [2024-04-24T10:07:38.439Z] ------------------- [2024-04-24T10:07:38.439Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-24T10:07:38.439Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T10:07:38.439Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-24T10:07:38.513Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-24T10:07:38.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-24T10:07:38.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-24T10:07:38.577Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-24T10:07:38.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-24T10:07:38.622Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-24T10:07:38.637Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-24T10:07:38.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-24T10:07:38.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-24T10:07:38.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-24T10:07:38.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-24T10:07:38.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-24T10:07:38.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-24T10:07:38.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-24T10:07:38.818Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T10:07:38.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T10:07:38.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T10:07:38.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T10:07:38.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-24T10:07:38.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-24T10:07:38.957Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-24T10:07:38.983Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-24T10:07:39.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-24T10:07:39.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-24T10:07:39.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-24T10:07:39.075Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-24T10:07:39.093Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-24T10:07:39.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo [2024-04-24T10:07:39.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo [2024-04-24T10:07:39.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo [2024-04-24T10:07:39.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo [2024-04-24T10:07:39.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e715f95 [Pipeline] echo [2024-04-24T10:07:39.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:07:39.276Z] provisioning config files... [2024-04-24T10:07:39.290Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config14666544857950690557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:07:39.627Z] ---> ****-login.sh [2024-04-24T10:07:39.627Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:07:39.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:39.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:39.887Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:39.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:39.887Z] [2024-04-24T10:07:39.887Z] Login Succeeded [2024-04-24T10:07:39.887Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:07:39.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:39.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:39.887Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:39.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:39.887Z] [2024-04-24T10:07:39.887Z] Login Succeeded [2024-04-24T10:07:39.887Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:07:40.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:40.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:40.151Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:40.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:40.152Z] [2024-04-24T10:07:40.152Z] Login Succeeded [2024-04-24T10:07:40.152Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:07:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:40.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:40.152Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:40.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:40.152Z] [2024-04-24T10:07:40.152Z] Login Succeeded [2024-04-24T10:07:40.152Z] ****.io [2024-04-24T10:07:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:40.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:40.411Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:40.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:40.411Z] [2024-04-24T10:07:40.411Z] Login Succeeded [2024-04-24T10:07:40.412Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:07:40.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-24T10:07:40.827Z] + git rev-list -1 --merges e715f9585823a2f61c57f68e6edd4d3151291ed5~1..e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo [2024-04-24T10:07:40.854Z] -----------> git rev-list -1 --merges e715f9585823a2f61c57f68e6edd4d3151291ed5~1..e715f9585823a2f61c57f68e6edd4d3151291ed5 e715f9585823a2f61c57f68e6edd4d3151291ed5 [false] [Pipeline] sh [2024-04-24T10:07:41.145Z] + git log --format=format:%s -1 e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo [2024-04-24T10:07:41.165Z] ========================================================= [2024-04-24T10:07:41.165Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-24T10:07:41.165Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:07:41.514Z] + git log --format=format:%s -1 e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo [2024-04-24T10:07:41.526Z] [semverPrep] GIT_COMMIT: e715f9585823a2f61c57f68e6edd4d3151291ed5, Commit Message: Update internal/driver/deviceclient.go [Pipeline] echo [2024-04-24T10:07:41.540Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-24T10:07:41.902Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-24T10:07:41.902Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-24T10:07:41.902Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-24T10:07:41.902Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-24T10:07:41.902Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-24T10:07:41.902Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-24T10:07:41.902Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:07:42.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:07:42.259Z] [2024-04-24T10:07:42.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:07:42.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:07:42.561Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-24T10:07:42.561Z] b85a868b505f: Pulling fs layer [2024-04-24T10:07:42.561Z] e2be974225ed: Pulling fs layer [2024-04-24T10:07:42.561Z] 339a4e72a1f5: Pulling fs layer [2024-04-24T10:07:42.561Z] 988bab9f4d93: Pulling fs layer [2024-04-24T10:07:42.561Z] 1469e6f7b9e6: Pulling fs layer [2024-04-24T10:07:42.561Z] eaf3925da568: Pulling fs layer [2024-04-24T10:07:42.561Z] bab4dde63d76: Pulling fs layer [2024-04-24T10:07:42.561Z] bde34c3a00c8: Pulling fs layer [2024-04-24T10:07:42.561Z] b352a97aabf1: Pulling fs layer [2024-04-24T10:07:42.561Z] 4872d77fe225: Pulling fs layer [2024-04-24T10:07:42.561Z] 5851b861e8e6: Pulling fs layer [2024-04-24T10:07:42.561Z] bde34c3a00c8: Waiting [2024-04-24T10:07:42.561Z] 5851b861e8e6: Waiting [2024-04-24T10:07:42.561Z] 988bab9f4d93: Waiting [2024-04-24T10:07:42.561Z] 4872d77fe225: Waiting [2024-04-24T10:07:42.561Z] 1469e6f7b9e6: Waiting [2024-04-24T10:07:42.561Z] b352a97aabf1: Waiting [2024-04-24T10:07:42.561Z] e2be974225ed: Download complete [2024-04-24T10:07:42.561Z] 988bab9f4d93: Verifying Checksum [2024-04-24T10:07:42.561Z] 988bab9f4d93: Download complete [2024-04-24T10:07:42.561Z] 1469e6f7b9e6: Verifying Checksum [2024-04-24T10:07:42.561Z] 1469e6f7b9e6: Download complete [2024-04-24T10:07:42.561Z] eaf3925da568: Verifying Checksum [2024-04-24T10:07:42.561Z] eaf3925da568: Download complete [2024-04-24T10:07:42.561Z] 339a4e72a1f5: Verifying Checksum [2024-04-24T10:07:42.561Z] 339a4e72a1f5: Download complete [2024-04-24T10:07:42.821Z] bde34c3a00c8: Verifying Checksum [2024-04-24T10:07:42.821Z] bde34c3a00c8: Download complete [2024-04-24T10:07:42.821Z] b352a97aabf1: Download complete [2024-04-24T10:07:42.821Z] 4872d77fe225: Verifying Checksum [2024-04-24T10:07:42.821Z] 4872d77fe225: Download complete [2024-04-24T10:07:42.821Z] 5851b861e8e6: Verifying Checksum [2024-04-24T10:07:42.821Z] 5851b861e8e6: Download complete [2024-04-24T10:07:42.821Z] b85a868b505f: Verifying Checksum [2024-04-24T10:07:42.821Z] b85a868b505f: Download complete [2024-04-24T10:07:43.079Z] bab4dde63d76: Verifying Checksum [2024-04-24T10:07:43.079Z] bab4dde63d76: Download complete [2024-04-24T10:07:44.015Z] b85a868b505f: Pull complete [2024-04-24T10:07:44.015Z] e2be974225ed: Pull complete [2024-04-24T10:07:44.274Z] 339a4e72a1f5: Pull complete [2024-04-24T10:07:44.533Z] 988bab9f4d93: Pull complete [2024-04-24T10:07:44.533Z] 1469e6f7b9e6: Pull complete [2024-04-24T10:07:44.791Z] eaf3925da568: Pull complete [2024-04-24T10:07:46.167Z] bab4dde63d76: Pull complete [2024-04-24T10:07:46.427Z] bde34c3a00c8: Pull complete [2024-04-24T10:07:46.427Z] b352a97aabf1: Pull complete [2024-04-24T10:07:46.427Z] 4872d77fe225: Pull complete [2024-04-24T10:07:46.427Z] 5851b861e8e6: Pull complete [2024-04-24T10:07:46.684Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-24T10:07:46.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:07:46.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:07:46.845Z] prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container [2024-04-24T10:07:46.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-04-24T10:07:51.352Z] $ docker top b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a -eo pid,comm [2024-04-24T10:07:51.402Z] 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-04-24T10:07:51.402Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-24T10:07:51.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T10:07:51.458Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T10:07:51.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T10:07:51.579Z] $ docker exec b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent [2024-04-24T10:07:51.684Z] SSH_AUTH_SOCK=/tmp/ssh-ZiLdywiWy2gB/agent.33 [2024-04-24T10:07:51.684Z] SSH_AGENT_PID=40 [2024-04-24T10:07:51.690Z] Running ssh-add (command line suppressed) [2024-04-24T10:07:51.790Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_6512219878869578646.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_6512219878869578646.key) [2024-04-24T10:07:51.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T10:07:52.096Z] + git tag --points-at HEAD [Pipeline] } [2024-04-24T10:07:52.112Z] $ docker exec --env ******** --env ******** b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent -k [2024-04-24T10:07:52.211Z] unset SSH_AUTH_SOCK; [2024-04-24T10:07:52.212Z] unset SSH_AGENT_PID; [2024-04-24T10:07:52.212Z] echo Agent pid 40 killed; [2024-04-24T10:07:52.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-24T10:07:52.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T10:07:52.258Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T10:07:52.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T10:07:52.384Z] $ docker exec b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent [2024-04-24T10:07:52.475Z] SSH_AUTH_SOCK=/tmp/ssh-pU5vOnKfAQa1/agent.74 [2024-04-24T10:07:52.475Z] SSH_AGENT_PID=80 [2024-04-24T10:07:52.480Z] Running ssh-add (command line suppressed) [2024-04-24T10:07:52.595Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8429015887894819237.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8429015887894819237.key) [2024-04-24T10:07:52.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T10:07:52.895Z] + git semver init [2024-04-24T10:07:53.154Z] 2024-04-24 10:07:53,095 [run_init] DEBUG init version:0.0.0 force:False [2024-04-24T10:07:53.154Z] 2024-04-24 10:07:53,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T10:07:53.154Z] 2024-04-24 10:07:53,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T10:07:53.154Z] 2024-04-24 10:07:53,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-549/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549, universal_newlines=False, shell=None, istream=None) [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,196 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.git/info/exclude [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,196 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 with force:False [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,196 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,200 [execute] INFO git cat-file --batch-check [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,206 [execute] INFO git cat-file --batch [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T10:07:54.536Z] 2024-04-24 10:07:54,212 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T10:07:54.536Z] 0.0.0 [Pipeline] } [2024-04-24T10:07:54.551Z] $ docker exec --env ******** --env ******** b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent -k [2024-04-24T10:07:54.651Z] unset SSH_AUTH_SOCK; [2024-04-24T10:07:54.651Z] unset SSH_AGENT_PID; [2024-04-24T10:07:54.651Z] echo Agent pid 80 killed; [2024-04-24T10:07:54.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-24T10:07:54.981Z] + git semver [Pipeline] } [2024-04-24T10:07:55.257Z] $ docker stop --time=1 b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a [2024-04-24T10:07:56.555Z] $ docker rm -f --volumes b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:07:56.886Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-24T10:07:57.124Z] Stashed 1 file(s) [Pipeline] echo [2024-04-24T10:07:57.127Z] [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-04-24T10:07:57.312Z] provisioning config files... [2024-04-24T10:07:57.322Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config15655162188759768984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:07:57.621Z] ---> ****-login.sh [2024-04-24T10:07:57.621Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:07:57.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:57.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:57.622Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:57.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:57.622Z] [2024-04-24T10:07:57.622Z] Login Succeeded [2024-04-24T10:07:57.622Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:07:57.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:57.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:57.622Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:57.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:57.622Z] [2024-04-24T10:07:57.622Z] Login Succeeded [2024-04-24T10:07:57.622Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:07:57.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:57.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:57.881Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:57.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:57.881Z] [2024-04-24T10:07:57.881Z] Login Succeeded [2024-04-24T10:07:57.881Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:07:57.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:57.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:57.881Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:57.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:57.881Z] [2024-04-24T10:07:57.882Z] Login Succeeded [2024-04-24T10:07:57.882Z] ****.io [2024-04-24T10:07:58.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:07:58.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:07:58.142Z] Configure a credential helper to remove this warning. See [2024-04-24T10:07:58.142Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:07:58.142Z] [2024-04-24T10:07:58.142Z] Login Succeeded [2024-04-24T10:07:58.142Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:07:58.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T10:07:58.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:07:58.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:07:58.267Z] ========================================================= [2024-04-24T10:07:58.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-24T10:07:58.267Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:07:58.609Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T10:07:58.609Z] Sending build context to Docker daemon 17.38MB [2024-04-24T10:07:58.609Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:07:58.609Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T10:07:58.609Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-24T10:07:58.609Z] 619be1103602: Pulling fs layer [2024-04-24T10:07:58.609Z] 7862e08f4a3e: Pulling fs layer [2024-04-24T10:07:58.609Z] 5df492c9dc93: Pulling fs layer [2024-04-24T10:07:58.609Z] 7629e6793208: Pulling fs layer [2024-04-24T10:07:58.609Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T10:07:58.609Z] fb5054dd5b73: Pulling fs layer [2024-04-24T10:07:58.609Z] eeca6798cff9: Pulling fs layer [2024-04-24T10:07:58.609Z] aa269ceb94a6: Pulling fs layer [2024-04-24T10:07:58.609Z] ada007ff1a6a: Pulling fs layer [2024-04-24T10:07:58.609Z] fb5054dd5b73: Waiting [2024-04-24T10:07:58.609Z] eeca6798cff9: Waiting [2024-04-24T10:07:58.609Z] aa269ceb94a6: Waiting [2024-04-24T10:07:58.609Z] 7629e6793208: Waiting [2024-04-24T10:07:58.609Z] 4f4fb700ef54: Waiting [2024-04-24T10:07:58.871Z] 7862e08f4a3e: Download complete [2024-04-24T10:07:58.871Z] 7629e6793208: Download complete [2024-04-24T10:07:58.871Z] 4f4fb700ef54: Verifying Checksum [2024-04-24T10:07:58.871Z] 4f4fb700ef54: Download complete [2024-04-24T10:07:58.871Z] fb5054dd5b73: Verifying Checksum [2024-04-24T10:07:58.871Z] fb5054dd5b73: Download complete [2024-04-24T10:07:58.871Z] 619be1103602: Verifying Checksum [2024-04-24T10:07:58.871Z] 619be1103602: Download complete [2024-04-24T10:07:58.871Z] eeca6798cff9: Verifying Checksum [2024-04-24T10:07:58.871Z] 619be1103602: Pull complete [2024-04-24T10:07:59.131Z] 7862e08f4a3e: Pull complete [2024-04-24T10:07:59.131Z] ada007ff1a6a: Download complete [2024-04-24T10:07:59.391Z] 5df492c9dc93: Verifying Checksum [2024-04-24T10:07:59.391Z] 5df492c9dc93: Download complete [2024-04-24T10:07:59.649Z] aa269ceb94a6: Verifying Checksum [2024-04-24T10:07:59.649Z] aa269ceb94a6: Download complete [2024-04-24T10:08:02.174Z] 5df492c9dc93: Pull complete [2024-04-24T10:08:02.174Z] 7629e6793208: Pull complete [2024-04-24T10:08:02.174Z] 4f4fb700ef54: Pull complete [2024-04-24T10:08:02.433Z] fb5054dd5b73: Pull complete [2024-04-24T10:08:02.433Z] eeca6798cff9: Pull complete [2024-04-24T10:08:04.959Z] aa269ceb94a6: Pull complete [2024-04-24T10:08:05.218Z] ada007ff1a6a: Pull complete [2024-04-24T10:08:05.218Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-24T10:08:05.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-24T10:08:05.218Z] ---> f489d0715acc [2024-04-24T10:08:05.218Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:08:11.826Z] ---> Running in 23e14027e0ab [2024-04-24T10:08:11.826Z] Removing intermediate container 23e14027e0ab [2024-04-24T10:08:11.826Z] ---> 7f22de94c935 [2024-04-24T10:08:11.826Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:08:11.826Z] ---> Running in ae1586fcfb21 [2024-04-24T10:08:11.826Z] Removing intermediate container ae1586fcfb21 [2024-04-24T10:08:11.826Z] ---> ed707f493879 [2024-04-24T10:08:11.826Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:08:11.826Z] ---> Running in 74c71f2c142e [2024-04-24T10:08:11.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:08:11.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:08:12.084Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T10:08:12.084Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T10:08:12.084Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T10:08:12.084Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:08:12.084Z] OK: 270 MiB in 60 packages [2024-04-24T10:08:12.260Z] Still waiting to schedule task [2024-04-24T10:08:12.260Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-24T10:08:12.651Z] Removing intermediate container 74c71f2c142e [2024-04-24T10:08:12.651Z] ---> 8d21e517f734 [2024-04-24T10:08:12.651Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T10:08:12.909Z] ---> Running in 7551eba71fba [2024-04-24T10:08:13.171Z] Removing intermediate container 7551eba71fba [2024-04-24T10:08:13.171Z] ---> 1f917cd1e53a [2024-04-24T10:08:13.171Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T10:08:13.429Z] ---> 93392569d167 [2024-04-24T10:08:13.430Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:08:13.430Z] ---> Running in 6b9f79cb907e [2024-04-24T10:08:45.512Z] Removing intermediate container 6b9f79cb907e [2024-04-24T10:08:45.512Z] ---> f80426b93f38 [2024-04-24T10:08:45.512Z] Step 9/10 : COPY . . [2024-04-24T10:08:45.512Z] ---> 7e1f79b78611 [2024-04-24T10:08:45.512Z] Step 10/10 : RUN ${MAKE} [2024-04-24T10:08:45.512Z] ---> Running in ce79a81ebee8 [2024-04-24T10:08:45.512Z] noop [2024-04-24T10:08:45.512Z] Removing intermediate container ce79a81ebee8 [2024-04-24T10:08:45.512Z] ---> e2921590d7f3 [2024-04-24T10:08:45.512Z] Successfully built e2921590d7f3 [2024-04-24T10:08:45.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:08:45.836Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T10:08:45.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:08:45.916Z] prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container [2024-04-24T10:08:45.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-04-24T10:08:46.417Z] $ docker top 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:08:46.764Z] + go version [2024-04-24T10:08:46.764Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-24T10:08:46.776Z] $ docker stop --time=1 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de [2024-04-24T10:08:48.377Z] $ docker rm -f --volumes 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:08:48.817Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T10:08:48.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:08:48.889Z] prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container [2024-04-24T10:08:48.931Z] $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-04-24T10:08:49.709Z] $ docker top 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:08:50.052Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] fileExists [Pipeline] sh [2024-04-24T10:08:50.351Z] + make test [2024-04-24T10:08:50.351Z] go test ./... -coverprofile=coverage.out [2024-04-24T10:08:51.725Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T10:09:01.701Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T10:09:01.701Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements [2024-04-24T10:09:08.250Z] go vet ./... [2024-04-24T10:09:10.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T10:09:10.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T10:09:10.778Z] ./bin/test-attribution-txt.sh [2024-04-24T10:09:11.036Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T10:09:11.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T10:09:11.067Z] $ docker stop --time=1 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 [2024-04-24T10:09:15.006Z] $ docker rm -f --volumes 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:09:15.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T10:09:15.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-24T10:09:16.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T10:09:16.659Z] + ls -al . [2024-04-24T10:09:16.659Z] total 196 [2024-04-24T10:09:16.659Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 10:08 . [2024-04-24T10:09:16.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:07 .. [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:07 .dockerignore [2024-04-24T10:09:16.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:09 .git [2024-04-24T10:09:16.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 .github [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:07 .gitignore [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:07 .golangci.yml [2024-04-24T10:09:16.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:07 .semver [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:07 Attribution.txt [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:07 CHANGELOG.md [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:07 Dockerfile [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:07 GOVERNANCE.md [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:07 Jenkinsfile [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:07 LICENSE [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:07 Makefile [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:07 OWNERS.md [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:07 README.md [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:07 VERSION [2024-04-24T10:09:16.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:07 bin [2024-04-24T10:09:16.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 cmd [2024-04-24T10:09:16.659Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:09 coverage.out [2024-04-24T10:09:16.659Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:07 go.mod [2024-04-24T10:09:16.660Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:07 go.sum [2024-04-24T10:09:16.660Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 internal [2024-04-24T10:09:16.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:07 simulator [2024-04-24T10:09:16.660Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:09:16.980Z] + 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=e715f9585823a2f61c57f68e6edd4d3151291ed5 --label arch=amd64 --label version=0.0.0 . [2024-04-24T10:09:16.980Z] Sending build context to Docker daemon 17.41MB [2024-04-24T10:09:16.980Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:09:16.980Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T10:09:16.980Z] ---> e2921590d7f3 [2024-04-24T10:09:16.980Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:09:17.547Z] ---> Running in b9ed8311dee4 [2024-04-24T10:09:17.547Z] Removing intermediate container b9ed8311dee4 [2024-04-24T10:09:17.547Z] ---> 0bd14712879f [2024-04-24T10:09:17.547Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:09:17.547Z] ---> Running in b0642df61fc3 [2024-04-24T10:09:17.547Z] Removing intermediate container b0642df61fc3 [2024-04-24T10:09:17.547Z] ---> a594337feaaf [2024-04-24T10:09:17.547Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:09:17.547Z] ---> Running in 59d8c9010ade [2024-04-24T10:09:17.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:17.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:18.064Z] OK: 270 MiB in 60 packages [2024-04-24T10:09:18.323Z] Removing intermediate container 59d8c9010ade [2024-04-24T10:09:18.323Z] ---> 94acb6421af0 [2024-04-24T10:09:18.323Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T10:09:18.323Z] ---> Running in e0eabe91af4b [2024-04-24T10:09:18.581Z] Removing intermediate container e0eabe91af4b [2024-04-24T10:09:18.581Z] ---> ea47006bbbe2 [2024-04-24T10:09:18.581Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T10:09:18.581Z] ---> 6029c05a26d6 [2024-04-24T10:09:18.581Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:09:18.581Z] ---> Running in 780442f91953 [2024-04-24T10:09:19.150Z] Removing intermediate container 780442f91953 [2024-04-24T10:09:19.150Z] ---> bc14c6bc20c6 [2024-04-24T10:09:19.150Z] Step 9/23 : COPY . . [2024-04-24T10:09:19.794Z] ---> 0652fc63ac6d [2024-04-24T10:09:19.794Z] Step 10/23 : RUN ${MAKE} [2024-04-24T10:09:19.794Z] ---> Running in 21cda59cb493 [2024-04-24T10:09:20.053Z] 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T10:09:42.785Z] Removing intermediate container 21cda59cb493 [2024-04-24T10:09:42.785Z] ---> ba525feed453 [2024-04-24T10:09:42.785Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T10:09:42.785Z] 3.18: Pulling from library/alpine [2024-04-24T10:09:42.785Z] 619be1103602: Already exists [2024-04-24T10:09:42.785Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T10:09:42.785Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T10:09:42.785Z] ---> d3782b16ccc9 [2024-04-24T10:09:42.785Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T10:09:42.785Z] ---> Running in 4189d2f87b7a [2024-04-24T10:09:42.785Z] Removing intermediate container 4189d2f87b7a [2024-04-24T10:09:42.785Z] ---> 07fb41a8eb34 [2024-04-24T10:09:42.785Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T10:09:42.785Z] ---> Running in 66e6ad170497 [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T10:09:42.785Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:09:42.785Z] OK: 7 MiB in 16 packages [2024-04-24T10:09:42.785Z] Removing intermediate container 66e6ad170497 [2024-04-24T10:09:42.785Z] ---> f04f75690280 [2024-04-24T10:09:42.785Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T10:09:42.785Z] ---> Running in cddde1aaa891 [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] Upgrading critical system libraries and apk-tools: [2024-04-24T10:09:42.785Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T10:09:42.785Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:09:42.785Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:09:42.785Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T10:09:42.785Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:09:42.785Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:09:42.785Z] OK: 7 MiB in 16 packages [2024-04-24T10:09:43.045Z] Removing intermediate container cddde1aaa891 [2024-04-24T10:09:43.045Z] ---> 2894e4e95038 [2024-04-24T10:09:43.045Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T10:09:43.612Z] ---> cb1667918cfc [2024-04-24T10:09:43.612Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T10:09:43.871Z] ---> ab4ed22057dc [2024-04-24T10:09:43.871Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T10:09:43.871Z] ---> c91cbfce75ce [2024-04-24T10:09:43.871Z] Step 18/23 : EXPOSE 59901 [2024-04-24T10:09:43.871Z] ---> Running in b51cad840130 [2024-04-24T10:09:44.131Z] Removing intermediate container b51cad840130 [2024-04-24T10:09:44.131Z] ---> 1fc2b55f2b47 [2024-04-24T10:09:44.131Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T10:09:44.131Z] ---> Running in c688ec1928ad [2024-04-24T10:09:44.131Z] Removing intermediate container c688ec1928ad [2024-04-24T10:09:44.131Z] ---> f1d5b405db7c [2024-04-24T10:09:44.131Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T10:09:44.131Z] ---> Running in c37e0c6d7245 [2024-04-24T10:09:44.131Z] Removing intermediate container c37e0c6d7245 [2024-04-24T10:09:44.131Z] ---> 7de5faa977a2 [2024-04-24T10:09:44.131Z] Step 21/23 : LABEL arch=amd64 [2024-04-24T10:09:44.131Z] ---> Running in d33c351fd80b [2024-04-24T10:09:44.389Z] Removing intermediate container d33c351fd80b [2024-04-24T10:09:44.389Z] ---> 90a0f0d879ca [2024-04-24T10:09:44.389Z] Step 22/23 : LABEL git_sha=e715f9585823a2f61c57f68e6edd4d3151291ed5 [2024-04-24T10:09:44.389Z] ---> Running in 7a64f316ede4 [2024-04-24T10:09:44.389Z] Removing intermediate container 7a64f316ede4 [2024-04-24T10:09:44.389Z] ---> d01169a91423 [2024-04-24T10:09:44.389Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T10:09:44.389Z] ---> Running in c226d5e53554 [2024-04-24T10:09:44.389Z] Removing intermediate container c226d5e53554 [2024-04-24T10:09:44.389Z] ---> a408ee556cfd [2024-04-24T10:09:44.389Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T10:09:44.389Z] Successfully built a408ee556cfd [2024-04-24T10:09:44.389Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:09:44.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:09:44.908Z] [2024-04-24T10:09:44.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:09:45.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:09:45.219Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-24T10:09:45.219Z] 5eb5b503b376: Pulling fs layer [2024-04-24T10:09:45.219Z] 5c69ac0246d0: Pulling fs layer [2024-04-24T10:09:45.219Z] ec43610c2a17: Pulling fs layer [2024-04-24T10:09:45.219Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-24T10:09:45.219Z] 33b1e0a273af: Pulling fs layer [2024-04-24T10:09:45.219Z] 5d3b04190fa2: Pulling fs layer [2024-04-24T10:09:45.219Z] 2f39f015ded8: Pulling fs layer [2024-04-24T10:09:45.219Z] 33b1e0a273af: Waiting [2024-04-24T10:09:45.219Z] 5d3b04190fa2: Waiting [2024-04-24T10:09:45.219Z] 2f39f015ded8: Waiting [2024-04-24T10:09:45.219Z] 3a2ae6a8a46f: Waiting [2024-04-24T10:09:45.219Z] 5c69ac0246d0: Download complete [2024-04-24T10:09:45.219Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-24T10:09:45.219Z] 3a2ae6a8a46f: Download complete [2024-04-24T10:09:45.219Z] 33b1e0a273af: Verifying Checksum [2024-04-24T10:09:45.219Z] 33b1e0a273af: Download complete [2024-04-24T10:09:45.219Z] 5d3b04190fa2: Verifying Checksum [2024-04-24T10:09:45.219Z] 5d3b04190fa2: Download complete [2024-04-24T10:09:45.219Z] ec43610c2a17: Verifying Checksum [2024-04-24T10:09:45.219Z] ec43610c2a17: Download complete [2024-04-24T10:09:45.477Z] 5eb5b503b376: Verifying Checksum [2024-04-24T10:09:45.477Z] 5eb5b503b376: Download complete [2024-04-24T10:09:46.043Z] 2f39f015ded8: Download complete [2024-04-24T10:09:46.613Z] 5eb5b503b376: Pull complete [2024-04-24T10:09:46.871Z] 5c69ac0246d0: Pull complete [2024-04-24T10:09:47.129Z] ec43610c2a17: Pull complete [2024-04-24T10:09:47.387Z] 3a2ae6a8a46f: Pull complete [2024-04-24T10:09:47.387Z] 33b1e0a273af: Pull complete [2024-04-24T10:09:47.646Z] 5d3b04190fa2: Pull complete [2024-04-24T10:09:51.842Z] 2f39f015ded8: Pull complete [2024-04-24T10:09:51.842Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-24T10:09:51.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:09:51.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:09:51.948Z] prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container [2024-04-24T10:09:51.983Z] $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-04-24T10:09:56.690Z] $ docker top 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:09:57.086Z] ---> job-cost.sh [2024-04-24T10:09:57.086Z] lf-activate-venv: SKIPPING [2024-04-24T10:09:57.086Z] INFO: No Stack... [2024-04-24T10:09:57.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T10:09:57.613Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T10:09:57.914Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-549/archives/cost.csv [2024-04-24T10:09:57.915Z] + cut -d, -f6 [Pipeline] lock [2024-04-24T10:09:57.928Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [2024-04-24T10:09:57.935Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] did not exist. Created. [2024-04-24T10:09:57.939Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T10:09:58.246Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-24T10:09:58.280Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T10:09:58.287Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T10:09:58.313Z] $ docker stop --time=1 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 [2024-04-24T10:09:59.444Z] $ docker rm -f --volumes 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-24T10:09:59.777Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3501 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] ws [2024-04-24T10:09:59.791Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-04-24T10:09:59.824Z] Selected Git installation does not exist. Using Default [2024-04-24T10:09:59.824Z] The recommended git tool is: NONE [2024-04-24T10:10:05.332Z] using credential edgex-jenkins-ssh [2024-04-24T10:10:05.360Z] Cloning the remote Git repository [2024-04-24T10:10:05.410Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:10:05.520Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-04-24T10:10:05.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:10:05.672Z] > git --version # timeout=10 [2024-04-24T10:10:05.693Z] > git --version # 'git version 2.25.1' [2024-04-24T10:10:05.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:10:05.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T10:10:07.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T10:10:07.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T10:10:08.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T10:10:08.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:10:08.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:10:08.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-24T10:10:09.274Z] Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit e715f9585823a2f61c57f68e6edd4d3151291ed5 [2024-04-24T10:10:09.544Z] Merge succeeded, producing e715f9585823a2f61c57f68e6edd4d3151291ed5 [2024-04-24T10:10:09.544Z] Checking out Revision e715f9585823a2f61c57f68e6edd4d3151291ed5 (PR-549) [2024-04-24T10:10:09.290Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T10:10:09.356Z] > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 [2024-04-24T10:10:09.441Z] > git remote # timeout=10 [2024-04-24T10:10:09.463Z] > git config --get remote.origin.url # timeout=10 [2024-04-24T10:10:09.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:10:09.507Z] > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [2024-04-24T10:10:09.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-24T10:10:09.550Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T10:10:09.561Z] > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 [2024-04-24T10:10:13.109Z] Commit message: "Update internal/driver/deviceclient.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:10:14.696Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-24T10:10:14.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T10:10:14.697Z] Dload Upload Total Spent Left Speed [2024-04-24T10:10:14.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2024-04-24T10:10:15.031Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-24T10:10:15.357Z] + sudo tee /etc/docker/daemon.new [2024-04-24T10:10:15.357Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-24T10:10:15.357Z] { [2024-04-24T10:10:15.357Z] "registry-mirrors": [ [2024-04-24T10:10:15.357Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-24T10:10:15.357Z] ], [2024-04-24T10:10:15.357Z] "bip": "10.250.0.254/24", [2024-04-24T10:10:15.357Z] "hosts": [ [2024-04-24T10:10:15.357Z] "tcp://0.0.0.0:5555", [2024-04-24T10:10:15.357Z] "unix:///var/run/docker.sock" [2024-04-24T10:10:15.357Z] ], [2024-04-24T10:10:15.357Z] "mtu": 1458, [2024-04-24T10:10:15.357Z] "selinux-enabled": true, [2024-04-24T10:10:15.357Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-24T10:10:15.357Z] } [Pipeline] sh [2024-04-24T10:10:15.677Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-24T10:10:16.006Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:10:34.295Z] provisioning config files... [2024-04-24T10:10:34.334Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2977836013326346970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:10:34.789Z] ---> ****-login.sh [2024-04-24T10:10:34.789Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:10:35.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:10:35.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:10:35.376Z] Configure a credential helper to remove this warning. See [2024-04-24T10:10:35.376Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:10:35.376Z] [2024-04-24T10:10:35.376Z] Login Succeeded [2024-04-24T10:10:35.376Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:10:35.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:10:35.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:10:35.918Z] Configure a credential helper to remove this warning. See [2024-04-24T10:10:35.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:10:35.918Z] [2024-04-24T10:10:35.918Z] Login Succeeded [2024-04-24T10:10:35.918Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:10:36.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:10:36.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:10:36.188Z] Configure a credential helper to remove this warning. See [2024-04-24T10:10:36.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:10:36.188Z] [2024-04-24T10:10:36.188Z] Login Succeeded [2024-04-24T10:10:36.188Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:10:36.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:10:36.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:10:36.460Z] Configure a credential helper to remove this warning. See [2024-04-24T10:10:36.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:10:36.460Z] [2024-04-24T10:10:36.460Z] Login Succeeded [2024-04-24T10:10:36.460Z] ****.io [2024-04-24T10:10:36.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:10:37.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:10:37.327Z] Configure a credential helper to remove this warning. See [2024-04-24T10:10:37.327Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:10:37.327Z] [2024-04-24T10:10:37.327Z] Login Succeeded [2024-04-24T10:10:37.327Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:10:37.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T10:10:37.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:10:37.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:10:37.669Z] ========================================================= [2024-04-24T10:10:37.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-24T10:10:37.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:10:38.041Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T10:10:38.311Z] Sending build context to Docker daemon 8.831MB [2024-04-24T10:10:38.579Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:10:38.579Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T10:10:38.579Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-24T10:10:38.579Z] c6b39de5b339: Pulling fs layer [2024-04-24T10:10:38.579Z] a69c41024577: Pulling fs layer [2024-04-24T10:10:38.579Z] d6de4b400683: Pulling fs layer [2024-04-24T10:10:38.579Z] 35cb2a7552d0: Pulling fs layer [2024-04-24T10:10:38.579Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T10:10:38.579Z] 464afbd9ba4c: Pulling fs layer [2024-04-24T10:10:38.579Z] 00f215d4a9da: Pulling fs layer [2024-04-24T10:10:38.579Z] d496ad576159: Pulling fs layer [2024-04-24T10:10:38.579Z] 4f4fb700ef54: Waiting [2024-04-24T10:10:38.579Z] 464afbd9ba4c: Waiting [2024-04-24T10:10:38.579Z] 35cb2a7552d0: Waiting [2024-04-24T10:10:38.579Z] 00f215d4a9da: Waiting [2024-04-24T10:10:38.579Z] d496ad576159: Waiting [2024-04-24T10:10:38.579Z] a69c41024577: Verifying Checksum [2024-04-24T10:10:38.579Z] a69c41024577: Download complete [2024-04-24T10:10:38.853Z] 35cb2a7552d0: Verifying Checksum [2024-04-24T10:10:38.853Z] 35cb2a7552d0: Download complete [2024-04-24T10:10:38.853Z] 4f4fb700ef54: Download complete [2024-04-24T10:10:38.853Z] c6b39de5b339: Verifying Checksum [2024-04-24T10:10:38.853Z] c6b39de5b339: Download complete [2024-04-24T10:10:38.853Z] 464afbd9ba4c: Verifying Checksum [2024-04-24T10:10:38.853Z] 464afbd9ba4c: Download complete [2024-04-24T10:10:39.123Z] d496ad576159: Verifying Checksum [2024-04-24T10:10:39.123Z] d496ad576159: Download complete [2024-04-24T10:10:39.715Z] c6b39de5b339: Pull complete [2024-04-24T10:10:40.312Z] a69c41024577: Pull complete [2024-04-24T10:10:40.900Z] d6de4b400683: Verifying Checksum [2024-04-24T10:10:40.900Z] d6de4b400683: Download complete [2024-04-24T10:10:41.865Z] 00f215d4a9da: Verifying Checksum [2024-04-24T10:10:41.865Z] 00f215d4a9da: Download complete [2024-04-24T10:10:54.193Z] d6de4b400683: Pull complete [2024-04-24T10:10:54.193Z] 35cb2a7552d0: Pull complete [2024-04-24T10:10:54.193Z] 4f4fb700ef54: Pull complete [2024-04-24T10:10:54.193Z] 464afbd9ba4c: Pull complete [2024-04-24T10:11:04.379Z] 00f215d4a9da: Pull complete [2024-04-24T10:11:04.965Z] d496ad576159: Pull complete [2024-04-24T10:11:04.965Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-24T10:11:04.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-24T10:11:04.965Z] ---> f246e2811388 [2024-04-24T10:11:04.965Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:11:06.907Z] ---> Running in ce623f681c34 [2024-04-24T10:11:06.907Z] Removing intermediate container ce623f681c34 [2024-04-24T10:11:06.907Z] ---> 3a7a81c76720 [2024-04-24T10:11:06.907Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:11:06.907Z] ---> Running in 041d34dc4730 [2024-04-24T10:11:07.180Z] Removing intermediate container 041d34dc4730 [2024-04-24T10:11:07.180Z] ---> 9b643529f37c [2024-04-24T10:11:07.180Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:11:07.180Z] ---> Running in f974db9c775d [2024-04-24T10:11:08.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:11:08.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:11:09.827Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T10:11:09.827Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T10:11:09.827Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T10:11:09.827Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:11:09.827Z] OK: 272 MiB in 60 packages [2024-04-24T10:11:11.254Z] Removing intermediate container f974db9c775d [2024-04-24T10:11:11.254Z] ---> 1e28d04948ef [2024-04-24T10:11:11.254Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T10:11:11.254Z] ---> Running in 9fcc9b35c83e [2024-04-24T10:11:11.254Z] Removing intermediate container 9fcc9b35c83e [2024-04-24T10:11:11.254Z] ---> b2beba918f29 [2024-04-24T10:11:11.254Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T10:11:11.844Z] ---> 77c17b18f3b2 [2024-04-24T10:11:11.844Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:11:11.844Z] ---> Running in dca225735ee7 [2024-04-24T10:12:08.257Z] Removing intermediate container dca225735ee7 [2024-04-24T10:12:08.257Z] ---> 630baf679289 [2024-04-24T10:12:08.257Z] Step 9/10 : COPY . . [2024-04-24T10:12:09.227Z] ---> 150cd5231d6b [2024-04-24T10:12:09.227Z] Step 10/10 : RUN ${MAKE} [2024-04-24T10:12:09.227Z] ---> Running in 4a69f3c1e40e [2024-04-24T10:12:10.184Z] noop [2024-04-24T10:12:10.769Z] Removing intermediate container 4a69f3c1e40e [2024-04-24T10:12:10.769Z] ---> 81ae6c8e1776 [2024-04-24T10:12:10.769Z] Successfully built 81ae6c8e1776 [2024-04-24T10:12:10.769Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:12:11.135Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T10:12:11.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:12:11.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container [2024-04-24T10:12:11.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-24T10:12:12.534Z] $ docker top 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:12:13.345Z] + go version [2024-04-24T10:12:13.345Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-24T10:12:13.361Z] $ docker stop --time=1 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 [2024-04-24T10:12:14.945Z] $ docker rm -f --volumes 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:12:15.514Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T10:12:15.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:12:15.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container [2024-04-24T10:12:15.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-24T10:12:16.868Z] $ docker top aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:12:17.411Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-04-24T10:12:18.009Z] + make test [2024-04-24T10:12:18.283Z] go test ./... -coverprofile=coverage.out [2024-04-24T10:12:21.630Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T10:14:28.340Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T10:14:28.340Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements [2024-04-24T10:14:28.340Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-24T10:14:28.340Z] go vet ./... [2024-04-24T10:14:43.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T10:14:43.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T10:14:43.607Z] ./bin/test-attribution-txt.sh [2024-04-24T10:14:43.873Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T10:14:43.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T10:14:43.914Z] $ docker stop --time=1 aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf [2024-04-24T10:14:45.728Z] $ docker rm -f --volumes aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:14:46.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T10:14:46.920Z] Warning: overwriting stash ‘coverage-report’ [2024-04-24T10:14:47.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:14:47.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T10:14:48.053Z] + ls -al . [2024-04-24T10:14:48.053Z] total 192 [2024-04-24T10:14:48.053Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:12 . [2024-04-24T10:14:48.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:10 .. [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:10 .dockerignore [2024-04-24T10:14:48.053Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:10 .git [2024-04-24T10:14:48.053Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 .github [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:10 .gitignore [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:10 .golangci.yml [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:10 Attribution.txt [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:10 CHANGELOG.md [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:10 Dockerfile [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:10 GOVERNANCE.md [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:10 Jenkinsfile [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:10 LICENSE [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:10 Makefile [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:10 OWNERS.md [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:10 README.md [2024-04-24T10:14:48.053Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:07 VERSION [2024-04-24T10:14:48.053Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:10 bin [2024-04-24T10:14:48.053Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 cmd [2024-04-24T10:14:48.054Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:14 coverage.out [2024-04-24T10:14:48.054Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:10 go.mod [2024-04-24T10:14:48.054Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:10 go.sum [2024-04-24T10:14:48.054Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 internal [2024-04-24T10:14:48.054Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:10 simulator [2024-04-24T10:14:48.054Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:14:48.399Z] + 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=e715f9585823a2f61c57f68e6edd4d3151291ed5 --label arch=arm64 --label version=0.0.0 . [2024-04-24T10:14:48.670Z] Sending build context to Docker daemon 8.857MB [2024-04-24T10:14:48.941Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:14:48.941Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T10:14:48.941Z] ---> 81ae6c8e1776 [2024-04-24T10:14:48.941Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:14:48.941Z] ---> Running in f5797a2244e2 [2024-04-24T10:14:49.209Z] Removing intermediate container f5797a2244e2 [2024-04-24T10:14:49.209Z] ---> cd61f0740ae9 [2024-04-24T10:14:49.209Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:14:49.478Z] ---> Running in 14903dafb4a8 [2024-04-24T10:14:49.746Z] Removing intermediate container 14903dafb4a8 [2024-04-24T10:14:49.746Z] ---> 920df465c03a [2024-04-24T10:14:49.746Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:14:49.746Z] ---> Running in d5b420acc215 [2024-04-24T10:14:50.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:14:50.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:14:51.934Z] OK: 272 MiB in 60 packages [2024-04-24T10:14:52.903Z] Removing intermediate container d5b420acc215 [2024-04-24T10:14:52.903Z] ---> 9a0e246f5b89 [2024-04-24T10:14:52.903Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T10:14:52.903Z] ---> Running in a19d91f84b83 [2024-04-24T10:14:53.171Z] Removing intermediate container a19d91f84b83 [2024-04-24T10:14:53.171Z] ---> 5d4ef4989816 [2024-04-24T10:14:53.171Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T10:14:53.755Z] ---> 10a41926c2b9 [2024-04-24T10:14:53.755Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:14:53.755Z] ---> Running in ea4a4be97d5d [2024-04-24T10:14:55.705Z] Removing intermediate container ea4a4be97d5d [2024-04-24T10:14:55.705Z] ---> 01ad7dd722bb [2024-04-24T10:14:55.705Z] Step 9/23 : COPY . . [2024-04-24T10:14:56.665Z] ---> 0dfc1e204386 [2024-04-24T10:14:56.665Z] Step 10/23 : RUN ${MAKE} [2024-04-24T10:14:56.665Z] ---> Running in 258d859a194d [2024-04-24T10:14:57.625Z] 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T10:17:05.696Z] Removing intermediate container 258d859a194d [2024-04-24T10:17:05.696Z] ---> 5877fa4720c7 [2024-04-24T10:17:05.696Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T10:17:05.696Z] 3.18: Pulling from library/alpine [2024-04-24T10:17:05.696Z] c6b39de5b339: Already exists [2024-04-24T10:17:05.696Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T10:17:05.696Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T10:17:05.696Z] ---> 33abbf032149 [2024-04-24T10:17:05.696Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T10:17:05.696Z] ---> Running in 5e14c9944797 [2024-04-24T10:17:05.696Z] Removing intermediate container 5e14c9944797 [2024-04-24T10:17:05.696Z] ---> 0477a966e862 [2024-04-24T10:17:05.696Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T10:17:05.696Z] ---> Running in ef4ea2ad9df3 [2024-04-24T10:17:06.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:06.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:07.884Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T10:17:07.884Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:17:07.884Z] OK: 8 MiB in 16 packages [2024-04-24T10:17:08.847Z] Removing intermediate container ef4ea2ad9df3 [2024-04-24T10:17:08.847Z] ---> 764f7592a190 [2024-04-24T10:17:08.847Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T10:17:08.847Z] ---> Running in 57ebb175e0d5 [2024-04-24T10:17:09.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:10.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:11.023Z] Upgrading critical system libraries and apk-tools: [2024-04-24T10:17:11.023Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T10:17:11.023Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:17:11.287Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T10:17:11.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:11.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:17:12.519Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T10:17:12.519Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:17:12.519Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:17:12.519Z] OK: 8 MiB in 16 packages [2024-04-24T10:17:13.474Z] Removing intermediate container 57ebb175e0d5 [2024-04-24T10:17:13.474Z] ---> 1422f51aee0c [2024-04-24T10:17:13.474Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T10:17:14.873Z] ---> 88c6e91bc10b [2024-04-24T10:17:14.873Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T10:17:15.451Z] ---> c44032979d2d [2024-04-24T10:17:15.452Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T10:17:15.717Z] ---> aa33aa81e32f [2024-04-24T10:17:15.717Z] Step 18/23 : EXPOSE 59901 [2024-04-24T10:17:15.982Z] ---> Running in 0869b79e98a2 [2024-04-24T10:17:16.246Z] Removing intermediate container 0869b79e98a2 [2024-04-24T10:17:16.246Z] ---> 3a405ebce584 [2024-04-24T10:17:16.246Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T10:17:16.246Z] ---> Running in 3f909b0ca8f9 [2024-04-24T10:17:16.513Z] Removing intermediate container 3f909b0ca8f9 [2024-04-24T10:17:16.513Z] ---> 0bc704dd616e [2024-04-24T10:17:16.513Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T10:17:16.513Z] ---> Running in 3971bfd7d6f3 [2024-04-24T10:17:16.782Z] Removing intermediate container 3971bfd7d6f3 [2024-04-24T10:17:16.782Z] ---> 97d21bb51abe [2024-04-24T10:17:16.782Z] Step 21/23 : LABEL arch=arm64 [2024-04-24T10:17:16.782Z] ---> Running in c9ab3d24e9a5 [2024-04-24T10:17:17.365Z] Removing intermediate container c9ab3d24e9a5 [2024-04-24T10:17:17.365Z] ---> 2b0cefaaf5cf [2024-04-24T10:17:17.365Z] Step 22/23 : LABEL git_sha=e715f9585823a2f61c57f68e6edd4d3151291ed5 [2024-04-24T10:17:17.365Z] ---> Running in 5a4070995960 [2024-04-24T10:17:17.640Z] Removing intermediate container 5a4070995960 [2024-04-24T10:17:17.640Z] ---> 163cde490753 [2024-04-24T10:17:17.640Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T10:17:17.640Z] ---> Running in 8ac88040e482 [2024-04-24T10:17:17.909Z] Removing intermediate container 8ac88040e482 [2024-04-24T10:17:17.909Z] ---> 9dc056ea674c [2024-04-24T10:17:17.909Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T10:17:17.909Z] Successfully built 9dc056ea674c [2024-04-24T10:17:17.909Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:17:18.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:17:18.385Z] [2024-04-24T10:17:18.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:17:18.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:17:18.710Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-24T10:17:18.710Z] 8998bd30e6a1: Pulling fs layer [2024-04-24T10:17:18.710Z] 04944245beec: Pulling fs layer [2024-04-24T10:17:18.710Z] 699f458cf7ca: Pulling fs layer [2024-04-24T10:17:18.710Z] 765212b225bb: Pulling fs layer [2024-04-24T10:17:18.710Z] f23df028b6ca: Pulling fs layer [2024-04-24T10:17:18.710Z] d65c8cfc05b1: Pulling fs layer [2024-04-24T10:17:18.710Z] 2437ff75d9bd: Pulling fs layer [2024-04-24T10:17:18.710Z] f23df028b6ca: Waiting [2024-04-24T10:17:18.710Z] d65c8cfc05b1: Waiting [2024-04-24T10:17:18.710Z] 2437ff75d9bd: Waiting [2024-04-24T10:17:18.710Z] 765212b225bb: Waiting [2024-04-24T10:17:18.977Z] 04944245beec: Verifying Checksum [2024-04-24T10:17:18.977Z] 04944245beec: Download complete [2024-04-24T10:17:18.977Z] 765212b225bb: Download complete [2024-04-24T10:17:18.977Z] f23df028b6ca: Verifying Checksum [2024-04-24T10:17:18.977Z] f23df028b6ca: Download complete [2024-04-24T10:17:18.977Z] d65c8cfc05b1: Verifying Checksum [2024-04-24T10:17:18.977Z] d65c8cfc05b1: Download complete [2024-04-24T10:17:19.244Z] 699f458cf7ca: Verifying Checksum [2024-04-24T10:17:19.244Z] 699f458cf7ca: Download complete [2024-04-24T10:17:19.566Z] 8998bd30e6a1: Download complete [2024-04-24T10:17:22.194Z] 2437ff75d9bd: Verifying Checksum [2024-04-24T10:17:22.194Z] 2437ff75d9bd: Download complete [2024-04-24T10:17:24.804Z] 8998bd30e6a1: Pull complete [2024-04-24T10:17:24.804Z] 04944245beec: Pull complete [2024-04-24T10:17:26.745Z] 699f458cf7ca: Pull complete [2024-04-24T10:17:26.745Z] 765212b225bb: Pull complete [2024-04-24T10:17:27.327Z] f23df028b6ca: Pull complete [2024-04-24T10:17:27.594Z] d65c8cfc05b1: Pull complete [2024-04-24T10:17:45.803Z] 2437ff75d9bd: Pull complete [2024-04-24T10:17:45.803Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-24T10:17:45.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:17:45.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:17:45.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container [2024-04-24T10:17:46.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-24T10:17:48.507Z] $ docker top d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:17:49.343Z] ---> job-cost.sh [2024-04-24T10:17:49.343Z] lf-activate-venv: SKIPPING [2024-04-24T10:17:49.343Z] INFO: No Stack... [2024-04-24T10:17:49.609Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-24T10:17:50.564Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T10:17:51.203Z] + + cut -d,cat -f6 /w/workspace/device-modbus-go/2/archives/cost.csv [2024-04-24T10:17:51.203Z] [Pipeline] lock [2024-04-24T10:17:51.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [2024-04-24T10:17:51.267Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] did not exist. Created. [2024-04-24T10:17:51.272Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T10:17:51.625Z] /w/workspace/device-modbus-go/2@tmp/durable-38add8ea/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-24T10:17:51.959Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-24T10:17:51.974Z] Warning: overwriting stash ‘stack-cost’ [2024-04-24T10:17:52.018Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T10:17:52.026Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T10:17:52.055Z] $ docker stop --time=1 d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 [2024-04-24T10:17:53.527Z] $ docker rm -f --volumes d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 [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-04-24T10:17:53.987Z] provisioning config files... [2024-04-24T10:17:53.994Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config8292538231900201204tmp [Pipeline] { [Pipeline] sh [2024-04-24T10:17:54.292Z] + set +x [2024-04-24T10:17:54.292Z] + bash -s -- [2024-04-24T10:17:54.292Z] + curl -s https://codecov.io/bash [2024-04-24T10:17:54.292Z] [2024-04-24T10:17:54.292Z] _____ _ [2024-04-24T10:17:54.292Z] / ____| | | [2024-04-24T10:17:54.292Z] | | ___ __| | ___ ___ _____ __ [2024-04-24T10:17:54.292Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-24T10:17:54.292Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-24T10:17:54.292Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-24T10:17:54.292Z] Bash-1.0.6 [2024-04-24T10:17:54.292Z] [2024-04-24T10:17:54.292Z] [2024-04-24T10:17:54.292Z] ==> git version 2.25.1 found [2024-04-24T10:17:54.292Z] ==> 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-04-24T10:17:54.292Z] Release-Date: 2020-01-08 [2024-04-24T10:17:54.292Z] 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-04-24T10:17:54.292Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-24T10:17:54.292Z] ==> Jenkins CI detected. [2024-04-24T10:17:54.292Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T10:17:54.292Z] project root: . [2024-04-24T10:17:54.292Z] --> token set from env [2024-04-24T10:17:54.292Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-24T10:17:54.292Z] ==> Running gcov in . (disable via -X gcov) [2024-04-24T10:17:54.292Z] ==> Python coveragepy not found [2024-04-24T10:17:54.292Z] ==> Searching for coverage reports in: [2024-04-24T10:17:54.292Z] + . [2024-04-24T10:17:54.292Z] -> Found 1 reports [2024-04-24T10:17:54.551Z] ==> Detecting git/mercurial file structure [2024-04-24T10:17:54.551Z] ==> Reading reports [2024-04-24T10:17:54.551Z] + ./coverage.out bytes=24601 [2024-04-24T10:17:54.551Z] ==> Appending adjustments [2024-04-24T10:17:54.551Z] https://docs.codecov.io/docs/fixing-reports [2024-04-24T10:17:54.551Z] + Found adjustments [2024-04-24T10:17:54.551Z] ==> Gzipping contents [2024-04-24T10:17:54.551Z] 4.0K /tmp/codecov.xl20ye.gz [2024-04-24T10:17:54.551Z] ==> Uploading reports [2024-04-24T10:17:54.551Z] url: https://codecov.io [2024-04-24T10:17:54.551Z] query: branch=PR-549&commit=e715f9585823a2f61c57f68e6edd4d3151291ed5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T10:17:54.551Z] -> Pinging Codecov [2024-04-24T10:17:54.551Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-549&commit=e715f9585823a2f61c57f68e6edd4d3151291ed5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T10:17:54.810Z] -> Uploading to [2024-04-24T10:17:54.810Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/e715f9585823a2f61c57f68e6edd4d3151291ed5/13dc238c-c58e-4896-ab03-41bdda00bc47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T101754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df69ac51f52a355ebe4ed8358f3a8319a038a55c8235b0293b875e28e8125c79 [2024-04-24T10:17:54.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T10:17:54.810Z] Dload Upload Total Spent Left Speed [2024-04-24T10:17:55.069Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15372 --:--:-- --:--:-- --:--:-- 15310 100 3843 0 0 100 3843 0 15310 --:--:-- --:--:-- --:--:-- 15250 [2024-04-24T10:17:55.069Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] } [2024-04-24T10:17:55.075Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-04-24T10:17:55.890Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-549/archives ] [2024-04-24T10:17:55.890Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:17:55.890Z] total 16 [2024-04-24T10:17:55.890Z] drwxr-xr-x 3 root root 4096 Apr 24 10:09 . [2024-04-24T10:17:55.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:09 .. [2024-04-24T10:17:55.890Z] drwxr-xr-x 2 root root 4096 Apr 24 10:09 cost [2024-04-24T10:17:55.890Z] -rw-r--r-- 1 root root 88 Apr 24 10:09 cost.csv [2024-04-24T10:17:55.890Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:17:55.890Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:17:55.890Z] total 16 [2024-04-24T10:17:55.890Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:09 . [2024-04-24T10:17:55.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:09 .. [2024-04-24T10:17:55.890Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 10:09 cost [2024-04-24T10:17:55.890Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 24 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:17:56.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:17:57.038Z] ---> package-listing.sh [2024-04-24T10:17:57.039Z] ++ facter osfamily [2024-04-24T10:17:57.039Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-24T10:17:57.298Z] + OS_FAMILY=debian [2024-04-24T10:17:57.298Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T10:17:57.298Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-24T10:17:57.298Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-24T10:17:57.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-24T10:17:57.298Z] + PACKAGES=/tmp/packages_start.txt [2024-04-24T10:17:57.298Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T10:17:57.298Z] + PACKAGES=/tmp/packages_end.txt [2024-04-24T10:17:57.298Z] + case "${OS_FAMILY}" in [2024-04-24T10:17:57.298Z] + dpkg -l [2024-04-24T10:17:57.298Z] + grep '^ii' [2024-04-24T10:17:57.298Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-24T10:17:57.298Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-24T10:17:57.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-24T10:17:57.298Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T10:17:57.298Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [2024-04-24T10:17:57.298Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [Pipeline] echo [2024-04-24T10:17:57.310Z] 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-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-24T10:17:57.640Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:17:57.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:17:57.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:17:58.096Z] prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container [2024-04-24T10:17:58.120Z] $ 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-549/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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-04-24T10:17:58.286Z] $ docker top d22fc61a7f87c92cdc49e6ccf891dae14a00ac897098353cbc0c928522e0d15e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:17:58.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-24T10:17:58.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-24T10:17:59.237Z] + ls /var/log/sa-host [2024-04-24T10:17:59.237Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:17:59.314Z] provisioning config files... [2024-04-24T10:17:59.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config12109670375971146377tmp [Pipeline] { [Pipeline] echo [2024-04-24T10:17:59.340Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:17:59.621Z] ---> create-netrc.sh [Pipeline] } [2024-04-24T10:17:59.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:17:59.966Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-24T10:17:59.975Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:18:00.258Z] ---> sudo-logs.sh [2024-04-24T10:18:00.258Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-24T10:18:00.293Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:18:00.574Z] ---> job-cost.sh [2024-04-24T10:18:00.574Z] lf-activate-venv: SKIPPING [2024-04-24T10:18:00.574Z] DEBUG: total: 0.2199999988079071 [2024-04-24T10:18:00.574Z] INFO: Retrieving Stack Cost... [2024-04-24T10:18:00.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T10:18:01.401Z] INFO: Archiving Costs [Pipeline] echo [2024-04-24T10:18:01.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:18:01.698Z] ---> logs-deploy.sh [2024-04-24T10:18:01.698Z] lf-activate-venv: SKIPPING [2024-04-24T10:18:01.698Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-549/2 [2024-04-24T10:18:01.698Z] INFO: archiving workspace using pattern(s): [2024-04-24T10:18:02.636Z] Archives upload complete. [2024-04-24T10:18:02.636Z] INFO: archiving logs to Nexus