Pull request #585 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca+7248720eb6e2bf16815f86cf3de46e0922eeefd9 (bfd71c0db7aaeb8144689912c236265992320f8b) 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-ssh15822838827310517767.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-ssh172392296690596464.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-585/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-585/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3147002548675038614.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-585/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2390301282387836154.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-ssh8024349402098688859.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-585/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-585/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6344963340013103914.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-23581 in /w/workspace/xfoundry_device-modbus-go_PR-585 [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-585 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca Merge succeeded, producing 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca Checking out Revision 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca (PR-585) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-23T05:10:06.217Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-23T05:10:06.442Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-23T05:10:06.578Z] ========================================================= [2024-10-23T05:10:06.578Z] EdgeX Global Pipelines Version Info [2024-10-23T05:10:06.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:10:07.339Z] ------------------- [2024-10-23T05:10:07.339Z] stable info: [2024-10-23T05:10:07.339Z] ------------------- [2024-10-23T05:10:07.339Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-23T05:10:07.339Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-23T05:10:07.339Z] Message: update stable to v1.0.265 [2024-10-23T05:10:07.913Z] ------------------- [2024-10-23T05:10:07.913Z] experimental info: [2024-10-23T05:10:07.913Z] ------------------- [2024-10-23T05:10:07.913Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-23T05:10:07.913Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-23T05:10:07.913Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-23T05:10:08.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-23T05:10:08.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-23T05:10:08.262Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-23T05:10:08.322Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-23T05:10:08.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-23T05:10:08.442Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-23T05:10:08.721Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-23T05:10:08.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-23T05:10:08.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-23T05:10:08.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-23T05:10:08.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-23T05:10:09.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-23T05:10:09.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-23T05:10:09.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-23T05:10:09.246Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-23T05:10:09.322Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-23T05:10:09.391Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-23T05:10:09.456Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-23T05:10:09.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-23T05:10:09.580Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-23T05:10:09.645Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-23T05:10:09.702Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-23T05:10:09.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-23T05:10:09.827Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-23T05:10:09.884Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-23T05:10:09.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-23T05:10:10.005Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-23T05:10:10.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-585 [Pipeline] echo [2024-10-23T05:10:10.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-585 [Pipeline] echo [2024-10-23T05:10:10.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-585 [Pipeline] echo [2024-10-23T05:10:10.247Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [Pipeline] echo [2024-10-23T05:10:10.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ae889d [Pipeline] echo [2024-10-23T05:10:10.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T05:10:10.525Z] provisioning config files... [2024-10-23T05:10:10.538Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/config10640666343494065886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:10:10.953Z] ---> ****-login.sh [2024-10-23T05:10:10.953Z] nexus3.edgexfoundry.org:10001 [2024-10-23T05:10:11.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:11.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:11.213Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:11.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:11.213Z] [2024-10-23T05:10:11.213Z] Login Succeeded [2024-10-23T05:10:11.213Z] nexus3.edgexfoundry.org:10002 [2024-10-23T05:10:11.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:11.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:11.475Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:11.475Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:11.475Z] [2024-10-23T05:10:11.475Z] Login Succeeded [2024-10-23T05:10:11.475Z] nexus3.edgexfoundry.org:10003 [2024-10-23T05:10:11.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:11.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:11.476Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:11.476Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:11.476Z] [2024-10-23T05:10:11.476Z] Login Succeeded [2024-10-23T05:10:11.476Z] nexus3.edgexfoundry.org:10004 [2024-10-23T05:10:11.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:11.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:11.736Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:11.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:11.736Z] [2024-10-23T05:10:11.736Z] Login Succeeded [2024-10-23T05:10:11.736Z] ****.io [2024-10-23T05:10:11.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:11.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:11.996Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:11.996Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:11.996Z] [2024-10-23T05:10:11.996Z] Login Succeeded [2024-10-23T05:10:11.996Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T05:10:12.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-23T05:10:12.736Z] + git rev-list -1 --merges 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca~1..6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [Pipeline] echo [2024-10-23T05:10:12.786Z] -----------> git rev-list -1 --merges 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca~1..6ae889d26553e1fe391b8a8a84a4916b0b5f4dca 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [false] [Pipeline] sh [2024-10-23T05:10:13.110Z] + git log --format=format:%s -1 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [Pipeline] echo [2024-10-23T05:10:13.164Z] ========================================================= [2024-10-23T05:10:13.164Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-23T05:10:13.164Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T05:10:13.646Z] + git log --format=format:%s -1 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [Pipeline] echo [2024-10-23T05:10:13.686Z] [semverPrep] GIT_COMMIT: 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-23T05:10:13.739Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-23T05:10:14.209Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-23T05:10:14.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-23T05:10:14.210Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-23T05:10:14.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-23T05:10:14.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-23T05:10:14.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-23T05:10:14.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:10:14.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T05:10:14.826Z] [2024-10-23T05:10:14.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:10:15.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T05:10:15.238Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-23T05:10:15.238Z] b85a868b505f: Pulling fs layer [2024-10-23T05:10:15.238Z] e2be974225ed: Pulling fs layer [2024-10-23T05:10:15.238Z] 339a4e72a1f5: Pulling fs layer [2024-10-23T05:10:15.238Z] 988bab9f4d93: Pulling fs layer [2024-10-23T05:10:15.238Z] 1469e6f7b9e6: Pulling fs layer [2024-10-23T05:10:15.238Z] eaf3925da568: Pulling fs layer [2024-10-23T05:10:15.238Z] bab4dde63d76: Pulling fs layer [2024-10-23T05:10:15.238Z] bde34c3a00c8: Pulling fs layer [2024-10-23T05:10:15.238Z] b352a97aabf1: Pulling fs layer [2024-10-23T05:10:15.238Z] 4872d77fe225: Pulling fs layer [2024-10-23T05:10:15.238Z] 5851b861e8e6: Pulling fs layer [2024-10-23T05:10:15.238Z] 1469e6f7b9e6: Waiting [2024-10-23T05:10:15.238Z] eaf3925da568: Waiting [2024-10-23T05:10:15.238Z] bab4dde63d76: Waiting [2024-10-23T05:10:15.238Z] bde34c3a00c8: Waiting [2024-10-23T05:10:15.238Z] b352a97aabf1: Waiting [2024-10-23T05:10:15.238Z] 4872d77fe225: Waiting [2024-10-23T05:10:15.238Z] 5851b861e8e6: Waiting [2024-10-23T05:10:15.238Z] 988bab9f4d93: Waiting [2024-10-23T05:10:15.238Z] e2be974225ed: Verifying Checksum [2024-10-23T05:10:15.238Z] e2be974225ed: Download complete [2024-10-23T05:10:15.238Z] 988bab9f4d93: Verifying Checksum [2024-10-23T05:10:15.238Z] 988bab9f4d93: Download complete [2024-10-23T05:10:15.500Z] 1469e6f7b9e6: Verifying Checksum [2024-10-23T05:10:15.500Z] 1469e6f7b9e6: Download complete [2024-10-23T05:10:15.500Z] 339a4e72a1f5: Verifying Checksum [2024-10-23T05:10:15.500Z] 339a4e72a1f5: Download complete [2024-10-23T05:10:15.500Z] eaf3925da568: Verifying Checksum [2024-10-23T05:10:15.500Z] eaf3925da568: Download complete [2024-10-23T05:10:15.500Z] bde34c3a00c8: Verifying Checksum [2024-10-23T05:10:15.500Z] bde34c3a00c8: Download complete [2024-10-23T05:10:15.500Z] b352a97aabf1: Download complete [2024-10-23T05:10:15.500Z] 4872d77fe225: Verifying Checksum [2024-10-23T05:10:15.500Z] 4872d77fe225: Download complete [2024-10-23T05:10:15.500Z] 5851b861e8e6: Download complete [2024-10-23T05:10:15.500Z] b85a868b505f: Download complete [2024-10-23T05:10:15.759Z] bab4dde63d76: Verifying Checksum [2024-10-23T05:10:15.759Z] bab4dde63d76: Download complete [2024-10-23T05:10:16.694Z] b85a868b505f: Pull complete [2024-10-23T05:10:16.952Z] e2be974225ed: Pull complete [2024-10-23T05:10:17.214Z] 339a4e72a1f5: Pull complete [2024-10-23T05:10:17.474Z] 988bab9f4d93: Pull complete [2024-10-23T05:10:17.732Z] 1469e6f7b9e6: Pull complete [2024-10-23T05:10:17.732Z] eaf3925da568: Pull complete [2024-10-23T05:10:19.644Z] bab4dde63d76: Pull complete [2024-10-23T05:10:19.644Z] bde34c3a00c8: Pull complete [2024-10-23T05:10:19.644Z] b352a97aabf1: Pull complete [2024-10-23T05:10:19.644Z] 4872d77fe225: Pull complete [2024-10-23T05:10:19.904Z] 5851b861e8e6: Pull complete [2024-10-23T05:10:19.904Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-23T05:10:19.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T05:10:19.904Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:10:20.235Z] prd-ubuntu20.04-docker-8c-8g-23581 does not seem to be running inside a container [2024-10-23T05:10:20.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-585 -v /w/workspace/xfoundry_device-modbus-go_PR-585:/w/workspace/xfoundry_device-modbus-go_PR-585:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-585@tmp:/w/workspace/xfoundry_device-modbus-go_PR-585@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-23T05:10:23.106Z] $ docker top 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 -eo pid,comm [2024-10-23T05:10:23.172Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-23T05:10:23.172Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-23T05:10:23.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T05:10:23.350Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T05:10:23.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T05:10:23.453Z] $ docker exec 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 ssh-agent [2024-10-23T05:10:23.575Z] SSH_AUTH_SOCK=/tmp/ssh-ZcI9jXbEE0yG/agent.32 [2024-10-23T05:10:23.575Z] SSH_AGENT_PID=38 [2024-10-23T05:10:23.586Z] Running ssh-add (command line suppressed) [2024-10-23T05:10:23.690Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-585@tmp/private_key_17329263007381389670.key (/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/private_key_17329263007381389670.key) [2024-10-23T05:10:23.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T05:10:24.074Z] + git tag --points-at HEAD [Pipeline] } [2024-10-23T05:10:24.098Z] $ docker exec --env ******** --env ******** 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 ssh-agent -k [2024-10-23T05:10:24.199Z] unset SSH_AUTH_SOCK; [2024-10-23T05:10:24.200Z] unset SSH_AGENT_PID; [2024-10-23T05:10:24.200Z] echo Agent pid 38 killed; [2024-10-23T05:10:24.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-23T05:10:24.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T05:10:24.358Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T05:10:24.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T05:10:24.465Z] $ docker exec 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 ssh-agent [2024-10-23T05:10:24.578Z] SSH_AUTH_SOCK=/tmp/ssh-P3FfBLp8iCma/agent.71 [2024-10-23T05:10:24.578Z] SSH_AGENT_PID=77 [2024-10-23T05:10:24.583Z] Running ssh-add (command line suppressed) [2024-10-23T05:10:24.686Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-585@tmp/private_key_12297286713114736649.key (/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/private_key_12297286713114736649.key) [2024-10-23T05:10:24.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T05:10:25.068Z] + git semver init [2024-10-23T05:10:25.327Z] 2024-10-23 05:10:25,226 [run_init] DEBUG init version:0.0.0 force:False [2024-10-23T05:10:25.327Z] 2024-10-23 05:10:25,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-585/.semver [2024-10-23T05:10:25.327Z] 2024-10-23 05:10:25,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-585/.semver [2024-10-23T05:10:25.327Z] 2024-10-23 05:10:25,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-585/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-585, universal_newlines=False, shell=None, istream=None) [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,618 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-585/.git/info/exclude [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,618 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-585/.semver/PR-585 with force:False [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,619 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-585/.semver/PR-585 [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,623 [execute] INFO git cat-file --batch-check [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-585/.semver, universal_newlines=False, shell=None, istream=) [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,631 [execute] INFO git cat-file --batch [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-585/.semver, universal_newlines=False, shell=None, istream=) [2024-10-23T05:10:27.870Z] 2024-10-23 05:10:27,638 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-585/.semver/PR-585 [2024-10-23T05:10:27.870Z] 0.0.0 [Pipeline] } [2024-10-23T05:10:27.975Z] $ docker exec --env ******** --env ******** 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 ssh-agent -k [2024-10-23T05:10:28.085Z] unset SSH_AUTH_SOCK; [2024-10-23T05:10:28.085Z] unset SSH_AGENT_PID; [2024-10-23T05:10:28.085Z] echo Agent pid 77 killed; [2024-10-23T05:10:28.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-23T05:10:28.531Z] + git semver [Pipeline] } [2024-10-23T05:10:28.926Z] $ docker stop --time=1 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 [2024-10-23T05:10:30.210Z] $ docker rm -f --volumes 1010468295fd7d6917fd19734df60b66c722f2421cd6542f9e510415af580e69 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T05:10:30.484Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-23T05:10:30.814Z] Stashed 1 file(s) [Pipeline] echo [2024-10-23T05:10:30.840Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T05:10:31.713Z] provisioning config files... [2024-10-23T05:10:31.724Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/config3029580176482655232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:10:32.104Z] ---> ****-login.sh [2024-10-23T05:10:32.104Z] nexus3.edgexfoundry.org:10001 [2024-10-23T05:10:32.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:32.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:32.104Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:32.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:32.104Z] [2024-10-23T05:10:32.104Z] Login Succeeded [2024-10-23T05:10:32.104Z] nexus3.edgexfoundry.org:10002 [2024-10-23T05:10:32.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:32.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:32.104Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:32.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:32.104Z] [2024-10-23T05:10:32.104Z] Login Succeeded [2024-10-23T05:10:32.104Z] nexus3.edgexfoundry.org:10003 [2024-10-23T05:10:32.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:32.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:32.365Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:32.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:32.365Z] [2024-10-23T05:10:32.365Z] Login Succeeded [2024-10-23T05:10:32.365Z] nexus3.edgexfoundry.org:10004 [2024-10-23T05:10:32.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:32.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:32.365Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:32.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:32.365Z] [2024-10-23T05:10:32.365Z] Login Succeeded [2024-10-23T05:10:32.365Z] ****.io [2024-10-23T05:10:32.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:10:32.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:10:32.624Z] Configure a credential helper to remove this warning. See [2024-10-23T05:10:32.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:10:32.624Z] [2024-10-23T05:10:32.624Z] Login Succeeded [2024-10-23T05:10:32.624Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T05:10:32.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T05:10:32.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T05:10:32.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T05:10:32.988Z] ========================================================= [2024-10-23T05:10:32.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-23T05:10:32.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:10:33.514Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-23T05:10:33.514Z] Sending build context to Docker daemon 17.97MB [2024-10-23T05:10:33.514Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T05:10:33.514Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-23T05:10:33.775Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-23T05:10:33.775Z] 43c4264eed91: Pulling fs layer [2024-10-23T05:10:33.775Z] 4cc291be95ef: Pulling fs layer [2024-10-23T05:10:33.775Z] 2ac1f1163629: Pulling fs layer [2024-10-23T05:10:33.775Z] 5c3c966382ef: Pulling fs layer [2024-10-23T05:10:33.775Z] 4f4fb700ef54: Pulling fs layer [2024-10-23T05:10:33.775Z] 5d5c8e513c77: Pulling fs layer [2024-10-23T05:10:33.775Z] 9f66e0745190: Pulling fs layer [2024-10-23T05:10:33.775Z] f49a43e4bbc0: Pulling fs layer [2024-10-23T05:10:33.775Z] 561ebcabdf7f: Pulling fs layer [2024-10-23T05:10:33.775Z] 5d5c8e513c77: Waiting [2024-10-23T05:10:33.775Z] 9f66e0745190: Waiting [2024-10-23T05:10:33.775Z] f49a43e4bbc0: Waiting [2024-10-23T05:10:33.775Z] 5c3c966382ef: Waiting [2024-10-23T05:10:33.775Z] 4f4fb700ef54: Waiting [2024-10-23T05:10:33.775Z] 561ebcabdf7f: Waiting [2024-10-23T05:10:33.775Z] 4cc291be95ef: Verifying Checksum [2024-10-23T05:10:33.775Z] 4cc291be95ef: Download complete [2024-10-23T05:10:33.775Z] 5c3c966382ef: Download complete [2024-10-23T05:10:33.775Z] 4f4fb700ef54: Verifying Checksum [2024-10-23T05:10:33.775Z] 4f4fb700ef54: Download complete [2024-10-23T05:10:33.775Z] 5d5c8e513c77: Verifying Checksum [2024-10-23T05:10:33.775Z] 5d5c8e513c77: Download complete [2024-10-23T05:10:33.775Z] 43c4264eed91: Download complete [2024-10-23T05:10:33.775Z] 9f66e0745190: Verifying Checksum [2024-10-23T05:10:33.775Z] 9f66e0745190: Download complete [2024-10-23T05:10:34.043Z] 43c4264eed91: Pull complete [2024-10-23T05:10:34.043Z] 561ebcabdf7f: Verifying Checksum [2024-10-23T05:10:34.043Z] 561ebcabdf7f: Download complete [2024-10-23T05:10:34.043Z] 4cc291be95ef: Pull complete [2024-10-23T05:10:34.306Z] 2ac1f1163629: Verifying Checksum [2024-10-23T05:10:34.306Z] 2ac1f1163629: Download complete [2024-10-23T05:10:34.565Z] f49a43e4bbc0: Verifying Checksum [2024-10-23T05:10:34.565Z] f49a43e4bbc0: Download complete [2024-10-23T05:10:37.851Z] 2ac1f1163629: Pull complete [2024-10-23T05:10:37.851Z] 5c3c966382ef: Pull complete [2024-10-23T05:10:37.851Z] 4f4fb700ef54: Pull complete [2024-10-23T05:10:37.851Z] 5d5c8e513c77: Pull complete [2024-10-23T05:10:37.851Z] 9f66e0745190: Pull complete [2024-10-23T05:10:39.759Z] f49a43e4bbc0: Pull complete [2024-10-23T05:10:40.326Z] 561ebcabdf7f: Pull complete [2024-10-23T05:10:40.326Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-23T05:10:40.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-23T05:10:40.326Z] ---> 3a752c3f9dda [2024-10-23T05:10:40.326Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-23T05:10:45.670Z] ---> Running in b604f1682392 [2024-10-23T05:10:45.670Z] Removing intermediate container b604f1682392 [2024-10-23T05:10:45.670Z] ---> f2cc5a502b4c [2024-10-23T05:10:45.670Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T05:10:45.670Z] ---> Running in 6f306ad2aee8 [2024-10-23T05:10:45.670Z] Removing intermediate container 6f306ad2aee8 [2024-10-23T05:10:45.670Z] ---> 81763a0ed3d0 [2024-10-23T05:10:45.670Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-23T05:10:45.670Z] ---> Running in 4eb18459c25d [2024-10-23T05:10:45.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T05:10:45.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T05:10:45.932Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-23T05:10:45.932Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-23T05:10:45.932Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-23T05:10:45.932Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:10:45.932Z] OK: 252 MiB in 62 packages [2024-10-23T05:10:46.386Z] Still waiting to schedule task [2024-10-23T05:10:46.386Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-23T05:10:46.501Z] Removing intermediate container 4eb18459c25d [2024-10-23T05:10:46.501Z] ---> 0b79edfc9c91 [2024-10-23T05:10:46.501Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-23T05:10:46.501Z] ---> Running in d0f5d3e5c918 [2024-10-23T05:10:46.501Z] Removing intermediate container d0f5d3e5c918 [2024-10-23T05:10:46.501Z] ---> 3ca558ec0ce3 [2024-10-23T05:10:46.501Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-23T05:10:46.501Z] ---> a7e417beccca [2024-10-23T05:10:46.501Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T05:10:46.501Z] ---> Running in 01856422e7b1 [2024-10-23T05:11:42.773Z] Removing intermediate container 01856422e7b1 [2024-10-23T05:11:42.773Z] ---> 0b5437654584 [2024-10-23T05:11:42.773Z] Step 9/10 : COPY . . [2024-10-23T05:11:42.773Z] ---> 4c39cd6b1473 [2024-10-23T05:11:42.773Z] Step 10/10 : RUN ${MAKE} [2024-10-23T05:11:42.773Z] ---> Running in fbf85fc372dc [2024-10-23T05:11:42.773Z] noop [2024-10-23T05:11:42.773Z] Removing intermediate container fbf85fc372dc [2024-10-23T05:11:42.773Z] ---> 6488680ccc89 [2024-10-23T05:11:42.773Z] Successfully built 6488680ccc89 [2024-10-23T05:11:42.773Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:11:43.298Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-23T05:11:43.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:11:43.469Z] prd-ubuntu20.04-docker-8c-8g-23581 does not seem to be running inside a container [2024-10-23T05:11:43.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-585 -v /w/workspace/xfoundry_device-modbus-go_PR-585:/w/workspace/xfoundry_device-modbus-go_PR-585:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-585@tmp:/w/workspace/xfoundry_device-modbus-go_PR-585@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 ******** ci-base-image-x86_64 cat [2024-10-23T05:11:43.910Z] $ docker top ab3c974d1a74cc0aca28b52ab730b005378283239f92f5b544e960f783021a43 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T05:11:44.346Z] + go version [2024-10-23T05:11:44.347Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-23T05:11:44.376Z] $ docker stop --time=1 ab3c974d1a74cc0aca28b52ab730b005378283239f92f5b544e960f783021a43 [2024-10-23T05:11:45.672Z] $ docker rm -f --volumes ab3c974d1a74cc0aca28b52ab730b005378283239f92f5b544e960f783021a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:11:46.501Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-23T05:11:46.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:11:46.681Z] prd-ubuntu20.04-docker-8c-8g-23581 does not seem to be running inside a container [2024-10-23T05:11:46.700Z] $ 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-585 -v /w/workspace/xfoundry_device-modbus-go_PR-585:/w/workspace/xfoundry_device-modbus-go_PR-585:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-585@tmp:/w/workspace/xfoundry_device-modbus-go_PR-585@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 ******** ci-base-image-x86_64 cat [2024-10-23T05:11:47.059Z] $ docker top 03859c7c233a0c1ce36e5996c51242cc87b631119d863738d66efc5ab48e3486 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T05:11:47.484Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-585 [Pipeline] fileExists [Pipeline] sh [2024-10-23T05:11:47.887Z] + make test [2024-10-23T05:11:47.887Z] go test ./... -coverprofile=coverage.out [2024-10-23T05:11:49.266Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-23T05:12:07.369Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-23T05:12:07.369Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements [2024-10-23T05:12:16.895Z] go vet ./... [2024-10-23T05:12:18.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23582 in /w/workspace/xfoundry_device-modbus-go_PR-585 [Pipeline] { [Pipeline] ws [2024-10-23T05:12:18.649Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-23T05:12:21.074Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-23T05:12:21.074Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-23T05:12:21.074Z] ./bin/test-attribution-txt.sh [2024-10-23T05:12:21.757Z] The recommended git tool is: git [Pipeline] echo [2024-10-23T05:12:21.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-23T05:12:21.843Z] $ docker stop --time=1 03859c7c233a0c1ce36e5996c51242cc87b631119d863738d66efc5ab48e3486 [2024-10-23T05:12:25.269Z] $ docker rm -f --volumes 03859c7c233a0c1ce36e5996c51242cc87b631119d863738d66efc5ab48e3486 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T05:12:25.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-23T05:12:25.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-23T05:12:26.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T05:12:27.122Z] + ls -al . [2024-10-23T05:12:27.122Z] total 272 [2024-10-23T05:12:27.122Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 05:11 . [2024-10-23T05:12:27.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 05:09 .. [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 23 05:10 .dockerignore [2024-10-23T05:12:27.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 05:12 .git [2024-10-23T05:12:27.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:10 .github [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 23 05:10 .gitignore [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 23 05:10 .golangci.yml [2024-10-23T05:12:27.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 05:10 .semver [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 23 05:10 Attribution.txt [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 23 05:10 CHANGELOG.md [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 23 05:10 Dockerfile [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 05:10 GOVERNANCE.md [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 23 05:10 Jenkinsfile [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 23 05:10 LICENSE [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 23 05:10 Makefile [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 23 05:10 OWNERS.md [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 23 05:10 README.md [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 05:10 VERSION [2024-10-23T05:12:27.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 05:10 bin [2024-10-23T05:12:27.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:10 cmd [2024-10-23T05:12:27.122Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 23 05:12 coverage.out [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 23 05:10 go.mod [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 23 05:10 go.sum [2024-10-23T05:12:27.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:10 internal [2024-10-23T05:12:27.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 05:10 simulator [2024-10-23T05:12:27.122Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 23 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:12:27.666Z] using credential edgex-jenkins-ssh [2024-10-23T05:12:27.689Z] Cloning the remote Git repository [2024-10-23T05:12:27.719Z] + 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=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca --label arch=amd64 --label version=0.0.0 . [2024-10-23T05:12:27.719Z] Sending build context to Docker daemon 18MB [2024-10-23T05:12:27.719Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T05:12:27.719Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-23T05:12:27.719Z] ---> 6488680ccc89 [2024-10-23T05:12:27.719Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-23T05:12:27.978Z] ---> Running in ddd6c4a6bb95 [2024-10-23T05:12:27.978Z] Removing intermediate container ddd6c4a6bb95 [2024-10-23T05:12:27.978Z] ---> a9675b05ec12 [2024-10-23T05:12:27.978Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T05:12:27.978Z] ---> Running in 50a6fd6deaef [2024-10-23T05:12:27.978Z] Removing intermediate container 50a6fd6deaef [2024-10-23T05:12:27.978Z] ---> eb8f6f9be30b [2024-10-23T05:12:27.978Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-23T05:12:27.732Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-23T05:12:27.828Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-23T05:12:27.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-23T05:12:27.974Z] > git --version # timeout=10 [2024-10-23T05:12:27.993Z] > git --version # 'git version 2.25.1' [2024-10-23T05:12:28.239Z] ---> Running in be3eeb9f2b2f [2024-10-23T05:12:28.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T05:12:28.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T05:12:29.015Z] OK: 252 MiB in 62 packages [2024-10-23T05:12:27.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T05:12:28.144Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-23T05:12:29.274Z] Removing intermediate container be3eeb9f2b2f [2024-10-23T05:12:29.274Z] ---> 6ae82f7a36c5 [2024-10-23T05:12:29.274Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-23T05:12:29.274Z] ---> Running in b57a0a57eb69 [2024-10-23T05:12:29.532Z] Removing intermediate container b57a0a57eb69 [2024-10-23T05:12:29.532Z] ---> 98c379d9de63 [2024-10-23T05:12:29.532Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-23T05:12:29.532Z] ---> a921e41897f8 [2024-10-23T05:12:29.532Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T05:12:29.532Z] ---> Running in c9f8d082c1ac [2024-10-23T05:12:30.100Z] Removing intermediate container c9f8d082c1ac [2024-10-23T05:12:30.100Z] ---> 4dd7c1d081e6 [2024-10-23T05:12:30.100Z] Step 9/23 : COPY . . [2024-10-23T05:12:30.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-23T05:12:30.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-23T05:12:30.682Z] ---> 21d7973aba04 [2024-10-23T05:12:30.682Z] Step 10/23 : RUN ${MAKE} [2024-10-23T05:12:30.682Z] ---> Running in fc14b1edf715 [2024-10-23T05:12:30.939Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-23T05:12:31.557Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [2024-10-23T05:12:31.845Z] Merge succeeded, producing 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [2024-10-23T05:12:31.846Z] Checking out Revision 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca (PR-585) [2024-10-23T05:12:30.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-23T05:12:31.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-23T05:12:31.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T05:12:31.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-23T05:12:31.578Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T05:12:31.654Z] > git checkout -f 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca # timeout=10 [2024-10-23T05:12:31.748Z] > git remote # timeout=10 [2024-10-23T05:12:31.767Z] > git config --get remote.origin.url # timeout=10 [2024-10-23T05:12:31.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T05:12:31.805Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-23T05:12:31.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-23T05:12:31.850Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T05:12:31.860Z] > git checkout -f 6ae889d26553e1fe391b8a8a84a4916b0b5f4dca # timeout=10 [2024-10-23T05:12:32.330Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-23T05:12:32.381Z] > git --version # timeout=10 [2024-10-23T05:12:32.391Z] > git --version # 'git version 2.25.1' [2024-10-23T05:12:32.407Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T05:12:37.362Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-23T05:12:37.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-23T05:12:37.362Z] Dload Upload Total Spent Left Speed [2024-10-23T05:12:37.362Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89706 0 --:--:-- --:--:-- --:--:-- 89706 [Pipeline] sh [2024-10-23T05:12:37.756Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-23T05:12:38.109Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-23T05:12:38.109Z] + sudo tee /etc/docker/daemon.new [2024-10-23T05:12:38.109Z] { [2024-10-23T05:12:38.109Z] "registry-mirrors": [ [2024-10-23T05:12:38.109Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-23T05:12:38.109Z] ], [2024-10-23T05:12:38.109Z] "bip": "10.250.0.254/24", [2024-10-23T05:12:38.109Z] "hosts": [ [2024-10-23T05:12:38.109Z] "tcp://0.0.0.0:5555", [2024-10-23T05:12:38.109Z] "unix:///var/run/docker.sock" [2024-10-23T05:12:38.109Z] ], [2024-10-23T05:12:38.109Z] "mtu": 1458, [2024-10-23T05:12:38.109Z] "selinux-enabled": true, [2024-10-23T05:12:38.109Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-23T05:12:38.109Z] } [Pipeline] sh [2024-10-23T05:12:38.462Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-23T05:12:38.810Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T05:12:57.127Z] provisioning config files... [2024-10-23T05:12:57.150Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6777033700926682445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:12:57.636Z] ---> ****-login.sh [2024-10-23T05:12:57.636Z] nexus3.edgexfoundry.org:10001 [2024-10-23T05:12:58.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:12:58.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:12:58.487Z] Configure a credential helper to remove this warning. See [2024-10-23T05:12:58.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:12:58.487Z] [2024-10-23T05:12:58.487Z] Login Succeeded [2024-10-23T05:12:58.487Z] nexus3.edgexfoundry.org:10002 [2024-10-23T05:12:58.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:12:58.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:12:58.757Z] Configure a credential helper to remove this warning. See [2024-10-23T05:12:58.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:12:58.757Z] [2024-10-23T05:12:58.757Z] Login Succeeded [2024-10-23T05:12:58.757Z] nexus3.edgexfoundry.org:10003 [2024-10-23T05:12:59.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:12:59.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:12:59.025Z] Configure a credential helper to remove this warning. See [2024-10-23T05:12:59.025Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:12:59.025Z] [2024-10-23T05:12:59.025Z] Login Succeeded [2024-10-23T05:12:59.025Z] nexus3.edgexfoundry.org:10004 [2024-10-23T05:12:59.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:12:59.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:12:59.295Z] Configure a credential helper to remove this warning. See [2024-10-23T05:12:59.295Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:12:59.295Z] [2024-10-23T05:12:59.295Z] Login Succeeded [2024-10-23T05:12:59.295Z] ****.io [2024-10-23T05:12:59.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T05:12:59.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T05:12:59.836Z] Configure a credential helper to remove this warning. See [2024-10-23T05:12:59.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T05:12:59.836Z] [2024-10-23T05:12:59.836Z] Login Succeeded [2024-10-23T05:12:59.836Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T05:12:59.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T05:13:00.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T05:13:00.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T05:13:00.461Z] ========================================================= [2024-10-23T05:13:00.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-23T05:13:00.461Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:13:01.012Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-23T05:13:01.283Z] Sending build context to Docker daemon 9.13MB [2024-10-23T05:13:01.283Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T05:13:01.283Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-23T05:13:01.565Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-23T05:13:01.565Z] cf04c63912e1: Pulling fs layer [2024-10-23T05:13:01.565Z] 55b35a11ae5e: Pulling fs layer [2024-10-23T05:13:01.565Z] a37a00ec5f00: Pulling fs layer [2024-10-23T05:13:01.565Z] 50b3750afda1: Pulling fs layer [2024-10-23T05:13:01.565Z] 4f4fb700ef54: Pulling fs layer [2024-10-23T05:13:01.565Z] 80978eb59214: Pulling fs layer [2024-10-23T05:13:01.565Z] c9f46d7d2bd2: Pulling fs layer [2024-10-23T05:13:01.565Z] c5a475d317c9: Pulling fs layer [2024-10-23T05:13:01.565Z] 80978eb59214: Waiting [2024-10-23T05:13:01.565Z] 50b3750afda1: Waiting [2024-10-23T05:13:01.565Z] 4f4fb700ef54: Waiting [2024-10-23T05:13:01.565Z] c5a475d317c9: Waiting [2024-10-23T05:13:01.565Z] 55b35a11ae5e: Verifying Checksum [2024-10-23T05:13:01.565Z] 55b35a11ae5e: Download complete [2024-10-23T05:13:01.565Z] 50b3750afda1: Verifying Checksum [2024-10-23T05:13:01.565Z] 50b3750afda1: Download complete [2024-10-23T05:13:01.565Z] 4f4fb700ef54: Verifying Checksum [2024-10-23T05:13:01.565Z] 4f4fb700ef54: Download complete [2024-10-23T05:13:01.565Z] 80978eb59214: Verifying Checksum [2024-10-23T05:13:01.565Z] 80978eb59214: Download complete [2024-10-23T05:13:01.565Z] cf04c63912e1: Verifying Checksum [2024-10-23T05:13:01.565Z] cf04c63912e1: Download complete [2024-10-23T05:13:02.170Z] c5a475d317c9: Verifying Checksum [2024-10-23T05:13:02.170Z] c5a475d317c9: Download complete [2024-10-23T05:13:02.760Z] cf04c63912e1: Pull complete [2024-10-23T05:13:03.088Z] Removing intermediate container fc14b1edf715 [2024-10-23T05:13:03.088Z] ---> 4c88b058fb10 [2024-10-23T05:13:03.088Z] Step 11/23 : FROM alpine:3.20 [2024-10-23T05:13:03.088Z] 3.20: Pulling from library/alpine [2024-10-23T05:13:03.088Z] 43c4264eed91: Already exists [2024-10-23T05:13:03.088Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-23T05:13:03.088Z] Status: Downloaded newer image for alpine:3.20 [2024-10-23T05:13:03.088Z] ---> 91ef0af61f39 [2024-10-23T05:13:03.088Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-23T05:13:03.088Z] ---> Running in 102f862d6e0d [2024-10-23T05:13:03.088Z] Removing intermediate container 102f862d6e0d [2024-10-23T05:13:03.088Z] ---> 2addd477721a [2024-10-23T05:13:03.088Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-23T05:13:03.088Z] ---> Running in cd0ab9e25018 [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-23T05:13:03.088Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:13:03.088Z] OK: 8 MiB in 15 packages [2024-10-23T05:13:03.088Z] Removing intermediate container cd0ab9e25018 [2024-10-23T05:13:03.088Z] ---> 8b9cd8d52c7d [2024-10-23T05:13:03.088Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-23T05:13:03.088Z] ---> Running in f72c7cb39232 [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] Upgrading critical system libraries and apk-tools: [2024-10-23T05:13:03.088Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-23T05:13:03.088Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:13:03.088Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T05:13:03.088Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T05:13:03.088Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T05:13:03.088Z] OK: 8 MiB in 15 packages [2024-10-23T05:13:03.088Z] Removing intermediate container f72c7cb39232 [2024-10-23T05:13:03.088Z] ---> dde23fb44fec [2024-10-23T05:13:03.088Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-23T05:13:03.351Z] 55b35a11ae5e: Pull complete [2024-10-23T05:13:03.620Z] a37a00ec5f00: Verifying Checksum [2024-10-23T05:13:03.620Z] a37a00ec5f00: Download complete [2024-10-23T05:13:03.653Z] ---> b61aa2698ead [2024-10-23T05:13:03.653Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-23T05:13:03.912Z] ---> 89e2f8ebd703 [2024-10-23T05:13:03.912Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-23T05:13:03.912Z] ---> 24d10263c7fa [2024-10-23T05:13:03.912Z] Step 18/23 : EXPOSE 59901 [2024-10-23T05:13:03.912Z] ---> Running in beec89fd8095 [2024-10-23T05:13:04.171Z] Removing intermediate container beec89fd8095 [2024-10-23T05:13:04.171Z] ---> ede3a10f8d31 [2024-10-23T05:13:04.171Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-23T05:13:04.171Z] ---> Running in 668f748e8ed2 [2024-10-23T05:13:04.171Z] Removing intermediate container 668f748e8ed2 [2024-10-23T05:13:04.171Z] ---> 4b9dd7239639 [2024-10-23T05:13:04.171Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-23T05:13:04.171Z] ---> Running in 07d4eb9a9119 [2024-10-23T05:13:04.431Z] Removing intermediate container 07d4eb9a9119 [2024-10-23T05:13:04.431Z] ---> 56c250aa8ca0 [2024-10-23T05:13:04.431Z] Step 21/23 : LABEL arch=amd64 [2024-10-23T05:13:04.431Z] ---> Running in 526dcbc62fa1 [2024-10-23T05:13:04.431Z] Removing intermediate container 526dcbc62fa1 [2024-10-23T05:13:04.431Z] ---> c7151e420e71 [2024-10-23T05:13:04.431Z] Step 22/23 : LABEL git_sha=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [2024-10-23T05:13:04.431Z] ---> Running in c4a0cfd11869 [2024-10-23T05:13:04.588Z] c9f46d7d2bd2: Verifying Checksum [2024-10-23T05:13:04.588Z] c9f46d7d2bd2: Download complete [2024-10-23T05:13:04.690Z] Removing intermediate container c4a0cfd11869 [2024-10-23T05:13:04.690Z] ---> 1252ccce0c00 [2024-10-23T05:13:04.690Z] Step 23/23 : LABEL version=0.0.0 [2024-10-23T05:13:04.690Z] ---> Running in 80922f3ce276 [2024-10-23T05:13:04.690Z] Removing intermediate container 80922f3ce276 [2024-10-23T05:13:04.690Z] ---> e884feeb8151 [2024-10-23T05:13:04.690Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-23T05:13:04.690Z] Successfully built e884feeb8151 [2024-10-23T05:13:04.690Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:13:05.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T05:13:05.710Z] [2024-10-23T05:13:05.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:13:06.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T05:13:06.117Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-23T05:13:06.117Z] 5eb5b503b376: Pulling fs layer [2024-10-23T05:13:06.117Z] 5c69ac0246d0: Pulling fs layer [2024-10-23T05:13:06.117Z] ec43610c2a17: Pulling fs layer [2024-10-23T05:13:06.117Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-23T05:13:06.117Z] 33b1e0a273af: Pulling fs layer [2024-10-23T05:13:06.117Z] 5d3b04190fa2: Pulling fs layer [2024-10-23T05:13:06.117Z] 2f39f015ded8: Pulling fs layer [2024-10-23T05:13:06.117Z] 5d3b04190fa2: Waiting [2024-10-23T05:13:06.118Z] 2f39f015ded8: Waiting [2024-10-23T05:13:06.118Z] 3a2ae6a8a46f: Waiting [2024-10-23T05:13:06.118Z] 33b1e0a273af: Waiting [2024-10-23T05:13:06.118Z] 5c69ac0246d0: Verifying Checksum [2024-10-23T05:13:06.118Z] 5c69ac0246d0: Download complete [2024-10-23T05:13:06.118Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-23T05:13:06.118Z] 3a2ae6a8a46f: Download complete [2024-10-23T05:13:06.375Z] 33b1e0a273af: Verifying Checksum [2024-10-23T05:13:06.375Z] 33b1e0a273af: Download complete [2024-10-23T05:13:06.375Z] 5d3b04190fa2: Verifying Checksum [2024-10-23T05:13:06.375Z] 5d3b04190fa2: Download complete [2024-10-23T05:13:06.375Z] ec43610c2a17: Verifying Checksum [2024-10-23T05:13:06.375Z] ec43610c2a17: Download complete [2024-10-23T05:13:06.375Z] 5eb5b503b376: Verifying Checksum [2024-10-23T05:13:06.375Z] 5eb5b503b376: Download complete [2024-10-23T05:13:06.941Z] 2f39f015ded8: Download complete [2024-10-23T05:13:07.504Z] 5eb5b503b376: Pull complete [2024-10-23T05:13:07.762Z] 5c69ac0246d0: Pull complete [2024-10-23T05:13:08.020Z] ec43610c2a17: Pull complete [2024-10-23T05:13:08.020Z] 3a2ae6a8a46f: Pull complete [2024-10-23T05:13:08.291Z] 33b1e0a273af: Pull complete [2024-10-23T05:13:08.291Z] 5d3b04190fa2: Pull complete [2024-10-23T05:13:12.474Z] 2f39f015ded8: Pull complete [2024-10-23T05:13:12.474Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-23T05:13:12.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T05:13:12.474Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:13:12.765Z] prd-ubuntu20.04-docker-8c-8g-23581 does not seem to be running inside a container [2024-10-23T05:13:12.780Z] $ 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-585 -v /w/workspace/xfoundry_device-modbus-go_PR-585:/w/workspace/xfoundry_device-modbus-go_PR-585:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-585@tmp:/w/workspace/xfoundry_device-modbus-go_PR-585@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-10-23T05:13:16.042Z] $ docker top c3d9bcf2e9d92356ca7156ea69b364753b117ac424161c78f939ab5fa8704ab7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:13:16.542Z] ---> job-cost.sh [2024-10-23T05:13:16.542Z] lf-activate-venv: SKIPPING [2024-10-23T05:13:16.542Z] INFO: No Stack... [2024-10-23T05:13:16.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T05:13:17.956Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T05:13:18.280Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-585/archives/cost.csv [2024-10-23T05:13:18.280Z] + cut -d, -f6 [Pipeline] lock [2024-10-23T05:13:18.334Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [2024-10-23T05:13:18.339Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] did not exist. Created. [2024-10-23T05:13:18.346Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T05:13:18.755Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-23T05:13:18.816Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T05:13:18.857Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T05:13:18.943Z] $ docker stop --time=1 c3d9bcf2e9d92356ca7156ea69b364753b117ac424161c78f939ab5fa8704ab7 [2024-10-23T05:13:19.615Z] a37a00ec5f00: Pull complete [2024-10-23T05:13:19.615Z] 50b3750afda1: Pull complete [2024-10-23T05:13:19.615Z] 4f4fb700ef54: Pull complete [2024-10-23T05:13:19.615Z] 80978eb59214: Pull complete [2024-10-23T05:13:20.093Z] $ docker rm -f --volumes c3d9bcf2e9d92356ca7156ea69b364753b117ac424161c78f939ab5fa8704ab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-23T05:13:24.953Z] c9f46d7d2bd2: Pull complete [2024-10-23T05:13:26.911Z] c5a475d317c9: Pull complete [2024-10-23T05:13:26.911Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-23T05:13:26.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-23T05:13:26.911Z] ---> be29e6b0f0d4 [2024-10-23T05:13:26.911Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-23T05:13:27.887Z] ---> Running in da8d8d1692d4 [2024-10-23T05:13:27.887Z] Removing intermediate container da8d8d1692d4 [2024-10-23T05:13:27.887Z] ---> 78b61c257b5c [2024-10-23T05:13:27.887Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T05:13:28.159Z] ---> Running in a5190788a9de [2024-10-23T05:13:28.426Z] Removing intermediate container a5190788a9de [2024-10-23T05:13:28.426Z] ---> 3deefe259a47 [2024-10-23T05:13:28.426Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-23T05:13:28.426Z] ---> Running in 097c9e576a40 [2024-10-23T05:13:29.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T05:13:30.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T05:13:31.527Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-23T05:13:31.527Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-23T05:13:31.527Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-23T05:13:31.527Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:13:31.794Z] OK: 244 MiB in 62 packages [2024-10-23T05:13:33.730Z] Removing intermediate container 097c9e576a40 [2024-10-23T05:13:33.730Z] ---> e85c5aa6a325 [2024-10-23T05:13:33.730Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-23T05:13:33.730Z] ---> Running in 55aaf9ce6c13 [2024-10-23T05:13:33.730Z] Removing intermediate container 55aaf9ce6c13 [2024-10-23T05:13:33.730Z] ---> 40b19c6888f6 [2024-10-23T05:13:33.730Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-23T05:13:34.318Z] ---> cbb2a1bc8430 [2024-10-23T05:13:34.318Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T05:13:34.318Z] ---> Running in b4c5244976d7 [2024-10-23T05:15:25.957Z] Removing intermediate container b4c5244976d7 [2024-10-23T05:15:25.957Z] ---> 4fc67be52ca7 [2024-10-23T05:15:25.957Z] Step 9/10 : COPY . . [2024-10-23T05:15:25.957Z] ---> 36e390032407 [2024-10-23T05:15:25.957Z] Step 10/10 : RUN ${MAKE} [2024-10-23T05:15:25.957Z] ---> Running in e59af34592b4 [2024-10-23T05:15:25.957Z] noop [2024-10-23T05:15:25.957Z] Removing intermediate container e59af34592b4 [2024-10-23T05:15:25.957Z] ---> d76fda84873c [2024-10-23T05:15:25.957Z] Successfully built d76fda84873c [2024-10-23T05:15:25.957Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:15:26.538Z] + docker inspect -f . ci-base-image-arm64 [2024-10-23T05:15:26.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:15:26.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-23582 does not seem to be running inside a container [2024-10-23T05:15:26.929Z] $ 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-10-23T05:15:28.183Z] $ docker top 76df22cf4091e0d908fa6ed417b757aa4213c279573c2f53b017382214e46f94 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T05:15:29.090Z] + go version [2024-10-23T05:15:29.090Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-23T05:15:29.122Z] $ docker stop --time=1 76df22cf4091e0d908fa6ed417b757aa4213c279573c2f53b017382214e46f94 [2024-10-23T05:15:30.756Z] $ docker rm -f --volumes 76df22cf4091e0d908fa6ed417b757aa4213c279573c2f53b017382214e46f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:15:31.759Z] + docker inspect -f . ci-base-image-arm64 [2024-10-23T05:15:31.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:15:32.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-23582 does not seem to be running inside a container [2024-10-23T05:15:32.101Z] $ 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-10-23T05:15:33.324Z] $ docker top b9f3e89f0bd40df2088fc02d0e75e90c385953663add36f360b01f14918296c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T05:15:34.235Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-23T05:15:34.974Z] + make test [2024-10-23T05:15:34.974Z] go test ./... -coverprofile=coverage.out [2024-10-23T05:15:41.605Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-23T05:19:03.372Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-23T05:19:03.372Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 47.9% of statements [2024-10-23T05:19:04.342Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-23T05:19:04.342Z] go vet ./... [2024-10-23T05:20:00.831Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-23T05:20:00.831Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-23T05:20:00.831Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-23T05:20:00.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-23T05:20:00.925Z] $ docker stop --time=1 b9f3e89f0bd40df2088fc02d0e75e90c385953663add36f360b01f14918296c5 [2024-10-23T05:20:04.302Z] $ docker rm -f --volumes b9f3e89f0bd40df2088fc02d0e75e90c385953663add36f360b01f14918296c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T05:20:05.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-23T05:20:05.994Z] Warning: overwriting stash ‘coverage-report’ [2024-10-23T05:20:06.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T05:20:07.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T05:20:07.734Z] + ls -al . [2024-10-23T05:20:07.734Z] total 268 [2024-10-23T05:20:07.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 05:15 . [2024-10-23T05:20:07.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 05:12 .. [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 23 05:12 .dockerignore [2024-10-23T05:20:07.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 05:12 .git [2024-10-23T05:20:07.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:12 .github [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 23 05:12 .gitignore [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 23 05:12 .golangci.yml [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 23 05:12 Attribution.txt [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 23 05:12 CHANGELOG.md [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 23 05:12 Dockerfile [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 05:12 GOVERNANCE.md [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 23 05:12 Jenkinsfile [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 23 05:12 LICENSE [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 23 05:12 Makefile [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 23 05:12 OWNERS.md [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 23 05:12 README.md [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 05:10 VERSION [2024-10-23T05:20:07.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 05:12 bin [2024-10-23T05:20:07.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:12 cmd [2024-10-23T05:20:07.734Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 23 05:19 coverage.out [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 23 05:12 go.mod [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 23 05:12 go.sum [2024-10-23T05:20:07.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 05:12 internal [2024-10-23T05:20:07.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 05:12 simulator [2024-10-23T05:20:07.734Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 23 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:20:08.235Z] + 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=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca --label arch=arm64 --label version=0.0.0 . [2024-10-23T05:20:08.822Z] Sending build context to Docker daemon 9.156MB [2024-10-23T05:20:08.822Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T05:20:08.822Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-23T05:20:08.822Z] ---> d76fda84873c [2024-10-23T05:20:08.822Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-23T05:20:08.822Z] ---> Running in 85ac2eb8bff7 [2024-10-23T05:20:09.089Z] Removing intermediate container 85ac2eb8bff7 [2024-10-23T05:20:09.089Z] ---> 0bb4201684be [2024-10-23T05:20:09.089Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T05:20:09.356Z] ---> Running in 9abefbcd6e02 [2024-10-23T05:20:09.630Z] Removing intermediate container 9abefbcd6e02 [2024-10-23T05:20:09.630Z] ---> cb4a6d595bc2 [2024-10-23T05:20:09.630Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-23T05:20:09.630Z] ---> Running in 8d294ee165d8 [2024-10-23T05:20:10.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T05:20:11.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T05:20:12.597Z] OK: 244 MiB in 62 packages [2024-10-23T05:20:13.558Z] Removing intermediate container 8d294ee165d8 [2024-10-23T05:20:13.558Z] ---> 0521d5bd664f [2024-10-23T05:20:13.558Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-23T05:20:13.558Z] ---> Running in 601bf2d45ccd [2024-10-23T05:20:13.826Z] Removing intermediate container 601bf2d45ccd [2024-10-23T05:20:13.826Z] ---> 48997afb3f8e [2024-10-23T05:20:13.826Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-23T05:20:14.787Z] ---> 9e78d8011a57 [2024-10-23T05:20:14.787Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T05:20:14.787Z] ---> Running in 10713743041a [2024-10-23T05:20:16.742Z] Removing intermediate container 10713743041a [2024-10-23T05:20:16.742Z] ---> c4bebe3a7912 [2024-10-23T05:20:16.742Z] Step 9/23 : COPY . . [2024-10-23T05:20:17.713Z] ---> 61e3baed72ff [2024-10-23T05:20:17.713Z] Step 10/23 : RUN ${MAKE} [2024-10-23T05:20:17.982Z] ---> Running in 029d03f810fa [2024-10-23T05:20:18.952Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-23T05:23:55.737Z] Removing intermediate container 029d03f810fa [2024-10-23T05:23:55.737Z] ---> 286df2e70336 [2024-10-23T05:23:55.737Z] Step 11/23 : FROM alpine:3.20 [2024-10-23T05:23:55.737Z] 3.20: Pulling from library/alpine [2024-10-23T05:23:55.737Z] cf04c63912e1: Already exists [2024-10-23T05:23:55.737Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-23T05:23:55.737Z] Status: Downloaded newer image for alpine:3.20 [2024-10-23T05:23:55.737Z] ---> c157a85ed455 [2024-10-23T05:23:55.737Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-23T05:23:55.737Z] ---> Running in 417bc7ce3398 [2024-10-23T05:23:55.737Z] Removing intermediate container 417bc7ce3398 [2024-10-23T05:23:55.737Z] ---> f29632aa5594 [2024-10-23T05:23:55.737Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-23T05:23:55.737Z] ---> Running in d6ba1a324a2e [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-23T05:23:55.737Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:23:55.737Z] OK: 9 MiB in 15 packages [2024-10-23T05:23:55.737Z] Removing intermediate container d6ba1a324a2e [2024-10-23T05:23:55.737Z] ---> 54d659029d01 [2024-10-23T05:23:55.737Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-23T05:23:55.737Z] ---> Running in ca8eb8aaf3f5 [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] Upgrading critical system libraries and apk-tools: [2024-10-23T05:23:55.737Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-23T05:23:55.737Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T05:23:55.737Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T05:23:55.737Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T05:23:55.737Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T05:23:55.737Z] OK: 9 MiB in 15 packages [2024-10-23T05:23:55.737Z] Removing intermediate container ca8eb8aaf3f5 [2024-10-23T05:23:55.737Z] ---> cd9aadd30bd9 [2024-10-23T05:23:55.737Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-23T05:23:57.683Z] ---> 56ac18cab8e7 [2024-10-23T05:23:57.683Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-23T05:23:58.265Z] ---> 70d1d29db6c5 [2024-10-23T05:23:58.265Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-23T05:23:58.849Z] ---> bd0fe0981783 [2024-10-23T05:23:58.849Z] Step 18/23 : EXPOSE 59901 [2024-10-23T05:23:58.849Z] ---> Running in 60c4862ead3c [2024-10-23T05:23:59.117Z] Removing intermediate container 60c4862ead3c [2024-10-23T05:23:59.117Z] ---> 0586dcba3290 [2024-10-23T05:23:59.117Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-23T05:23:59.384Z] ---> Running in 3fc54c6d9daf [2024-10-23T05:23:59.650Z] Removing intermediate container 3fc54c6d9daf [2024-10-23T05:23:59.650Z] ---> 1bf835f1b074 [2024-10-23T05:23:59.650Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-23T05:23:59.650Z] ---> Running in a4ff73232d33 [2024-10-23T05:23:59.917Z] Removing intermediate container a4ff73232d33 [2024-10-23T05:23:59.917Z] ---> 65b7bb65a658 [2024-10-23T05:23:59.917Z] Step 21/23 : LABEL arch=arm64 [2024-10-23T05:23:59.917Z] ---> Running in 28e80fa6f0ef [2024-10-23T05:24:00.188Z] Removing intermediate container 28e80fa6f0ef [2024-10-23T05:24:00.188Z] ---> e82790a0c602 [2024-10-23T05:24:00.188Z] Step 22/23 : LABEL git_sha=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [2024-10-23T05:24:00.455Z] ---> Running in ab15cb5c7648 [2024-10-23T05:24:00.723Z] Removing intermediate container ab15cb5c7648 [2024-10-23T05:24:00.723Z] ---> 0114a1ba42aa [2024-10-23T05:24:00.723Z] Step 23/23 : LABEL version=0.0.0 [2024-10-23T05:24:00.723Z] ---> Running in 4c2992148e6f [2024-10-23T05:24:00.989Z] Removing intermediate container 4c2992148e6f [2024-10-23T05:24:00.989Z] ---> 8eb8caabccc3 [2024-10-23T05:24:00.989Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-23T05:24:00.989Z] Successfully built 8eb8caabccc3 [2024-10-23T05:24:00.989Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:24:01.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T05:24:01.988Z] [2024-10-23T05:24:01.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:24:02.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T05:24:02.691Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-23T05:24:02.691Z] 8998bd30e6a1: Pulling fs layer [2024-10-23T05:24:02.691Z] 04944245beec: Pulling fs layer [2024-10-23T05:24:02.691Z] 699f458cf7ca: Pulling fs layer [2024-10-23T05:24:02.691Z] 765212b225bb: Pulling fs layer [2024-10-23T05:24:02.691Z] f23df028b6ca: Pulling fs layer [2024-10-23T05:24:02.691Z] d65c8cfc05b1: Pulling fs layer [2024-10-23T05:24:02.691Z] 2437ff75d9bd: Pulling fs layer [2024-10-23T05:24:02.691Z] 765212b225bb: Waiting [2024-10-23T05:24:02.691Z] 2437ff75d9bd: Waiting [2024-10-23T05:24:02.691Z] f23df028b6ca: Waiting [2024-10-23T05:24:02.691Z] d65c8cfc05b1: Waiting [2024-10-23T05:24:02.691Z] 04944245beec: Verifying Checksum [2024-10-23T05:24:02.691Z] 04944245beec: Download complete [2024-10-23T05:24:02.691Z] 765212b225bb: Verifying Checksum [2024-10-23T05:24:02.691Z] 765212b225bb: Download complete [2024-10-23T05:24:02.691Z] f23df028b6ca: Verifying Checksum [2024-10-23T05:24:02.691Z] f23df028b6ca: Download complete [2024-10-23T05:24:02.691Z] d65c8cfc05b1: Verifying Checksum [2024-10-23T05:24:02.691Z] d65c8cfc05b1: Download complete [2024-10-23T05:24:02.962Z] 699f458cf7ca: Download complete [2024-10-23T05:24:03.231Z] 8998bd30e6a1: Verifying Checksum [2024-10-23T05:24:03.231Z] 8998bd30e6a1: Download complete [2024-10-23T05:24:05.819Z] 2437ff75d9bd: Verifying Checksum [2024-10-23T05:24:05.819Z] 2437ff75d9bd: Download complete [2024-10-23T05:24:07.766Z] 8998bd30e6a1: Pull complete [2024-10-23T05:24:07.766Z] 04944245beec: Pull complete [2024-10-23T05:24:09.701Z] 699f458cf7ca: Pull complete [2024-10-23T05:24:09.701Z] 765212b225bb: Pull complete [2024-10-23T05:24:10.660Z] f23df028b6ca: Pull complete [2024-10-23T05:24:10.660Z] d65c8cfc05b1: Pull complete [2024-10-23T05:24:29.745Z] 2437ff75d9bd: Pull complete [2024-10-23T05:24:29.745Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-23T05:24:29.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T05:24:29.745Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:24:30.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-23582 does not seem to be running inside a container [2024-10-23T05:24:30.186Z] $ 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-10-23T05:24:32.884Z] $ docker top 2d24e7c37fedc5ab318e082caa27f10c2398b865f222db4d6157bebb3f204258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:33.785Z] ---> job-cost.sh [2024-10-23T05:24:33.785Z] lf-activate-venv: SKIPPING [2024-10-23T05:24:33.785Z] INFO: No Stack... [2024-10-23T05:24:35.196Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-23T05:24:35.778Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T05:24:36.454Z] + + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-23T05:24:36.454Z] cut -d, -f6 [Pipeline] lock [2024-10-23T05:24:36.544Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [2024-10-23T05:24:36.550Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] did not exist. Created. [2024-10-23T05:24:36.557Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T05:24:37.315Z] /w/workspace/device-modbus-go/1@tmp/durable-9ffd86ec/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-23T05:24:37.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-23T05:24:38.041Z] Warning: overwriting stash ‘stack-cost’ [2024-10-23T05:24:38.087Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T05:24:38.108Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-585-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T05:24:38.209Z] $ docker stop --time=1 2d24e7c37fedc5ab318e082caa27f10c2398b865f222db4d6157bebb3f204258 [2024-10-23T05:24:39.722Z] $ docker rm -f --volumes 2d24e7c37fedc5ab318e082caa27f10c2398b865f222db4d6157bebb3f204258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-23T05:24:41.058Z] provisioning config files... [2024-10-23T05:24:41.066Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/config12465026665917412139tmp [Pipeline] { [Pipeline] sh [2024-10-23T05:24:41.449Z] + set +x [2024-10-23T05:24:41.449Z] + + bashcurl -s -s -- https://codecov.io/bash [2024-10-23T05:24:41.449Z] [2024-10-23T05:24:41.449Z] [2024-10-23T05:24:41.449Z] _____ _ [2024-10-23T05:24:41.449Z] / ____| | | [2024-10-23T05:24:41.449Z] | | ___ __| | ___ ___ _____ __ [2024-10-23T05:24:41.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-23T05:24:41.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-23T05:24:41.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-23T05:24:41.449Z] Bash-1.0.6 [2024-10-23T05:24:41.449Z] [2024-10-23T05:24:41.449Z] [2024-10-23T05:24:41.449Z] ==> git version 2.25.1 found [2024-10-23T05:24:41.449Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-23T05:24:41.449Z] Release-Date: 2020-01-08 [2024-10-23T05:24:41.449Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-23T05:24:41.449Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-23T05:24:41.449Z] ==> Jenkins CI detected. [2024-10-23T05:24:41.449Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-585 [2024-10-23T05:24:41.449Z] project root: . [2024-10-23T05:24:41.449Z] --> token set from env [2024-10-23T05:24:41.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-23T05:24:41.449Z] ==> Running gcov in . (disable via -X gcov) [2024-10-23T05:24:41.449Z] ==> Python coveragepy not found [2024-10-23T05:24:41.449Z] ==> Searching for coverage reports in: [2024-10-23T05:24:41.449Z] + . [2024-10-23T05:24:41.449Z] -> Found 1 reports [2024-10-23T05:24:41.449Z] ==> Detecting git/mercurial file structure [2024-10-23T05:24:41.449Z] ==> Reading reports [2024-10-23T05:24:41.717Z] + ./coverage.out bytes=24669 [2024-10-23T05:24:41.717Z] ==> Appending adjustments [2024-10-23T05:24:41.717Z] https://docs.codecov.io/docs/fixing-reports [2024-10-23T05:24:41.717Z] + Found adjustments [2024-10-23T05:24:41.717Z] ==> Gzipping contents [2024-10-23T05:24:41.717Z] 4.0K /tmp/codecov.Yuf3FL.gz [2024-10-23T05:24:41.717Z] ==> Uploading reports [2024-10-23T05:24:41.717Z] url: https://codecov.io [2024-10-23T05:24:41.717Z] query: branch=PR-585&commit=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-585%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=585&job=&cmd_args= [2024-10-23T05:24:41.717Z] -> Pinging Codecov [2024-10-23T05:24:41.717Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-585&commit=6ae889d26553e1fe391b8a8a84a4916b0b5f4dca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-585%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=585&job=&cmd_args= [2024-10-23T05:24:41.980Z] -> Uploading to [2024-10-23T05:24:41.980Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/6ae889d26553e1fe391b8a8a84a4916b0b5f4dca/ecb493e9-b109-40ae-ac25-7374e742145f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241023%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241023T052441Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=102804c868a6f49cd450f301dc99dab038b3ddf442f75102a83db2df1790158d [2024-10-23T05:24:41.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-23T05:24:41.980Z] Dload Upload Total Spent Left Speed [2024-10-23T05:24:42.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 17075 --:--:-- --:--:-- --:--:-- 17075 [2024-10-23T05:24:42.242Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ae889d26553e1fe391b8a8a84a4916b0b5f4dca [Pipeline] } [2024-10-23T05:24:42.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-23T05:24:44.797Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-585/archives ] [2024-10-23T05:24:44.797Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-585/archives [2024-10-23T05:24:44.797Z] total 16 [2024-10-23T05:24:44.797Z] drwxr-xr-x 3 root root 4096 Oct 23 05:13 . [2024-10-23T05:24:44.797Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 05:13 .. [2024-10-23T05:24:44.797Z] drwxr-xr-x 2 root root 4096 Oct 23 05:13 cost [2024-10-23T05:24:44.797Z] -rw-r--r-- 1 root root 88 Oct 23 05:13 cost.csv [2024-10-23T05:24:44.797Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-585/archives [2024-10-23T05:24:44.797Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-585/archives [2024-10-23T05:24:44.797Z] total 16 [2024-10-23T05:24:44.797Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 05:13 . [2024-10-23T05:24:44.797Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 05:13 .. [2024-10-23T05:24:44.797Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 05:13 cost [2024-10-23T05:24:44.797Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 23 05:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:45.136Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:46.034Z] ---> package-listing.sh [2024-10-23T05:24:46.034Z] ++ facter osfamily [2024-10-23T05:24:46.034Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-23T05:24:46.293Z] + OS_FAMILY=debian [2024-10-23T05:24:46.293Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-585 [2024-10-23T05:24:46.293Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-23T05:24:46.293Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-23T05:24:46.293Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-23T05:24:46.293Z] + PACKAGES=/tmp/packages_start.txt [2024-10-23T05:24:46.293Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-585 ']' [2024-10-23T05:24:46.293Z] + PACKAGES=/tmp/packages_end.txt [2024-10-23T05:24:46.293Z] + case "${OS_FAMILY}" in [2024-10-23T05:24:46.293Z] + dpkg -l [2024-10-23T05:24:46.293Z] + grep '^ii' [2024-10-23T05:24:46.293Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-23T05:24:46.293Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-23T05:24:46.293Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-23T05:24:46.293Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-585 ']' [2024-10-23T05:24:46.293Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-585/archives/ [2024-10-23T05:24:46.293Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-585/archives/ [Pipeline] echo [2024-10-23T05:24:46.336Z] 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-585/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-23T05:24:46.650Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T05:24:47.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T05:24:47.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T05:24:47.489Z] prd-ubuntu20.04-docker-8c-8g-23581 does not seem to be running inside a container [2024-10-23T05:24:47.502Z] $ 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-585/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-585 -v /w/workspace/xfoundry_device-modbus-go_PR-585:/w/workspace/xfoundry_device-modbus-go_PR-585:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-585@tmp:/w/workspace/xfoundry_device-modbus-go_PR-585@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-23T05:24:47.691Z] $ docker top 70661a9536d70303dad5afb3e1f731f4cacc9c19980e37637a7b2fd168edb727 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T05:24:48.121Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-23T05:24:48.438Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-23T05:24:48.756Z] + ls /var/log/sa-host [2024-10-23T05:24:48.756Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T05:24:49.095Z] provisioning config files... [2024-10-23T05:24:49.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-585@tmp/config12353556564585878029tmp [Pipeline] { [Pipeline] echo [2024-10-23T05:24:49.175Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:49.500Z] ---> create-netrc.sh [Pipeline] } [2024-10-23T05:24:49.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:49.970Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-23T05:24:50.034Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:50.425Z] ---> sudo-logs.sh [2024-10-23T05:24:50.425Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-23T05:24:50.551Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:50.916Z] ---> job-cost.sh [2024-10-23T05:24:50.916Z] lf-activate-venv: SKIPPING [2024-10-23T05:24:50.916Z] DEBUG: total: 0.2199999988079071 [2024-10-23T05:24:50.916Z] INFO: Retrieving Stack Cost... [2024-10-23T05:24:51.214Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T05:24:51.492Z] INFO: Archiving Costs [Pipeline] echo [2024-10-23T05:24:51.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T05:24:51.883Z] ---> logs-deploy.sh [2024-10-23T05:24:51.884Z] lf-activate-venv: SKIPPING [2024-10-23T05:24:51.884Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-585/1 [2024-10-23T05:24:51.884Z] INFO: archiving workspace using pattern(s): [2024-10-23T05:24:52.821Z] Archives upload complete. [2024-10-23T05:24:52.821Z] INFO: archiving logs to Nexus