Pull request #581 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 7248720eb6e2bf16815f86cf3de46e0922eeefd9 rather than e71a893dad424d23f7e4eb29bb19f5eb64cf1313 Obtained Jenkinsfile from 7248720eb6e2bf16815f86cf3de46e0922eeefd9 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14616731224635445310.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-ssh8612229781907660006.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9395904532278292383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8741995163245600469.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-581/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-581/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12895792068616524112.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23897’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23899 in /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-581 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit e71a893dad424d23f7e4eb29bb19f5eb64cf1313 Merge succeeded, producing 81118f672b1eba660c50a3243e4594900e45f7c5 Checking out Revision 81118f672b1eba660c50a3243e4594900e45f7c5 (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f e71a893dad424d23f7e4eb29bb19f5eb64cf1313 # 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 81118f672b1eba660c50a3243e4594900e45f7c5 # timeout=10 Commit message: "Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-28T07:30:54.924Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-28T07:30:55.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-28T07:30:55.049Z] ========================================================= [2024-10-28T07:30:55.049Z] EdgeX Global Pipelines Version Info [2024-10-28T07:30:55.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3659de257de8445bf2738d26d8c449ebf30ccefd # timeout=10 [2024-10-28T07:30:55.820Z] ------------------- [2024-10-28T07:30:55.820Z] stable info: [2024-10-28T07:30:55.820Z] ------------------- [2024-10-28T07:30:55.820Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-28T07:30:55.820Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-28T07:30:55.820Z] Message: update stable to v1.0.265 [2024-10-28T07:30:56.402Z] ------------------- [2024-10-28T07:30:56.402Z] experimental info: [2024-10-28T07:30:56.402Z] ------------------- [2024-10-28T07:30:56.402Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-28T07:30:56.402Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-28T07:30:56.402Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-28T07:30:56.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-28T07:30:56.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-28T07:30:56.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-28T07:30:56.548Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-28T07:30:56.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-28T07:30:56.594Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-28T07:30:56.620Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-28T07:30:56.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-28T07:30:56.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-28T07:30:56.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-28T07:30:56.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-28T07:30:56.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-28T07:30:56.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-28T07:30:56.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-28T07:30:56.822Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-28T07:30:56.843Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-28T07:30:56.868Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-28T07:30:56.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-28T07:30:56.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-28T07:30:56.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-28T07:30:56.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-28T07:30:56.984Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-28T07:30:57.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-28T07:30:57.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-28T07:30:57.047Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-28T07:30:57.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-28T07:30:57.104Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-28T07:30:57.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2024-10-28T07:30:57.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2024-10-28T07:30:57.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2024-10-28T07:30:57.204Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81118f672b1eba660c50a3243e4594900e45f7c5 [Pipeline] echo [2024-10-28T07:30:57.224Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81118f6 [Pipeline] echo [2024-10-28T07:30:57.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:30:57.316Z] provisioning config files... [2024-10-28T07:30:57.336Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config17086018234271213376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:30:57.677Z] ---> ****-login.sh [2024-10-28T07:30:57.677Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:30:57.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:30:57.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:30:57.939Z] Configure a credential helper to remove this warning. See [2024-10-28T07:30:57.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:30:57.939Z] [2024-10-28T07:30:57.939Z] Login Succeeded [2024-10-28T07:30:57.939Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:30:57.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:30:57.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:30:57.939Z] Configure a credential helper to remove this warning. See [2024-10-28T07:30:57.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:30:57.939Z] [2024-10-28T07:30:57.939Z] Login Succeeded [2024-10-28T07:30:57.939Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:30:58.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:30:58.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:30:58.200Z] Configure a credential helper to remove this warning. See [2024-10-28T07:30:58.200Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:30:58.200Z] [2024-10-28T07:30:58.200Z] Login Succeeded [2024-10-28T07:30:58.200Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:30:58.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:30:58.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:30:58.200Z] Configure a credential helper to remove this warning. See [2024-10-28T07:30:58.200Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:30:58.200Z] [2024-10-28T07:30:58.200Z] Login Succeeded [2024-10-28T07:30:58.200Z] ****.io [2024-10-28T07:30:58.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:30:58.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:30:58.462Z] Configure a credential helper to remove this warning. See [2024-10-28T07:30:58.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:30:58.462Z] [2024-10-28T07:30:58.462Z] Login Succeeded [2024-10-28T07:30:58.462Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:30:58.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-28T07:30:58.901Z] + git rev-list -1 --merges 81118f672b1eba660c50a3243e4594900e45f7c5~1..81118f672b1eba660c50a3243e4594900e45f7c5 [Pipeline] echo [2024-10-28T07:30:58.931Z] -----------> git rev-list -1 --merges 81118f672b1eba660c50a3243e4594900e45f7c5~1..81118f672b1eba660c50a3243e4594900e45f7c5 81118f672b1eba660c50a3243e4594900e45f7c5 [2024-10-28T07:30:58.931Z] 81118f672b1eba660c50a3243e4594900e45f7c5 [false] [Pipeline] sh [2024-10-28T07:30:59.223Z] + git log --format=format:%s -1 81118f672b1eba660c50a3243e4594900e45f7c5 [Pipeline] echo [2024-10-28T07:30:59.243Z] ========================================================= [2024-10-28T07:30:59.243Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-28T07:30:59.243Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:30:59.585Z] + git log --format=format:%s -1 81118f672b1eba660c50a3243e4594900e45f7c5 [Pipeline] echo [2024-10-28T07:30:59.598Z] [semverPrep] GIT_COMMIT: 81118f672b1eba660c50a3243e4594900e45f7c5, Commit Message: Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD [Pipeline] echo [2024-10-28T07:30:59.618Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-28T07:31:00.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-28T07:31:00.005Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-28T07:31:00.005Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-28T07:31:00.005Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-28T07:31:00.005Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-28T07:31:00.005Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-28T07:31:00.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:31:00.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:31:00.436Z] [2024-10-28T07:31:00.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:31:00.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:31:00.736Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-28T07:31:00.736Z] b85a868b505f: Pulling fs layer [2024-10-28T07:31:00.736Z] e2be974225ed: Pulling fs layer [2024-10-28T07:31:00.736Z] 339a4e72a1f5: Pulling fs layer [2024-10-28T07:31:00.736Z] 988bab9f4d93: Pulling fs layer [2024-10-28T07:31:00.736Z] 1469e6f7b9e6: Pulling fs layer [2024-10-28T07:31:00.736Z] eaf3925da568: Pulling fs layer [2024-10-28T07:31:00.736Z] bab4dde63d76: Pulling fs layer [2024-10-28T07:31:00.736Z] bde34c3a00c8: Pulling fs layer [2024-10-28T07:31:00.736Z] b352a97aabf1: Pulling fs layer [2024-10-28T07:31:00.736Z] 4872d77fe225: Pulling fs layer [2024-10-28T07:31:00.736Z] 5851b861e8e6: Pulling fs layer [2024-10-28T07:31:00.736Z] 988bab9f4d93: Waiting [2024-10-28T07:31:00.736Z] 1469e6f7b9e6: Waiting [2024-10-28T07:31:00.736Z] eaf3925da568: Waiting [2024-10-28T07:31:00.736Z] bde34c3a00c8: Waiting [2024-10-28T07:31:00.736Z] bab4dde63d76: Waiting [2024-10-28T07:31:00.736Z] 5851b861e8e6: Waiting [2024-10-28T07:31:00.736Z] b352a97aabf1: Waiting [2024-10-28T07:31:00.736Z] 4872d77fe225: Waiting [2024-10-28T07:31:00.736Z] e2be974225ed: Download complete [2024-10-28T07:31:00.736Z] 988bab9f4d93: Verifying Checksum [2024-10-28T07:31:00.736Z] 988bab9f4d93: Download complete [2024-10-28T07:31:00.736Z] 1469e6f7b9e6: Verifying Checksum [2024-10-28T07:31:00.736Z] 1469e6f7b9e6: Download complete [2024-10-28T07:31:00.736Z] eaf3925da568: Verifying Checksum [2024-10-28T07:31:00.736Z] eaf3925da568: Download complete [2024-10-28T07:31:00.736Z] 339a4e72a1f5: Verifying Checksum [2024-10-28T07:31:00.736Z] 339a4e72a1f5: Download complete [2024-10-28T07:31:00.998Z] bde34c3a00c8: Verifying Checksum [2024-10-28T07:31:00.998Z] bde34c3a00c8: Download complete [2024-10-28T07:31:00.998Z] b352a97aabf1: Verifying Checksum [2024-10-28T07:31:00.998Z] b352a97aabf1: Download complete [2024-10-28T07:31:00.998Z] 4872d77fe225: Download complete [2024-10-28T07:31:00.998Z] 5851b861e8e6: Download complete [2024-10-28T07:31:00.998Z] b85a868b505f: Verifying Checksum [2024-10-28T07:31:00.998Z] b85a868b505f: Download complete [2024-10-28T07:31:01.257Z] bab4dde63d76: Verifying Checksum [2024-10-28T07:31:01.257Z] bab4dde63d76: Download complete [2024-10-28T07:31:02.194Z] b85a868b505f: Pull complete [2024-10-28T07:31:02.454Z] e2be974225ed: Pull complete [2024-10-28T07:31:02.714Z] 339a4e72a1f5: Pull complete [2024-10-28T07:31:02.714Z] 988bab9f4d93: Pull complete [2024-10-28T07:31:03.285Z] 1469e6f7b9e6: Pull complete [2024-10-28T07:31:03.285Z] eaf3925da568: Pull complete [2024-10-28T07:31:04.665Z] bab4dde63d76: Pull complete [2024-10-28T07:31:04.924Z] bde34c3a00c8: Pull complete [2024-10-28T07:31:04.924Z] b352a97aabf1: Pull complete [2024-10-28T07:31:05.184Z] 4872d77fe225: Pull complete [2024-10-28T07:31:05.184Z] 5851b861e8e6: Pull complete [2024-10-28T07:31:05.184Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-28T07:31:05.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-28T07:31:05.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:31:05.361Z] prd-ubuntu20.04-docker-8c-8g-23899 does not seem to be running inside a container [2024-10-28T07:31:05.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-28T07:31:07.710Z] $ docker top dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 -eo pid,comm [2024-10-28T07:31:07.768Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-28T07:31:07.768Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-28T07:31:07.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-28T07:31:07.831Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-28T07:31:07.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-28T07:31:07.947Z] $ docker exec dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 ssh-agent [2024-10-28T07:31:08.074Z] SSH_AUTH_SOCK=/tmp/ssh-iXjEBOK2jvCE/agent.32 [2024-10-28T07:31:08.075Z] SSH_AGENT_PID=38 [2024-10-28T07:31:08.081Z] Running ssh-add (command line suppressed) [2024-10-28T07:31:08.185Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_18089783325882408037.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_18089783325882408037.key) [2024-10-28T07:31:08.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-28T07:31:08.498Z] + git tag --points-at HEAD [Pipeline] } [2024-10-28T07:31:08.508Z] $ docker exec --env ******** --env ******** dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 ssh-agent -k [2024-10-28T07:31:08.597Z] unset SSH_AUTH_SOCK; [2024-10-28T07:31:08.597Z] unset SSH_AGENT_PID; [2024-10-28T07:31:08.597Z] echo Agent pid 38 killed; [2024-10-28T07:31:08.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-28T07:31:08.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-28T07:31:08.649Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-28T07:31:08.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-28T07:31:08.758Z] $ docker exec dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 ssh-agent [2024-10-28T07:31:08.867Z] SSH_AUTH_SOCK=/tmp/ssh-wKFxblmZN3wF/agent.71 [2024-10-28T07:31:08.867Z] SSH_AGENT_PID=77 [2024-10-28T07:31:08.872Z] Running ssh-add (command line suppressed) [2024-10-28T07:31:08.977Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_3577623928087855599.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_3577623928087855599.key) [2024-10-28T07:31:08.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-28T07:31:09.289Z] + git semver init [2024-10-28T07:31:09.550Z] 2024-10-28 07:31:09,451 [run_init] DEBUG init version:0.0.0 force:False [2024-10-28T07:31:09.550Z] 2024-10-28 07:31:09,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-28T07:31:09.550Z] 2024-10-28 07:31:09,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-28T07:31:09.550Z] 2024-10-28 07:31:09,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-581/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581, universal_newlines=False, shell=None, istream=None) [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,546 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.git/info/exclude [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 with force:False [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,546 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,550 [execute] INFO git cat-file --batch-check [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,556 [execute] INFO git cat-file --batch [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-28T07:31:10.930Z] 2024-10-28 07:31:10,561 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-28T07:31:10.930Z] 0.0.0 [Pipeline] } [2024-10-28T07:31:10.940Z] $ docker exec --env ******** --env ******** dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 ssh-agent -k [2024-10-28T07:31:11.039Z] unset SSH_AUTH_SOCK; [2024-10-28T07:31:11.040Z] unset SSH_AGENT_PID; [2024-10-28T07:31:11.040Z] echo Agent pid 77 killed; [2024-10-28T07:31:11.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-28T07:31:11.393Z] + git semver [Pipeline] } [2024-10-28T07:31:11.664Z] $ docker stop --time=1 dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 [2024-10-28T07:31:12.966Z] $ docker rm -f --volumes dc81e89c666c687f657680b8b0aa2e88a8bfe14eee7d92a7f7746a6b184e5990 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-28T07:31:13.324Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-28T07:31:13.568Z] Stashed 1 file(s) [Pipeline] echo [2024-10-28T07:31:13.573Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:31:13.773Z] provisioning config files... [2024-10-28T07:31:13.783Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config10038198736895387026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:31:14.092Z] ---> ****-login.sh [2024-10-28T07:31:14.092Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:31:14.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:31:14.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:31:14.092Z] Configure a credential helper to remove this warning. See [2024-10-28T07:31:14.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:31:14.092Z] [2024-10-28T07:31:14.092Z] Login Succeeded [2024-10-28T07:31:14.092Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:31:14.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:31:14.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:31:14.092Z] Configure a credential helper to remove this warning. See [2024-10-28T07:31:14.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:31:14.092Z] [2024-10-28T07:31:14.092Z] Login Succeeded [2024-10-28T07:31:14.092Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:31:14.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:31:14.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:31:14.355Z] Configure a credential helper to remove this warning. See [2024-10-28T07:31:14.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:31:14.355Z] [2024-10-28T07:31:14.355Z] Login Succeeded [2024-10-28T07:31:14.355Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:31:14.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:31:14.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:31:14.355Z] Configure a credential helper to remove this warning. See [2024-10-28T07:31:14.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:31:14.355Z] [2024-10-28T07:31:14.355Z] Login Succeeded [2024-10-28T07:31:14.355Z] ****.io [2024-10-28T07:31:14.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:31:14.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:31:14.615Z] Configure a credential helper to remove this warning. See [2024-10-28T07:31:14.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:31:14.616Z] [2024-10-28T07:31:14.616Z] Login Succeeded [2024-10-28T07:31:14.616Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:31:14.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-28T07:31:14.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:31:14.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:31:14.770Z] ========================================================= [2024-10-28T07:31:14.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-28T07:31:14.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:31:15.121Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-28T07:31:15.121Z] Sending build context to Docker daemon 18.02MB [2024-10-28T07:31:15.121Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:31:15.121Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-28T07:31:15.385Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-28T07:31:15.385Z] 43c4264eed91: Pulling fs layer [2024-10-28T07:31:15.385Z] 4cc291be95ef: Pulling fs layer [2024-10-28T07:31:15.385Z] 2ac1f1163629: Pulling fs layer [2024-10-28T07:31:15.385Z] 5c3c966382ef: Pulling fs layer [2024-10-28T07:31:15.385Z] 4f4fb700ef54: Pulling fs layer [2024-10-28T07:31:15.385Z] 5d5c8e513c77: Pulling fs layer [2024-10-28T07:31:15.385Z] 9f66e0745190: Pulling fs layer [2024-10-28T07:31:15.385Z] f49a43e4bbc0: Pulling fs layer [2024-10-28T07:31:15.385Z] 5c3c966382ef: Waiting [2024-10-28T07:31:15.385Z] 561ebcabdf7f: Pulling fs layer [2024-10-28T07:31:15.385Z] 4f4fb700ef54: Waiting [2024-10-28T07:31:15.385Z] 5d5c8e513c77: Waiting [2024-10-28T07:31:15.385Z] 561ebcabdf7f: Waiting [2024-10-28T07:31:15.385Z] 9f66e0745190: Waiting [2024-10-28T07:31:15.385Z] f49a43e4bbc0: Waiting [2024-10-28T07:31:15.385Z] 4cc291be95ef: Verifying Checksum [2024-10-28T07:31:15.385Z] 4cc291be95ef: Download complete [2024-10-28T07:31:15.385Z] 5c3c966382ef: Verifying Checksum [2024-10-28T07:31:15.385Z] 5c3c966382ef: Download complete [2024-10-28T07:31:15.385Z] 4f4fb700ef54: Verifying Checksum [2024-10-28T07:31:15.385Z] 4f4fb700ef54: Download complete [2024-10-28T07:31:15.385Z] 5d5c8e513c77: Verifying Checksum [2024-10-28T07:31:15.385Z] 5d5c8e513c77: Download complete [2024-10-28T07:31:15.385Z] 43c4264eed91: Verifying Checksum [2024-10-28T07:31:15.385Z] 9f66e0745190: Verifying Checksum [2024-10-28T07:31:15.385Z] 9f66e0745190: Download complete [2024-10-28T07:31:15.645Z] 43c4264eed91: Pull complete [2024-10-28T07:31:15.646Z] 561ebcabdf7f: Verifying Checksum [2024-10-28T07:31:15.646Z] 561ebcabdf7f: Download complete [2024-10-28T07:31:15.646Z] 4cc291be95ef: Pull complete [2024-10-28T07:31:15.909Z] 2ac1f1163629: Verifying Checksum [2024-10-28T07:31:15.909Z] 2ac1f1163629: Download complete [2024-10-28T07:31:16.167Z] f49a43e4bbc0: Verifying Checksum [2024-10-28T07:31:16.167Z] f49a43e4bbc0: Download complete [2024-10-28T07:31:19.453Z] 2ac1f1163629: Pull complete [2024-10-28T07:31:19.453Z] 5c3c966382ef: Pull complete [2024-10-28T07:31:19.453Z] 4f4fb700ef54: Pull complete [2024-10-28T07:31:19.453Z] 5d5c8e513c77: Pull complete [2024-10-28T07:31:19.453Z] 9f66e0745190: Pull complete [2024-10-28T07:31:21.353Z] f49a43e4bbc0: Pull complete [2024-10-28T07:31:21.922Z] 561ebcabdf7f: Pull complete [2024-10-28T07:31:21.922Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-28T07:31:21.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-28T07:31:21.922Z] ---> 3a752c3f9dda [2024-10-28T07:31:21.922Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:31:28.509Z] ---> Running in e3178ab7f0d6 [2024-10-28T07:31:28.509Z] Removing intermediate container e3178ab7f0d6 [2024-10-28T07:31:28.509Z] ---> 7ed830f9b9be [2024-10-28T07:31:28.509Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:31:28.509Z] ---> Running in e4ea67dd6170 [2024-10-28T07:31:28.509Z] Removing intermediate container e4ea67dd6170 [2024-10-28T07:31:28.509Z] ---> 56218eaaae4d [2024-10-28T07:31:28.509Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:31:28.509Z] ---> Running in a63a5562bc2a [2024-10-28T07:31:28.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:31:28.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:31:28.713Z] Still waiting to schedule task [2024-10-28T07:31:28.714Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-23898’ is offline [2024-10-28T07:31:29.079Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-28T07:31:29.079Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-28T07:31:29.079Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-28T07:31:29.079Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:31:29.079Z] OK: 252 MiB in 62 packages [2024-10-28T07:31:29.649Z] Removing intermediate container a63a5562bc2a [2024-10-28T07:31:29.649Z] ---> c23b2f6ca24e [2024-10-28T07:31:29.649Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-28T07:31:29.649Z] ---> Running in 63e8c1175d41 [2024-10-28T07:31:29.649Z] Removing intermediate container 63e8c1175d41 [2024-10-28T07:31:29.649Z] ---> a0f633f3183d [2024-10-28T07:31:29.649Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-28T07:31:29.649Z] ---> 414d193af84d [2024-10-28T07:31:29.649Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:31:29.909Z] ---> Running in 54cbc5647662 [2024-10-28T07:32:17.000Z] Removing intermediate container 54cbc5647662 [2024-10-28T07:32:17.000Z] ---> 49181eb4ac2a [2024-10-28T07:32:17.000Z] Step 9/10 : COPY . . [2024-10-28T07:32:18.910Z] ---> 48a6a40cc8c9 [2024-10-28T07:32:18.910Z] Step 10/10 : RUN ${MAKE} [2024-10-28T07:32:18.910Z] ---> Running in 6b4e382a5bab [2024-10-28T07:32:19.478Z] noop [2024-10-28T07:32:19.737Z] Removing intermediate container 6b4e382a5bab [2024-10-28T07:32:19.737Z] ---> 4dedb14400d9 [2024-10-28T07:32:19.737Z] Successfully built 4dedb14400d9 [2024-10-28T07:32:19.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:32:20.062Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-28T07:32:20.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:32:20.145Z] prd-ubuntu20.04-docker-8c-8g-23899 does not seem to be running inside a container [2024-10-28T07:32:20.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-28T07:32:20.502Z] $ docker top 51ac46dbd6b1e70763f171ff79e7067a1ac2c6fe60bb53cb8641b393e2982f1d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:32:20.849Z] + go version [2024-10-28T07:32:20.849Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-28T07:32:20.857Z] $ docker stop --time=1 51ac46dbd6b1e70763f171ff79e7067a1ac2c6fe60bb53cb8641b393e2982f1d [2024-10-28T07:32:22.135Z] $ docker rm -f --volumes 51ac46dbd6b1e70763f171ff79e7067a1ac2c6fe60bb53cb8641b393e2982f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:32:22.574Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-28T07:32:22.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:32:22.655Z] prd-ubuntu20.04-docker-8c-8g-23899 does not seem to be running inside a container [2024-10-28T07:32:22.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-28T07:32:23.034Z] $ docker top 0dec6b758671d0f8c97830e607179501207dc2c014442c470b41fa162ab7d714 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:32:23.396Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] fileExists [Pipeline] sh [2024-10-28T07:32:23.700Z] + make test [2024-10-28T07:32:23.700Z] go test ./... -coverprofile=coverage.out [2024-10-28T07:32:25.613Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-28T07:32:44.154Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-28T07:32:44.154Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements [2024-10-28T07:32:52.287Z] go vet ./... [2024-10-28T07:32:57.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-28T07:32:57.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-28T07:32:57.570Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-28T07:32:57.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-28T07:32:57.599Z] $ docker stop --time=1 0dec6b758671d0f8c97830e607179501207dc2c014442c470b41fa162ab7d714 [2024-10-28T07:32:59.179Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23900 in /w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-28T07:33:01.307Z] $ docker rm -f --volumes 0dec6b758671d0f8c97830e607179501207dc2c014442c470b41fa162ab7d714 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-10-28T07:33:01.649Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2024-10-28T07:33:01.695Z] The recommended git tool is: git [2024-10-28T07:33:01.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-28T07:33:01.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-28T07:33:02.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-28T07:33:02.776Z] + ls -al . [2024-10-28T07:33:02.776Z] total 272 [2024-10-28T07:33:02.776Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 07:32 . [2024-10-28T07:33:02.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 07:30 .. [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 07:30 .dockerignore [2024-10-28T07:33:02.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:32 .git [2024-10-28T07:33:02.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:30 .github [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 28 07:30 .gitignore [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 28 07:30 .golangci.yml [2024-10-28T07:33:02.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 07:31 .semver [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 28 07:30 Attribution.txt [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 28 07:30 CHANGELOG.md [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 28 07:30 Dockerfile [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 07:30 GOVERNANCE.md [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 28 07:30 Jenkinsfile [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 07:30 LICENSE [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 28 07:30 Makefile [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 28 07:30 OWNERS.md [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 28 07:30 README.md [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 07:31 VERSION [2024-10-28T07:33:02.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:30 bin [2024-10-28T07:33:02.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:30 cmd [2024-10-28T07:33:02.776Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 28 07:32 coverage.out [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 28 07:30 go.mod [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 28 07:30 go.sum [2024-10-28T07:33:02.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:30 internal [2024-10-28T07:33:02.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:30 simulator [2024-10-28T07:33:02.776Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 28 07:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:33:03.109Z] + 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=81118f672b1eba660c50a3243e4594900e45f7c5 --label arch=amd64 --label version=0.0.0 . [2024-10-28T07:33:03.109Z] Sending build context to Docker daemon 18.05MB [2024-10-28T07:33:03.109Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:33:03.109Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-28T07:33:03.109Z] ---> 4dedb14400d9 [2024-10-28T07:33:03.109Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:33:03.370Z] ---> Running in 132c83f2eb5f [2024-10-28T07:33:03.370Z] Removing intermediate container 132c83f2eb5f [2024-10-28T07:33:03.370Z] ---> 770189cfb6b7 [2024-10-28T07:33:03.370Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:33:03.628Z] ---> Running in ba02353d06a2 [2024-10-28T07:33:03.628Z] Removing intermediate container ba02353d06a2 [2024-10-28T07:33:03.628Z] ---> 138ec96ea908 [2024-10-28T07:33:03.629Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:33:03.629Z] ---> Running in 4c79eb919628 [2024-10-28T07:33:03.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:04.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:04.406Z] OK: 252 MiB in 62 packages [2024-10-28T07:33:04.666Z] Removing intermediate container 4c79eb919628 [2024-10-28T07:33:04.666Z] ---> 60e92ed274b2 [2024-10-28T07:33:04.666Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-28T07:33:04.666Z] ---> Running in d25da0c50bae [2024-10-28T07:33:04.925Z] Removing intermediate container d25da0c50bae [2024-10-28T07:33:04.925Z] ---> f018fd9ed3ed [2024-10-28T07:33:04.925Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-28T07:33:04.925Z] ---> 2145efeda46a [2024-10-28T07:33:04.925Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:33:04.925Z] ---> Running in 9c554b0c797a [2024-10-28T07:33:05.863Z] Removing intermediate container 9c554b0c797a [2024-10-28T07:33:05.863Z] ---> 3d517bda445f [2024-10-28T07:33:05.863Z] Step 9/23 : COPY . . [2024-10-28T07:33:06.122Z] ---> bc0df9be3dec [2024-10-28T07:33:06.122Z] Step 10/23 : RUN ${MAKE} [2024-10-28T07:33:06.122Z] ---> Running in 3ae629c63fa9 [2024-10-28T07:33:06.215Z] using credential edgex-jenkins-ssh [2024-10-28T07:33:06.239Z] Cloning the remote Git repository [2024-10-28T07:33:06.382Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-28T07:33:06.280Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:33:06.382Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2024-10-28T07:33:06.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:33:06.529Z] > git --version # timeout=10 [2024-10-28T07:33:06.556Z] > git --version # 'git version 2.25.1' [2024-10-28T07:33:06.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:33:06.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-28T07:33:08.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-28T07:33:08.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-28T07:33:10.101Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit e71a893dad424d23f7e4eb29bb19f5eb64cf1313 [2024-10-28T07:33:10.413Z] Merge succeeded, producing f7c541bdfebd429b4a2a94e48423dc29569b25d6 [2024-10-28T07:33:10.414Z] Checking out Revision f7c541bdfebd429b4a2a94e48423dc29569b25d6 (PR-581) [2024-10-28T07:33:09.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-28T07:33:09.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-28T07:33:09.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:33:09.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-28T07:33:10.119Z] > git config core.sparsecheckout # timeout=10 [2024-10-28T07:33:10.195Z] > git checkout -f e71a893dad424d23f7e4eb29bb19f5eb64cf1313 # timeout=10 [2024-10-28T07:33:10.273Z] > git remote # timeout=10 [2024-10-28T07:33:10.290Z] > git config --get remote.origin.url # timeout=10 [2024-10-28T07:33:10.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-28T07:33:10.331Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-28T07:33:10.394Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-28T07:33:10.419Z] > git config core.sparsecheckout # timeout=10 [2024-10-28T07:33:10.431Z] > git checkout -f f7c541bdfebd429b4a2a94e48423dc29569b25d6 # timeout=10 [2024-10-28T07:33:13.962Z] Commit message: "Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD" [2024-10-28T07:33:13.983Z] First time build. Skipping changelog. [2024-10-28T07:33:13.970Z] > git rev-list --no-walk 3659de257de8445bf2738d26d8c449ebf30ccefd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:33:15.609Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-28T07:33:15.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-28T07:33:15.609Z] Dload Upload Total Spent Left Speed [2024-10-28T07:33:15.609Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 69340 0 --:--:-- --:--:-- --:--:-- 69717 [Pipeline] sh [2024-10-28T07:33:15.952Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-28T07:33:16.268Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-28T07:33:16.268Z] + sudo tee /etc/docker/daemon.new [2024-10-28T07:33:16.268Z] { [2024-10-28T07:33:16.268Z] "registry-mirrors": [ [2024-10-28T07:33:16.268Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-28T07:33:16.268Z] ], [2024-10-28T07:33:16.268Z] "bip": "10.250.0.254/24", [2024-10-28T07:33:16.268Z] "hosts": [ [2024-10-28T07:33:16.268Z] "tcp://0.0.0.0:5555", [2024-10-28T07:33:16.268Z] "unix:///var/run/docker.sock" [2024-10-28T07:33:16.268Z] ], [2024-10-28T07:33:16.268Z] "mtu": 1458, [2024-10-28T07:33:16.268Z] "selinux-enabled": true, [2024-10-28T07:33:16.268Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-28T07:33:16.268Z] } [Pipeline] sh [2024-10-28T07:33:16.589Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-28T07:33:16.911Z] + sudo service docker restart [2024-10-28T07:33:32.922Z] Removing intermediate container 3ae629c63fa9 [2024-10-28T07:33:32.922Z] ---> 018387deb3ec [2024-10-28T07:33:32.922Z] Step 11/23 : FROM alpine:3.20 [2024-10-28T07:33:33.184Z] 3.20: Pulling from library/alpine [2024-10-28T07:33:33.184Z] 43c4264eed91: Already exists [2024-10-28T07:33:33.445Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-28T07:33:33.445Z] Status: Downloaded newer image for alpine:3.20 [2024-10-28T07:33:33.445Z] ---> 91ef0af61f39 [2024-10-28T07:33:33.445Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-28T07:33:33.445Z] ---> Running in 3319c8f1191e [2024-10-28T07:33:33.445Z] Removing intermediate container 3319c8f1191e [2024-10-28T07:33:33.445Z] ---> 08c1fe33f33c [2024-10-28T07:33:33.445Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-28T07:33:33.445Z] ---> Running in 21b5ad646c1d [2024-10-28T07:33:33.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:33.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:34.224Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-28T07:33:34.224Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:33:34.224Z] OK: 8 MiB in 15 packages [2024-10-28T07:33:34.485Z] Removing intermediate container 21b5ad646c1d [2024-10-28T07:33:34.485Z] ---> 157f339794c3 [2024-10-28T07:33:34.485Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-28T07:33:34.485Z] ---> Running in 6c01efded77e [2024-10-28T07:33:34.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:34.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:35.004Z] Upgrading critical system libraries and apk-tools: [2024-10-28T07:33:35.004Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-28T07:33:35.004Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:33:35.004Z] Continuing the upgrade transaction with new apk-tools: [2024-10-28T07:33:35.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:33:35.182Z] provisioning config files... [2024-10-28T07:33:35.216Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config13262990712401368917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:33:35.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-28T07:33:35.522Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:33:35.522Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:33:35.522Z] OK: 8 MiB in 15 packages [2024-10-28T07:33:35.644Z] ---> ****-login.sh [2024-10-28T07:33:35.644Z] nexus3.edgexfoundry.org:10001 [2024-10-28T07:33:35.783Z] Removing intermediate container 6c01efded77e [2024-10-28T07:33:35.783Z] ---> f05efe46476d [2024-10-28T07:33:35.783Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-28T07:33:35.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:33:36.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:33:36.194Z] Configure a credential helper to remove this warning. See [2024-10-28T07:33:36.195Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:33:36.195Z] [2024-10-28T07:33:36.195Z] Login Succeeded [2024-10-28T07:33:36.195Z] nexus3.edgexfoundry.org:10002 [2024-10-28T07:33:36.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:33:36.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:33:36.466Z] Configure a credential helper to remove this warning. See [2024-10-28T07:33:36.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:33:36.466Z] [2024-10-28T07:33:36.466Z] Login Succeeded [2024-10-28T07:33:36.467Z] nexus3.edgexfoundry.org:10003 [2024-10-28T07:33:36.720Z] ---> cd2ed451043a [2024-10-28T07:33:36.720Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-28T07:33:36.720Z] ---> 025b519418d2 [2024-10-28T07:33:36.720Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-28T07:33:36.720Z] ---> 1a31dc6e6892 [2024-10-28T07:33:36.720Z] Step 18/23 : EXPOSE 59901 [2024-10-28T07:33:36.720Z] ---> Running in 1757feccd4ff [2024-10-28T07:33:36.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:33:36.980Z] Removing intermediate container 1757feccd4ff [2024-10-28T07:33:36.980Z] ---> f2528e786575 [2024-10-28T07:33:36.980Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-28T07:33:36.980Z] ---> Running in dae29a3d410a [2024-10-28T07:33:36.980Z] Removing intermediate container dae29a3d410a [2024-10-28T07:33:36.980Z] ---> d2decbee5f20 [2024-10-28T07:33:36.980Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-28T07:33:36.980Z] ---> Running in 50d9ef72b277 [2024-10-28T07:33:36.980Z] Removing intermediate container 50d9ef72b277 [2024-10-28T07:33:36.980Z] ---> 8b473065130b [2024-10-28T07:33:36.980Z] Step 21/23 : LABEL arch=amd64 [2024-10-28T07:33:36.980Z] ---> Running in 0bc120f87885 [2024-10-28T07:33:37.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:33:37.010Z] Configure a credential helper to remove this warning. See [2024-10-28T07:33:37.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:33:37.010Z] [2024-10-28T07:33:37.010Z] Login Succeeded [2024-10-28T07:33:37.010Z] nexus3.edgexfoundry.org:10004 [2024-10-28T07:33:37.239Z] Removing intermediate container 0bc120f87885 [2024-10-28T07:33:37.239Z] ---> eaa9c87aa6a3 [2024-10-28T07:33:37.239Z] Step 22/23 : LABEL git_sha=81118f672b1eba660c50a3243e4594900e45f7c5 [2024-10-28T07:33:37.239Z] ---> Running in 6ccf7a454d40 [2024-10-28T07:33:37.239Z] Removing intermediate container 6ccf7a454d40 [2024-10-28T07:33:37.239Z] ---> c81eeeb427ea [2024-10-28T07:33:37.239Z] Step 23/23 : LABEL version=0.0.0 [2024-10-28T07:33:37.239Z] ---> Running in 358dac8a4cfa [2024-10-28T07:33:37.239Z] Removing intermediate container 358dac8a4cfa [2024-10-28T07:33:37.239Z] ---> 030d4879c5d7 [2024-10-28T07:33:37.239Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-28T07:33:37.239Z] Successfully built 030d4879c5d7 [2024-10-28T07:33:37.239Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-10-28T07:33:37.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:33:37.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:33:37.281Z] Configure a credential helper to remove this warning. See [2024-10-28T07:33:37.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:33:37.281Z] [2024-10-28T07:33:37.281Z] Login Succeeded [2024-10-28T07:33:37.281Z] ****.io [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:33:37.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-28T07:33:37.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:33:37.774Z] [2024-10-28T07:33:37.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:33:37.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-28T07:33:37.815Z] Configure a credential helper to remove this warning. See [2024-10-28T07:33:37.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-28T07:33:37.815Z] [2024-10-28T07:33:37.815Z] Login Succeeded [2024-10-28T07:33:37.815Z] ---> ****-login.sh ends [Pipeline] } [2024-10-28T07:33:37.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-28T07:33:38.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:33:38.076Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-28T07:33:38.076Z] 5eb5b503b376: Pulling fs layer [2024-10-28T07:33:38.076Z] 5c69ac0246d0: Pulling fs layer [2024-10-28T07:33:38.076Z] ec43610c2a17: Pulling fs layer [2024-10-28T07:33:38.076Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-28T07:33:38.076Z] 33b1e0a273af: Pulling fs layer [2024-10-28T07:33:38.076Z] 5d3b04190fa2: Pulling fs layer [2024-10-28T07:33:38.076Z] 2f39f015ded8: Pulling fs layer [2024-10-28T07:33:38.076Z] 33b1e0a273af: Waiting [2024-10-28T07:33:38.076Z] 5d3b04190fa2: Waiting [2024-10-28T07:33:38.076Z] 2f39f015ded8: Waiting [2024-10-28T07:33:38.076Z] 3a2ae6a8a46f: Waiting [2024-10-28T07:33:38.076Z] 5c69ac0246d0: Verifying Checksum [2024-10-28T07:33:38.076Z] 5c69ac0246d0: Download complete [2024-10-28T07:33:38.076Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-28T07:33:38.076Z] 33b1e0a273af: Verifying Checksum [2024-10-28T07:33:38.076Z] 33b1e0a273af: Download complete [2024-10-28T07:33:38.076Z] 5d3b04190fa2: Download complete [2024-10-28T07:33:38.076Z] ec43610c2a17: Verifying Checksum [2024-10-28T07:33:38.076Z] ec43610c2a17: Download complete [Pipeline] echo [2024-10-28T07:33:38.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:33:38.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-28T07:33:38.172Z] ========================================================= [2024-10-28T07:33:38.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-28T07:33:38.172Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:33:38.334Z] 5eb5b503b376: Verifying Checksum [2024-10-28T07:33:38.334Z] 5eb5b503b376: Download complete [2024-10-28T07:33:38.552Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-28T07:33:38.822Z] Sending build context to Docker daemon 9.179MB [2024-10-28T07:33:38.900Z] 2f39f015ded8: Download complete [2024-10-28T07:33:39.091Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:33:39.091Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-28T07:33:39.091Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-28T07:33:39.091Z] cf04c63912e1: Pulling fs layer [2024-10-28T07:33:39.091Z] 55b35a11ae5e: Pulling fs layer [2024-10-28T07:33:39.091Z] a37a00ec5f00: Pulling fs layer [2024-10-28T07:33:39.091Z] 50b3750afda1: Pulling fs layer [2024-10-28T07:33:39.091Z] 4f4fb700ef54: Pulling fs layer [2024-10-28T07:33:39.091Z] 80978eb59214: Pulling fs layer [2024-10-28T07:33:39.091Z] c9f46d7d2bd2: Pulling fs layer [2024-10-28T07:33:39.091Z] c5a475d317c9: Pulling fs layer [2024-10-28T07:33:39.091Z] 50b3750afda1: Waiting [2024-10-28T07:33:39.091Z] 4f4fb700ef54: Waiting [2024-10-28T07:33:39.091Z] 80978eb59214: Waiting [2024-10-28T07:33:39.091Z] c9f46d7d2bd2: Waiting [2024-10-28T07:33:39.091Z] c5a475d317c9: Waiting [2024-10-28T07:33:39.091Z] 55b35a11ae5e: Download complete [2024-10-28T07:33:39.091Z] 50b3750afda1: Verifying Checksum [2024-10-28T07:33:39.091Z] 50b3750afda1: Download complete [2024-10-28T07:33:39.091Z] 4f4fb700ef54: Download complete [2024-10-28T07:33:39.361Z] 80978eb59214: Verifying Checksum [2024-10-28T07:33:39.361Z] 80978eb59214: Download complete [2024-10-28T07:33:39.361Z] cf04c63912e1: Verifying Checksum [2024-10-28T07:33:39.361Z] cf04c63912e1: Download complete [2024-10-28T07:33:39.474Z] 5eb5b503b376: Pull complete [2024-10-28T07:33:39.474Z] 5c69ac0246d0: Pull complete [2024-10-28T07:33:39.641Z] c5a475d317c9: Verifying Checksum [2024-10-28T07:33:39.641Z] c5a475d317c9: Download complete [2024-10-28T07:33:39.734Z] ec43610c2a17: Pull complete [2024-10-28T07:33:39.993Z] 3a2ae6a8a46f: Pull complete [2024-10-28T07:33:40.246Z] cf04c63912e1: Pull complete [2024-10-28T07:33:40.253Z] 33b1e0a273af: Pull complete [2024-10-28T07:33:40.253Z] 5d3b04190fa2: Pull complete [2024-10-28T07:33:40.835Z] 55b35a11ae5e: Pull complete [2024-10-28T07:33:41.104Z] a37a00ec5f00: Download complete [2024-10-28T07:33:42.069Z] c9f46d7d2bd2: Verifying Checksum [2024-10-28T07:33:42.069Z] c9f46d7d2bd2: Download complete [2024-10-28T07:33:44.439Z] 2f39f015ded8: Pull complete [2024-10-28T07:33:44.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-28T07:33:44.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:33:44.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:33:44.543Z] prd-ubuntu20.04-docker-8c-8g-23899 does not seem to be running inside a container [2024-10-28T07:33:44.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-28T07:33:45.729Z] $ docker top dc31441fd959e44fbf08ec8cfa4e0ba04386fc9161bba57203bcf555c4911a2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:33:46.145Z] ---> job-cost.sh [2024-10-28T07:33:46.145Z] lf-activate-venv: SKIPPING [2024-10-28T07:33:46.145Z] INFO: No Stack... [2024-10-28T07:33:46.405Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-28T07:33:46.973Z] INFO: Archiving Costs [Pipeline] sh [2024-10-28T07:33:47.268Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-581/archives/cost.csv [2024-10-28T07:33:47.268Z] + cut -d, -f6 [Pipeline] lock [2024-10-28T07:33:47.284Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [2024-10-28T07:33:47.293Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] did not exist. Created. [2024-10-28T07:33:47.300Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-28T07:33:47.624Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-28T07:33:47.649Z] Stashed 1 file(s) [Pipeline] } [2024-10-28T07:33:47.659Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-28T07:33:47.686Z] $ docker stop --time=1 dc31441fd959e44fbf08ec8cfa4e0ba04386fc9161bba57203bcf555c4911a2a [2024-10-28T07:33:48.816Z] $ docker rm -f --volumes dc31441fd959e44fbf08ec8cfa4e0ba04386fc9161bba57203bcf555c4911a2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-28T07:33:54.403Z] a37a00ec5f00: Pull complete [2024-10-28T07:33:54.403Z] 50b3750afda1: Pull complete [2024-10-28T07:33:54.672Z] 4f4fb700ef54: Pull complete [2024-10-28T07:33:54.940Z] 80978eb59214: Pull complete [2024-10-28T07:34:03.160Z] c9f46d7d2bd2: Pull complete [2024-10-28T07:34:04.574Z] c5a475d317c9: Pull complete [2024-10-28T07:34:04.574Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-28T07:34:04.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-28T07:34:04.574Z] ---> be29e6b0f0d4 [2024-10-28T07:34:04.574Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:34:06.518Z] ---> Running in 3a3a845785dc [2024-10-28T07:34:06.518Z] Removing intermediate container 3a3a845785dc [2024-10-28T07:34:06.518Z] ---> c6e51cb9672c [2024-10-28T07:34:06.518Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:34:06.788Z] ---> Running in 6e25f8063f89 [2024-10-28T07:34:07.057Z] Removing intermediate container 6e25f8063f89 [2024-10-28T07:34:07.057Z] ---> b40203e40795 [2024-10-28T07:34:07.057Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:34:07.057Z] ---> Running in 661ad5e79663 [2024-10-28T07:34:08.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:34:08.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:34:09.882Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-28T07:34:09.882Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-28T07:34:09.882Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-28T07:34:09.882Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-28T07:34:09.882Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-28T07:34:10.152Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-28T07:34:10.152Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-28T07:34:10.152Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-28T07:34:10.152Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:34:10.152Z] OK: 244 MiB in 62 packages [2024-10-28T07:34:11.120Z] Removing intermediate container 661ad5e79663 [2024-10-28T07:34:11.120Z] ---> e450a9bf46ca [2024-10-28T07:34:11.120Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-28T07:34:11.120Z] ---> Running in 3059900f2c2d [2024-10-28T07:34:11.710Z] Removing intermediate container 3059900f2c2d [2024-10-28T07:34:11.710Z] ---> e2e18e1cc378 [2024-10-28T07:34:11.710Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-28T07:34:11.979Z] ---> d2db2c91236f [2024-10-28T07:34:11.979Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:34:11.979Z] ---> Running in f07a463efa42 [2024-10-28T07:36:03.711Z] Removing intermediate container f07a463efa42 [2024-10-28T07:36:03.711Z] ---> 3939fb1fea89 [2024-10-28T07:36:03.711Z] Step 9/10 : COPY . . [2024-10-28T07:36:03.711Z] ---> 1dbcf64fb4c3 [2024-10-28T07:36:03.711Z] Step 10/10 : RUN ${MAKE} [2024-10-28T07:36:03.711Z] ---> Running in 908d02518854 [2024-10-28T07:36:03.711Z] noop [2024-10-28T07:36:03.711Z] Removing intermediate container 908d02518854 [2024-10-28T07:36:03.711Z] ---> 8d11763d9b09 [2024-10-28T07:36:03.711Z] Successfully built 8d11763d9b09 [2024-10-28T07:36:03.711Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:36:04.084Z] + docker inspect -f . ci-base-image-arm64 [2024-10-28T07:36:04.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:36:04.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-23900 does not seem to be running inside a container [2024-10-28T07:36:04.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-28T07:36:05.596Z] $ docker top 3a0f7ad4dcd9ae93f3850edc1aa4a4cc1766e67391bd8ebc2fc5fa7fa1e57607 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:36:06.447Z] + go version [2024-10-28T07:36:06.447Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-28T07:36:06.470Z] $ docker stop --time=1 3a0f7ad4dcd9ae93f3850edc1aa4a4cc1766e67391bd8ebc2fc5fa7fa1e57607 [2024-10-28T07:36:08.097Z] $ docker rm -f --volumes 3a0f7ad4dcd9ae93f3850edc1aa4a4cc1766e67391bd8ebc2fc5fa7fa1e57607 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:36:08.716Z] + docker inspect -f . ci-base-image-arm64 [2024-10-28T07:36:08.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:36:08.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-23900 does not seem to be running inside a container [2024-10-28T07:36:08.980Z] $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-28T07:36:10.197Z] $ docker top 40cfac5809e9f460f130dd57a753d355352f41e3ac46688f6047cd00119d8d13 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:36:11.067Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh [2024-10-28T07:36:11.723Z] + make test [2024-10-28T07:36:11.723Z] go test ./... -coverprofile=coverage.out [2024-10-28T07:36:17.074Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-28T07:39:39.221Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-28T07:39:39.221Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 48.0% of statements [2024-10-28T07:39:39.221Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-28T07:39:39.221Z] go vet ./... [2024-10-28T07:40:27.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-28T07:40:27.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-28T07:40:27.068Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-28T07:40:27.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-28T07:40:27.112Z] $ docker stop --time=1 40cfac5809e9f460f130dd57a753d355352f41e3ac46688f6047cd00119d8d13 [2024-10-28T07:40:29.008Z] $ docker rm -f --volumes 40cfac5809e9f460f130dd57a753d355352f41e3ac46688f6047cd00119d8d13 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-28T07:40:30.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-28T07:40:30.565Z] Warning: overwriting stash ‘coverage-report’ [2024-10-28T07:40:31.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-28T07:40:31.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-28T07:40:31.750Z] + ls -al . [2024-10-28T07:40:31.750Z] total 268 [2024-10-28T07:40:31.750Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:36 . [2024-10-28T07:40:31.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 07:33 .. [2024-10-28T07:40:31.750Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 07:33 .dockerignore [2024-10-28T07:40:31.750Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 07:33 .git [2024-10-28T07:40:31.750Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:33 .github [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 28 07:33 .gitignore [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 28 07:33 .golangci.yml [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 28 07:33 Attribution.txt [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 28 07:33 CHANGELOG.md [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 28 07:33 Dockerfile [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 07:33 GOVERNANCE.md [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 28 07:33 Jenkinsfile [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 07:33 LICENSE [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 28 07:33 Makefile [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 28 07:33 OWNERS.md [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 28 07:33 README.md [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 07:31 VERSION [2024-10-28T07:40:31.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:33 bin [2024-10-28T07:40:31.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:33 cmd [2024-10-28T07:40:31.751Z] -rw-r--r-- 1 jenkins jenkins 25464 Oct 28 07:39 coverage.out [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 28 07:33 go.mod [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 28 07:33 go.sum [2024-10-28T07:40:31.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 07:33 internal [2024-10-28T07:40:31.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 07:33 simulator [2024-10-28T07:40:31.751Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 28 07:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:40:32.105Z] + 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=f7c541bdfebd429b4a2a94e48423dc29569b25d6 --label arch=arm64 --label version=0.0.0 . [2024-10-28T07:40:32.695Z] Sending build context to Docker daemon 9.205MB [2024-10-28T07:40:32.695Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-28T07:40:32.695Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-28T07:40:32.695Z] ---> 8d11763d9b09 [2024-10-28T07:40:32.695Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-28T07:40:32.695Z] ---> Running in 6e9445834bcc [2024-10-28T07:40:32.964Z] Removing intermediate container 6e9445834bcc [2024-10-28T07:40:32.964Z] ---> 3ebabaea83df [2024-10-28T07:40:32.964Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-28T07:40:33.231Z] ---> Running in 09e34b0bca29 [2024-10-28T07:40:33.502Z] Removing intermediate container 09e34b0bca29 [2024-10-28T07:40:33.502Z] ---> 1e3f80529826 [2024-10-28T07:40:33.502Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-28T07:40:33.502Z] ---> Running in 09c9e16b633c [2024-10-28T07:40:34.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:40:35.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:40:36.486Z] OK: 244 MiB in 62 packages [2024-10-28T07:40:37.072Z] Removing intermediate container 09c9e16b633c [2024-10-28T07:40:37.072Z] ---> dffbec127573 [2024-10-28T07:40:37.072Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-28T07:40:37.072Z] ---> Running in b9ca04db6918 [2024-10-28T07:40:37.659Z] Removing intermediate container b9ca04db6918 [2024-10-28T07:40:37.659Z] ---> cacca052f1de [2024-10-28T07:40:37.659Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-28T07:40:37.928Z] ---> ad78b81378fe [2024-10-28T07:40:37.928Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-28T07:40:38.198Z] ---> Running in 71cbd30ab36d [2024-10-28T07:40:40.784Z] Removing intermediate container 71cbd30ab36d [2024-10-28T07:40:40.784Z] ---> 8bad1e45f036 [2024-10-28T07:40:40.784Z] Step 9/23 : COPY . . [2024-10-28T07:40:41.761Z] ---> a9b699fe63db [2024-10-28T07:40:41.762Z] Step 10/23 : RUN ${MAKE} [2024-10-28T07:40:41.762Z] ---> Running in e880998a70ef [2024-10-28T07:40:42.724Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-28T07:44:19.557Z] Removing intermediate container e880998a70ef [2024-10-28T07:44:19.557Z] ---> 40d8a3347cf6 [2024-10-28T07:44:19.557Z] Step 11/23 : FROM alpine:3.20 [2024-10-28T07:44:19.557Z] 3.20: Pulling from library/alpine [2024-10-28T07:44:19.557Z] cf04c63912e1: Already exists [2024-10-28T07:44:19.557Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-28T07:44:19.557Z] Status: Downloaded newer image for alpine:3.20 [2024-10-28T07:44:19.557Z] ---> c157a85ed455 [2024-10-28T07:44:19.557Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-28T07:44:19.557Z] ---> Running in 58c5a5f26ae3 [2024-10-28T07:44:19.557Z] Removing intermediate container 58c5a5f26ae3 [2024-10-28T07:44:19.557Z] ---> 477acd26f547 [2024-10-28T07:44:19.557Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-28T07:44:19.557Z] ---> Running in a53dbb55f596 [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-28T07:44:19.557Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:44:19.557Z] OK: 9 MiB in 15 packages [2024-10-28T07:44:19.557Z] Removing intermediate container a53dbb55f596 [2024-10-28T07:44:19.557Z] ---> 5c29a31f3cd5 [2024-10-28T07:44:19.557Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-28T07:44:19.557Z] ---> Running in ba47ea3a76b4 [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] Upgrading critical system libraries and apk-tools: [2024-10-28T07:44:19.557Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-28T07:44:19.557Z] Executing busybox-1.36.1-r29.trigger [2024-10-28T07:44:19.557Z] Continuing the upgrade transaction with new apk-tools: [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-28T07:44:19.557Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:44:19.557Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-28T07:44:19.557Z] OK: 9 MiB in 15 packages [2024-10-28T07:44:19.557Z] Removing intermediate container ba47ea3a76b4 [2024-10-28T07:44:19.557Z] ---> e3bb31ba279d [2024-10-28T07:44:19.557Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-28T07:44:20.969Z] ---> 58db78e684a5 [2024-10-28T07:44:20.969Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-28T07:44:21.555Z] ---> 2b66950204e3 [2024-10-28T07:44:21.555Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-28T07:44:22.140Z] ---> 3114d5751c4e [2024-10-28T07:44:22.140Z] Step 18/23 : EXPOSE 59901 [2024-10-28T07:44:22.140Z] ---> Running in 285db27608c7 [2024-10-28T07:44:22.406Z] Removing intermediate container 285db27608c7 [2024-10-28T07:44:22.406Z] ---> c756c637342f [2024-10-28T07:44:22.406Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-28T07:44:22.406Z] ---> Running in 7649950040c4 [2024-10-28T07:44:22.673Z] Removing intermediate container 7649950040c4 [2024-10-28T07:44:22.674Z] ---> 0adcde4d6100 [2024-10-28T07:44:22.674Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-28T07:44:22.674Z] ---> Running in 63b217f174bf [2024-10-28T07:44:22.941Z] Removing intermediate container 63b217f174bf [2024-10-28T07:44:22.941Z] ---> c6e7dca9af69 [2024-10-28T07:44:22.941Z] Step 21/23 : LABEL arch=arm64 [2024-10-28T07:44:23.207Z] ---> Running in 18c7c2b238d5 [2024-10-28T07:44:23.474Z] Removing intermediate container 18c7c2b238d5 [2024-10-28T07:44:23.474Z] ---> 0d0ce4d16338 [2024-10-28T07:44:23.474Z] Step 22/23 : LABEL git_sha=f7c541bdfebd429b4a2a94e48423dc29569b25d6 [2024-10-28T07:44:23.474Z] ---> Running in f516e701152e [2024-10-28T07:44:23.740Z] Removing intermediate container f516e701152e [2024-10-28T07:44:23.740Z] ---> 093b9a71ca67 [2024-10-28T07:44:23.740Z] Step 23/23 : LABEL version=0.0.0 [2024-10-28T07:44:23.740Z] ---> Running in 785936e33d54 [2024-10-28T07:44:24.008Z] Removing intermediate container 785936e33d54 [2024-10-28T07:44:24.008Z] ---> 45f88119fa10 [2024-10-28T07:44:24.008Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-28T07:44:24.008Z] Successfully built 45f88119fa10 [2024-10-28T07:44:24.008Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:44:24.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:44:24.765Z] [2024-10-28T07:44:24.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:44:25.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:44:25.110Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-28T07:44:25.110Z] 8998bd30e6a1: Pulling fs layer [2024-10-28T07:44:25.110Z] 04944245beec: Pulling fs layer [2024-10-28T07:44:25.110Z] 699f458cf7ca: Pulling fs layer [2024-10-28T07:44:25.110Z] 765212b225bb: Pulling fs layer [2024-10-28T07:44:25.110Z] f23df028b6ca: Pulling fs layer [2024-10-28T07:44:25.110Z] d65c8cfc05b1: Pulling fs layer [2024-10-28T07:44:25.110Z] 2437ff75d9bd: Pulling fs layer [2024-10-28T07:44:25.110Z] 765212b225bb: Waiting [2024-10-28T07:44:25.110Z] f23df028b6ca: Waiting [2024-10-28T07:44:25.110Z] d65c8cfc05b1: Waiting [2024-10-28T07:44:25.110Z] 2437ff75d9bd: Waiting [2024-10-28T07:44:25.383Z] 04944245beec: Verifying Checksum [2024-10-28T07:44:25.383Z] 04944245beec: Download complete [2024-10-28T07:44:25.383Z] 765212b225bb: Download complete [2024-10-28T07:44:25.383Z] f23df028b6ca: Verifying Checksum [2024-10-28T07:44:25.383Z] f23df028b6ca: Download complete [2024-10-28T07:44:25.383Z] d65c8cfc05b1: Verifying Checksum [2024-10-28T07:44:25.383Z] d65c8cfc05b1: Download complete [2024-10-28T07:44:25.383Z] 699f458cf7ca: Verifying Checksum [2024-10-28T07:44:25.383Z] 699f458cf7ca: Download complete [2024-10-28T07:44:25.969Z] 8998bd30e6a1: Verifying Checksum [2024-10-28T07:44:25.969Z] 8998bd30e6a1: Download complete [2024-10-28T07:44:28.546Z] 2437ff75d9bd: Verifying Checksum [2024-10-28T07:44:28.546Z] 2437ff75d9bd: Download complete [2024-10-28T07:44:30.490Z] 8998bd30e6a1: Pull complete [2024-10-28T07:44:31.074Z] 04944245beec: Pull complete [2024-10-28T07:44:32.480Z] 699f458cf7ca: Pull complete [2024-10-28T07:44:32.748Z] 765212b225bb: Pull complete [2024-10-28T07:44:33.712Z] f23df028b6ca: Pull complete [2024-10-28T07:44:33.712Z] d65c8cfc05b1: Pull complete [2024-10-28T07:44:51.918Z] 2437ff75d9bd: Pull complete [2024-10-28T07:44:51.918Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-28T07:44:51.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-28T07:44:51.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:44:52.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-23900 does not seem to be running inside a container [2024-10-28T07:44:52.200Z] $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-28T07:44:54.934Z] $ docker top c2c269635e7241ddb0f09e3841dd3833ce56d27b798bdf5d5d0df66b19527e72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:44:55.784Z] ---> job-cost.sh [2024-10-28T07:44:55.785Z] lf-activate-venv: SKIPPING [2024-10-28T07:44:55.785Z] INFO: No Stack... [2024-10-28T07:44:56.050Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-28T07:44:57.003Z] INFO: Archiving Costs [Pipeline] sh [2024-10-28T07:44:57.628Z] + + cat /w/workspace/device-modbus-go/5/archives/cost.csv [2024-10-28T07:44:57.628Z] cut -d, -f6 [Pipeline] lock [2024-10-28T07:44:57.693Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [2024-10-28T07:44:57.702Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] did not exist. Created. [2024-10-28T07:44:57.709Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-28T07:44:58.367Z] /w/workspace/device-modbus-go/5@tmp/durable-da388691/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-28T07:44:58.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-28T07:44:59.025Z] Warning: overwriting stash ‘stack-cost’ [2024-10-28T07:44:59.067Z] Stashed 1 file(s) [Pipeline] } [2024-10-28T07:44:59.078Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-28T07:44:59.115Z] $ docker stop --time=1 c2c269635e7241ddb0f09e3841dd3833ce56d27b798bdf5d5d0df66b19527e72 [2024-10-28T07:45:00.558Z] $ docker rm -f --volumes c2c269635e7241ddb0f09e3841dd3833ce56d27b798bdf5d5d0df66b19527e72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-28T07:45:01.077Z] provisioning config files... [2024-10-28T07:45:01.086Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config6186668823381946475tmp [Pipeline] { [Pipeline] sh [2024-10-28T07:45:01.386Z] + set +x [2024-10-28T07:45:01.387Z] + curl -s https://codecov.io/bash [2024-10-28T07:45:01.387Z] + bash -s -- [2024-10-28T07:45:01.387Z] [2024-10-28T07:45:01.387Z] _____ _ [2024-10-28T07:45:01.387Z] / ____| | | [2024-10-28T07:45:01.387Z] | | ___ __| | ___ ___ _____ __ [2024-10-28T07:45:01.387Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-28T07:45:01.387Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-28T07:45:01.387Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-28T07:45:01.387Z] Bash-1.0.6 [2024-10-28T07:45:01.387Z] [2024-10-28T07:45:01.387Z] [2024-10-28T07:45:01.387Z] ==> git version 2.25.1 found [2024-10-28T07:45:01.387Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-28T07:45:01.387Z] Release-Date: 2020-01-08 [2024-10-28T07:45:01.387Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-28T07:45:01.387Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-28T07:45:01.387Z] ==> Jenkins CI detected. [2024-10-28T07:45:01.387Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-28T07:45:01.387Z] project root: . [2024-10-28T07:45:01.387Z] --> token set from env [2024-10-28T07:45:01.387Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-28T07:45:01.387Z] ==> Running gcov in . (disable via -X gcov) [2024-10-28T07:45:01.387Z] ==> Python coveragepy not found [2024-10-28T07:45:01.387Z] ==> Searching for coverage reports in: [2024-10-28T07:45:01.387Z] + . [2024-10-28T07:45:01.387Z] -> Found 1 reports [2024-10-28T07:45:01.387Z] ==> Detecting git/mercurial file structure [2024-10-28T07:45:01.647Z] ==> Reading reports [2024-10-28T07:45:01.647Z] + ./coverage.out bytes=25464 [2024-10-28T07:45:01.647Z] ==> Appending adjustments [2024-10-28T07:45:01.647Z] https://docs.codecov.io/docs/fixing-reports [2024-10-28T07:45:01.647Z] + Found adjustments [2024-10-28T07:45:01.647Z] ==> Gzipping contents [2024-10-28T07:45:01.647Z] 4.0K /tmp/codecov.FNpZ5N.gz [2024-10-28T07:45:01.647Z] ==> Uploading reports [2024-10-28T07:45:01.647Z] url: https://codecov.io [2024-10-28T07:45:01.647Z] query: branch=PR-581&commit=81118f672b1eba660c50a3243e4594900e45f7c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-28T07:45:01.647Z] -> Pinging Codecov [2024-10-28T07:45:01.648Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-581&commit=81118f672b1eba660c50a3243e4594900e45f7c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-28T07:45:01.911Z] -> Uploading to [2024-10-28T07:45:01.911Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/81118f672b1eba660c50a3243e4594900e45f7c5/31bb12db-6f41-4b4e-85d3-30c1a1b6422c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241028%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241028T074501Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=3e3859a35a1786cfb44e89185132045443dda6041276fc3eadbfda044654301f [2024-10-28T07:45:01.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-28T07:45:01.911Z] Dload Upload Total Spent Left Speed [2024-10-28T07:45:02.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3928 0 0 100 3928 0 16858 --:--:-- --:--:-- --:--:-- 16858 [2024-10-28T07:45:02.171Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/81118f672b1eba660c50a3243e4594900e45f7c5 [Pipeline] } [2024-10-28T07:45:02.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-28T07:45:03.081Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-581/archives ] [2024-10-28T07:45:03.081Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:45:03.081Z] total 16 [2024-10-28T07:45:03.081Z] drwxr-xr-x 3 root root 4096 Oct 28 07:33 . [2024-10-28T07:45:03.081Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 07:33 .. [2024-10-28T07:45:03.081Z] drwxr-xr-x 2 root root 4096 Oct 28 07:33 cost [2024-10-28T07:45:03.081Z] -rw-r--r-- 1 root root 88 Oct 28 07:33 cost.csv [2024-10-28T07:45:03.081Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:45:03.081Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-28T07:45:03.081Z] total 16 [2024-10-28T07:45:03.081Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 07:33 . [2024-10-28T07:45:03.081Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 07:33 .. [2024-10-28T07:45:03.081Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 28 07:33 cost [2024-10-28T07:45:03.081Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 28 07:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:03.366Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:04.228Z] ---> package-listing.sh [2024-10-28T07:45:04.228Z] ++ facter osfamily [2024-10-28T07:45:04.228Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-28T07:45:04.488Z] + OS_FAMILY=debian [2024-10-28T07:45:04.488Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-28T07:45:04.488Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-28T07:45:04.488Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-28T07:45:04.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-28T07:45:04.488Z] + PACKAGES=/tmp/packages_start.txt [2024-10-28T07:45:04.488Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-28T07:45:04.488Z] + PACKAGES=/tmp/packages_end.txt [2024-10-28T07:45:04.488Z] + case "${OS_FAMILY}" in [2024-10-28T07:45:04.488Z] + dpkg -l [2024-10-28T07:45:04.488Z] + grep '^ii' [2024-10-28T07:45:04.488Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-28T07:45:04.488Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-28T07:45:04.488Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-28T07:45:04.488Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-28T07:45:04.488Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [2024-10-28T07:45:04.488Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [Pipeline] echo [2024-10-28T07:45:04.502Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-28T07:45:04.784Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-28T07:45:05.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-28T07:45:05.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-28T07:45:05.447Z] prd-ubuntu20.04-docker-8c-8g-23899 does not seem to be running inside a container [2024-10-28T07:45:05.477Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-28T07:45:05.653Z] $ docker top a975c21ae9cc007787c94e85b856fba08ad3762d759d99755cd8ce2ad592b67f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-28T07:45:06.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-28T07:45:06.424Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-28T07:45:06.806Z] + ls /var/log/sa-host [2024-10-28T07:45:06.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-28T07:45:06.975Z] provisioning config files... [2024-10-28T07:45:06.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config12326785244180050763tmp [Pipeline] { [Pipeline] echo [2024-10-28T07:45:07.007Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:07.290Z] ---> create-netrc.sh [Pipeline] } [2024-10-28T07:45:07.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:07.642Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-28T07:45:07.652Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:07.938Z] ---> sudo-logs.sh [2024-10-28T07:45:07.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-28T07:45:07.973Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:08.256Z] ---> job-cost.sh [2024-10-28T07:45:08.256Z] lf-activate-venv: SKIPPING [2024-10-28T07:45:08.256Z] DEBUG: total: 0.2199999988079071 [2024-10-28T07:45:08.256Z] INFO: Retrieving Stack Cost... [2024-10-28T07:45:08.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-28T07:45:09.083Z] INFO: Archiving Costs [Pipeline] echo [2024-10-28T07:45:09.098Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-28T07:45:09.381Z] ---> logs-deploy.sh [2024-10-28T07:45:09.381Z] lf-activate-venv: SKIPPING [2024-10-28T07:45:09.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-581/5 [2024-10-28T07:45:09.381Z] INFO: archiving workspace using pattern(s): [2024-10-28T07:45:10.318Z] Archives upload complete. [2024-10-28T07:45:10.318Z] INFO: archiving logs to Nexus