Pull request #587 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5a8926abfbdb16a08d515340c8d2dba603a7e5f+2b384c346e19e635e1b49ec09200f6d61a158dd6 (5714d58224c316d1db47a13e6a2d234c574081c5) 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-ssh9681564866271241434.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8113784207664460309.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-587/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-587/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15460431409349615966.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-587/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18110852685804468916.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5409764347892619118.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-587/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-587/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3494552372447405488.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24272 in /w/workspace/xfoundry_device-modbus-go_PR-587 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-587 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2b384c346e19e635e1b49ec09200f6d61a158dd6 into PR head commit f5a8926abfbdb16a08d515340c8d2dba603a7e5f Merge succeeded, producing f5a8926abfbdb16a08d515340c8d2dba603a7e5f Checking out Revision f5a8926abfbdb16a08d515340c8d2dba603a7e5f (PR-587) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/587/head:refs/remotes/origin/PR-587 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5a8926abfbdb16a08d515340c8d2dba603a7e5f # 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 2b384c346e19e635e1b49ec09200f6d61a158dd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5a8926abfbdb16a08d515340c8d2dba603a7e5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-01T05:07:33.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-01T05:07:34.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-01T05:07:34.225Z] ========================================================= [2024-11-01T05:07:34.226Z] EdgeX Global Pipelines Version Info [2024-11-01T05:07:34.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:07:34.993Z] ------------------- [2024-11-01T05:07:34.993Z] stable info: [2024-11-01T05:07:34.993Z] ------------------- [2024-11-01T05:07:34.993Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-01T05:07:34.993Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T05:07:34.993Z] Message: update stable to v1.0.265 [2024-11-01T05:07:35.567Z] ------------------- [2024-11-01T05:07:35.567Z] experimental info: [2024-11-01T05:07:35.567Z] ------------------- [2024-11-01T05:07:35.567Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-01T05:07:35.567Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-01T05:07:35.567Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-01T05:07:35.790Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-01T05:07:35.851Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-01T05:07:35.910Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-01T05:07:35.969Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-01T05:07:36.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-01T05:07:36.081Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-01T05:07:36.139Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-01T05:07:36.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-01T05:07:36.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-01T05:07:36.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-01T05:07:36.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-01T05:07:36.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-01T05:07:36.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-01T05:07:36.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-01T05:07:36.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T05:07:36.668Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T05:07:36.725Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T05:07:36.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T05:07:36.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-01T05:07:36.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-01T05:07:36.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-01T05:07:37.023Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-01T05:07:37.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-01T05:07:37.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-01T05:07:37.198Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-01T05:07:37.253Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-01T05:07:37.311Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-01T05:07:37.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo [2024-11-01T05:07:37.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo [2024-11-01T05:07:37.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo [2024-11-01T05:07:37.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5a8926abfbdb16a08d515340c8d2dba603a7e5f [Pipeline] echo [2024-11-01T05:07:37.586Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5a8926 [Pipeline] echo [2024-11-01T05:07:37.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T05:07:37.794Z] provisioning config files... [2024-11-01T05:07:37.810Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/config6400752842852385285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:07:38.195Z] ---> ****-login.sh [2024-11-01T05:07:38.196Z] nexus3.edgexfoundry.org:10001 [2024-11-01T05:07:38.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:38.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:38.456Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:38.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:38.457Z] [2024-11-01T05:07:38.457Z] Login Succeeded [2024-11-01T05:07:38.457Z] nexus3.edgexfoundry.org:10002 [2024-11-01T05:07:38.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:38.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:38.718Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:38.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:38.718Z] [2024-11-01T05:07:38.718Z] Login Succeeded [2024-11-01T05:07:38.718Z] nexus3.edgexfoundry.org:10003 [2024-11-01T05:07:38.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:38.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:38.718Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:38.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:38.718Z] [2024-11-01T05:07:38.718Z] Login Succeeded [2024-11-01T05:07:38.718Z] nexus3.edgexfoundry.org:10004 [2024-11-01T05:07:38.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:38.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:38.719Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:38.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:38.719Z] [2024-11-01T05:07:38.719Z] Login Succeeded [2024-11-01T05:07:38.980Z] ****.io [2024-11-01T05:07:38.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:38.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:38.980Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:38.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:38.980Z] [2024-11-01T05:07:38.980Z] Login Succeeded [2024-11-01T05:07:38.980Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T05:07:39.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-01T05:07:39.703Z] + git rev-list -1 --merges f5a8926abfbdb16a08d515340c8d2dba603a7e5f~1..f5a8926abfbdb16a08d515340c8d2dba603a7e5f [Pipeline] echo [2024-11-01T05:07:39.747Z] -----------> git rev-list -1 --merges f5a8926abfbdb16a08d515340c8d2dba603a7e5f~1..f5a8926abfbdb16a08d515340c8d2dba603a7e5f f5a8926abfbdb16a08d515340c8d2dba603a7e5f [false] [Pipeline] sh [2024-11-01T05:07:40.072Z] + git log --format=format:%s -1 f5a8926abfbdb16a08d515340c8d2dba603a7e5f [Pipeline] echo [2024-11-01T05:07:40.120Z] ========================================================= [2024-11-01T05:07:40.121Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-01T05:07:40.121Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T05:07:40.596Z] + git log --format=format:%s -1 f5a8926abfbdb16a08d515340c8d2dba603a7e5f [Pipeline] echo [2024-11-01T05:07:40.639Z] [semverPrep] GIT_COMMIT: f5a8926abfbdb16a08d515340c8d2dba603a7e5f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-01T05:07:40.687Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-01T05:07:41.117Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-01T05:07:41.117Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-01T05:07:41.117Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-01T05:07:41.117Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-01T05:07:41.117Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-01T05:07:41.117Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-01T05:07:41.117Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:07:41.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T05:07:41.634Z] [2024-11-01T05:07:41.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:07:42.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T05:07:42.061Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-01T05:07:42.061Z] b85a868b505f: Pulling fs layer [2024-11-01T05:07:42.061Z] e2be974225ed: Pulling fs layer [2024-11-01T05:07:42.061Z] 339a4e72a1f5: Pulling fs layer [2024-11-01T05:07:42.061Z] 988bab9f4d93: Pulling fs layer [2024-11-01T05:07:42.061Z] 1469e6f7b9e6: Pulling fs layer [2024-11-01T05:07:42.061Z] eaf3925da568: Pulling fs layer [2024-11-01T05:07:42.061Z] bab4dde63d76: Pulling fs layer [2024-11-01T05:07:42.061Z] bde34c3a00c8: Pulling fs layer [2024-11-01T05:07:42.061Z] b352a97aabf1: Pulling fs layer [2024-11-01T05:07:42.061Z] 4872d77fe225: Pulling fs layer [2024-11-01T05:07:42.061Z] 5851b861e8e6: Pulling fs layer [2024-11-01T05:07:42.061Z] eaf3925da568: Waiting [2024-11-01T05:07:42.061Z] 4872d77fe225: Waiting [2024-11-01T05:07:42.061Z] b352a97aabf1: Waiting [2024-11-01T05:07:42.061Z] 988bab9f4d93: Waiting [2024-11-01T05:07:42.061Z] bab4dde63d76: Waiting [2024-11-01T05:07:42.061Z] 1469e6f7b9e6: Waiting [2024-11-01T05:07:42.061Z] bde34c3a00c8: Waiting [2024-11-01T05:07:42.061Z] e2be974225ed: Download complete [2024-11-01T05:07:42.061Z] 988bab9f4d93: Download complete [2024-11-01T05:07:42.061Z] 1469e6f7b9e6: Verifying Checksum [2024-11-01T05:07:42.061Z] 1469e6f7b9e6: Download complete [2024-11-01T05:07:42.061Z] eaf3925da568: Verifying Checksum [2024-11-01T05:07:42.061Z] eaf3925da568: Download complete [2024-11-01T05:07:42.328Z] 339a4e72a1f5: Verifying Checksum [2024-11-01T05:07:42.328Z] 339a4e72a1f5: Download complete [2024-11-01T05:07:42.328Z] bde34c3a00c8: Verifying Checksum [2024-11-01T05:07:42.328Z] bde34c3a00c8: Download complete [2024-11-01T05:07:42.328Z] b352a97aabf1: Download complete [2024-11-01T05:07:42.328Z] 4872d77fe225: Download complete [2024-11-01T05:07:42.328Z] 5851b861e8e6: Verifying Checksum [2024-11-01T05:07:42.328Z] b85a868b505f: Verifying Checksum [2024-11-01T05:07:42.328Z] b85a868b505f: Download complete [2024-11-01T05:07:42.589Z] bab4dde63d76: Download complete [2024-11-01T05:07:43.529Z] b85a868b505f: Pull complete [2024-11-01T05:07:43.529Z] e2be974225ed: Pull complete [2024-11-01T05:07:44.101Z] 339a4e72a1f5: Pull complete [2024-11-01T05:07:44.101Z] 988bab9f4d93: Pull complete [2024-11-01T05:07:44.363Z] 1469e6f7b9e6: Pull complete [2024-11-01T05:07:44.363Z] eaf3925da568: Pull complete [2024-11-01T05:07:46.275Z] bab4dde63d76: Pull complete [2024-11-01T05:07:46.275Z] bde34c3a00c8: Pull complete [2024-11-01T05:07:46.275Z] b352a97aabf1: Pull complete [2024-11-01T05:07:46.275Z] 4872d77fe225: Pull complete [2024-11-01T05:07:46.535Z] 5851b861e8e6: Pull complete [2024-11-01T05:07:46.536Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-01T05:07:46.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T05:07:46.536Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:07:46.831Z] prd-ubuntu20.04-docker-8c-8g-24272 does not seem to be running inside a container [2024-11-01T05:07:46.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-587 -v /w/workspace/xfoundry_device-modbus-go_PR-587:/w/workspace/xfoundry_device-modbus-go_PR-587:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-587@tmp:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-01T05:07:48.198Z] $ docker top e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 -eo pid,comm [2024-11-01T05:07:48.256Z] 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-11-01T05:07:48.256Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-01T05:07:48.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T05:07:48.428Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T05:07:48.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T05:07:48.549Z] $ docker exec e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 ssh-agent [2024-11-01T05:07:48.662Z] SSH_AUTH_SOCK=/tmp/ssh-pqOpp5xWo5hm/agent.32 [2024-11-01T05:07:48.662Z] SSH_AGENT_PID=38 [2024-11-01T05:07:48.668Z] Running ssh-add (command line suppressed) [2024-11-01T05:07:48.771Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-587@tmp/private_key_3733245211085497230.key (/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/private_key_3733245211085497230.key) [2024-11-01T05:07:48.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T05:07:49.126Z] + git tag --points-at HEAD [Pipeline] } [2024-11-01T05:07:49.149Z] $ docker exec --env ******** --env ******** e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 ssh-agent -k [2024-11-01T05:07:49.246Z] unset SSH_AUTH_SOCK; [2024-11-01T05:07:49.246Z] unset SSH_AGENT_PID; [2024-11-01T05:07:49.246Z] echo Agent pid 38 killed; [2024-11-01T05:07:49.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-01T05:07:49.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T05:07:49.364Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T05:07:49.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T05:07:49.475Z] $ docker exec e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 ssh-agent [2024-11-01T05:07:49.583Z] SSH_AUTH_SOCK=/tmp/ssh-ssN0PzCj5TuZ/agent.71 [2024-11-01T05:07:49.583Z] SSH_AGENT_PID=77 [2024-11-01T05:07:49.589Z] Running ssh-add (command line suppressed) [2024-11-01T05:07:49.686Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-587@tmp/private_key_16063338926378903814.key (/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/private_key_16063338926378903814.key) [2024-11-01T05:07:49.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T05:07:50.036Z] + git semver init [2024-11-01T05:07:50.298Z] 2024-11-01 05:07:50,230 [run_init] DEBUG init version:0.0.0 force:False [2024-11-01T05:07:50.298Z] 2024-11-01 05:07:50,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-587/.semver [2024-11-01T05:07:50.298Z] 2024-11-01 05:07:50,231 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-587/.semver [2024-11-01T05:07:50.298Z] 2024-11-01 05:07:50,231 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-587/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-587, universal_newlines=False, shell=None, istream=None) [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,265 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-587/.git/info/exclude [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-587/.semver/PR-587 with force:False [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,266 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-587/.semver/PR-587 [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,271 [execute] INFO git cat-file --batch-check [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-587/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,278 [execute] INFO git cat-file --batch [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-587/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T05:07:51.680Z] 2024-11-01 05:07:51,283 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-587/.semver/PR-587 [2024-11-01T05:07:51.680Z] 0.0.0 [Pipeline] } [2024-11-01T05:07:51.707Z] $ docker exec --env ******** --env ******** e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 ssh-agent -k [2024-11-01T05:07:51.803Z] unset SSH_AUTH_SOCK; [2024-11-01T05:07:51.803Z] unset SSH_AGENT_PID; [2024-11-01T05:07:51.804Z] echo Agent pid 77 killed; [2024-11-01T05:07:51.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-01T05:07:52.283Z] + git semver [Pipeline] } [2024-11-01T05:07:52.568Z] $ docker stop --time=1 e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 [2024-11-01T05:07:53.909Z] $ docker rm -f --volumes e0155e27445940571259785f53cd02d0f2d626bad876f4b6e1bd82f2ace5a794 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T05:07:54.328Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-01T05:07:54.598Z] Stashed 1 file(s) [Pipeline] echo [2024-11-01T05:07:54.623Z] [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-11-01T05:07:55.293Z] provisioning config files... [2024-11-01T05:07:55.302Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/config6930899087333543681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:07:55.670Z] ---> ****-login.sh [2024-11-01T05:07:55.670Z] nexus3.edgexfoundry.org:10001 [2024-11-01T05:07:55.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:55.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:55.670Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:55.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:55.670Z] [2024-11-01T05:07:55.670Z] Login Succeeded [2024-11-01T05:07:55.670Z] nexus3.edgexfoundry.org:10002 [2024-11-01T05:07:55.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:55.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:55.671Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:55.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:55.671Z] [2024-11-01T05:07:55.671Z] Login Succeeded [2024-11-01T05:07:55.671Z] nexus3.edgexfoundry.org:10003 [2024-11-01T05:07:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:55.930Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:55.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:55.930Z] [2024-11-01T05:07:55.930Z] Login Succeeded [2024-11-01T05:07:55.930Z] nexus3.edgexfoundry.org:10004 [2024-11-01T05:07:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:55.930Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:55.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:55.930Z] [2024-11-01T05:07:55.930Z] Login Succeeded [2024-11-01T05:07:55.930Z] ****.io [2024-11-01T05:07:56.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:07:56.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:07:56.188Z] Configure a credential helper to remove this warning. See [2024-11-01T05:07:56.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:07:56.188Z] [2024-11-01T05:07:56.188Z] Login Succeeded [2024-11-01T05:07:56.188Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T05:07:56.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T05:07:56.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T05:07:56.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T05:07:56.547Z] ========================================================= [2024-11-01T05:07:56.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-01T05:07:56.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:07:57.049Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-01T05:07:57.049Z] Sending build context to Docker daemon 18.03MB [2024-11-01T05:07:57.049Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T05:07:57.049Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-01T05:07:57.049Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-01T05:07:57.049Z] 43c4264eed91: Pulling fs layer [2024-11-01T05:07:57.049Z] 4cc291be95ef: Pulling fs layer [2024-11-01T05:07:57.049Z] 2ac1f1163629: Pulling fs layer [2024-11-01T05:07:57.049Z] 5c3c966382ef: Pulling fs layer [2024-11-01T05:07:57.308Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T05:07:57.308Z] 5d5c8e513c77: Pulling fs layer [2024-11-01T05:07:57.308Z] 9f66e0745190: Pulling fs layer [2024-11-01T05:07:57.308Z] f49a43e4bbc0: Pulling fs layer [2024-11-01T05:07:57.308Z] 561ebcabdf7f: Pulling fs layer [2024-11-01T05:07:57.308Z] 5c3c966382ef: Waiting [2024-11-01T05:07:57.308Z] 4f4fb700ef54: Waiting [2024-11-01T05:07:57.308Z] 5d5c8e513c77: Waiting [2024-11-01T05:07:57.308Z] 9f66e0745190: Waiting [2024-11-01T05:07:57.308Z] 561ebcabdf7f: Waiting [2024-11-01T05:07:57.308Z] f49a43e4bbc0: Waiting [2024-11-01T05:07:57.308Z] 4cc291be95ef: Verifying Checksum [2024-11-01T05:07:57.308Z] 4cc291be95ef: Download complete [2024-11-01T05:07:57.308Z] 5c3c966382ef: Verifying Checksum [2024-11-01T05:07:57.308Z] 5c3c966382ef: Download complete [2024-11-01T05:07:57.308Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T05:07:57.308Z] 4f4fb700ef54: Download complete [2024-11-01T05:07:57.308Z] 5d5c8e513c77: Verifying Checksum [2024-11-01T05:07:57.308Z] 5d5c8e513c77: Download complete [2024-11-01T05:07:57.308Z] 43c4264eed91: Verifying Checksum [2024-11-01T05:07:57.308Z] 43c4264eed91: Download complete [2024-11-01T05:07:57.308Z] 9f66e0745190: Verifying Checksum [2024-11-01T05:07:57.308Z] 9f66e0745190: Download complete [2024-11-01T05:07:57.593Z] 43c4264eed91: Pull complete [2024-11-01T05:07:57.593Z] 561ebcabdf7f: Verifying Checksum [2024-11-01T05:07:57.593Z] 561ebcabdf7f: Download complete [2024-11-01T05:07:57.593Z] 4cc291be95ef: Pull complete [2024-11-01T05:07:57.870Z] 2ac1f1163629: Verifying Checksum [2024-11-01T05:07:57.870Z] 2ac1f1163629: Download complete [2024-11-01T05:07:57.870Z] f49a43e4bbc0: Verifying Checksum [2024-11-01T05:07:57.870Z] f49a43e4bbc0: Download complete [2024-11-01T05:08:02.091Z] 2ac1f1163629: Pull complete [2024-11-01T05:08:02.092Z] 5c3c966382ef: Pull complete [2024-11-01T05:08:02.092Z] 4f4fb700ef54: Pull complete [2024-11-01T05:08:02.092Z] 5d5c8e513c77: Pull complete [2024-11-01T05:08:02.092Z] 9f66e0745190: Pull complete [2024-11-01T05:08:04.016Z] f49a43e4bbc0: Pull complete [2024-11-01T05:08:04.667Z] 561ebcabdf7f: Pull complete [2024-11-01T05:08:04.667Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-01T05:08:04.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-01T05:08:04.667Z] ---> 3a752c3f9dda [2024-11-01T05:08:04.667Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-01T05:08:08.861Z] ---> Running in 7b02f91e1be3 [2024-11-01T05:08:08.861Z] Removing intermediate container 7b02f91e1be3 [2024-11-01T05:08:08.861Z] ---> aed3b000fc1c [2024-11-01T05:08:08.861Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T05:08:08.861Z] ---> Running in 2ed4566ad988 [2024-11-01T05:08:09.121Z] Removing intermediate container 2ed4566ad988 [2024-11-01T05:08:09.121Z] ---> b41e6775e250 [2024-11-01T05:08:09.121Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-01T05:08:09.121Z] ---> Running in dd13db50b64d [2024-11-01T05:08:09.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T05:08:09.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T05:08:09.900Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-01T05:08:09.900Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-01T05:08:09.900Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-01T05:08:09.900Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:08:09.900Z] OK: 252 MiB in 62 packages [2024-11-01T05:08:10.112Z] Still waiting to schedule task [2024-11-01T05:08:10.113Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-01T05:08:10.468Z] Removing intermediate container dd13db50b64d [2024-11-01T05:08:10.468Z] ---> 908dd77209ba [2024-11-01T05:08:10.468Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-01T05:08:10.468Z] ---> Running in b2d1ebe94b74 [2024-11-01T05:08:10.468Z] Removing intermediate container b2d1ebe94b74 [2024-11-01T05:08:10.468Z] ---> 073ebbfc2b26 [2024-11-01T05:08:10.468Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-01T05:08:10.727Z] ---> 5e07a5f380f8 [2024-11-01T05:08:10.727Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T05:08:10.727Z] ---> Running in b69b8419f48e [2024-11-01T05:09:07.058Z] Removing intermediate container b69b8419f48e [2024-11-01T05:09:07.058Z] ---> f10d6f3f2d68 [2024-11-01T05:09:07.058Z] Step 9/10 : COPY . . [2024-11-01T05:09:07.058Z] ---> 49d678dfaeb0 [2024-11-01T05:09:07.058Z] Step 10/10 : RUN ${MAKE} [2024-11-01T05:09:07.058Z] ---> Running in e1a991875386 [2024-11-01T05:09:07.058Z] noop [2024-11-01T05:09:07.058Z] Removing intermediate container e1a991875386 [2024-11-01T05:09:07.058Z] ---> 027d4947b418 [2024-11-01T05:09:07.058Z] Successfully built 027d4947b418 [2024-11-01T05:09:07.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:09:07.546Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T05:09:07.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:09:07.717Z] prd-ubuntu20.04-docker-8c-8g-24272 does not seem to be running inside a container [2024-11-01T05:09:07.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-587 -v /w/workspace/xfoundry_device-modbus-go_PR-587:/w/workspace/xfoundry_device-modbus-go_PR-587:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-587@tmp:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-01T05:09:08.100Z] $ docker top 4c3d99293da50fc5cf34edc60116d4195c112106890c87c7574972e1fee55dd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T05:09:08.516Z] + go version [2024-11-01T05:09:08.516Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-01T05:09:08.551Z] $ docker stop --time=1 4c3d99293da50fc5cf34edc60116d4195c112106890c87c7574972e1fee55dd1 [2024-11-01T05:09:09.832Z] $ docker rm -f --volumes 4c3d99293da50fc5cf34edc60116d4195c112106890c87c7574972e1fee55dd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:09:10.617Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T05:09:10.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:09:10.788Z] prd-ubuntu20.04-docker-8c-8g-24272 does not seem to be running inside a container [2024-11-01T05:09:10.813Z] $ 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-587 -v /w/workspace/xfoundry_device-modbus-go_PR-587:/w/workspace/xfoundry_device-modbus-go_PR-587:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-587@tmp:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-01T05:09:11.134Z] $ docker top fb1eb2476dc344d8c276cbd2bf88c2079169513980dd8380a4c86663e7cffdd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T05:09:11.547Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-587 [Pipeline] fileExists [Pipeline] sh [2024-11-01T05:09:11.927Z] + make test [2024-11-01T05:09:11.927Z] go test ./... -coverprofile=coverage.out [2024-11-01T05:09:13.831Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-01T05:09:35.768Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-01T05:09:35.768Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 48.0% of statements [2024-11-01T05:09:43.910Z] go vet ./... [2024-11-01T05:09:50.505Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T05:09:50.505Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T05:09:50.505Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T05:09:50.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T05:09:50.599Z] $ docker stop --time=1 fb1eb2476dc344d8c276cbd2bf88c2079169513980dd8380a4c86663e7cffdd8 [2024-11-01T05:09:54.443Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24273 in /w/workspace/xfoundry_device-modbus-go_PR-587 [2024-11-01T05:09:54.679Z] $ docker rm -f --volumes fb1eb2476dc344d8c276cbd2bf88c2079169513980dd8380a4c86663e7cffdd8 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-11-01T05:09:55.249Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-11-01T05:09:55.456Z] + sudo chown -R jenkins:jenkins . [2024-11-01T05:09:58.368Z] The recommended git tool is: git [Pipeline] stash [2024-11-01T05:09:58.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-01T05:09:59.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T05:09:59.523Z] + ls -al . [2024-11-01T05:09:59.523Z] total 260 [2024-11-01T05:09:59.523Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 05:09 . [2024-11-01T05:09:59.523Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 05:07 .. [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 05:07 .dockerignore [2024-11-01T05:09:59.523Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 05:09 .git [2024-11-01T05:09:59.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:07 .github [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 1 05:07 .gitignore [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 05:07 .golangci.yml [2024-11-01T05:09:59.523Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 05:07 .semver [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 1 05:07 Attribution.txt [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 1 05:07 CHANGELOG.md [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 1 05:07 Dockerfile [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 05:07 GOVERNANCE.md [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 1 05:07 Jenkinsfile [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 05:07 LICENSE [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 2479 Nov 1 05:07 Makefile [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 05:07 OWNERS.md [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 1 05:07 README.md [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 05:07 VERSION [2024-11-01T05:09:59.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 05:07 bin [2024-11-01T05:09:59.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:07 cmd [2024-11-01T05:09:59.523Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 1 05:09 coverage.out [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 1 05:07 go.mod [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 1 05:07 go.sum [2024-11-01T05:09:59.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:07 internal [2024-11-01T05:09:59.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 05:07 simulator [2024-11-01T05:09:59.523Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:10:00.163Z] + 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=f5a8926abfbdb16a08d515340c8d2dba603a7e5f --label arch=amd64 --label version=0.0.0 . [2024-11-01T05:10:00.164Z] Sending build context to Docker daemon 18.06MB [2024-11-01T05:10:00.164Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T05:10:00.164Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-01T05:10:00.164Z] ---> 027d4947b418 [2024-11-01T05:10:00.164Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-01T05:10:00.423Z] ---> Running in 1772dadd7969 [2024-11-01T05:10:00.423Z] Removing intermediate container 1772dadd7969 [2024-11-01T05:10:00.423Z] ---> 538033c6cf6f [2024-11-01T05:10:00.423Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T05:10:00.423Z] ---> Running in c97561bfdd9e [2024-11-01T05:10:00.423Z] Removing intermediate container c97561bfdd9e [2024-11-01T05:10:00.423Z] ---> 20cddd92a6e3 [2024-11-01T05:10:00.423Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-01T05:10:00.423Z] ---> Running in e8970186275f [2024-11-01T05:10:00.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:00.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:01.256Z] OK: 252 MiB in 62 packages [2024-11-01T05:10:01.824Z] Removing intermediate container e8970186275f [2024-11-01T05:10:01.824Z] ---> c45ce5d1a17d [2024-11-01T05:10:01.824Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-01T05:10:01.824Z] ---> Running in df54481097d0 [2024-11-01T05:10:01.824Z] Removing intermediate container df54481097d0 [2024-11-01T05:10:01.824Z] ---> dfaf48d49d1d [2024-11-01T05:10:01.824Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-01T05:10:01.824Z] ---> 60611a28f09f [2024-11-01T05:10:01.824Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T05:10:01.824Z] ---> Running in 96082ba8f442 [2024-11-01T05:10:02.768Z] Removing intermediate container 96082ba8f442 [2024-11-01T05:10:02.768Z] ---> 94b67ab70d50 [2024-11-01T05:10:02.768Z] Step 9/23 : COPY . . [2024-11-01T05:10:03.334Z] ---> 73062bbb5671 [2024-11-01T05:10:03.334Z] Step 10/23 : RUN ${MAKE} [2024-11-01T05:10:03.334Z] ---> Running in 2d862e6f14d2 [2024-11-01T05:10:03.599Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-01T05:10:06.538Z] using credential edgex-jenkins-ssh [2024-11-01T05:10:06.564Z] Cloning the remote Git repository [2024-11-01T05:10:06.604Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-01T05:10:06.725Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-11-01T05:10:06.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-01T05:10:06.935Z] > git --version # timeout=10 [2024-11-01T05:10:06.972Z] > git --version # 'git version 2.25.1' [2024-11-01T05:10:06.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T05:10:07.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T05:10:09.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-01T05:10:09.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T05:10:11.228Z] Merging remotes/origin/main commit 2b384c346e19e635e1b49ec09200f6d61a158dd6 into PR head commit f5a8926abfbdb16a08d515340c8d2dba603a7e5f [2024-11-01T05:10:11.750Z] Merge succeeded, producing f5a8926abfbdb16a08d515340c8d2dba603a7e5f [2024-11-01T05:10:11.751Z] Checking out Revision f5a8926abfbdb16a08d515340c8d2dba603a7e5f (PR-587) [2024-11-01T05:10:10.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-01T05:10:10.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-01T05:10:10.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T05:10:10.730Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-01T05:10:11.261Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T05:10:11.376Z] > git checkout -f f5a8926abfbdb16a08d515340c8d2dba603a7e5f # timeout=10 [2024-11-01T05:10:11.489Z] > git remote # timeout=10 [2024-11-01T05:10:11.517Z] > git config --get remote.origin.url # timeout=10 [2024-11-01T05:10:11.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T05:10:11.664Z] > git merge 2b384c346e19e635e1b49ec09200f6d61a158dd6 # timeout=10 [2024-11-01T05:10:11.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-01T05:10:11.754Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T05:10:11.785Z] > git checkout -f f5a8926abfbdb16a08d515340c8d2dba603a7e5f # timeout=10 [2024-11-01T05:10:12.556Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-01T05:10:12.621Z] > git --version # timeout=10 [2024-11-01T05:10:12.634Z] > git --version # 'git version 2.25.1' [2024-11-01T05:10:12.648Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T05:10:17.714Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-01T05:10:17.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T05:10:17.715Z] Dload Upload Total Spent Left Speed [2024-11-01T05:10:17.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-11-01T05:10:18.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-01T05:10:18.419Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-01T05:10:18.419Z] + sudo tee /etc/docker/daemon.new [2024-11-01T05:10:18.419Z] { [2024-11-01T05:10:18.419Z] "registry-mirrors": [ [2024-11-01T05:10:18.419Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-01T05:10:18.419Z] ], [2024-11-01T05:10:18.419Z] "bip": "10.250.0.254/24", [2024-11-01T05:10:18.419Z] "hosts": [ [2024-11-01T05:10:18.419Z] "tcp://0.0.0.0:5555", [2024-11-01T05:10:18.419Z] "unix:///var/run/docker.sock" [2024-11-01T05:10:18.419Z] ], [2024-11-01T05:10:18.419Z] "mtu": 1458, [2024-11-01T05:10:18.419Z] "selinux-enabled": true, [2024-11-01T05:10:18.419Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-01T05:10:18.419Z] } [Pipeline] sh [2024-11-01T05:10:18.773Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-01T05:10:19.132Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T05:10:37.482Z] provisioning config files... [2024-11-01T05:10:37.506Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17074311976411767540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:10:37.948Z] ---> ****-login.sh [2024-11-01T05:10:37.948Z] nexus3.edgexfoundry.org:10001 [2024-11-01T05:10:38.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:10:38.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:10:38.491Z] Configure a credential helper to remove this warning. See [2024-11-01T05:10:38.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:10:38.491Z] [2024-11-01T05:10:38.491Z] Login Succeeded [2024-11-01T05:10:38.491Z] nexus3.edgexfoundry.org:10002 [2024-11-01T05:10:38.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:10:38.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:10:38.814Z] Configure a credential helper to remove this warning. See [2024-11-01T05:10:38.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:10:38.814Z] [2024-11-01T05:10:38.814Z] Login Succeeded [2024-11-01T05:10:38.814Z] nexus3.edgexfoundry.org:10003 [2024-11-01T05:10:39.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:10:39.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:10:39.089Z] Configure a credential helper to remove this warning. See [2024-11-01T05:10:39.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:10:39.089Z] [2024-11-01T05:10:39.089Z] Login Succeeded [2024-11-01T05:10:39.089Z] nexus3.edgexfoundry.org:10004 [2024-11-01T05:10:39.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:10:39.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:10:39.641Z] Configure a credential helper to remove this warning. See [2024-11-01T05:10:39.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:10:39.641Z] [2024-11-01T05:10:39.641Z] Login Succeeded [2024-11-01T05:10:39.641Z] ****.io [2024-11-01T05:10:39.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T05:10:39.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T05:10:39.909Z] Configure a credential helper to remove this warning. See [2024-11-01T05:10:39.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T05:10:39.909Z] [2024-11-01T05:10:39.909Z] Login Succeeded [2024-11-01T05:10:39.909Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T05:10:39.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T05:10:40.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T05:10:40.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T05:10:40.510Z] ========================================================= [2024-11-01T05:10:40.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-01T05:10:40.510Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:10:41.073Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-01T05:10:41.339Z] Sending build context to Docker daemon 9.161MB [2024-11-01T05:10:41.339Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T05:10:41.339Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-01T05:10:41.607Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-01T05:10:41.607Z] cf04c63912e1: Pulling fs layer [2024-11-01T05:10:41.607Z] 55b35a11ae5e: Pulling fs layer [2024-11-01T05:10:41.607Z] a37a00ec5f00: Pulling fs layer [2024-11-01T05:10:41.607Z] 50b3750afda1: Pulling fs layer [2024-11-01T05:10:41.607Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T05:10:41.607Z] 80978eb59214: Pulling fs layer [2024-11-01T05:10:41.607Z] c9f46d7d2bd2: Pulling fs layer [2024-11-01T05:10:41.607Z] c5a475d317c9: Pulling fs layer [2024-11-01T05:10:41.607Z] 50b3750afda1: Waiting [2024-11-01T05:10:41.607Z] 4f4fb700ef54: Waiting [2024-11-01T05:10:41.607Z] 80978eb59214: Waiting [2024-11-01T05:10:41.607Z] c9f46d7d2bd2: Waiting [2024-11-01T05:10:41.607Z] c5a475d317c9: Waiting [2024-11-01T05:10:41.607Z] 55b35a11ae5e: Verifying Checksum [2024-11-01T05:10:41.607Z] 55b35a11ae5e: Download complete [2024-11-01T05:10:41.607Z] 50b3750afda1: Download complete [2024-11-01T05:10:41.607Z] 4f4fb700ef54: Download complete [2024-11-01T05:10:41.607Z] 80978eb59214: Verifying Checksum [2024-11-01T05:10:41.607Z] 80978eb59214: Download complete [2024-11-01T05:10:41.878Z] cf04c63912e1: Verifying Checksum [2024-11-01T05:10:41.878Z] cf04c63912e1: Download complete [2024-11-01T05:10:42.146Z] c5a475d317c9: Verifying Checksum [2024-11-01T05:10:42.146Z] c5a475d317c9: Download complete [2024-11-01T05:10:42.376Z] Removing intermediate container 2d862e6f14d2 [2024-11-01T05:10:42.376Z] ---> 5e68aef1b458 [2024-11-01T05:10:42.376Z] Step 11/23 : FROM alpine:3.20 [2024-11-01T05:10:42.376Z] 3.20: Pulling from library/alpine [2024-11-01T05:10:42.376Z] 43c4264eed91: Already exists [2024-11-01T05:10:42.376Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T05:10:42.376Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T05:10:42.376Z] ---> 91ef0af61f39 [2024-11-01T05:10:42.376Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-01T05:10:42.376Z] ---> Running in 3b67503652f7 [2024-11-01T05:10:42.376Z] Removing intermediate container 3b67503652f7 [2024-11-01T05:10:42.376Z] ---> 20f97833c418 [2024-11-01T05:10:42.376Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-01T05:10:42.376Z] ---> Running in 86b3d1c9e151 [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T05:10:42.376Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:10:42.376Z] OK: 8 MiB in 15 packages [2024-11-01T05:10:42.376Z] Removing intermediate container 86b3d1c9e151 [2024-11-01T05:10:42.376Z] ---> c78569822254 [2024-11-01T05:10:42.376Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-01T05:10:42.376Z] ---> Running in 371716ae9e80 [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] Upgrading critical system libraries and apk-tools: [2024-11-01T05:10:42.376Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T05:10:42.376Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:10:42.376Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T05:10:42.376Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T05:10:42.376Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T05:10:42.376Z] OK: 8 MiB in 15 packages [2024-11-01T05:10:42.376Z] Removing intermediate container 371716ae9e80 [2024-11-01T05:10:42.376Z] ---> 583afe825914 [2024-11-01T05:10:42.376Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-01T05:10:42.376Z] ---> d5989393785d [2024-11-01T05:10:42.376Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-01T05:10:42.376Z] ---> 4dd0067d09c4 [2024-11-01T05:10:42.376Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-01T05:10:42.376Z] ---> c4f884619919 [2024-11-01T05:10:42.376Z] Step 18/23 : EXPOSE 59901 [2024-11-01T05:10:42.376Z] ---> Running in 2bfbf00e7d3e [2024-11-01T05:10:42.376Z] Removing intermediate container 2bfbf00e7d3e [2024-11-01T05:10:42.376Z] ---> 69bebac9a454 [2024-11-01T05:10:42.376Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-01T05:10:42.376Z] ---> Running in 6e40057b8783 [2024-11-01T05:10:42.376Z] Removing intermediate container 6e40057b8783 [2024-11-01T05:10:42.376Z] ---> cdd0a60742c8 [2024-11-01T05:10:42.376Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T05:10:42.376Z] ---> Running in ad03860d98ad [2024-11-01T05:10:42.376Z] Removing intermediate container ad03860d98ad [2024-11-01T05:10:42.376Z] ---> b9c93a7fb96c [2024-11-01T05:10:42.376Z] Step 21/23 : LABEL arch=amd64 [2024-11-01T05:10:42.376Z] ---> Running in 3738bcabe97e [2024-11-01T05:10:42.376Z] Removing intermediate container 3738bcabe97e [2024-11-01T05:10:42.376Z] ---> 83b4061ca0cd [2024-11-01T05:10:42.376Z] Step 22/23 : LABEL git_sha=f5a8926abfbdb16a08d515340c8d2dba603a7e5f [2024-11-01T05:10:42.376Z] ---> Running in b899f2bd8d9b [2024-11-01T05:10:42.376Z] Removing intermediate container b899f2bd8d9b [2024-11-01T05:10:42.376Z] ---> 77ffd61f4abe [2024-11-01T05:10:42.376Z] Step 23/23 : LABEL version=0.0.0 [2024-11-01T05:10:42.376Z] ---> Running in c3a1d36aa1b6 [2024-11-01T05:10:42.376Z] Removing intermediate container c3a1d36aa1b6 [2024-11-01T05:10:42.376Z] ---> ff0dd4696fce [2024-11-01T05:10:42.376Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T05:10:42.376Z] Successfully built ff0dd4696fce [2024-11-01T05:10:42.376Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-11-01T05:10:42.738Z] cf04c63912e1: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:10:43.325Z] 55b35a11ae5e: Pull complete [2024-11-01T05:10:43.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T05:10:43.452Z] [2024-11-01T05:10:43.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:10:43.592Z] a37a00ec5f00: Verifying Checksum [2024-11-01T05:10:43.592Z] a37a00ec5f00: Download complete [2024-11-01T05:10:43.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T05:10:43.859Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-01T05:10:43.859Z] 5eb5b503b376: Pulling fs layer [2024-11-01T05:10:43.859Z] 5c69ac0246d0: Pulling fs layer [2024-11-01T05:10:43.859Z] ec43610c2a17: Pulling fs layer [2024-11-01T05:10:43.859Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-01T05:10:43.859Z] 33b1e0a273af: Pulling fs layer [2024-11-01T05:10:43.859Z] 5d3b04190fa2: Pulling fs layer [2024-11-01T05:10:43.859Z] 2f39f015ded8: Pulling fs layer [2024-11-01T05:10:43.859Z] 3a2ae6a8a46f: Waiting [2024-11-01T05:10:43.859Z] 33b1e0a273af: Waiting [2024-11-01T05:10:43.859Z] 5d3b04190fa2: Waiting [2024-11-01T05:10:43.859Z] 2f39f015ded8: Waiting [2024-11-01T05:10:43.859Z] 5c69ac0246d0: Verifying Checksum [2024-11-01T05:10:43.859Z] 5c69ac0246d0: Download complete [2024-11-01T05:10:43.859Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-01T05:10:43.859Z] 3a2ae6a8a46f: Download complete [2024-11-01T05:10:43.859Z] 33b1e0a273af: Verifying Checksum [2024-11-01T05:10:43.859Z] 33b1e0a273af: Download complete [2024-11-01T05:10:43.859Z] 5d3b04190fa2: Verifying Checksum [2024-11-01T05:10:43.859Z] 5d3b04190fa2: Download complete [2024-11-01T05:10:43.859Z] ec43610c2a17: Verifying Checksum [2024-11-01T05:10:43.859Z] ec43610c2a17: Download complete [2024-11-01T05:10:44.118Z] 5eb5b503b376: Verifying Checksum [2024-11-01T05:10:44.118Z] 5eb5b503b376: Download complete [2024-11-01T05:10:44.557Z] c9f46d7d2bd2: Verifying Checksum [2024-11-01T05:10:44.557Z] c9f46d7d2bd2: Download complete [2024-11-01T05:10:44.685Z] 2f39f015ded8: Download complete [2024-11-01T05:10:45.252Z] 5eb5b503b376: Pull complete [2024-11-01T05:10:45.511Z] 5c69ac0246d0: Pull complete [2024-11-01T05:10:46.077Z] ec43610c2a17: Pull complete [2024-11-01T05:10:46.077Z] 3a2ae6a8a46f: Pull complete [2024-11-01T05:10:46.335Z] 33b1e0a273af: Pull complete [2024-11-01T05:10:46.336Z] 5d3b04190fa2: Pull complete [2024-11-01T05:10:51.601Z] 2f39f015ded8: Pull complete [2024-11-01T05:10:51.601Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-01T05:10:51.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T05:10:51.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:10:51.869Z] prd-ubuntu20.04-docker-8c-8g-24272 does not seem to be running inside a container [2024-11-01T05:10:51.898Z] $ 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-587 -v /w/workspace/xfoundry_device-modbus-go_PR-587:/w/workspace/xfoundry_device-modbus-go_PR-587:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-587@tmp:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-01T05:10:55.853Z] $ docker top 02ba8ae48df3932071393c724a237e67f7bbcdbf3051e85fc94ef9260b357ee1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:10:56.353Z] ---> job-cost.sh [2024-11-01T05:10:56.353Z] lf-activate-venv: SKIPPING [2024-11-01T05:10:56.353Z] INFO: No Stack... [2024-11-01T05:10:56.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T05:10:56.875Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T05:10:57.194Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-587/archives/cost.csv [2024-11-01T05:10:57.194Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T05:10:57.246Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [2024-11-01T05:10:57.253Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] did not exist. Created. [2024-11-01T05:10:57.260Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T05:10:57.672Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-01T05:10:57.731Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T05:10:57.761Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T05:10:57.843Z] $ docker stop --time=1 02ba8ae48df3932071393c724a237e67f7bbcdbf3051e85fc94ef9260b357ee1 [2024-11-01T05:10:59.005Z] $ docker rm -f --volumes 02ba8ae48df3932071393c724a237e67f7bbcdbf3051e85fc94ef9260b357ee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-01T05:10:59.595Z] a37a00ec5f00: Pull complete [2024-11-01T05:10:59.596Z] 50b3750afda1: Pull complete [2024-11-01T05:10:59.596Z] 4f4fb700ef54: Pull complete [2024-11-01T05:10:59.596Z] 80978eb59214: Pull complete [2024-11-01T05:11:06.277Z] c9f46d7d2bd2: Pull complete [2024-11-01T05:11:07.267Z] c5a475d317c9: Pull complete [2024-11-01T05:11:07.267Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-01T05:11:07.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-01T05:11:07.267Z] ---> be29e6b0f0d4 [2024-11-01T05:11:07.267Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-01T05:11:08.698Z] ---> Running in 63ba8af256be [2024-11-01T05:11:08.975Z] Removing intermediate container 63ba8af256be [2024-11-01T05:11:08.976Z] ---> 13f611105560 [2024-11-01T05:11:08.976Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T05:11:08.976Z] ---> Running in 9bd91b4d3ebf [2024-11-01T05:11:09.249Z] Removing intermediate container 9bd91b4d3ebf [2024-11-01T05:11:09.249Z] ---> ee9137729dc9 [2024-11-01T05:11:09.249Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-01T05:11:09.249Z] ---> Running in 38bfcfac0954 [2024-11-01T05:11:10.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T05:11:10.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T05:11:12.258Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-01T05:11:12.258Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-01T05:11:12.258Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-01T05:11:12.258Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:11:12.258Z] OK: 244 MiB in 62 packages [2024-11-01T05:11:13.230Z] Removing intermediate container 38bfcfac0954 [2024-11-01T05:11:13.230Z] ---> a49c7000e6fa [2024-11-01T05:11:13.230Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-01T05:11:13.527Z] ---> Running in b3b6b7348817 [2024-11-01T05:11:13.796Z] Removing intermediate container b3b6b7348817 [2024-11-01T05:11:13.796Z] ---> c19c08eda503 [2024-11-01T05:11:13.796Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-01T05:11:15.743Z] ---> c6669daa3f8f [2024-11-01T05:11:15.743Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T05:11:15.743Z] ---> Running in 506d96d5e4f5 [2024-11-01T05:13:07.457Z] Removing intermediate container 506d96d5e4f5 [2024-11-01T05:13:07.457Z] ---> 221fcd513a8e [2024-11-01T05:13:07.457Z] Step 9/10 : COPY . . [2024-11-01T05:13:07.457Z] ---> dca2d205ef38 [2024-11-01T05:13:07.457Z] Step 10/10 : RUN ${MAKE} [2024-11-01T05:13:07.457Z] ---> Running in a53d83276194 [2024-11-01T05:13:07.457Z] noop [2024-11-01T05:13:07.457Z] Removing intermediate container a53d83276194 [2024-11-01T05:13:07.457Z] ---> f58fefe8f78e [2024-11-01T05:13:07.457Z] Successfully built f58fefe8f78e [2024-11-01T05:13:07.457Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:13:07.974Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T05:13:07.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:13:08.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-24273 does not seem to be running inside a container [2024-11-01T05:13:08.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-01T05:13:09.417Z] $ docker top 477bc25017b22807585e77b11ea609b6f7a0024441ff484b5ca06a1892de6935 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T05:13:10.299Z] + go version [2024-11-01T05:13:10.300Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-01T05:13:10.339Z] $ docker stop --time=1 477bc25017b22807585e77b11ea609b6f7a0024441ff484b5ca06a1892de6935 [2024-11-01T05:13:11.939Z] $ docker rm -f --volumes 477bc25017b22807585e77b11ea609b6f7a0024441ff484b5ca06a1892de6935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:13:12.833Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T05:13:12.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:13:13.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-24273 does not seem to be running inside a container [2024-11-01T05:13:13.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-01T05:13:14.206Z] $ docker top 84d4661bffa88b7e34b761976d58c46edb7a8d115ea1b1a7b6f52fd09f3cf43d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T05:13:14.761Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-01T05:13:15.743Z] + make test [2024-11-01T05:13:15.743Z] go test ./... -coverprofile=coverage.out [2024-11-01T05:13:21.093Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-01T05:16:42.962Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-01T05:16:42.962Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 48.0% of statements [2024-11-01T05:16:42.962Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-01T05:16:42.962Z] go vet ./... [2024-11-01T05:17:29.826Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T05:17:29.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T05:17:29.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T05:17:29.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T05:17:29.923Z] $ docker stop --time=1 84d4661bffa88b7e34b761976d58c46edb7a8d115ea1b1a7b6f52fd09f3cf43d [2024-11-01T05:17:31.792Z] $ docker rm -f --volumes 84d4661bffa88b7e34b761976d58c46edb7a8d115ea1b1a7b6f52fd09f3cf43d [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T05:17:33.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T05:17:33.401Z] Warning: overwriting stash ‘coverage-report’ [2024-11-01T05:17:33.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T05:17:34.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T05:17:34.824Z] + ls -al . [2024-11-01T05:17:34.824Z] total 256 [2024-11-01T05:17:34.824Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 05:13 . [2024-11-01T05:17:34.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 05:10 .. [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 05:10 .dockerignore [2024-11-01T05:17:34.824Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 05:10 .git [2024-11-01T05:17:34.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:10 .github [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 1 05:10 .gitignore [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 05:10 .golangci.yml [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 1 05:10 Attribution.txt [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 1 05:10 CHANGELOG.md [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 1 05:10 Dockerfile [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 05:10 GOVERNANCE.md [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 1 05:10 Jenkinsfile [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 05:10 LICENSE [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 2479 Nov 1 05:10 Makefile [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 05:10 OWNERS.md [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 1 05:10 README.md [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 05:07 VERSION [2024-11-01T05:17:34.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 05:10 bin [2024-11-01T05:17:34.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:10 cmd [2024-11-01T05:17:34.824Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 1 05:16 coverage.out [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 1 05:10 go.mod [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 1 05:10 go.sum [2024-11-01T05:17:34.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 05:10 internal [2024-11-01T05:17:34.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 05:10 simulator [2024-11-01T05:17:34.824Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:17:35.278Z] + 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=f5a8926abfbdb16a08d515340c8d2dba603a7e5f --label arch=arm64 --label version=0.0.0 . [2024-11-01T05:17:35.547Z] Sending build context to Docker daemon 9.187MB [2024-11-01T05:17:35.815Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T05:17:35.815Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-01T05:17:35.815Z] ---> f58fefe8f78e [2024-11-01T05:17:35.815Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-01T05:17:35.815Z] ---> Running in 93e4b76adbb1 [2024-11-01T05:17:36.090Z] Removing intermediate container 93e4b76adbb1 [2024-11-01T05:17:36.090Z] ---> f294a01370a4 [2024-11-01T05:17:36.090Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T05:17:36.090Z] ---> Running in 66a79e7029a1 [2024-11-01T05:17:36.708Z] Removing intermediate container 66a79e7029a1 [2024-11-01T05:17:36.708Z] ---> 5c1d3ee641ca [2024-11-01T05:17:36.708Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-01T05:17:36.708Z] ---> Running in 5e61bbee5b5e [2024-11-01T05:17:37.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T05:17:37.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T05:17:39.360Z] OK: 244 MiB in 62 packages [2024-11-01T05:17:40.333Z] Removing intermediate container 5e61bbee5b5e [2024-11-01T05:17:40.333Z] ---> 352633c4bda7 [2024-11-01T05:17:40.333Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-01T05:17:40.333Z] ---> Running in 500128540cf4 [2024-11-01T05:17:40.600Z] Removing intermediate container 500128540cf4 [2024-11-01T05:17:40.600Z] ---> 299b154b2d51 [2024-11-01T05:17:40.600Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-01T05:17:41.181Z] ---> 5fc894d110b2 [2024-11-01T05:17:41.181Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T05:17:41.181Z] ---> Running in 0f91b6ac554c [2024-11-01T05:17:43.139Z] Removing intermediate container 0f91b6ac554c [2024-11-01T05:17:43.139Z] ---> b96b0b09699d [2024-11-01T05:17:43.139Z] Step 9/23 : COPY . . [2024-11-01T05:17:44.548Z] ---> 0157e79de71a [2024-11-01T05:17:44.548Z] Step 10/23 : RUN ${MAKE} [2024-11-01T05:17:44.548Z] ---> Running in 14921318237a [2024-11-01T05:17:45.131Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-01T05:21:22.201Z] Removing intermediate container 14921318237a [2024-11-01T05:21:22.201Z] ---> 9ee6c467dba2 [2024-11-01T05:21:22.202Z] Step 11/23 : FROM alpine:3.20 [2024-11-01T05:21:22.202Z] 3.20: Pulling from library/alpine [2024-11-01T05:21:22.202Z] cf04c63912e1: Already exists [2024-11-01T05:21:22.202Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T05:21:22.202Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T05:21:22.202Z] ---> c157a85ed455 [2024-11-01T05:21:22.202Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-01T05:21:22.202Z] ---> Running in c61ae931b854 [2024-11-01T05:21:22.202Z] Removing intermediate container c61ae931b854 [2024-11-01T05:21:22.202Z] ---> 96f6571356ce [2024-11-01T05:21:22.202Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-01T05:21:22.202Z] ---> Running in 65b1da354709 [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T05:21:22.202Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:21:22.202Z] OK: 9 MiB in 15 packages [2024-11-01T05:21:22.202Z] Removing intermediate container 65b1da354709 [2024-11-01T05:21:22.202Z] ---> f8df1ce64ed7 [2024-11-01T05:21:22.202Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-01T05:21:22.202Z] ---> Running in ef38dad67c9f [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] Upgrading critical system libraries and apk-tools: [2024-11-01T05:21:22.202Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T05:21:22.202Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T05:21:22.202Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T05:21:22.202Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T05:21:22.202Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T05:21:22.202Z] OK: 9 MiB in 15 packages [2024-11-01T05:21:22.468Z] Removing intermediate container ef38dad67c9f [2024-11-01T05:21:22.468Z] ---> 79e7b58a6d88 [2024-11-01T05:21:22.468Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-01T05:21:25.049Z] ---> 2c1e3462c9b7 [2024-11-01T05:21:25.049Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-01T05:21:25.049Z] ---> ee90d6bb3abb [2024-11-01T05:21:25.049Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-01T05:21:25.639Z] ---> 3872ced98fd9 [2024-11-01T05:21:25.639Z] Step 18/23 : EXPOSE 59901 [2024-11-01T05:21:25.639Z] ---> Running in 98f907255f32 [2024-11-01T05:21:25.907Z] Removing intermediate container 98f907255f32 [2024-11-01T05:21:25.907Z] ---> f09ce90a0c14 [2024-11-01T05:21:25.907Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-01T05:21:26.180Z] ---> Running in bfac9efa4f6d [2024-11-01T05:21:26.445Z] Removing intermediate container bfac9efa4f6d [2024-11-01T05:21:26.445Z] ---> 1f8e035fee37 [2024-11-01T05:21:26.445Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T05:21:26.445Z] ---> Running in c5a3582c4d37 [2024-11-01T05:21:26.711Z] Removing intermediate container c5a3582c4d37 [2024-11-01T05:21:26.711Z] ---> 4d5b7f8cddaf [2024-11-01T05:21:26.711Z] Step 21/23 : LABEL arch=arm64 [2024-11-01T05:21:26.711Z] ---> Running in f02d6a4d772f [2024-11-01T05:21:26.978Z] Removing intermediate container f02d6a4d772f [2024-11-01T05:21:26.978Z] ---> 0ce0767e10ed [2024-11-01T05:21:26.978Z] Step 22/23 : LABEL git_sha=f5a8926abfbdb16a08d515340c8d2dba603a7e5f [2024-11-01T05:21:27.244Z] ---> Running in c85576ffbcfa [2024-11-01T05:21:27.510Z] Removing intermediate container c85576ffbcfa [2024-11-01T05:21:27.510Z] ---> 2a8be5c82fde [2024-11-01T05:21:27.510Z] Step 23/23 : LABEL version=0.0.0 [2024-11-01T05:21:27.510Z] ---> Running in ec35271b305d [2024-11-01T05:21:27.777Z] Removing intermediate container ec35271b305d [2024-11-01T05:21:27.777Z] ---> 9580c3bf1a22 [2024-11-01T05:21:27.777Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T05:21:27.777Z] Successfully built 9580c3bf1a22 [2024-11-01T05:21:27.777Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:21:28.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T05:21:28.748Z] [2024-11-01T05:21:28.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:21:29.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T05:21:29.168Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-01T05:21:29.168Z] 8998bd30e6a1: Pulling fs layer [2024-11-01T05:21:29.168Z] 04944245beec: Pulling fs layer [2024-11-01T05:21:29.168Z] 699f458cf7ca: Pulling fs layer [2024-11-01T05:21:29.168Z] 765212b225bb: Pulling fs layer [2024-11-01T05:21:29.168Z] f23df028b6ca: Pulling fs layer [2024-11-01T05:21:29.168Z] d65c8cfc05b1: Pulling fs layer [2024-11-01T05:21:29.168Z] 2437ff75d9bd: Pulling fs layer [2024-11-01T05:21:29.168Z] d65c8cfc05b1: Waiting [2024-11-01T05:21:29.168Z] 765212b225bb: Waiting [2024-11-01T05:21:29.168Z] f23df028b6ca: Waiting [2024-11-01T05:21:29.168Z] 2437ff75d9bd: Waiting [2024-11-01T05:21:29.434Z] 04944245beec: Verifying Checksum [2024-11-01T05:21:29.434Z] 04944245beec: Download complete [2024-11-01T05:21:29.434Z] 765212b225bb: Verifying Checksum [2024-11-01T05:21:29.434Z] 765212b225bb: Download complete [2024-11-01T05:21:29.434Z] f23df028b6ca: Verifying Checksum [2024-11-01T05:21:29.434Z] f23df028b6ca: Download complete [2024-11-01T05:21:29.434Z] d65c8cfc05b1: Verifying Checksum [2024-11-01T05:21:29.434Z] d65c8cfc05b1: Download complete [2024-11-01T05:21:29.701Z] 699f458cf7ca: Verifying Checksum [2024-11-01T05:21:29.701Z] 699f458cf7ca: Download complete [2024-11-01T05:21:29.966Z] 8998bd30e6a1: Download complete [2024-11-01T05:21:32.541Z] 2437ff75d9bd: Verifying Checksum [2024-11-01T05:21:32.541Z] 2437ff75d9bd: Download complete [2024-11-01T05:21:34.476Z] 8998bd30e6a1: Pull complete [2024-11-01T05:21:35.432Z] 04944245beec: Pull complete [2024-11-01T05:21:36.837Z] 699f458cf7ca: Pull complete [2024-11-01T05:21:37.105Z] 765212b225bb: Pull complete [2024-11-01T05:21:38.064Z] f23df028b6ca: Pull complete [2024-11-01T05:21:38.064Z] d65c8cfc05b1: Pull complete [2024-11-01T05:21:56.259Z] 2437ff75d9bd: Pull complete [2024-11-01T05:21:56.259Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-01T05:21:56.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T05:21:56.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:21:56.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-24273 does not seem to be running inside a container [2024-11-01T05:21:56.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-01T05:21:59.223Z] $ docker top 49e2b93febabca044f62b67e7eca35463eb7418ae69043cd376b36049b8b470f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:21:59.814Z] ---> job-cost.sh [2024-11-01T05:22:00.078Z] lf-activate-venv: SKIPPING [2024-11-01T05:22:00.078Z] INFO: No Stack... [2024-11-01T05:22:00.343Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-01T05:22:01.295Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T05:22:01.639Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-11-01T05:22:01.639Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T05:22:01.991Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [2024-11-01T05:22:01.998Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] did not exist. Created. [2024-11-01T05:22:02.005Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T05:22:02.433Z] /w/workspace/device-modbus-go/1@tmp/durable-8c9e8b53/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-01T05:22:02.787Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-01T05:22:02.834Z] Warning: overwriting stash ‘stack-cost’ [2024-11-01T05:22:02.877Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T05:22:02.896Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-587-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T05:22:02.985Z] $ docker stop --time=1 49e2b93febabca044f62b67e7eca35463eb7418ae69043cd376b36049b8b470f [2024-11-01T05:22:04.434Z] $ docker rm -f --volumes 49e2b93febabca044f62b67e7eca35463eb7418ae69043cd376b36049b8b470f [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-11-01T05:22:05.551Z] provisioning config files... [2024-11-01T05:22:05.559Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/config12862751133130241170tmp [Pipeline] { [Pipeline] sh [2024-11-01T05:22:05.912Z] + set +x [2024-11-01T05:22:05.912Z] + bash -s -- [2024-11-01T05:22:05.912Z] + curl -s https://codecov.io/bash [2024-11-01T05:22:05.912Z] [2024-11-01T05:22:05.912Z] _____ _ [2024-11-01T05:22:05.912Z] / ____| | | [2024-11-01T05:22:05.912Z] | | ___ __| | ___ ___ _____ __ [2024-11-01T05:22:05.912Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-01T05:22:05.912Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-01T05:22:05.912Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-01T05:22:05.912Z] Bash-1.0.6 [2024-11-01T05:22:05.912Z] [2024-11-01T05:22:05.912Z] [2024-11-01T05:22:05.913Z] ==> git version 2.25.1 found [2024-11-01T05:22:05.913Z] ==> 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-11-01T05:22:05.913Z] Release-Date: 2020-01-08 [2024-11-01T05:22:05.913Z] 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-11-01T05:22:05.913Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-01T05:22:05.913Z] ==> Jenkins CI detected. [2024-11-01T05:22:05.913Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-587 [2024-11-01T05:22:05.913Z] project root: . [2024-11-01T05:22:05.913Z] --> token set from env [2024-11-01T05:22:05.913Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-01T05:22:05.913Z] ==> Running gcov in . (disable via -X gcov) [2024-11-01T05:22:05.913Z] ==> Python coveragepy not found [2024-11-01T05:22:05.913Z] ==> Searching for coverage reports in: [2024-11-01T05:22:05.913Z] + . [2024-11-01T05:22:05.913Z] -> Found 1 reports [2024-11-01T05:22:05.913Z] ==> Detecting git/mercurial file structure [2024-11-01T05:22:05.913Z] ==> Reading reports [2024-11-01T05:22:05.913Z] + ./coverage.out bytes=25464 [2024-11-01T05:22:05.913Z] ==> Appending adjustments [2024-11-01T05:22:05.913Z] https://docs.codecov.io/docs/fixing-reports [2024-11-01T05:22:06.172Z] + Found adjustments [2024-11-01T05:22:06.172Z] ==> Gzipping contents [2024-11-01T05:22:06.172Z] 4.0K /tmp/codecov.9lvBpM.gz [2024-11-01T05:22:06.172Z] ==> Uploading reports [2024-11-01T05:22:06.172Z] url: https://codecov.io [2024-11-01T05:22:06.172Z] query: branch=PR-587&commit=f5a8926abfbdb16a08d515340c8d2dba603a7e5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-587%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=587&job=&cmd_args= [2024-11-01T05:22:06.172Z] -> Pinging Codecov [2024-11-01T05:22:06.172Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-587&commit=f5a8926abfbdb16a08d515340c8d2dba603a7e5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-587%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=587&job=&cmd_args= [2024-11-01T05:22:06.432Z] -> Uploading to [2024-11-01T05:22:06.432Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/f5a8926abfbdb16a08d515340c8d2dba603a7e5f/a9f5f160-50fe-49fc-80ae-bf4a7c2c9349.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T052206Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=308832865a77a9c60a182fff27cc8e8b0e9714463fee080901a4ad9167195eda [2024-11-01T05:22:06.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T05:22:06.432Z] Dload Upload Total Spent Left Speed [2024-11-01T05:22:06.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 16451 --:--:-- --:--:-- --:--:-- 16451 [2024-11-01T05:22:06.692Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f5a8926abfbdb16a08d515340c8d2dba603a7e5f [Pipeline] } [2024-11-01T05:22:06.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-01T05:22:08.866Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-587/archives ] [2024-11-01T05:22:08.866Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-587/archives [2024-11-01T05:22:08.866Z] total 16 [2024-11-01T05:22:08.866Z] drwxr-xr-x 3 root root 4096 Nov 1 05:10 . [2024-11-01T05:22:08.866Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 05:10 .. [2024-11-01T05:22:08.866Z] drwxr-xr-x 2 root root 4096 Nov 1 05:10 cost [2024-11-01T05:22:08.866Z] -rw-r--r-- 1 root root 88 Nov 1 05:10 cost.csv [2024-11-01T05:22:08.866Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-587/archives [2024-11-01T05:22:08.866Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-587/archives [2024-11-01T05:22:08.866Z] total 16 [2024-11-01T05:22:08.866Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 05:10 . [2024-11-01T05:22:08.866Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 05:10 .. [2024-11-01T05:22:08.866Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 05:10 cost [2024-11-01T05:22:08.866Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 1 05:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:09.216Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:10.128Z] ---> package-listing.sh [2024-11-01T05:22:10.128Z] ++ facter osfamily [2024-11-01T05:22:10.128Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-01T05:22:10.389Z] + OS_FAMILY=debian [2024-11-01T05:22:10.389Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-587 [2024-11-01T05:22:10.389Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-01T05:22:10.389Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-01T05:22:10.389Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-01T05:22:10.389Z] + PACKAGES=/tmp/packages_start.txt [2024-11-01T05:22:10.389Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-587 ']' [2024-11-01T05:22:10.389Z] + PACKAGES=/tmp/packages_end.txt [2024-11-01T05:22:10.389Z] + case "${OS_FAMILY}" in [2024-11-01T05:22:10.389Z] + dpkg -l [2024-11-01T05:22:10.389Z] + grep '^ii' [2024-11-01T05:22:10.389Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-01T05:22:10.389Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-01T05:22:10.389Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-01T05:22:10.389Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-587 ']' [2024-11-01T05:22:10.389Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-587/archives/ [2024-11-01T05:22:10.389Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-587/archives/ [Pipeline] echo [2024-11-01T05:22:10.430Z] 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-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-01T05:22:10.725Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T05:22:11.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T05:22:11.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T05:22:11.551Z] prd-ubuntu20.04-docker-8c-8g-24272 does not seem to be running inside a container [2024-11-01T05:22:11.581Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-587/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-587 -v /w/workspace/xfoundry_device-modbus-go_PR-587:/w/workspace/xfoundry_device-modbus-go_PR-587:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-587@tmp:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-01T05:22:11.804Z] $ docker top 6406f67fa77cb37fb8c0be965980770f4a309e9ec419188067817568c8a3f7b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T05:22:12.219Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-01T05:22:12.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-01T05:22:12.852Z] + ls /var/log/sa-host [2024-11-01T05:22:12.852Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T05:22:13.100Z] provisioning config files... [2024-11-01T05:22:13.109Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-587@tmp/config17224056825526003141tmp [Pipeline] { [Pipeline] echo [2024-11-01T05:22:13.187Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:13.508Z] ---> create-netrc.sh [Pipeline] } [2024-11-01T05:22:13.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:13.969Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-01T05:22:14.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:14.333Z] ---> sudo-logs.sh [2024-11-01T05:22:14.333Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-01T05:22:14.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:14.796Z] ---> job-cost.sh [2024-11-01T05:22:14.796Z] lf-activate-venv: SKIPPING [2024-11-01T05:22:14.796Z] DEBUG: total: 0.2199999988079071 [2024-11-01T05:22:14.796Z] INFO: Retrieving Stack Cost... [2024-11-01T05:22:15.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T05:22:15.661Z] INFO: Archiving Costs [Pipeline] echo [2024-11-01T05:22:15.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T05:22:16.062Z] ---> logs-deploy.sh [2024-11-01T05:22:16.062Z] lf-activate-venv: SKIPPING [2024-11-01T05:22:16.062Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-587/1 [2024-11-01T05:22:16.062Z] INFO: archiving workspace using pattern(s): [2024-11-01T05:22:17.033Z] Archives upload complete. [2024-11-01T05:22:17.033Z] INFO: archiving logs to Nexus