Pull request #584 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9fc2f1cd0068de4d5b81cada2ce205015fab4369+7248720eb6e2bf16815f86cf3de46e0922eeefd9 (438ac95b018d13ae1fb16e278dfc633709b31f95) 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-ssh5221040972228531488.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-ssh13719338648331783707.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-584/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-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5879498883544614863.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-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12909968912207852762.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-ssh15360608036253992590.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-584/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-584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9072731756409837371.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22976’ Running on prd-ubuntu20.04-docker-8c-8g-22978 in /w/workspace/xfoundry_device-modbus-go_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 9fc2f1cd0068de4d5b81cada2ce205015fab4369 Merge succeeded, producing 9fc2f1cd0068de4d5b81cada2ce205015fab4369 Checking out Revision 9fc2f1cd0068de4d5b81cada2ce205015fab4369 (PR-584) 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 9fc2f1cd0068de4d5b81cada2ce205015fab4369 # 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 9fc2f1cd0068de4d5b81cada2ce205015fab4369 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-17T05:55:24.135Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-17T05:55:24.354Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-17T05:55:24.484Z] ========================================================= [2024-10-17T05:55:24.484Z] EdgeX Global Pipelines Version Info [2024-10-17T05:55:24.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-17T05:55:25.256Z] ------------------- [2024-10-17T05:55:25.257Z] stable info: [2024-10-17T05:55:25.257Z] ------------------- [2024-10-17T05:55:25.257Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-17T05:55:25.257Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T05:55:25.257Z] Message: update stable to v1.0.265 [2024-10-17T05:55:25.827Z] ------------------- [2024-10-17T05:55:25.827Z] experimental info: [2024-10-17T05:55:25.827Z] ------------------- [2024-10-17T05:55:25.827Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-17T05:55:25.827Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-17T05:55:25.827Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-17T05:55:26.048Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-17T05:55:26.104Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-17T05:55:26.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-17T05:55:26.223Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-17T05:55:26.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-17T05:55:26.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-17T05:55:26.389Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-17T05:55:26.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-17T05:55:26.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-17T05:55:26.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-17T05:55:26.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-17T05:55:26.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-17T05:55:26.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-17T05:55:26.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-17T05:55:26.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T05:55:26.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T05:55:26.922Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T05:55:26.982Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T05:55:27.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-17T05:55:27.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-17T05:55:27.162Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-17T05:55:27.221Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-17T05:55:27.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-17T05:55:27.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-17T05:55:27.395Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-17T05:55:27.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-17T05:55:27.506Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-17T05:55:27.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2024-10-17T05:55:27.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2024-10-17T05:55:27.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2024-10-17T05:55:27.721Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [Pipeline] echo [2024-10-17T05:55:27.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fc2f1c [Pipeline] echo [2024-10-17T05:55:27.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T05:55:27.939Z] provisioning config files... [2024-10-17T05:55:27.954Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/config9933756676650546756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T05:55:28.337Z] ---> ****-login.sh [2024-10-17T05:55:28.337Z] nexus3.edgexfoundry.org:10001 [2024-10-17T05:55:28.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:28.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:28.598Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:28.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:28.598Z] [2024-10-17T05:55:28.598Z] Login Succeeded [2024-10-17T05:55:28.598Z] nexus3.edgexfoundry.org:10002 [2024-10-17T05:55:28.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:28.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:28.859Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:28.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:28.859Z] [2024-10-17T05:55:28.859Z] Login Succeeded [2024-10-17T05:55:28.859Z] nexus3.edgexfoundry.org:10003 [2024-10-17T05:55:28.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:28.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:28.859Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:28.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:28.859Z] [2024-10-17T05:55:28.859Z] Login Succeeded [2024-10-17T05:55:28.859Z] nexus3.edgexfoundry.org:10004 [2024-10-17T05:55:29.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:29.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:29.120Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:29.120Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:29.120Z] [2024-10-17T05:55:29.120Z] Login Succeeded [2024-10-17T05:55:29.120Z] ****.io [2024-10-17T05:55:29.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:29.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:29.379Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:29.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:29.379Z] [2024-10-17T05:55:29.379Z] Login Succeeded [2024-10-17T05:55:29.379Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T05:55:29.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-17T05:55:30.082Z] + git rev-list -1 --merges 9fc2f1cd0068de4d5b81cada2ce205015fab4369~1..9fc2f1cd0068de4d5b81cada2ce205015fab4369 [Pipeline] echo [2024-10-17T05:55:30.146Z] -----------> git rev-list -1 --merges 9fc2f1cd0068de4d5b81cada2ce205015fab4369~1..9fc2f1cd0068de4d5b81cada2ce205015fab4369 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [false] [Pipeline] sh [2024-10-17T05:55:30.475Z] + git log --format=format:%s -1 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [Pipeline] echo [2024-10-17T05:55:30.521Z] ========================================================= [2024-10-17T05:55:30.521Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-17T05:55:30.521Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T05:55:30.980Z] + git log --format=format:%s -1 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [Pipeline] echo [2024-10-17T05:55:31.027Z] [semverPrep] GIT_COMMIT: 9fc2f1cd0068de4d5b81cada2ce205015fab4369, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-17T05:55:31.070Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-17T05:55:31.463Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-17T05:55:31.463Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-17T05:55:31.463Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-17T05:55:31.463Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-17T05:55:31.463Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-17T05:55:31.463Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-17T05:55:31.463Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:55:31.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T05:55:31.929Z] [2024-10-17T05:55:31.929Z] 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-17T05:55:32.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T05:55:32.329Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-17T05:55:32.329Z] b85a868b505f: Pulling fs layer [2024-10-17T05:55:32.329Z] e2be974225ed: Pulling fs layer [2024-10-17T05:55:32.329Z] 339a4e72a1f5: Pulling fs layer [2024-10-17T05:55:32.329Z] 988bab9f4d93: Pulling fs layer [2024-10-17T05:55:32.329Z] 1469e6f7b9e6: Pulling fs layer [2024-10-17T05:55:32.329Z] eaf3925da568: Pulling fs layer [2024-10-17T05:55:32.329Z] bab4dde63d76: Pulling fs layer [2024-10-17T05:55:32.329Z] bde34c3a00c8: Pulling fs layer [2024-10-17T05:55:32.329Z] b352a97aabf1: Pulling fs layer [2024-10-17T05:55:32.329Z] 4872d77fe225: Pulling fs layer [2024-10-17T05:55:32.329Z] 5851b861e8e6: Pulling fs layer [2024-10-17T05:55:32.329Z] 1469e6f7b9e6: Waiting [2024-10-17T05:55:32.329Z] eaf3925da568: Waiting [2024-10-17T05:55:32.329Z] bab4dde63d76: Waiting [2024-10-17T05:55:32.329Z] bde34c3a00c8: Waiting [2024-10-17T05:55:32.329Z] b352a97aabf1: Waiting [2024-10-17T05:55:32.329Z] 4872d77fe225: Waiting [2024-10-17T05:55:32.329Z] 5851b861e8e6: Waiting [2024-10-17T05:55:32.329Z] 988bab9f4d93: Waiting [2024-10-17T05:55:32.329Z] e2be974225ed: Download complete [2024-10-17T05:55:32.329Z] 988bab9f4d93: Verifying Checksum [2024-10-17T05:55:32.329Z] 988bab9f4d93: Download complete [2024-10-17T05:55:32.588Z] 1469e6f7b9e6: Verifying Checksum [2024-10-17T05:55:32.588Z] 1469e6f7b9e6: Download complete [2024-10-17T05:55:32.588Z] eaf3925da568: Verifying Checksum [2024-10-17T05:55:32.588Z] eaf3925da568: Download complete [2024-10-17T05:55:32.588Z] 339a4e72a1f5: Verifying Checksum [2024-10-17T05:55:32.588Z] 339a4e72a1f5: Download complete [2024-10-17T05:55:32.588Z] bde34c3a00c8: Verifying Checksum [2024-10-17T05:55:32.588Z] bde34c3a00c8: Download complete [2024-10-17T05:55:32.588Z] b352a97aabf1: Verifying Checksum [2024-10-17T05:55:32.588Z] b352a97aabf1: Download complete [2024-10-17T05:55:32.588Z] 4872d77fe225: Verifying Checksum [2024-10-17T05:55:32.588Z] 4872d77fe225: Download complete [2024-10-17T05:55:32.588Z] 5851b861e8e6: Verifying Checksum [2024-10-17T05:55:32.588Z] 5851b861e8e6: Download complete [2024-10-17T05:55:32.588Z] b85a868b505f: Verifying Checksum [2024-10-17T05:55:32.588Z] b85a868b505f: Download complete [2024-10-17T05:55:32.846Z] bab4dde63d76: Verifying Checksum [2024-10-17T05:55:32.846Z] bab4dde63d76: Download complete [2024-10-17T05:55:34.221Z] b85a868b505f: Pull complete [2024-10-17T05:55:34.221Z] e2be974225ed: Pull complete [2024-10-17T05:55:34.482Z] 339a4e72a1f5: Pull complete [2024-10-17T05:55:34.763Z] 988bab9f4d93: Pull complete [2024-10-17T05:55:35.026Z] 1469e6f7b9e6: Pull complete [2024-10-17T05:55:35.026Z] eaf3925da568: Pull complete [2024-10-17T05:55:36.936Z] bab4dde63d76: Pull complete [2024-10-17T05:55:37.197Z] bde34c3a00c8: Pull complete [2024-10-17T05:55:37.197Z] b352a97aabf1: Pull complete [2024-10-17T05:55:37.457Z] 4872d77fe225: Pull complete [2024-10-17T05:55:37.457Z] 5851b861e8e6: Pull complete [2024-10-17T05:55:37.457Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-17T05:55:37.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T05:55:37.457Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T05:55:37.742Z] prd-ubuntu20.04-docker-8c-8g-22978 does not seem to be running inside a container [2024-10-17T05:55:37.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-584 -v /w/workspace/xfoundry_device-modbus-go_PR-584:/w/workspace/xfoundry_device-modbus-go_PR-584:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-584@tmp:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-17T05:55:39.828Z] $ docker top 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b -eo pid,comm [2024-10-17T05:55:39.892Z] 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-17T05:55:39.892Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-17T05:55:40.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T05:55:40.064Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T05:55:40.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T05:55:40.175Z] $ docker exec 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b ssh-agent [2024-10-17T05:55:40.290Z] SSH_AUTH_SOCK=/tmp/ssh-5otbPIIkuhzF/agent.32 [2024-10-17T05:55:40.290Z] SSH_AGENT_PID=38 [2024-10-17T05:55:40.296Z] Running ssh-add (command line suppressed) [2024-10-17T05:55:40.405Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-584@tmp/private_key_530738459318747356.key (/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/private_key_530738459318747356.key) [2024-10-17T05:55:40.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T05:55:40.775Z] + git tag --points-at HEAD [Pipeline] } [2024-10-17T05:55:40.800Z] $ docker exec --env ******** --env ******** 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b ssh-agent -k [2024-10-17T05:55:40.904Z] unset SSH_AUTH_SOCK; [2024-10-17T05:55:40.904Z] unset SSH_AGENT_PID; [2024-10-17T05:55:40.905Z] echo Agent pid 38 killed; [2024-10-17T05:55:40.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-17T05:55:41.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T05:55:41.039Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T05:55:41.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T05:55:41.185Z] $ docker exec 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b ssh-agent [2024-10-17T05:55:41.302Z] SSH_AUTH_SOCK=/tmp/ssh-aVrbJ5AuX4zT/agent.71 [2024-10-17T05:55:41.302Z] SSH_AGENT_PID=77 [2024-10-17T05:55:41.310Z] Running ssh-add (command line suppressed) [2024-10-17T05:55:41.428Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-584@tmp/private_key_10590590169992375869.key (/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/private_key_10590590169992375869.key) [2024-10-17T05:55:41.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T05:55:41.798Z] + git semver init [2024-10-17T05:55:42.057Z] 2024-10-17 05:55:41,970 [run_init] DEBUG init version:0.0.0 force:False [2024-10-17T05:55:42.057Z] 2024-10-17 05:55:41,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-584/.semver [2024-10-17T05:55:42.057Z] 2024-10-17 05:55:41,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-584/.semver [2024-10-17T05:55:42.057Z] 2024-10-17 05:55:41,971 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-584/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-584, universal_newlines=False, shell=None, istream=None) [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,974 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-584/.git/info/exclude [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,974 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-584/.semver/PR-584 with force:False [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,975 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-584/.semver/PR-584 [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,979 [execute] INFO git cat-file --batch-check [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-584/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,985 [execute] INFO git cat-file --batch [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-584/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T05:55:42.995Z] 2024-10-17 05:55:42,990 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-584/.semver/PR-584 [2024-10-17T05:55:42.995Z] 0.0.0 [Pipeline] } [2024-10-17T05:55:43.272Z] $ docker exec --env ******** --env ******** 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b ssh-agent -k [2024-10-17T05:55:43.382Z] unset SSH_AUTH_SOCK; [2024-10-17T05:55:43.382Z] unset SSH_AGENT_PID; [2024-10-17T05:55:43.382Z] echo Agent pid 77 killed; [2024-10-17T05:55:43.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-17T05:55:43.864Z] + git semver [Pipeline] } [2024-10-17T05:55:44.156Z] $ docker stop --time=1 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b [2024-10-17T05:55:45.480Z] $ docker rm -f --volumes 35c2a152c20511749daa6b5c406ae1941bf516039c2851c97b4f5df8e453699b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T05:55:45.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-17T05:55:46.304Z] Stashed 1 file(s) [Pipeline] echo [2024-10-17T05:55:46.331Z] [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-17T05:55:47.011Z] provisioning config files... [2024-10-17T05:55:47.021Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/config15808883193630633760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T05:55:47.392Z] ---> ****-login.sh [2024-10-17T05:55:47.392Z] nexus3.edgexfoundry.org:10001 [2024-10-17T05:55:47.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:47.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:47.392Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:47.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:47.392Z] [2024-10-17T05:55:47.392Z] Login Succeeded [2024-10-17T05:55:47.392Z] nexus3.edgexfoundry.org:10002 [2024-10-17T05:55:47.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:47.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:47.392Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:47.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:47.392Z] [2024-10-17T05:55:47.392Z] Login Succeeded [2024-10-17T05:55:47.392Z] nexus3.edgexfoundry.org:10003 [2024-10-17T05:55:47.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:47.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:47.652Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:47.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:47.652Z] [2024-10-17T05:55:47.652Z] Login Succeeded [2024-10-17T05:55:47.652Z] nexus3.edgexfoundry.org:10004 [2024-10-17T05:55:47.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:47.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:47.653Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:47.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:47.653Z] [2024-10-17T05:55:47.653Z] Login Succeeded [2024-10-17T05:55:47.653Z] ****.io [2024-10-17T05:55:47.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:55:47.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:55:47.912Z] Configure a credential helper to remove this warning. See [2024-10-17T05:55:47.912Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:55:47.912Z] [2024-10-17T05:55:47.912Z] Login Succeeded [2024-10-17T05:55:47.913Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T05:55:47.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T05:55:48.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T05:55:48.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T05:55:48.258Z] ========================================================= [2024-10-17T05:55:48.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-17T05:55:48.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:55:48.774Z] + 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-17T05:55:48.774Z] Sending build context to Docker daemon 17.96MB [2024-10-17T05:55:48.774Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T05:55:48.774Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-17T05:55:48.774Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-17T05:55:48.774Z] 43c4264eed91: Pulling fs layer [2024-10-17T05:55:48.774Z] 4cc291be95ef: Pulling fs layer [2024-10-17T05:55:48.774Z] 2ac1f1163629: Pulling fs layer [2024-10-17T05:55:48.774Z] 5c3c966382ef: Pulling fs layer [2024-10-17T05:55:48.774Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T05:55:48.774Z] 5d5c8e513c77: Pulling fs layer [2024-10-17T05:55:48.774Z] 9f66e0745190: Pulling fs layer [2024-10-17T05:55:48.774Z] f49a43e4bbc0: Pulling fs layer [2024-10-17T05:55:48.774Z] 561ebcabdf7f: Pulling fs layer [2024-10-17T05:55:48.774Z] 5c3c966382ef: Waiting [2024-10-17T05:55:48.774Z] 4f4fb700ef54: Waiting [2024-10-17T05:55:48.774Z] 5d5c8e513c77: Waiting [2024-10-17T05:55:48.774Z] 9f66e0745190: Waiting [2024-10-17T05:55:48.774Z] f49a43e4bbc0: Waiting [2024-10-17T05:55:48.774Z] 561ebcabdf7f: Waiting [2024-10-17T05:55:49.034Z] 4cc291be95ef: Verifying Checksum [2024-10-17T05:55:49.034Z] 4cc291be95ef: Download complete [2024-10-17T05:55:49.034Z] 5c3c966382ef: Download complete [2024-10-17T05:55:49.034Z] 4f4fb700ef54: Download complete [2024-10-17T05:55:49.034Z] 5d5c8e513c77: Verifying Checksum [2024-10-17T05:55:49.034Z] 5d5c8e513c77: Download complete [2024-10-17T05:55:49.034Z] 43c4264eed91: Download complete [2024-10-17T05:55:49.034Z] 9f66e0745190: Verifying Checksum [2024-10-17T05:55:49.034Z] 9f66e0745190: Download complete [2024-10-17T05:55:49.292Z] 43c4264eed91: Pull complete [2024-10-17T05:55:49.292Z] 561ebcabdf7f: Download complete [2024-10-17T05:55:49.292Z] 4cc291be95ef: Pull complete [2024-10-17T05:55:49.554Z] 2ac1f1163629: Verifying Checksum [2024-10-17T05:55:49.554Z] 2ac1f1163629: Download complete [2024-10-17T05:55:49.819Z] f49a43e4bbc0: Verifying Checksum [2024-10-17T05:55:49.819Z] f49a43e4bbc0: Download complete [2024-10-17T05:55:54.015Z] 2ac1f1163629: Pull complete [2024-10-17T05:55:54.015Z] 5c3c966382ef: Pull complete [2024-10-17T05:55:54.015Z] 4f4fb700ef54: Pull complete [2024-10-17T05:55:54.015Z] 5d5c8e513c77: Pull complete [2024-10-17T05:55:54.015Z] 9f66e0745190: Pull complete [2024-10-17T05:55:55.933Z] f49a43e4bbc0: Pull complete [2024-10-17T05:55:56.504Z] 561ebcabdf7f: Pull complete [2024-10-17T05:55:56.504Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-17T05:55:56.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-17T05:55:56.504Z] ---> 3a752c3f9dda [2024-10-17T05:55:56.504Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-17T05:55:59.800Z] ---> Running in 5fe8f57b8835 [2024-10-17T05:55:59.800Z] Removing intermediate container 5fe8f57b8835 [2024-10-17T05:55:59.800Z] ---> ca8d5e4ea9c5 [2024-10-17T05:55:59.800Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T05:55:59.800Z] ---> Running in 2cfcc70d2dab [2024-10-17T05:55:59.800Z] Removing intermediate container 2cfcc70d2dab [2024-10-17T05:55:59.800Z] ---> 40cdabececce [2024-10-17T05:55:59.800Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-17T05:55:59.800Z] ---> Running in 2986b892be51 [2024-10-17T05:56:00.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T05:56:00.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T05:56:00.631Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-17T05:56:00.631Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-17T05:56:00.631Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-17T05:56:00.631Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T05:56:00.631Z] OK: 252 MiB in 62 packages [2024-10-17T05:56:00.892Z] Removing intermediate container 2986b892be51 [2024-10-17T05:56:00.892Z] ---> ae5e79ffc1fc [2024-10-17T05:56:00.892Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-17T05:56:00.892Z] ---> Running in 6d20f468e84e [2024-10-17T05:56:01.154Z] Removing intermediate container 6d20f468e84e [2024-10-17T05:56:01.154Z] ---> 518c5104a3e9 [2024-10-17T05:56:01.154Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-17T05:56:01.154Z] ---> 25129b7d62d9 [2024-10-17T05:56:01.154Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T05:56:01.414Z] ---> Running in 559a45f0f77d [2024-10-17T05:56:01.810Z] Still waiting to schedule task [2024-10-17T05:56:01.811Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22977’ is offline [2024-10-17T05:56:48.904Z] Removing intermediate container 559a45f0f77d [2024-10-17T05:56:48.904Z] ---> a2e3327dca64 [2024-10-17T05:56:48.904Z] Step 9/10 : COPY . . [2024-10-17T05:56:48.904Z] ---> bb10de271863 [2024-10-17T05:56:48.904Z] Step 10/10 : RUN ${MAKE} [2024-10-17T05:56:48.904Z] ---> Running in 5b748da7909b [2024-10-17T05:56:48.904Z] noop [2024-10-17T05:56:48.904Z] Removing intermediate container 5b748da7909b [2024-10-17T05:56:48.904Z] ---> b00352c772f3 [2024-10-17T05:56:48.904Z] Successfully built b00352c772f3 [2024-10-17T05:56:48.904Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:56:49.409Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T05:56:49.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T05:56:49.587Z] prd-ubuntu20.04-docker-8c-8g-22978 does not seem to be running inside a container [2024-10-17T05:56:49.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-584 -v /w/workspace/xfoundry_device-modbus-go_PR-584:/w/workspace/xfoundry_device-modbus-go_PR-584:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-584@tmp:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-17T05:56:49.958Z] $ docker top 91a29fee21ae9b3cf3c518afdc1abdc5ccabc2bbb0ca3a69be41f85ea963d336 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T05:56:50.376Z] + go version [2024-10-17T05:56:50.376Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-17T05:56:50.410Z] $ docker stop --time=1 91a29fee21ae9b3cf3c518afdc1abdc5ccabc2bbb0ca3a69be41f85ea963d336 [2024-10-17T05:56:51.712Z] $ docker rm -f --volumes 91a29fee21ae9b3cf3c518afdc1abdc5ccabc2bbb0ca3a69be41f85ea963d336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:56:52.504Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T05:56:52.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T05:56:52.682Z] prd-ubuntu20.04-docker-8c-8g-22978 does not seem to be running inside a container [2024-10-17T05:56:52.710Z] $ 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-584 -v /w/workspace/xfoundry_device-modbus-go_PR-584:/w/workspace/xfoundry_device-modbus-go_PR-584:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-584@tmp:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-17T05:56:53.070Z] $ docker top 8e2f5dc46ec8aa2795999ee2aafe340d47f3c739e1ad66de82d113816d819cc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T05:56:53.493Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-584 [Pipeline] fileExists [Pipeline] sh [2024-10-17T05:56:53.871Z] + make test [2024-10-17T05:56:53.871Z] go test ./... -coverprofile=coverage.out [2024-10-17T05:56:55.268Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-17T05:57:13.374Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-17T05:57:13.374Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-10-17T05:57:23.336Z] go vet ./... [2024-10-17T05:57:28.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T05:57:28.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T05:57:28.601Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T05:57:28.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T05:57:28.689Z] $ docker stop --time=1 8e2f5dc46ec8aa2795999ee2aafe340d47f3c739e1ad66de82d113816d819cc3 [2024-10-17T05:57:30.738Z] $ docker rm -f --volumes 8e2f5dc46ec8aa2795999ee2aafe340d47f3c739e1ad66de82d113816d819cc3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T05:57:31.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T05:57:31.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-17T05:57:32.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T05:57:32.456Z] + ls -al . [2024-10-17T05:57:32.456Z] total 272 [2024-10-17T05:57:32.456Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 05:56 . [2024-10-17T05:57:32.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:55 .. [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:55 .dockerignore [2024-10-17T05:57:32.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:57 .git [2024-10-17T05:57:32.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:55 .github [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 17 05:55 .gitignore [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 05:55 .golangci.yml [2024-10-17T05:57:32.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:55 .semver [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 17 05:55 Attribution.txt [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 17 05:55 CHANGELOG.md [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 17 05:55 Dockerfile [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:55 GOVERNANCE.md [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 17 05:55 Jenkinsfile [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:55 LICENSE [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 17 05:55 Makefile [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:55 OWNERS.md [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 17 05:55 README.md [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:55 VERSION [2024-10-17T05:57:32.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:55 bin [2024-10-17T05:57:32.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:55 cmd [2024-10-17T05:57:32.456Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 17 05:57 coverage.out [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 17 05:55 go.mod [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 17 05:55 go.sum [2024-10-17T05:57:32.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:55 internal [2024-10-17T05:57:32.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:55 simulator [2024-10-17T05:57:32.456Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:57:32.886Z] + 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=9fc2f1cd0068de4d5b81cada2ce205015fab4369 --label arch=amd64 --label version=0.0.0 . [2024-10-17T05:57:32.886Z] Sending build context to Docker daemon 17.98MB [2024-10-17T05:57:32.886Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T05:57:32.886Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-17T05:57:32.886Z] ---> b00352c772f3 [2024-10-17T05:57:32.886Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-17T05:57:32.886Z] ---> Running in aa9fbc189b8a [2024-10-17T05:57:33.145Z] Removing intermediate container aa9fbc189b8a [2024-10-17T05:57:33.145Z] ---> bf71f249d885 [2024-10-17T05:57:33.145Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T05:57:33.145Z] ---> Running in 3e2edffefe71 [2024-10-17T05:57:33.145Z] Removing intermediate container 3e2edffefe71 [2024-10-17T05:57:33.145Z] ---> 9ec826ad6fd2 [2024-10-17T05:57:33.145Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-17T05:57:33.145Z] ---> Running in 70af96d7df6f [2024-10-17T05:57:33.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T05:57:33.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T05:57:33.922Z] OK: 252 MiB in 62 packages [2024-10-17T05:57:34.181Z] Removing intermediate container 70af96d7df6f [2024-10-17T05:57:34.181Z] ---> 1567465924d0 [2024-10-17T05:57:34.181Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-17T05:57:34.181Z] ---> Running in 900182299ece [2024-10-17T05:57:34.441Z] Removing intermediate container 900182299ece [2024-10-17T05:57:34.441Z] ---> f3c87bc4a79a [2024-10-17T05:57:34.441Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-17T05:57:34.441Z] ---> 69a1f7f3f99c [2024-10-17T05:57:34.441Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T05:57:34.441Z] ---> Running in 25d71473fa7e [2024-10-17T05:57:35.010Z] Removing intermediate container 25d71473fa7e [2024-10-17T05:57:35.010Z] ---> 8a3e45da6256 [2024-10-17T05:57:35.010Z] Step 9/23 : COPY . . [2024-10-17T05:57:35.576Z] ---> 00acd22b72cd [2024-10-17T05:57:35.576Z] Step 10/23 : RUN ${MAKE} [2024-10-17T05:57:35.576Z] ---> Running in 57bdce87ccc7 [2024-10-17T05:57:35.837Z] 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-17T05:57:47.840Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22979 in /w/workspace/xfoundry_device-modbus-go_PR-584 [Pipeline] { [Pipeline] ws [2024-10-17T05:57:47.915Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-17T05:57:48.027Z] The recommended git tool is: git [2024-10-17T05:57:55.194Z] using credential edgex-jenkins-ssh [2024-10-17T05:57:55.223Z] Cloning the remote Git repository [2024-10-17T05:57:55.271Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-17T05:57:55.379Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-17T05:57:55.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-17T05:57:55.543Z] > git --version # timeout=10 [2024-10-17T05:57:55.564Z] > git --version # 'git version 2.25.1' [2024-10-17T05:57:55.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T05:57:55.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T05:57:57.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-17T05:57:57.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T05:57:58.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-17T05:57:58.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-17T05:57:58.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T05:57:58.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-17T05:57:59.118Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [2024-10-17T05:57:59.361Z] Merge succeeded, producing 9fc2f1cd0068de4d5b81cada2ce205015fab4369 [2024-10-17T05:57:59.362Z] Checking out Revision 9fc2f1cd0068de4d5b81cada2ce205015fab4369 (PR-584) [2024-10-17T05:57:59.970Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-17T05:58:00.013Z] > git --version # timeout=10 [2024-10-17T05:58:00.024Z] > git --version # 'git version 2.25.1' [2024-10-17T05:58:00.040Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T05:57:59.130Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T05:57:59.192Z] > git checkout -f 9fc2f1cd0068de4d5b81cada2ce205015fab4369 # timeout=10 [2024-10-17T05:57:59.270Z] > git remote # timeout=10 [2024-10-17T05:57:59.286Z] > git config --get remote.origin.url # timeout=10 [2024-10-17T05:57:59.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T05:57:59.323Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-17T05:57:59.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-17T05:57:59.364Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T05:57:59.375Z] > git checkout -f 9fc2f1cd0068de4d5b81cada2ce205015fab4369 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T05:58:04.816Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-17T05:58:04.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T05:58:04.816Z] Dload Upload Total Spent Left Speed [2024-10-17T05:58:04.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh [2024-10-17T05:58:05.168Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-17T05:58:05.518Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-17T05:58:05.518Z] + sudo tee /etc/docker/daemon.new [2024-10-17T05:58:05.518Z] { [2024-10-17T05:58:05.518Z] "registry-mirrors": [ [2024-10-17T05:58:05.518Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-17T05:58:05.518Z] ], [2024-10-17T05:58:05.518Z] "bip": "10.250.0.254/24", [2024-10-17T05:58:05.518Z] "hosts": [ [2024-10-17T05:58:05.518Z] "tcp://0.0.0.0:5555", [2024-10-17T05:58:05.518Z] "unix:///var/run/docker.sock" [2024-10-17T05:58:05.518Z] ], [2024-10-17T05:58:05.518Z] "mtu": 1458, [2024-10-17T05:58:05.518Z] "selinux-enabled": true, [2024-10-17T05:58:05.518Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-17T05:58:05.518Z] } [Pipeline] sh [2024-10-17T05:58:05.871Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-17T05:58:06.227Z] + sudo service docker restart [2024-10-17T05:58:07.917Z] Removing intermediate container 57bdce87ccc7 [2024-10-17T05:58:07.917Z] ---> dd5e71057330 [2024-10-17T05:58:07.917Z] Step 11/23 : FROM alpine:3.20 [2024-10-17T05:58:07.917Z] 3.20: Pulling from library/alpine [2024-10-17T05:58:07.917Z] 43c4264eed91: Already exists [2024-10-17T05:58:07.917Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T05:58:07.917Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T05:58:07.917Z] ---> 91ef0af61f39 [2024-10-17T05:58:07.917Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-17T05:58:07.917Z] ---> Running in 3b226c12e5f3 [2024-10-17T05:58:07.917Z] Removing intermediate container 3b226c12e5f3 [2024-10-17T05:58:07.917Z] ---> 1d6408eb4aa2 [2024-10-17T05:58:07.917Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-17T05:58:07.917Z] ---> Running in 750f546d6c7d [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T05:58:07.917Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T05:58:07.917Z] OK: 8 MiB in 15 packages [2024-10-17T05:58:07.917Z] Removing intermediate container 750f546d6c7d [2024-10-17T05:58:07.917Z] ---> 240e403cd769 [2024-10-17T05:58:07.917Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-17T05:58:07.917Z] ---> Running in 3c245721e708 [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] Upgrading critical system libraries and apk-tools: [2024-10-17T05:58:07.917Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T05:58:07.917Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T05:58:07.917Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T05:58:07.917Z] OK: 8 MiB in 15 packages [2024-10-17T05:58:07.917Z] Removing intermediate container 3c245721e708 [2024-10-17T05:58:07.917Z] ---> 4f7db790f291 [2024-10-17T05:58:07.917Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-17T05:58:07.917Z] ---> d6619a893fa3 [2024-10-17T05:58:07.917Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-17T05:58:07.917Z] ---> 90218083dd32 [2024-10-17T05:58:07.917Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-17T05:58:07.917Z] ---> a065f3416a74 [2024-10-17T05:58:07.917Z] Step 18/23 : EXPOSE 59901 [2024-10-17T05:58:07.917Z] ---> Running in d91a5f1bc1a8 [2024-10-17T05:58:07.917Z] Removing intermediate container d91a5f1bc1a8 [2024-10-17T05:58:07.917Z] ---> 69e6e812914a [2024-10-17T05:58:07.917Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-17T05:58:07.917Z] ---> Running in 8c08b5d050a6 [2024-10-17T05:58:07.917Z] Removing intermediate container 8c08b5d050a6 [2024-10-17T05:58:07.917Z] ---> 303a7e16baa0 [2024-10-17T05:58:07.917Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-17T05:58:07.917Z] ---> Running in d9758d5bebc6 [2024-10-17T05:58:07.917Z] Removing intermediate container d9758d5bebc6 [2024-10-17T05:58:07.917Z] ---> 1fa13e612798 [2024-10-17T05:58:07.917Z] Step 21/23 : LABEL arch=amd64 [2024-10-17T05:58:07.917Z] ---> Running in 1316618918aa [2024-10-17T05:58:08.178Z] Removing intermediate container 1316618918aa [2024-10-17T05:58:08.178Z] ---> 562b4d2adfb1 [2024-10-17T05:58:08.178Z] Step 22/23 : LABEL git_sha=9fc2f1cd0068de4d5b81cada2ce205015fab4369 [2024-10-17T05:58:08.178Z] ---> Running in 65c654df6c4b [2024-10-17T05:58:08.178Z] Removing intermediate container 65c654df6c4b [2024-10-17T05:58:08.178Z] ---> cd2ef883943a [2024-10-17T05:58:08.178Z] Step 23/23 : LABEL version=0.0.0 [2024-10-17T05:58:08.178Z] ---> Running in 8b5ef49022f5 [2024-10-17T05:58:08.178Z] Removing intermediate container 8b5ef49022f5 [2024-10-17T05:58:08.178Z] ---> 9972fdfe9c51 [2024-10-17T05:58:08.178Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T05:58:08.178Z] Successfully built 9972fdfe9c51 [2024-10-17T05:58:08.178Z] 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-17T05:58:09.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T05:58:09.230Z] [2024-10-17T05:58:09.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:58:09.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T05:58:09.625Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-17T05:58:09.625Z] 5eb5b503b376: Pulling fs layer [2024-10-17T05:58:09.625Z] 5c69ac0246d0: Pulling fs layer [2024-10-17T05:58:09.625Z] ec43610c2a17: Pulling fs layer [2024-10-17T05:58:09.625Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-17T05:58:09.625Z] 33b1e0a273af: Pulling fs layer [2024-10-17T05:58:09.625Z] 5d3b04190fa2: Pulling fs layer [2024-10-17T05:58:09.625Z] 2f39f015ded8: Pulling fs layer [2024-10-17T05:58:09.625Z] 33b1e0a273af: Waiting [2024-10-17T05:58:09.625Z] 5d3b04190fa2: Waiting [2024-10-17T05:58:09.625Z] 2f39f015ded8: Waiting [2024-10-17T05:58:09.625Z] 3a2ae6a8a46f: Waiting [2024-10-17T05:58:09.625Z] 5c69ac0246d0: Verifying Checksum [2024-10-17T05:58:09.625Z] 5c69ac0246d0: Download complete [2024-10-17T05:58:09.625Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-17T05:58:09.625Z] 3a2ae6a8a46f: Download complete [2024-10-17T05:58:09.625Z] 33b1e0a273af: Verifying Checksum [2024-10-17T05:58:09.625Z] 33b1e0a273af: Download complete [2024-10-17T05:58:09.625Z] 5d3b04190fa2: Verifying Checksum [2024-10-17T05:58:09.625Z] 5d3b04190fa2: Download complete [2024-10-17T05:58:09.625Z] ec43610c2a17: Verifying Checksum [2024-10-17T05:58:09.625Z] ec43610c2a17: Download complete [2024-10-17T05:58:09.883Z] 5eb5b503b376: Verifying Checksum [2024-10-17T05:58:09.883Z] 5eb5b503b376: Download complete [2024-10-17T05:58:10.449Z] 2f39f015ded8: Download complete [2024-10-17T05:58:11.016Z] 5eb5b503b376: Pull complete [2024-10-17T05:58:11.016Z] 5c69ac0246d0: Pull complete [2024-10-17T05:58:11.584Z] ec43610c2a17: Pull complete [2024-10-17T05:58:11.584Z] 3a2ae6a8a46f: Pull complete [2024-10-17T05:58:11.584Z] 33b1e0a273af: Pull complete [2024-10-17T05:58:11.584Z] 5d3b04190fa2: Pull complete [2024-10-17T05:58:15.777Z] 2f39f015ded8: Pull complete [2024-10-17T05:58:15.777Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-17T05:58:15.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T05:58:15.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T05:58:16.038Z] prd-ubuntu20.04-docker-8c-8g-22978 does not seem to be running inside a container [2024-10-17T05:58:16.063Z] $ 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-584 -v /w/workspace/xfoundry_device-modbus-go_PR-584:/w/workspace/xfoundry_device-modbus-go_PR-584:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-584@tmp:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-17T05:58:18.198Z] $ docker top ade2a90fa625e7ff36378917624818b645bdf87a129c4800efa4708ce2f71c8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T05:58:18.677Z] ---> job-cost.sh [2024-10-17T05:58:18.677Z] lf-activate-venv: SKIPPING [2024-10-17T05:58:18.677Z] INFO: No Stack... [2024-10-17T05:58:18.937Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T05:58:19.195Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T05:58:19.528Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-584/archives/cost.csv [2024-10-17T05:58:19.528Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T05:58:19.574Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [2024-10-17T05:58:19.581Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] did not exist. Created. [2024-10-17T05:58:19.587Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T05:58:20.014Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-17T05:58:20.074Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T05:58:20.117Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T05:58:20.207Z] $ docker stop --time=1 ade2a90fa625e7ff36378917624818b645bdf87a129c4800efa4708ce2f71c8c [2024-10-17T05:58:21.344Z] $ docker rm -f --volumes ade2a90fa625e7ff36378917624818b645bdf87a129c4800efa4708ce2f71c8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T05:58:24.595Z] provisioning config files... [2024-10-17T05:58:24.618Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2536895767124019489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T05:58:25.098Z] ---> ****-login.sh [2024-10-17T05:58:25.098Z] nexus3.edgexfoundry.org:10001 [2024-10-17T05:58:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:58:25.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:58:25.634Z] Configure a credential helper to remove this warning. See [2024-10-17T05:58:25.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:58:25.634Z] [2024-10-17T05:58:25.634Z] Login Succeeded [2024-10-17T05:58:25.634Z] nexus3.edgexfoundry.org:10002 [2024-10-17T05:58:25.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:58:25.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:58:25.902Z] Configure a credential helper to remove this warning. See [2024-10-17T05:58:25.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:58:25.902Z] [2024-10-17T05:58:25.902Z] Login Succeeded [2024-10-17T05:58:25.902Z] nexus3.edgexfoundry.org:10003 [2024-10-17T05:58:26.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:58:26.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:58:26.438Z] Configure a credential helper to remove this warning. See [2024-10-17T05:58:26.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:58:26.438Z] [2024-10-17T05:58:26.438Z] Login Succeeded [2024-10-17T05:58:26.438Z] nexus3.edgexfoundry.org:10004 [2024-10-17T05:58:26.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:58:26.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:58:26.707Z] Configure a credential helper to remove this warning. See [2024-10-17T05:58:26.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:58:26.707Z] [2024-10-17T05:58:26.707Z] Login Succeeded [2024-10-17T05:58:26.707Z] ****.io [2024-10-17T05:58:26.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T05:58:26.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T05:58:26.975Z] Configure a credential helper to remove this warning. See [2024-10-17T05:58:26.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T05:58:26.975Z] [2024-10-17T05:58:26.975Z] Login Succeeded [2024-10-17T05:58:26.975Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T05:58:27.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T05:58:27.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T05:58:27.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T05:58:27.545Z] ========================================================= [2024-10-17T05:58:27.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-17T05:58:27.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T05:58:28.088Z] + 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-17T05:58:28.358Z] Sending build context to Docker daemon 9.123MB [2024-10-17T05:58:28.358Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T05:58:28.358Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-17T05:58:28.626Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-17T05:58:28.626Z] cf04c63912e1: Pulling fs layer [2024-10-17T05:58:28.626Z] 55b35a11ae5e: Pulling fs layer [2024-10-17T05:58:28.626Z] a37a00ec5f00: Pulling fs layer [2024-10-17T05:58:28.626Z] 50b3750afda1: Pulling fs layer [2024-10-17T05:58:28.626Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T05:58:28.626Z] 80978eb59214: Pulling fs layer [2024-10-17T05:58:28.626Z] 50b3750afda1: Waiting [2024-10-17T05:58:28.626Z] 4f4fb700ef54: Waiting [2024-10-17T05:58:28.626Z] c9f46d7d2bd2: Pulling fs layer [2024-10-17T05:58:28.626Z] c5a475d317c9: Pulling fs layer [2024-10-17T05:58:28.626Z] 80978eb59214: Waiting [2024-10-17T05:58:28.626Z] c9f46d7d2bd2: Waiting [2024-10-17T05:58:28.626Z] c5a475d317c9: Waiting [2024-10-17T05:58:28.626Z] 55b35a11ae5e: Verifying Checksum [2024-10-17T05:58:28.626Z] 55b35a11ae5e: Download complete [2024-10-17T05:58:28.626Z] 50b3750afda1: Verifying Checksum [2024-10-17T05:58:28.626Z] 50b3750afda1: Download complete [2024-10-17T05:58:28.626Z] 4f4fb700ef54: Download complete [2024-10-17T05:58:28.626Z] 80978eb59214: Verifying Checksum [2024-10-17T05:58:28.626Z] 80978eb59214: Download complete [2024-10-17T05:58:28.626Z] cf04c63912e1: Verifying Checksum [2024-10-17T05:58:28.626Z] cf04c63912e1: Download complete [2024-10-17T05:58:29.221Z] c5a475d317c9: Verifying Checksum [2024-10-17T05:58:29.221Z] c5a475d317c9: Download complete [2024-10-17T05:58:29.502Z] cf04c63912e1: Pull complete [2024-10-17T05:58:30.090Z] 55b35a11ae5e: Pull complete [2024-10-17T05:58:30.359Z] a37a00ec5f00: Verifying Checksum [2024-10-17T05:58:30.359Z] a37a00ec5f00: Download complete [2024-10-17T05:58:31.324Z] c9f46d7d2bd2: Verifying Checksum [2024-10-17T05:58:31.324Z] c9f46d7d2bd2: Download complete [2024-10-17T05:58:43.639Z] a37a00ec5f00: Pull complete [2024-10-17T05:58:43.639Z] 50b3750afda1: Pull complete [2024-10-17T05:58:43.639Z] 4f4fb700ef54: Pull complete [2024-10-17T05:58:43.639Z] 80978eb59214: Pull complete [2024-10-17T05:58:50.354Z] c9f46d7d2bd2: Pull complete [2024-10-17T05:58:52.298Z] c5a475d317c9: Pull complete [2024-10-17T05:58:52.298Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-17T05:58:52.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-17T05:58:52.298Z] ---> be29e6b0f0d4 [2024-10-17T05:58:52.298Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-17T05:58:53.703Z] ---> Running in 758c8771c8cd [2024-10-17T05:58:53.973Z] Removing intermediate container 758c8771c8cd [2024-10-17T05:58:53.973Z] ---> 3350d1df2777 [2024-10-17T05:58:53.973Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T05:58:53.973Z] ---> Running in a5344cb85bb5 [2024-10-17T05:58:54.245Z] Removing intermediate container a5344cb85bb5 [2024-10-17T05:58:54.245Z] ---> 61c386ef4787 [2024-10-17T05:58:54.245Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-17T05:58:54.245Z] ---> Running in 341d4ddc9e39 [2024-10-17T05:58:55.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T05:58:55.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T05:58:57.058Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-17T05:58:57.058Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-17T05:58:57.058Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-17T05:58:57.058Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T05:58:57.334Z] OK: 244 MiB in 62 packages [2024-10-17T05:58:58.307Z] Removing intermediate container 341d4ddc9e39 [2024-10-17T05:58:58.307Z] ---> 78302e5bf4c0 [2024-10-17T05:58:58.307Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-17T05:58:58.307Z] ---> Running in 7dc05c87a852 [2024-10-17T05:58:58.576Z] Removing intermediate container 7dc05c87a852 [2024-10-17T05:58:58.576Z] ---> 01f04c695274 [2024-10-17T05:58:58.576Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-17T05:58:59.163Z] ---> 0d7d10fcf3f0 [2024-10-17T05:58:59.163Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T05:58:59.163Z] ---> Running in 39aab7e3a153 [2024-10-17T06:00:51.389Z] Removing intermediate container 39aab7e3a153 [2024-10-17T06:00:51.389Z] ---> 60bcf1e35ead [2024-10-17T06:00:51.389Z] Step 9/10 : COPY . . [2024-10-17T06:00:51.389Z] ---> 16939f4554d1 [2024-10-17T06:00:51.389Z] Step 10/10 : RUN ${MAKE} [2024-10-17T06:00:51.389Z] ---> Running in 28d7cec6f18f [2024-10-17T06:00:51.389Z] noop [2024-10-17T06:00:51.389Z] Removing intermediate container 28d7cec6f18f [2024-10-17T06:00:51.389Z] ---> 0bfa35333c73 [2024-10-17T06:00:51.389Z] Successfully built 0bfa35333c73 [2024-10-17T06:00:51.389Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T06:00:51.898Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T06:00:51.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T06:00:52.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-22979 does not seem to be running inside a container [2024-10-17T06:00:52.269Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-17T06:00:53.503Z] $ docker top ead0a0b21bbf25ec86eb8faec0b99f3ad344a2dfdec5411d854eda26d54a6166 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T06:00:54.396Z] + go version [2024-10-17T06:00:54.396Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-17T06:00:54.433Z] $ docker stop --time=1 ead0a0b21bbf25ec86eb8faec0b99f3ad344a2dfdec5411d854eda26d54a6166 [2024-10-17T06:00:56.075Z] $ docker rm -f --volumes ead0a0b21bbf25ec86eb8faec0b99f3ad344a2dfdec5411d854eda26d54a6166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T06:00:56.998Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T06:00:56.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T06:00:57.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-22979 does not seem to be running inside a container [2024-10-17T06:00:57.327Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-17T06:00:58.462Z] $ docker top fb36afbebc2f6340162a069d6fa0718cea3c2f690bdd2226defed97fb0c1c290 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T06:00:59.038Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-17T06:00:59.710Z] + make test [2024-10-17T06:00:59.976Z] go test ./... -coverprofile=coverage.out [2024-10-17T06:01:06.633Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-17T06:04:28.444Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-17T06:04:28.444Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements [2024-10-17T06:04:28.444Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-17T06:04:28.444Z] go vet ./... [2024-10-17T06:05:15.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T06:05:15.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T06:05:15.300Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T06:05:15.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T06:05:15.388Z] $ docker stop --time=1 fb36afbebc2f6340162a069d6fa0718cea3c2f690bdd2226defed97fb0c1c290 [2024-10-17T06:05:17.240Z] $ docker rm -f --volumes fb36afbebc2f6340162a069d6fa0718cea3c2f690bdd2226defed97fb0c1c290 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T06:05:18.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T06:05:18.845Z] Warning: overwriting stash ‘coverage-report’ [2024-10-17T06:05:19.308Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T06:05:19.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T06:05:20.301Z] + ls -al . [2024-10-17T06:05:20.301Z] total 268 [2024-10-17T06:05:20.301Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 06:01 . [2024-10-17T06:05:20.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:57 .. [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:57 .dockerignore [2024-10-17T06:05:20.301Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:58 .git [2024-10-17T06:05:20.301Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:57 .github [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 17 05:57 .gitignore [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 05:57 .golangci.yml [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 17 05:57 Attribution.txt [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 17 05:57 CHANGELOG.md [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 17 05:57 Dockerfile [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:57 GOVERNANCE.md [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 17 05:57 Jenkinsfile [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:57 LICENSE [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 17 05:57 Makefile [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:57 OWNERS.md [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 17 05:57 README.md [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:55 VERSION [2024-10-17T06:05:20.301Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:57 bin [2024-10-17T06:05:20.301Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:57 cmd [2024-10-17T06:05:20.301Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 17 06:04 coverage.out [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 17 05:57 go.mod [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 17 05:57 go.sum [2024-10-17T06:05:20.301Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:57 internal [2024-10-17T06:05:20.301Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:57 simulator [2024-10-17T06:05:20.301Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T06:05:20.744Z] + 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=9fc2f1cd0068de4d5b81cada2ce205015fab4369 --label arch=arm64 --label version=0.0.0 . [2024-10-17T06:05:21.019Z] Sending build context to Docker daemon 9.148MB [2024-10-17T06:05:21.286Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T06:05:21.286Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-17T06:05:21.286Z] ---> 0bfa35333c73 [2024-10-17T06:05:21.286Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-17T06:05:21.286Z] ---> Running in 98edc93d42a6 [2024-10-17T06:05:21.560Z] Removing intermediate container 98edc93d42a6 [2024-10-17T06:05:21.560Z] ---> 1b4ce546675c [2024-10-17T06:05:21.560Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T06:05:21.829Z] ---> Running in d6fa227293dc [2024-10-17T06:05:22.098Z] Removing intermediate container d6fa227293dc [2024-10-17T06:05:22.098Z] ---> dc5a18acf95b [2024-10-17T06:05:22.098Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-17T06:05:22.098Z] ---> Running in 337234870ba3 [2024-10-17T06:05:23.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T06:05:23.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T06:05:25.056Z] OK: 244 MiB in 62 packages [2024-10-17T06:05:25.644Z] Removing intermediate container 337234870ba3 [2024-10-17T06:05:25.644Z] ---> 920bf2da567a [2024-10-17T06:05:25.644Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-17T06:05:25.914Z] ---> Running in 221f2f2693ed [2024-10-17T06:05:26.180Z] Removing intermediate container 221f2f2693ed [2024-10-17T06:05:26.180Z] ---> f3cd4103a185 [2024-10-17T06:05:26.180Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-17T06:05:26.762Z] ---> b1bfab287123 [2024-10-17T06:05:26.762Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T06:05:26.762Z] ---> Running in 0050237a263c [2024-10-17T06:05:29.348Z] Removing intermediate container 0050237a263c [2024-10-17T06:05:29.348Z] ---> 88c3cd271eae [2024-10-17T06:05:29.348Z] Step 9/23 : COPY . . [2024-10-17T06:05:30.312Z] ---> 6f30f6deb6cd [2024-10-17T06:05:30.312Z] Step 10/23 : RUN ${MAKE} [2024-10-17T06:05:30.312Z] ---> Running in 8bf947845855 [2024-10-17T06:05:31.272Z] 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-17T06:08:53.175Z] Removing intermediate container 8bf947845855 [2024-10-17T06:08:53.175Z] ---> 72769d367814 [2024-10-17T06:08:53.175Z] Step 11/23 : FROM alpine:3.20 [2024-10-17T06:08:53.175Z] 3.20: Pulling from library/alpine [2024-10-17T06:08:53.175Z] cf04c63912e1: Already exists [2024-10-17T06:08:53.175Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T06:08:53.175Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T06:08:53.175Z] ---> c157a85ed455 [2024-10-17T06:08:53.175Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-17T06:08:53.175Z] ---> Running in 13c8ffdddd10 [2024-10-17T06:08:53.175Z] Removing intermediate container 13c8ffdddd10 [2024-10-17T06:08:53.175Z] ---> b89e792e0eb3 [2024-10-17T06:08:53.175Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-17T06:08:53.450Z] ---> Running in 9e067fa7f052 [2024-10-17T06:08:54.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T06:08:54.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T06:08:56.132Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T06:08:56.132Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T06:08:56.132Z] OK: 9 MiB in 15 packages [2024-10-17T06:08:57.102Z] Removing intermediate container 9e067fa7f052 [2024-10-17T06:08:57.102Z] ---> f1154dbee877 [2024-10-17T06:08:57.102Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-17T06:08:57.102Z] ---> Running in dadaddb67b76 [2024-10-17T06:08:58.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T06:08:58.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T06:08:59.480Z] Upgrading critical system libraries and apk-tools: [2024-10-17T06:08:59.480Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T06:08:59.480Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T06:08:59.747Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T06:08:59.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T06:09:00.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T06:09:01.421Z] OK: 9 MiB in 15 packages [2024-10-17T06:09:02.387Z] Removing intermediate container dadaddb67b76 [2024-10-17T06:09:02.387Z] ---> a445d0d2e907 [2024-10-17T06:09:02.387Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-17T06:09:04.975Z] ---> 41e3bab3de11 [2024-10-17T06:09:04.975Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-17T06:09:05.241Z] ---> d42fe7d37699 [2024-10-17T06:09:05.241Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-17T06:09:05.825Z] ---> 4c44f817f6a2 [2024-10-17T06:09:05.825Z] Step 18/23 : EXPOSE 59901 [2024-10-17T06:09:05.825Z] ---> Running in cc34a38e8200 [2024-10-17T06:09:06.092Z] Removing intermediate container cc34a38e8200 [2024-10-17T06:09:06.092Z] ---> aaf9eee485fd [2024-10-17T06:09:06.092Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-17T06:09:06.092Z] ---> Running in 979778869b9e [2024-10-17T06:09:06.360Z] Removing intermediate container 979778869b9e [2024-10-17T06:09:06.360Z] ---> f090da10f4a5 [2024-10-17T06:09:06.360Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-17T06:09:06.360Z] ---> Running in 7ab172d6eee6 [2024-10-17T06:09:06.635Z] Removing intermediate container 7ab172d6eee6 [2024-10-17T06:09:06.635Z] ---> 172e52de347c [2024-10-17T06:09:06.635Z] Step 21/23 : LABEL arch=arm64 [2024-10-17T06:09:06.903Z] ---> Running in 486730efec19 [2024-10-17T06:09:07.174Z] Removing intermediate container 486730efec19 [2024-10-17T06:09:07.174Z] ---> 552b9d35912e [2024-10-17T06:09:07.174Z] Step 22/23 : LABEL git_sha=9fc2f1cd0068de4d5b81cada2ce205015fab4369 [2024-10-17T06:09:07.174Z] ---> Running in b268055d4e12 [2024-10-17T06:09:07.445Z] Removing intermediate container b268055d4e12 [2024-10-17T06:09:07.445Z] ---> 364fad12a6cf [2024-10-17T06:09:07.445Z] Step 23/23 : LABEL version=0.0.0 [2024-10-17T06:09:07.445Z] ---> Running in ce66f3f1e510 [2024-10-17T06:09:07.711Z] Removing intermediate container ce66f3f1e510 [2024-10-17T06:09:07.711Z] ---> bc0726ed7182 [2024-10-17T06:09:07.711Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T06:09:07.711Z] Successfully built bc0726ed7182 [2024-10-17T06:09:07.976Z] 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-17T06:09:08.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T06:09:08.943Z] [2024-10-17T06:09:08.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T06:09:09.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T06:09:09.354Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-17T06:09:09.354Z] 8998bd30e6a1: Pulling fs layer [2024-10-17T06:09:09.354Z] 04944245beec: Pulling fs layer [2024-10-17T06:09:09.354Z] 699f458cf7ca: Pulling fs layer [2024-10-17T06:09:09.354Z] 765212b225bb: Pulling fs layer [2024-10-17T06:09:09.354Z] f23df028b6ca: Pulling fs layer [2024-10-17T06:09:09.354Z] d65c8cfc05b1: Pulling fs layer [2024-10-17T06:09:09.354Z] 2437ff75d9bd: Pulling fs layer [2024-10-17T06:09:09.354Z] 765212b225bb: Waiting [2024-10-17T06:09:09.354Z] f23df028b6ca: Waiting [2024-10-17T06:09:09.354Z] d65c8cfc05b1: Waiting [2024-10-17T06:09:09.354Z] 2437ff75d9bd: Waiting [2024-10-17T06:09:09.621Z] 04944245beec: Verifying Checksum [2024-10-17T06:09:09.621Z] 04944245beec: Download complete [2024-10-17T06:09:09.621Z] 765212b225bb: Verifying Checksum [2024-10-17T06:09:09.621Z] 765212b225bb: Download complete [2024-10-17T06:09:09.621Z] f23df028b6ca: Verifying Checksum [2024-10-17T06:09:09.621Z] f23df028b6ca: Download complete [2024-10-17T06:09:09.621Z] d65c8cfc05b1: Verifying Checksum [2024-10-17T06:09:09.621Z] d65c8cfc05b1: Download complete [2024-10-17T06:09:09.621Z] 699f458cf7ca: Verifying Checksum [2024-10-17T06:09:09.621Z] 699f458cf7ca: Download complete [2024-10-17T06:09:10.202Z] 8998bd30e6a1: Verifying Checksum [2024-10-17T06:09:10.202Z] 8998bd30e6a1: Download complete [2024-10-17T06:09:12.793Z] 2437ff75d9bd: Verifying Checksum [2024-10-17T06:09:12.793Z] 2437ff75d9bd: Download complete [2024-10-17T06:09:14.208Z] 8998bd30e6a1: Pull complete [2024-10-17T06:09:14.794Z] 04944245beec: Pull complete [2024-10-17T06:09:16.735Z] 699f458cf7ca: Pull complete [2024-10-17T06:09:16.735Z] 765212b225bb: Pull complete [2024-10-17T06:09:17.320Z] f23df028b6ca: Pull complete [2024-10-17T06:09:17.587Z] d65c8cfc05b1: Pull complete [2024-10-17T06:09:35.788Z] 2437ff75d9bd: Pull complete [2024-10-17T06:09:35.788Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-17T06:09:35.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T06:09:35.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T06:09:36.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-22979 does not seem to be running inside a container [2024-10-17T06:09:36.202Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-17T06:09:38.888Z] $ docker top 445e706012c25b2b4d90d91e3b85f74521f8fc6903779bacdb951a0bbe0c1241 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:39.832Z] ---> job-cost.sh [2024-10-17T06:09:39.832Z] lf-activate-venv: SKIPPING [2024-10-17T06:09:39.832Z] INFO: No Stack... [2024-10-17T06:09:40.415Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-17T06:09:41.374Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T06:09:41.720Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-17T06:09:41.720Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T06:09:42.064Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [2024-10-17T06:09:42.072Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] did not exist. Created. [2024-10-17T06:09:42.079Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T06:09:42.506Z] /w/workspace/device-modbus-go/1@tmp/durable-fb0e4b25/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-17T06:09:43.184Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-17T06:09:43.231Z] Warning: overwriting stash ‘stack-cost’ [2024-10-17T06:09:43.275Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T06:09:43.294Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-584-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T06:09:43.387Z] $ docker stop --time=1 445e706012c25b2b4d90d91e3b85f74521f8fc6903779bacdb951a0bbe0c1241 [2024-10-17T06:09:44.888Z] $ docker rm -f --volumes 445e706012c25b2b4d90d91e3b85f74521f8fc6903779bacdb951a0bbe0c1241 [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-17T06:09:45.986Z] provisioning config files... [2024-10-17T06:09:45.995Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/config11587414573502130889tmp [Pipeline] { [Pipeline] sh [2024-10-17T06:09:46.349Z] + set +x [2024-10-17T06:09:46.349Z] + bash -s -- [2024-10-17T06:09:46.349Z] + curl -s https://codecov.io/bash [2024-10-17T06:09:46.349Z] [2024-10-17T06:09:46.349Z] _____ _ [2024-10-17T06:09:46.349Z] / ____| | | [2024-10-17T06:09:46.349Z] | | ___ __| | ___ ___ _____ __ [2024-10-17T06:09:46.349Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-17T06:09:46.349Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-17T06:09:46.349Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-17T06:09:46.349Z] Bash-1.0.6 [2024-10-17T06:09:46.349Z] [2024-10-17T06:09:46.349Z] [2024-10-17T06:09:46.349Z] ==> git version 2.25.1 found [2024-10-17T06:09:46.349Z] ==> 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-17T06:09:46.349Z] Release-Date: 2020-01-08 [2024-10-17T06:09:46.349Z] 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-17T06:09:46.349Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-17T06:09:46.349Z] ==> Jenkins CI detected. [2024-10-17T06:09:46.349Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-584 [2024-10-17T06:09:46.349Z] project root: . [2024-10-17T06:09:46.349Z] --> token set from env [2024-10-17T06:09:46.349Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-17T06:09:46.610Z] ==> Running gcov in . (disable via -X gcov) [2024-10-17T06:09:46.610Z] ==> Python coveragepy not found [2024-10-17T06:09:46.610Z] ==> Searching for coverage reports in: [2024-10-17T06:09:46.610Z] + . [2024-10-17T06:09:46.610Z] -> Found 1 reports [2024-10-17T06:09:46.610Z] ==> Detecting git/mercurial file structure [2024-10-17T06:09:46.610Z] ==> Reading reports [2024-10-17T06:09:46.610Z] + ./coverage.out bytes=24669 [2024-10-17T06:09:46.610Z] ==> Appending adjustments [2024-10-17T06:09:46.610Z] https://docs.codecov.io/docs/fixing-reports [2024-10-17T06:09:46.610Z] + Found adjustments [2024-10-17T06:09:46.610Z] ==> Gzipping contents [2024-10-17T06:09:46.610Z] 4.0K /tmp/codecov.Jfay2y.gz [2024-10-17T06:09:46.610Z] ==> Uploading reports [2024-10-17T06:09:46.610Z] url: https://codecov.io [2024-10-17T06:09:46.610Z] query: branch=PR-584&commit=9fc2f1cd0068de4d5b81cada2ce205015fab4369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-584%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2024-10-17T06:09:46.610Z] -> Pinging Codecov [2024-10-17T06:09:46.610Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-584&commit=9fc2f1cd0068de4d5b81cada2ce205015fab4369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-584%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2024-10-17T06:09:46.877Z] -> Uploading to [2024-10-17T06:09:46.877Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/9fc2f1cd0068de4d5b81cada2ce205015fab4369/6f4706e2-e1b9-4f07-83cb-9500fe2343f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T060946Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=80bf98e1a4be804c395495e0a485d891a7c5cae338b480ed0608c1b7aa94c2eb [2024-10-17T06:09:46.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T06:09:46.877Z] Dload Upload Total Spent Left Speed [2024-10-17T06:09:47.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 16421 --:--:-- --:--:-- --:--:-- 16421 [2024-10-17T06:09:47.138Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9fc2f1cd0068de4d5b81cada2ce205015fab4369 [Pipeline] } [2024-10-17T06:09:47.172Z] 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-17T06:09:49.304Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-584/archives ] [2024-10-17T06:09:49.304Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-584/archives [2024-10-17T06:09:49.304Z] total 16 [2024-10-17T06:09:49.304Z] drwxr-xr-x 3 root root 4096 Oct 17 05:58 . [2024-10-17T06:09:49.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:58 .. [2024-10-17T06:09:49.304Z] drwxr-xr-x 2 root root 4096 Oct 17 05:58 cost [2024-10-17T06:09:49.304Z] -rw-r--r-- 1 root root 88 Oct 17 05:58 cost.csv [2024-10-17T06:09:49.304Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-584/archives [2024-10-17T06:09:49.304Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-584/archives [2024-10-17T06:09:49.304Z] total 16 [2024-10-17T06:09:49.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:58 . [2024-10-17T06:09:49.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:58 .. [2024-10-17T06:09:49.304Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 05:58 cost [2024-10-17T06:09:49.304Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 17 05:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:49.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:50.557Z] ---> package-listing.sh [2024-10-17T06:09:50.557Z] ++ facter osfamily [2024-10-17T06:09:50.557Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-17T06:09:50.816Z] + OS_FAMILY=debian [2024-10-17T06:09:50.816Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-584 [2024-10-17T06:09:50.816Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-17T06:09:50.816Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-17T06:09:50.816Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-17T06:09:50.816Z] + PACKAGES=/tmp/packages_start.txt [2024-10-17T06:09:50.816Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-584 ']' [2024-10-17T06:09:50.816Z] + PACKAGES=/tmp/packages_end.txt [2024-10-17T06:09:50.816Z] + case "${OS_FAMILY}" in [2024-10-17T06:09:50.816Z] + dpkg -l [2024-10-17T06:09:50.816Z] + grep '^ii' [2024-10-17T06:09:50.816Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-17T06:09:50.816Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-17T06:09:50.816Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-17T06:09:50.816Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-584 ']' [2024-10-17T06:09:50.816Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-584/archives/ [2024-10-17T06:09:50.816Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-584/archives/ [Pipeline] echo [2024-10-17T06:09:50.854Z] 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-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-17T06:09:51.188Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T06:09:51.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T06:09:51.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T06:09:52.149Z] prd-ubuntu20.04-docker-8c-8g-22978 does not seem to be running inside a container [2024-10-17T06:09:52.177Z] $ 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-584/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-584 -v /w/workspace/xfoundry_device-modbus-go_PR-584:/w/workspace/xfoundry_device-modbus-go_PR-584:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-584@tmp:/w/workspace/xfoundry_device-modbus-go_PR-584@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-17T06:09:52.364Z] $ docker top f69f0214a4203c567f0280641950db63290fbc52e8482b88e9633d5b011f04d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T06:09:52.783Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-17T06:09:53.099Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-17T06:09:53.421Z] + ls /var/log/sa-host [2024-10-17T06:09:53.421Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T06:09:53.566Z] provisioning config files... [2024-10-17T06:09:53.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-584@tmp/config10514546055121753613tmp [Pipeline] { [Pipeline] echo [2024-10-17T06:09:53.629Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:53.946Z] ---> create-netrc.sh [Pipeline] } [2024-10-17T06:09:53.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:54.385Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-17T06:09:54.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:54.856Z] ---> sudo-logs.sh [2024-10-17T06:09:54.856Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-17T06:09:54.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:55.285Z] ---> job-cost.sh [2024-10-17T06:09:55.285Z] lf-activate-venv: SKIPPING [2024-10-17T06:09:55.285Z] DEBUG: total: 0.2199999988079071 [2024-10-17T06:09:55.285Z] INFO: Retrieving Stack Cost... [2024-10-17T06:09:55.545Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T06:09:56.114Z] INFO: Archiving Costs [Pipeline] echo [2024-10-17T06:09:56.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T06:09:56.489Z] ---> logs-deploy.sh [2024-10-17T06:09:56.489Z] lf-activate-venv: SKIPPING [2024-10-17T06:09:56.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-584/1 [2024-10-17T06:09:56.489Z] INFO: archiving workspace using pattern(s): [2024-10-17T06:09:57.423Z] Archives upload complete. [2024-10-17T06:09:57.423Z] INFO: archiving logs to Nexus