Branch indexing 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 0079a6753dc3243845d21c2f9117c3e0b3b23a10 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-ssh8265764760513091939.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-ssh14049994357400820879.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-ssh2293475450799794144.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-ssh3103270922104320575.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-ssh7907679340849420557.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22809’ Running on prd-ubuntu20.04-docker-8c-8g-22814 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 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 Merge succeeded, producing fa0626e5e8d9c42f023344485e882ccad1d83ac4 Checking out Revision fa0626e5e8d9c42f023344485e882ccad1d83ac4 (PR-581) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # 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 fa0626e5e8d9c42f023344485e882ccad1d83ac4 # 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-15T00:54:34.496Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-15T00:54:34.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-15T00:54:34.602Z] ========================================================= [2024-10-15T00:54:34.602Z] EdgeX Global Pipelines Version Info [2024-10-15T00:54:34.602Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ad049bff68903de1c09df98abd14cfa6fdce8ffe # timeout=10 [2024-10-15T00:54:35.401Z] ------------------- [2024-10-15T00:54:35.401Z] stable info: [2024-10-15T00:54:35.401Z] ------------------- [2024-10-15T00:54:35.401Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-15T00:54:35.401Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-15T00:54:35.401Z] Message: update stable to v1.0.265 [2024-10-15T00:54:35.976Z] ------------------- [2024-10-15T00:54:35.976Z] experimental info: [2024-10-15T00:54:35.976Z] ------------------- [2024-10-15T00:54:35.976Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-15T00:54:35.976Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-15T00:54:35.976Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-15T00:54:36.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-15T00:54:36.120Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-15T00:54:36.143Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-15T00:54:36.170Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-15T00:54:36.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-15T00:54:36.218Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-15T00:54:36.243Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-15T00:54:36.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-15T00:54:36.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-15T00:54:36.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-15T00:54:36.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-15T00:54:36.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-15T00:54:36.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-15T00:54:36.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-15T00:54:36.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-15T00:54:36.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-15T00:54:36.495Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-15T00:54:36.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-15T00:54:36.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-15T00:54:36.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-15T00:54:36.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-15T00:54:36.614Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-15T00:54:36.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-15T00:54:36.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-15T00:54:36.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-15T00:54:36.732Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-15T00:54:36.762Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-15T00:54:36.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2024-10-15T00:54:36.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2024-10-15T00:54:36.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2024-10-15T00:54:36.879Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa0626e5e8d9c42f023344485e882ccad1d83ac4 [Pipeline] echo [2024-10-15T00:54:36.908Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa0626e [Pipeline] echo [2024-10-15T00:54:36.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T00:54:37.000Z] provisioning config files... [2024-10-15T00:54:37.018Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config12464858067260228182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T00:54:37.372Z] ---> ****-login.sh [2024-10-15T00:54:37.372Z] nexus3.edgexfoundry.org:10001 [2024-10-15T00:54:37.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:37.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:37.633Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:37.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:37.633Z] [2024-10-15T00:54:37.633Z] Login Succeeded [2024-10-15T00:54:37.633Z] nexus3.edgexfoundry.org:10002 [2024-10-15T00:54:37.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:37.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:37.894Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:37.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:37.894Z] [2024-10-15T00:54:37.894Z] Login Succeeded [2024-10-15T00:54:37.894Z] nexus3.edgexfoundry.org:10003 [2024-10-15T00:54:37.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:37.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:37.894Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:37.895Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:37.895Z] [2024-10-15T00:54:37.895Z] Login Succeeded [2024-10-15T00:54:37.895Z] nexus3.edgexfoundry.org:10004 [2024-10-15T00:54:38.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:38.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:38.155Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:38.155Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:38.155Z] [2024-10-15T00:54:38.155Z] Login Succeeded [2024-10-15T00:54:38.155Z] ****.io [2024-10-15T00:54:38.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:38.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:38.418Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:38.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:38.418Z] [2024-10-15T00:54:38.418Z] Login Succeeded [2024-10-15T00:54:38.418Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T00:54:38.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-15T00:54:38.838Z] + git rev-list -1 --merges fa0626e5e8d9c42f023344485e882ccad1d83ac4~1..fa0626e5e8d9c42f023344485e882ccad1d83ac4 [Pipeline] echo [2024-10-15T00:54:38.868Z] -----------> git rev-list -1 --merges fa0626e5e8d9c42f023344485e882ccad1d83ac4~1..fa0626e5e8d9c42f023344485e882ccad1d83ac4 fa0626e5e8d9c42f023344485e882ccad1d83ac4 [2024-10-15T00:54:38.868Z] fa0626e5e8d9c42f023344485e882ccad1d83ac4 [false] [Pipeline] sh [2024-10-15T00:54:39.167Z] + git log --format=format:%s -1 fa0626e5e8d9c42f023344485e882ccad1d83ac4 [Pipeline] echo [2024-10-15T00:54:39.192Z] ========================================================= [2024-10-15T00:54:39.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-15T00:54:39.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T00:54:39.552Z] + git log --format=format:%s -1 fa0626e5e8d9c42f023344485e882ccad1d83ac4 [Pipeline] echo [2024-10-15T00:54:39.564Z] [semverPrep] GIT_COMMIT: fa0626e5e8d9c42f023344485e882ccad1d83ac4, Commit Message: Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD [Pipeline] echo [2024-10-15T00:54:39.578Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-15T00:54:39.976Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-15T00:54:39.976Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-15T00:54:39.976Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-15T00:54:39.976Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-15T00:54:39.976Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-15T00:54:39.976Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-15T00:54:39.976Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:54:40.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T00:54:40.398Z] [2024-10-15T00:54:40.398Z] 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-15T00:54:40.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T00:54:40.705Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-15T00:54:40.705Z] b85a868b505f: Pulling fs layer [2024-10-15T00:54:40.705Z] e2be974225ed: Pulling fs layer [2024-10-15T00:54:40.705Z] 339a4e72a1f5: Pulling fs layer [2024-10-15T00:54:40.705Z] 988bab9f4d93: Pulling fs layer [2024-10-15T00:54:40.705Z] 1469e6f7b9e6: Pulling fs layer [2024-10-15T00:54:40.705Z] eaf3925da568: Pulling fs layer [2024-10-15T00:54:40.705Z] bab4dde63d76: Pulling fs layer [2024-10-15T00:54:40.705Z] bde34c3a00c8: Pulling fs layer [2024-10-15T00:54:40.705Z] b352a97aabf1: Pulling fs layer [2024-10-15T00:54:40.705Z] 4872d77fe225: Pulling fs layer [2024-10-15T00:54:40.705Z] 5851b861e8e6: Pulling fs layer [2024-10-15T00:54:40.705Z] 1469e6f7b9e6: Waiting [2024-10-15T00:54:40.705Z] eaf3925da568: Waiting [2024-10-15T00:54:40.705Z] bde34c3a00c8: Waiting [2024-10-15T00:54:40.705Z] bab4dde63d76: Waiting [2024-10-15T00:54:40.705Z] b352a97aabf1: Waiting [2024-10-15T00:54:40.705Z] 5851b861e8e6: Waiting [2024-10-15T00:54:40.705Z] 4872d77fe225: Waiting [2024-10-15T00:54:40.705Z] e2be974225ed: Verifying Checksum [2024-10-15T00:54:40.705Z] e2be974225ed: Download complete [2024-10-15T00:54:40.705Z] 988bab9f4d93: Download complete [2024-10-15T00:54:40.705Z] 1469e6f7b9e6: Verifying Checksum [2024-10-15T00:54:40.705Z] 1469e6f7b9e6: Download complete [2024-10-15T00:54:40.705Z] eaf3925da568: Verifying Checksum [2024-10-15T00:54:40.705Z] eaf3925da568: Download complete [2024-10-15T00:54:40.964Z] 339a4e72a1f5: Verifying Checksum [2024-10-15T00:54:40.964Z] 339a4e72a1f5: Download complete [2024-10-15T00:54:40.964Z] bde34c3a00c8: Verifying Checksum [2024-10-15T00:54:40.964Z] bde34c3a00c8: Download complete [2024-10-15T00:54:40.964Z] b352a97aabf1: Download complete [2024-10-15T00:54:40.964Z] 4872d77fe225: Download complete [2024-10-15T00:54:40.964Z] 5851b861e8e6: Download complete [2024-10-15T00:54:40.964Z] b85a868b505f: Verifying Checksum [2024-10-15T00:54:40.964Z] b85a868b505f: Download complete [2024-10-15T00:54:41.223Z] bab4dde63d76: Verifying Checksum [2024-10-15T00:54:41.223Z] bab4dde63d76: Download complete [2024-10-15T00:54:42.161Z] b85a868b505f: Pull complete [2024-10-15T00:54:42.420Z] e2be974225ed: Pull complete [2024-10-15T00:54:42.679Z] 339a4e72a1f5: Pull complete [2024-10-15T00:54:42.939Z] 988bab9f4d93: Pull complete [2024-10-15T00:54:43.354Z] 1469e6f7b9e6: Pull complete [2024-10-15T00:54:43.354Z] eaf3925da568: Pull complete [2024-10-15T00:54:45.689Z] bab4dde63d76: Pull complete [2024-10-15T00:54:45.690Z] bde34c3a00c8: Pull complete [2024-10-15T00:54:45.690Z] b352a97aabf1: Pull complete [2024-10-15T00:54:45.690Z] 4872d77fe225: Pull complete [2024-10-15T00:54:45.690Z] 5851b861e8e6: Pull complete [2024-10-15T00:54:45.690Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-15T00:54:45.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T00:54:45.690Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T00:54:45.845Z] prd-ubuntu20.04-docker-8c-8g-22814 does not seem to be running inside a container [2024-10-15T00:54:45.878Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-15T00:54:47.783Z] $ docker top ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 -eo pid,comm [2024-10-15T00:54:47.838Z] 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-15T00:54:47.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-15T00:54:47.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-15T00:54:47.903Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-15T00:54:48.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-15T00:54:48.033Z] $ docker exec ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 ssh-agent [2024-10-15T00:54:48.140Z] SSH_AUTH_SOCK=/tmp/ssh-lU6C3FWUehm3/agent.32 [2024-10-15T00:54:48.140Z] SSH_AGENT_PID=38 [2024-10-15T00:54:48.147Z] Running ssh-add (command line suppressed) [2024-10-15T00:54:48.245Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_1661230458779370183.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_1661230458779370183.key) [2024-10-15T00:54:48.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-15T00:54:48.560Z] + git tag --points-at HEAD [Pipeline] } [2024-10-15T00:54:48.570Z] $ docker exec --env ******** --env ******** ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 ssh-agent -k [2024-10-15T00:54:48.663Z] unset SSH_AUTH_SOCK; [2024-10-15T00:54:48.663Z] unset SSH_AGENT_PID; [2024-10-15T00:54:48.663Z] echo Agent pid 38 killed; [2024-10-15T00:54:48.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-15T00:54:48.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-15T00:54:48.720Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-15T00:54:48.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-15T00:54:48.835Z] $ docker exec ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 ssh-agent [2024-10-15T00:54:48.943Z] SSH_AUTH_SOCK=/tmp/ssh-lGDWDBLnVnOe/agent.71 [2024-10-15T00:54:48.943Z] SSH_AGENT_PID=77 [2024-10-15T00:54:48.948Z] Running ssh-add (command line suppressed) [2024-10-15T00:54:49.062Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_15830576653456484825.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_15830576653456484825.key) [2024-10-15T00:54:49.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-15T00:54:49.373Z] + git semver init [2024-10-15T00:54:49.633Z] 2024-10-15 00:54:49,571 [run_init] DEBUG init version:0.0.0 force:False [2024-10-15T00:54:49.633Z] 2024-10-15 00:54:49,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-15T00:54:49.633Z] 2024-10-15 00:54:49,572 [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-15T00:54:49.633Z] 2024-10-15 00:54:49,572 [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-15T00:54:50.573Z] 2024-10-15 00:54:50,488 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.git/info/exclude [2024-10-15T00:54:50.573Z] 2024-10-15 00:54:50,488 [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-15T00:54:50.573Z] 2024-10-15 00:54:50,488 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-15T00:54:50.573Z] 2024-10-15 00:54:50,493 [execute] INFO git cat-file --batch-check [2024-10-15T00:54:50.573Z] 2024-10-15 00:54:50,493 [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-15T00:54:50.573Z] 2024-10-15 00:54:50,498 [execute] INFO git cat-file --batch [2024-10-15T00:54:50.573Z] 2024-10-15 00:54:50,499 [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-15T00:54:50.573Z] 2024-10-15 00:54:50,504 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-15T00:54:50.573Z] 0.0.0 [Pipeline] } [2024-10-15T00:54:50.583Z] $ docker exec --env ******** --env ******** ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 ssh-agent -k [2024-10-15T00:54:50.678Z] unset SSH_AUTH_SOCK; [2024-10-15T00:54:50.679Z] unset SSH_AGENT_PID; [2024-10-15T00:54:50.679Z] echo Agent pid 77 killed; [2024-10-15T00:54:50.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-15T00:54:51.027Z] + git semver [Pipeline] } [2024-10-15T00:54:51.298Z] $ docker stop --time=1 ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 [2024-10-15T00:54:52.644Z] $ docker rm -f --volumes ee935ce8bddfd63fbe3c83bf2270e5f75c238aed372deaaeaa07bb1e3add48b4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T00:54:52.997Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-15T00:54:53.236Z] Stashed 1 file(s) [Pipeline] echo [2024-10-15T00:54:53.242Z] [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-15T00:54:53.459Z] provisioning config files... [2024-10-15T00:54:53.470Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config7759446906333544253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T00:54:53.776Z] ---> ****-login.sh [2024-10-15T00:54:53.777Z] nexus3.edgexfoundry.org:10001 [2024-10-15T00:54:53.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:53.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:53.777Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:53.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:53.777Z] [2024-10-15T00:54:53.777Z] Login Succeeded [2024-10-15T00:54:53.777Z] nexus3.edgexfoundry.org:10002 [2024-10-15T00:54:53.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:53.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:53.777Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:53.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:53.777Z] [2024-10-15T00:54:53.777Z] Login Succeeded [2024-10-15T00:54:53.777Z] nexus3.edgexfoundry.org:10003 [2024-10-15T00:54:54.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:54.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:54.037Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:54.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:54.038Z] [2024-10-15T00:54:54.038Z] Login Succeeded [2024-10-15T00:54:54.038Z] nexus3.edgexfoundry.org:10004 [2024-10-15T00:54:54.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:54.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:54.038Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:54.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:54.038Z] [2024-10-15T00:54:54.038Z] Login Succeeded [2024-10-15T00:54:54.038Z] ****.io [2024-10-15T00:54:54.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:54:54.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:54:54.298Z] Configure a credential helper to remove this warning. See [2024-10-15T00:54:54.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:54:54.298Z] [2024-10-15T00:54:54.298Z] Login Succeeded [2024-10-15T00:54:54.298Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T00:54:54.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-15T00:54:54.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T00:54:54.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T00:54:54.452Z] ========================================================= [2024-10-15T00:54:54.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-15T00:54:54.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:54:54.790Z] + 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-15T00:54:54.791Z] Sending build context to Docker daemon 17.97MB [2024-10-15T00:54:54.791Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T00:54:54.791Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-15T00:54:54.791Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-15T00:54:54.791Z] 43c4264eed91: Pulling fs layer [2024-10-15T00:54:54.791Z] 4cc291be95ef: Pulling fs layer [2024-10-15T00:54:54.791Z] 2ac1f1163629: Pulling fs layer [2024-10-15T00:54:54.791Z] 5c3c966382ef: Pulling fs layer [2024-10-15T00:54:54.791Z] 4f4fb700ef54: Pulling fs layer [2024-10-15T00:54:54.791Z] 5d5c8e513c77: Pulling fs layer [2024-10-15T00:54:54.791Z] 9f66e0745190: Pulling fs layer [2024-10-15T00:54:54.791Z] f49a43e4bbc0: Pulling fs layer [2024-10-15T00:54:54.791Z] 561ebcabdf7f: Pulling fs layer [2024-10-15T00:54:54.791Z] 5c3c966382ef: Waiting [2024-10-15T00:54:54.791Z] 4f4fb700ef54: Waiting [2024-10-15T00:54:54.791Z] 561ebcabdf7f: Waiting [2024-10-15T00:54:54.791Z] 5d5c8e513c77: Waiting [2024-10-15T00:54:54.791Z] f49a43e4bbc0: Waiting [2024-10-15T00:54:54.791Z] 9f66e0745190: Waiting [2024-10-15T00:54:55.056Z] 4cc291be95ef: Download complete [2024-10-15T00:54:55.056Z] 5c3c966382ef: Download complete [2024-10-15T00:54:55.056Z] 4f4fb700ef54: Verifying Checksum [2024-10-15T00:54:55.056Z] 4f4fb700ef54: Download complete [2024-10-15T00:54:55.056Z] 5d5c8e513c77: Download complete [2024-10-15T00:54:55.056Z] 43c4264eed91: Download complete [2024-10-15T00:54:55.056Z] 9f66e0745190: Verifying Checksum [2024-10-15T00:54:55.056Z] 9f66e0745190: Download complete [2024-10-15T00:54:55.056Z] 43c4264eed91: Pull complete [2024-10-15T00:54:55.318Z] 561ebcabdf7f: Verifying Checksum [2024-10-15T00:54:55.318Z] 561ebcabdf7f: Download complete [2024-10-15T00:54:55.318Z] 4cc291be95ef: Pull complete [2024-10-15T00:54:55.577Z] 2ac1f1163629: Verifying Checksum [2024-10-15T00:54:55.577Z] 2ac1f1163629: Download complete [2024-10-15T00:54:55.577Z] f49a43e4bbc0: Verifying Checksum [2024-10-15T00:54:55.577Z] f49a43e4bbc0: Download complete [2024-10-15T00:54:58.864Z] 2ac1f1163629: Pull complete [2024-10-15T00:54:59.125Z] 5c3c966382ef: Pull complete [2024-10-15T00:54:59.125Z] 4f4fb700ef54: Pull complete [2024-10-15T00:54:59.125Z] 5d5c8e513c77: Pull complete [2024-10-15T00:54:59.384Z] 9f66e0745190: Pull complete [2024-10-15T00:55:01.286Z] f49a43e4bbc0: Pull complete [2024-10-15T00:55:01.856Z] 561ebcabdf7f: Pull complete [2024-10-15T00:55:02.116Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-15T00:55:02.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-15T00:55:02.116Z] ---> 3a752c3f9dda [2024-10-15T00:55:02.116Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-15T00:55:05.416Z] ---> Running in 00a6b5ccadc5 [2024-10-15T00:55:05.416Z] Removing intermediate container 00a6b5ccadc5 [2024-10-15T00:55:05.416Z] ---> ed076bf60f15 [2024-10-15T00:55:05.416Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T00:55:05.416Z] ---> Running in a615c8f89deb [2024-10-15T00:55:05.416Z] Removing intermediate container a615c8f89deb [2024-10-15T00:55:05.416Z] ---> 0a16d4cf9fac [2024-10-15T00:55:05.416Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-15T00:55:05.416Z] ---> Running in 684e6e69aecf [2024-10-15T00:55:05.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T00:55:05.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T00:55:05.674Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-15T00:55:05.674Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-15T00:55:05.674Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-15T00:55:05.674Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-15T00:55:05.674Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-15T00:55:05.674Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-15T00:55:05.933Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-15T00:55:05.933Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-15T00:55:05.933Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T00:55:05.933Z] OK: 252 MiB in 62 packages [2024-10-15T00:55:06.192Z] Removing intermediate container 684e6e69aecf [2024-10-15T00:55:06.192Z] ---> add3429518a2 [2024-10-15T00:55:06.192Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-15T00:55:06.451Z] ---> Running in d60a3a6da148 [2024-10-15T00:55:06.451Z] Removing intermediate container d60a3a6da148 [2024-10-15T00:55:06.451Z] ---> 532e618b1c48 [2024-10-15T00:55:06.451Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-15T00:55:06.451Z] ---> 1d127bb33646 [2024-10-15T00:55:06.451Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T00:55:06.713Z] ---> Running in 315d1ce0b9cd [2024-10-15T00:55:08.398Z] Still waiting to schedule task [2024-10-15T00:55:08.398Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22813’ [2024-10-15T00:56:02.989Z] Removing intermediate container 315d1ce0b9cd [2024-10-15T00:56:02.989Z] ---> 4efbe78a4d5c [2024-10-15T00:56:02.989Z] Step 9/10 : COPY . . [2024-10-15T00:56:02.989Z] ---> 3a3717af2cdd [2024-10-15T00:56:02.989Z] Step 10/10 : RUN ${MAKE} [2024-10-15T00:56:02.989Z] ---> Running in e816dd3c8b11 [2024-10-15T00:56:02.989Z] noop [2024-10-15T00:56:02.989Z] Removing intermediate container e816dd3c8b11 [2024-10-15T00:56:02.989Z] ---> 399d0fec50d0 [2024-10-15T00:56:02.989Z] Successfully built 399d0fec50d0 [2024-10-15T00:56:02.989Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:56:03.333Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-15T00:56:03.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T00:56:03.418Z] prd-ubuntu20.04-docker-8c-8g-22814 does not seem to be running inside a container [2024-10-15T00:56:03.450Z] $ 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 ******** ci-base-image-x86_64 cat [2024-10-15T00:56:03.801Z] $ docker top 1f08c6a77037d7fe40b51f89bdb9aca7f6d64a9fbd8b01d762dd7c36f2e2aa0f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T00:56:04.156Z] + go version [2024-10-15T00:56:04.156Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-15T00:56:04.169Z] $ docker stop --time=1 1f08c6a77037d7fe40b51f89bdb9aca7f6d64a9fbd8b01d762dd7c36f2e2aa0f [2024-10-15T00:56:05.426Z] $ docker rm -f --volumes 1f08c6a77037d7fe40b51f89bdb9aca7f6d64a9fbd8b01d762dd7c36f2e2aa0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:56:05.879Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-15T00:56:05.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T00:56:05.961Z] prd-ubuntu20.04-docker-8c-8g-22814 does not seem to be running inside a container [2024-10-15T00:56:05.992Z] $ 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 ******** ci-base-image-x86_64 cat [2024-10-15T00:56:06.326Z] $ docker top c1e5f824ede59c8ca41c95d7fe87b5a484337b5496f694b942606a4589a14bcf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T00:56:06.687Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] fileExists [Pipeline] sh [2024-10-15T00:56:06.990Z] + make test [2024-10-15T00:56:06.990Z] go test ./... -coverprofile=coverage.out [2024-10-15T00:56:08.367Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-15T00:56:26.452Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-15T00:56:26.452Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-10-15T00:56:38.666Z] go vet ./... [2024-10-15T00:56:45.229Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-15T00:56:45.229Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-15T00:56:45.229Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-15T00:56:45.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-15T00:56:45.269Z] $ docker stop --time=1 c1e5f824ede59c8ca41c95d7fe87b5a484337b5496f694b942606a4589a14bcf [2024-10-15T00:56:47.242Z] $ docker rm -f --volumes c1e5f824ede59c8ca41c95d7fe87b5a484337b5496f694b942606a4589a14bcf [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T00:56:47.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-15T00:56:47.888Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-15T00:56:48.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-15T00:56:48.749Z] + ls -al . [2024-10-15T00:56:48.749Z] total 272 [2024-10-15T00:56:48.749Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 15 00:56 . [2024-10-15T00:56:48.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 00:54 .. [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 00:54 .dockerignore [2024-10-15T00:56:48.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 00:56 .git [2024-10-15T00:56:48.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:54 .github [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 15 00:54 .gitignore [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 15 00:54 .golangci.yml [2024-10-15T00:56:48.749Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 00:54 .semver [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 15 00:54 Attribution.txt [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 15 00:54 CHANGELOG.md [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 15 00:54 Dockerfile [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 00:54 GOVERNANCE.md [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 15 00:54 Jenkinsfile [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 15 00:54 LICENSE [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 15 00:54 Makefile [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 15 00:54 OWNERS.md [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 15 00:54 README.md [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 00:54 VERSION [2024-10-15T00:56:48.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 00:54 bin [2024-10-15T00:56:48.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:54 cmd [2024-10-15T00:56:48.749Z] -rw-r--r-- 1 jenkins jenkins 25463 Oct 15 00:56 coverage.out [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 15 00:54 go.mod [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 15 00:54 go.sum [2024-10-15T00:56:48.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:54 internal [2024-10-15T00:56:48.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 00:54 simulator [2024-10-15T00:56:48.749Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 15 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:56:49.066Z] + 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=fa0626e5e8d9c42f023344485e882ccad1d83ac4 --label arch=amd64 --label version=0.0.0 . [2024-10-15T00:56:49.066Z] Sending build context to Docker daemon 18MB [2024-10-15T00:56:49.066Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T00:56:49.066Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-15T00:56:49.066Z] ---> 399d0fec50d0 [2024-10-15T00:56:49.066Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-15T00:56:49.066Z] ---> Running in 995652a18049 [2024-10-15T00:56:49.325Z] Removing intermediate container 995652a18049 [2024-10-15T00:56:49.325Z] ---> 50442487d267 [2024-10-15T00:56:49.325Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T00:56:49.325Z] ---> Running in e4b0237668cd [2024-10-15T00:56:49.325Z] Removing intermediate container e4b0237668cd [2024-10-15T00:56:49.325Z] ---> 01a75271679f [2024-10-15T00:56:49.325Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-15T00:56:49.325Z] ---> Running in 601e2bfa309c [2024-10-15T00:56:49.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T00:56:49.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T00:56:50.104Z] OK: 252 MiB in 62 packages [2024-10-15T00:56:50.363Z] Removing intermediate container 601e2bfa309c [2024-10-15T00:56:50.363Z] ---> 4fe5985ba5b8 [2024-10-15T00:56:50.363Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-15T00:56:50.363Z] ---> Running in 16bb4985c88e [2024-10-15T00:56:50.623Z] Removing intermediate container 16bb4985c88e [2024-10-15T00:56:50.623Z] ---> d5f48831f42b [2024-10-15T00:56:50.623Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-15T00:56:50.623Z] ---> dae5d6e93818 [2024-10-15T00:56:50.623Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T00:56:50.623Z] ---> Running in 87ff00f9aac3 [2024-10-15T00:56:51.190Z] Removing intermediate container 87ff00f9aac3 [2024-10-15T00:56:51.190Z] ---> 857788f0c15f [2024-10-15T00:56:51.190Z] Step 9/23 : COPY . . [2024-10-15T00:56:51.758Z] ---> 4b2b04fd1131 [2024-10-15T00:56:51.758Z] Step 10/23 : RUN ${MAKE} [2024-10-15T00:56:51.758Z] ---> Running in 1cc48e2276e0 [2024-10-15T00:56:52.016Z] 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-15T00:57:24.109Z] Removing intermediate container 1cc48e2276e0 [2024-10-15T00:57:24.109Z] ---> e1cc771f31cb [2024-10-15T00:57:24.109Z] Step 11/23 : FROM alpine:3.20 [2024-10-15T00:57:25.486Z] 3.20: Pulling from library/alpine [2024-10-15T00:57:25.486Z] 43c4264eed91: Already exists [2024-10-15T00:57:25.745Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-15T00:57:25.745Z] Status: Downloaded newer image for alpine:3.20 [2024-10-15T00:57:25.745Z] ---> 91ef0af61f39 [2024-10-15T00:57:25.745Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-15T00:57:25.745Z] ---> Running in ada73ddfa58d [2024-10-15T00:57:25.745Z] Removing intermediate container ada73ddfa58d [2024-10-15T00:57:25.745Z] ---> 6ed56534b552 [2024-10-15T00:57:25.745Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-15T00:57:25.745Z] ---> Running in 46a371a4d160 [2024-10-15T00:57:26.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:26.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:26.524Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-15T00:57:26.524Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T00:57:26.524Z] OK: 8 MiB in 15 packages [2024-10-15T00:57:27.092Z] Removing intermediate container 46a371a4d160 [2024-10-15T00:57:27.092Z] ---> 3d5060deb4ae [2024-10-15T00:57:27.092Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-15T00:57:27.092Z] ---> Running in 42a74c4584ec [2024-10-15T00:57:27.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:27.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:27.729Z] Upgrading critical system libraries and apk-tools: [2024-10-15T00:57:27.729Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-15T00:57:27.729Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T00:57:27.729Z] Continuing the upgrade transaction with new apk-tools: [2024-10-15T00:57:27.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:27.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T00:57:27.989Z] OK: 8 MiB in 15 packages [2024-10-15T00:57:28.247Z] Removing intermediate container 42a74c4584ec [2024-10-15T00:57:28.247Z] ---> 28b842a913cc [2024-10-15T00:57:28.247Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-15T00:57:28.911Z] ---> d9759a8eb5fa [2024-10-15T00:57:28.911Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-15T00:57:29.170Z] ---> b2fc0f9f3dfd [2024-10-15T00:57:29.170Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-15T00:57:29.170Z] ---> a940b482ec0f [2024-10-15T00:57:29.170Z] Step 18/23 : EXPOSE 59901 [2024-10-15T00:57:29.170Z] ---> Running in 441de09fc0a7 [2024-10-15T00:57:29.170Z] Removing intermediate container 441de09fc0a7 [2024-10-15T00:57:29.170Z] ---> 2416a5c19fea [2024-10-15T00:57:29.170Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-15T00:57:29.431Z] ---> Running in 23d58290d99c [2024-10-15T00:57:29.431Z] Removing intermediate container 23d58290d99c [2024-10-15T00:57:29.431Z] ---> 6daaf15dd9ba [2024-10-15T00:57:29.431Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-15T00:57:29.431Z] ---> Running in 6c1e6d842b24 [2024-10-15T00:57:29.431Z] Removing intermediate container 6c1e6d842b24 [2024-10-15T00:57:29.431Z] ---> 81daed3ea190 [2024-10-15T00:57:29.431Z] Step 21/23 : LABEL arch=amd64 [2024-10-15T00:57:29.431Z] ---> Running in 9f626f4ceb63 [2024-10-15T00:57:29.692Z] Removing intermediate container 9f626f4ceb63 [2024-10-15T00:57:29.692Z] ---> 1ba951fa8cb6 [2024-10-15T00:57:29.692Z] Step 22/23 : LABEL git_sha=fa0626e5e8d9c42f023344485e882ccad1d83ac4 [2024-10-15T00:57:29.692Z] ---> Running in 761e52017fa3 [2024-10-15T00:57:29.692Z] Removing intermediate container 761e52017fa3 [2024-10-15T00:57:29.692Z] ---> a417c15fd650 [2024-10-15T00:57:29.692Z] Step 23/23 : LABEL version=0.0.0 [2024-10-15T00:57:29.692Z] ---> Running in 1c622f9d5576 [2024-10-15T00:57:29.692Z] Removing intermediate container 1c622f9d5576 [2024-10-15T00:57:29.692Z] ---> 58e933700a68 [2024-10-15T00:57:29.692Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-15T00:57:29.692Z] Successfully built 58e933700a68 [2024-10-15T00:57:29.692Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:57:30.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T00:57:30.219Z] [2024-10-15T00:57:30.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:57:30.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T00:57:30.529Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-15T00:57:30.529Z] 5eb5b503b376: Pulling fs layer [2024-10-15T00:57:30.529Z] 5c69ac0246d0: Pulling fs layer [2024-10-15T00:57:30.529Z] ec43610c2a17: Pulling fs layer [2024-10-15T00:57:30.529Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-15T00:57:30.529Z] 33b1e0a273af: Pulling fs layer [2024-10-15T00:57:30.529Z] 5d3b04190fa2: Pulling fs layer [2024-10-15T00:57:30.529Z] 2f39f015ded8: Pulling fs layer [2024-10-15T00:57:30.529Z] 5d3b04190fa2: Waiting [2024-10-15T00:57:30.529Z] 3a2ae6a8a46f: Waiting [2024-10-15T00:57:30.529Z] 2f39f015ded8: Waiting [2024-10-15T00:57:30.529Z] 33b1e0a273af: Waiting [2024-10-15T00:57:30.529Z] 5c69ac0246d0: Verifying Checksum [2024-10-15T00:57:30.529Z] 5c69ac0246d0: Download complete [2024-10-15T00:57:30.529Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-15T00:57:30.529Z] 3a2ae6a8a46f: Download complete [2024-10-15T00:57:30.529Z] 33b1e0a273af: Verifying Checksum [2024-10-15T00:57:30.529Z] 33b1e0a273af: Download complete [2024-10-15T00:57:30.529Z] 5d3b04190fa2: Verifying Checksum [2024-10-15T00:57:30.529Z] 5d3b04190fa2: Download complete [2024-10-15T00:57:30.789Z] ec43610c2a17: Verifying Checksum [2024-10-15T00:57:30.789Z] ec43610c2a17: Download complete [2024-10-15T00:57:30.789Z] 5eb5b503b376: Verifying Checksum [2024-10-15T00:57:30.789Z] 5eb5b503b376: Download complete [2024-10-15T00:57:31.356Z] 2f39f015ded8: Verifying Checksum [2024-10-15T00:57:31.356Z] 2f39f015ded8: Download complete [2024-10-15T00:57:31.923Z] 5eb5b503b376: Pull complete [2024-10-15T00:57:32.181Z] 5c69ac0246d0: Pull complete [2024-10-15T00:57:32.440Z] ec43610c2a17: Pull complete [2024-10-15T00:57:32.702Z] 3a2ae6a8a46f: Pull complete [2024-10-15T00:57:32.961Z] 33b1e0a273af: Pull complete [2024-10-15T00:57:32.961Z] 5d3b04190fa2: Pull complete [2024-10-15T00:57:42.784Z] 2f39f015ded8: Pull complete [2024-10-15T00:57:42.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-15T00:57:42.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T00:57:42.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T00:57:42.895Z] prd-ubuntu20.04-docker-8c-8g-22814 does not seem to be running inside a container [2024-10-15T00:57:42.934Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-15T00:57:44.090Z] $ docker top 74a3fb120481991ba37238fb41b9857dbc472449e87bb7621c5ec558c1989816 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T00:57:48.871Z] ---> job-cost.sh [2024-10-15T00:57:48.871Z] lf-activate-venv: SKIPPING [2024-10-15T00:57:48.871Z] INFO: No Stack... [2024-10-15T00:57:48.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-15T00:57:49.134Z] INFO: Archiving Costs [Pipeline] sh [2024-10-15T00:57:49.446Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-581/archives/cost.csv [2024-10-15T00:57:49.446Z] + cut -d, -f6 [Pipeline] lock [2024-10-15T00:57:49.480Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [2024-10-15T00:57:49.510Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] did not exist. Created. [2024-10-15T00:57:49.521Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-15T00:57:49.852Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-15T00:57:49.900Z] Stashed 1 file(s) [Pipeline] } [2024-10-15T00:57:49.908Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-15T00:57:49.930Z] $ docker stop --time=1 74a3fb120481991ba37238fb41b9857dbc472449e87bb7621c5ec558c1989816 [2024-10-15T00:57:51.985Z] $ docker rm -f --volumes 74a3fb120481991ba37238fb41b9857dbc472449e87bb7621c5ec558c1989816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-15T00:58:44.280Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22815 in /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] { [Pipeline] ws [2024-10-15T00:58:44.302Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2024-10-15T00:58:47.360Z] The recommended git tool is: git [2024-10-15T00:58:54.631Z] using credential edgex-jenkins-ssh [2024-10-15T00:58:54.658Z] Cloning the remote Git repository [2024-10-15T00:58:54.728Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-15T00:58:54.836Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2024-10-15T00:58:55.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-15T00:58:55.065Z] > git --version # timeout=10 [2024-10-15T00:58:55.100Z] > git --version # 'git version 2.25.1' [2024-10-15T00:58:55.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T00:58:55.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-15T00:58:57.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-15T00:58:57.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-15T00:58:58.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-15T00:58:58.722Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [2024-10-15T00:58:59.040Z] Merge succeeded, producing cfe0685d63c8d47f6d498016c42ba043e1b8bb66 [2024-10-15T00:58:59.041Z] Checking out Revision cfe0685d63c8d47f6d498016c42ba043e1b8bb66 (PR-581) [2024-10-15T00:58:58.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-15T00:58:58.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T00:58:58.153Z] > 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-15T00:58:58.737Z] > git config core.sparsecheckout # timeout=10 [2024-10-15T00:58:58.799Z] > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 [2024-10-15T00:58:58.892Z] > git remote # timeout=10 [2024-10-15T00:58:58.914Z] > git config --get remote.origin.url # timeout=10 [2024-10-15T00:58:58.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T00:58:58.953Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-15T00:58:59.017Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-15T00:58:59.047Z] > git config core.sparsecheckout # timeout=10 [2024-10-15T00:58:59.060Z] > git checkout -f cfe0685d63c8d47f6d498016c42ba043e1b8bb66 # timeout=10 [2024-10-15T00:59:02.659Z] Commit message: "Merge commit '7248720eb6e2bf16815f86cf3de46e0922eeefd9' into HEAD" [2024-10-15T00:59:02.686Z] First time build. Skipping changelog. [2024-10-15T00:59:02.666Z] > git rev-list --no-walk ad049bff68903de1c09df98abd14cfa6fdce8ffe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T00:59:04.533Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-15T00:59:04.533Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-15T00:59:04.533Z] Dload Upload Total Spent Left Speed [2024-10-15T00:59:04.533Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-10-15T00:59:04.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-15T00:59:05.224Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-10-15T00:59:05.224Z] [2024-10-15T00:59:05.224Z] { [2024-10-15T00:59:05.224Z] "registry-mirrors": [ [2024-10-15T00:59:05.224Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-15T00:59:05.224Z] ], [2024-10-15T00:59:05.224Z] "bip": "10.250.0.254/24", [2024-10-15T00:59:05.224Z] "hosts": [ [2024-10-15T00:59:05.224Z] "tcp://0.0.0.0:5555", [2024-10-15T00:59:05.224Z] "unix:///var/run/docker.sock" [2024-10-15T00:59:05.224Z] ], [2024-10-15T00:59:05.224Z] "mtu": 1458, [2024-10-15T00:59:05.224Z] "selinux-enabled": true, [2024-10-15T00:59:05.224Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-15T00:59:05.224Z] } [Pipeline] sh [2024-10-15T00:59:05.554Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-15T00:59:05.904Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T00:59:24.180Z] provisioning config files... [2024-10-15T00:59:24.219Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config4265590724363770901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T00:59:24.663Z] ---> ****-login.sh [2024-10-15T00:59:24.663Z] nexus3.edgexfoundry.org:10001 [2024-10-15T00:59:24.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:59:25.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:59:25.201Z] Configure a credential helper to remove this warning. See [2024-10-15T00:59:25.201Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:59:25.201Z] [2024-10-15T00:59:25.201Z] Login Succeeded [2024-10-15T00:59:25.202Z] nexus3.edgexfoundry.org:10002 [2024-10-15T00:59:25.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:59:25.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:59:25.470Z] Configure a credential helper to remove this warning. See [2024-10-15T00:59:25.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:59:25.471Z] [2024-10-15T00:59:25.471Z] Login Succeeded [2024-10-15T00:59:25.471Z] nexus3.edgexfoundry.org:10003 [2024-10-15T00:59:25.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:59:26.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:59:26.015Z] Configure a credential helper to remove this warning. See [2024-10-15T00:59:26.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:59:26.015Z] [2024-10-15T00:59:26.015Z] Login Succeeded [2024-10-15T00:59:26.015Z] nexus3.edgexfoundry.org:10004 [2024-10-15T00:59:26.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:59:26.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:59:26.293Z] Configure a credential helper to remove this warning. See [2024-10-15T00:59:26.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:59:26.293Z] [2024-10-15T00:59:26.293Z] Login Succeeded [2024-10-15T00:59:26.293Z] ****.io [2024-10-15T00:59:26.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T00:59:26.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T00:59:26.562Z] Configure a credential helper to remove this warning. See [2024-10-15T00:59:26.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T00:59:26.562Z] [2024-10-15T00:59:26.562Z] Login Succeeded [2024-10-15T00:59:26.562Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T00:59:26.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-15T00:59:26.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T00:59:26.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T00:59:26.928Z] ========================================================= [2024-10-15T00:59:26.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-15T00:59:26.928Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T00:59:27.368Z] + 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-15T00:59:27.637Z] Sending build context to Docker daemon 9.146MB [2024-10-15T00:59:27.908Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T00:59:27.908Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-15T00:59:27.908Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-15T00:59:27.908Z] cf04c63912e1: Pulling fs layer [2024-10-15T00:59:27.908Z] 55b35a11ae5e: Pulling fs layer [2024-10-15T00:59:27.908Z] a37a00ec5f00: Pulling fs layer [2024-10-15T00:59:27.908Z] 50b3750afda1: Pulling fs layer [2024-10-15T00:59:27.908Z] 4f4fb700ef54: Pulling fs layer [2024-10-15T00:59:27.908Z] 80978eb59214: Pulling fs layer [2024-10-15T00:59:27.908Z] c9f46d7d2bd2: Pulling fs layer [2024-10-15T00:59:27.908Z] 4f4fb700ef54: Waiting [2024-10-15T00:59:27.908Z] 80978eb59214: Waiting [2024-10-15T00:59:27.908Z] 50b3750afda1: Waiting [2024-10-15T00:59:27.908Z] c5a475d317c9: Pulling fs layer [2024-10-15T00:59:27.908Z] c9f46d7d2bd2: Waiting [2024-10-15T00:59:27.908Z] c5a475d317c9: Waiting [2024-10-15T00:59:27.908Z] 55b35a11ae5e: Verifying Checksum [2024-10-15T00:59:27.908Z] 55b35a11ae5e: Download complete [2024-10-15T00:59:28.178Z] 50b3750afda1: Download complete [2024-10-15T00:59:28.178Z] 4f4fb700ef54: Verifying Checksum [2024-10-15T00:59:28.178Z] 4f4fb700ef54: Download complete [2024-10-15T00:59:28.178Z] 80978eb59214: Verifying Checksum [2024-10-15T00:59:28.178Z] 80978eb59214: Download complete [2024-10-15T00:59:28.178Z] cf04c63912e1: Verifying Checksum [2024-10-15T00:59:28.178Z] cf04c63912e1: Download complete [2024-10-15T00:59:28.446Z] c5a475d317c9: Verifying Checksum [2024-10-15T00:59:28.446Z] c5a475d317c9: Download complete [2024-10-15T00:59:29.032Z] cf04c63912e1: Pull complete [2024-10-15T00:59:29.615Z] 55b35a11ae5e: Pull complete [2024-10-15T00:59:29.882Z] a37a00ec5f00: Verifying Checksum [2024-10-15T00:59:29.882Z] a37a00ec5f00: Download complete [2024-10-15T00:59:30.842Z] c9f46d7d2bd2: Verifying Checksum [2024-10-15T00:59:30.842Z] c9f46d7d2bd2: Download complete [2024-10-15T00:59:45.844Z] a37a00ec5f00: Pull complete [2024-10-15T00:59:45.845Z] 50b3750afda1: Pull complete [2024-10-15T00:59:45.845Z] 4f4fb700ef54: Pull complete [2024-10-15T00:59:45.845Z] 80978eb59214: Pull complete [2024-10-15T00:59:52.507Z] c9f46d7d2bd2: Pull complete [2024-10-15T00:59:53.934Z] c5a475d317c9: Pull complete [2024-10-15T00:59:53.934Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-15T00:59:53.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-15T00:59:53.934Z] ---> be29e6b0f0d4 [2024-10-15T00:59:53.934Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-15T00:59:54.918Z] ---> Running in 1da21b69410d [2024-10-15T00:59:54.918Z] Removing intermediate container 1da21b69410d [2024-10-15T00:59:54.918Z] ---> 6e88e1d7bf0b [2024-10-15T00:59:54.918Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T00:59:55.185Z] ---> Running in 54629274c2cf [2024-10-15T00:59:55.456Z] Removing intermediate container 54629274c2cf [2024-10-15T00:59:55.456Z] ---> b5c6842a3e90 [2024-10-15T00:59:55.456Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-15T00:59:55.456Z] ---> Running in 65bb9448f6ec [2024-10-15T00:59:56.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T00:59:57.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T00:59:58.543Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-15T00:59:58.543Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-15T00:59:58.543Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-15T00:59:58.543Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T00:59:58.811Z] OK: 244 MiB in 62 packages [2024-10-15T00:59:59.774Z] Removing intermediate container 65bb9448f6ec [2024-10-15T00:59:59.774Z] ---> aeb56ab4edcc [2024-10-15T00:59:59.774Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-15T00:59:59.774Z] ---> Running in 21099248c64b [2024-10-15T01:00:00.367Z] Removing intermediate container 21099248c64b [2024-10-15T01:00:00.367Z] ---> dd04ae85ebd6 [2024-10-15T01:00:00.367Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-15T01:00:00.635Z] ---> f7d5312dcd0a [2024-10-15T01:00:00.636Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:00:00.636Z] ---> Running in cb6fa11a3c1e [2024-10-15T01:02:00.203Z] Removing intermediate container cb6fa11a3c1e [2024-10-15T01:02:00.203Z] ---> 3303d5bc5e9d [2024-10-15T01:02:00.203Z] Step 9/10 : COPY . . [2024-10-15T01:02:00.203Z] ---> db0a5143f4c8 [2024-10-15T01:02:00.203Z] Step 10/10 : RUN ${MAKE} [2024-10-15T01:02:00.203Z] ---> Running in ee1d2d88ec55 [2024-10-15T01:02:00.203Z] noop [2024-10-15T01:02:00.203Z] Removing intermediate container ee1d2d88ec55 [2024-10-15T01:02:00.203Z] ---> d9e4b4642e08 [2024-10-15T01:02:00.203Z] Successfully built d9e4b4642e08 [2024-10-15T01:02:00.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:02:00.598Z] + docker inspect -f . ci-base-image-arm64 [2024-10-15T01:02:00.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:02:00.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-22815 does not seem to be running inside a container [2024-10-15T01:02:00.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-15T01:02:02.284Z] $ docker top c5d1a69f4f357df3d9bd69d15852eb0e27330319441344f8b6bc14b3b2f515fe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:02:03.149Z] + go version [2024-10-15T01:02:03.149Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-15T01:02:03.165Z] $ docker stop --time=1 c5d1a69f4f357df3d9bd69d15852eb0e27330319441344f8b6bc14b3b2f515fe [2024-10-15T01:02:04.816Z] $ docker rm -f --volumes c5d1a69f4f357df3d9bd69d15852eb0e27330319441344f8b6bc14b3b2f515fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:02:05.423Z] + docker inspect -f . ci-base-image-arm64 [2024-10-15T01:02:05.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:02:05.624Z] prd-ubuntu20.04-docker-arm64-4c-16g-22815 does not seem to be running inside a container [2024-10-15T01:02:05.681Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-15T01:02:06.907Z] $ docker top e870d324724c90b615ef3d7c961867c2cbd7bb3651e45e8fc224634a2b78b460 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:02:07.763Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2024-10-15T01:02:08.435Z] + make test [2024-10-15T01:02:08.435Z] go test ./... -coverprofile=coverage.out [2024-10-15T01:02:15.105Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-15T01:05:52.287Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-15T01:05:52.287Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 47.9% of statements [2024-10-15T01:05:52.287Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-15T01:05:52.287Z] go vet ./... [2024-10-15T01:06:39.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-15T01:06:39.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-15T01:06:39.300Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-15T01:06:39.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-15T01:06:39.347Z] $ docker stop --time=1 e870d324724c90b615ef3d7c961867c2cbd7bb3651e45e8fc224634a2b78b460 [2024-10-15T01:06:41.204Z] $ docker rm -f --volumes e870d324724c90b615ef3d7c961867c2cbd7bb3651e45e8fc224634a2b78b460 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T01:06:42.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-15T01:06:42.892Z] Warning: overwriting stash ‘coverage-report’ [2024-10-15T01:06:43.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T01:06:43.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-15T01:06:44.114Z] + ls -al . [2024-10-15T01:06:44.114Z] total 268 [2024-10-15T01:06:44.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 01:02 . [2024-10-15T01:06:44.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 00:58 .. [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 00:58 .dockerignore [2024-10-15T01:06:44.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 00:58 .git [2024-10-15T01:06:44.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:58 .github [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 15 00:58 .gitignore [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 15 00:58 .golangci.yml [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 15 00:58 Attribution.txt [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 15 00:58 CHANGELOG.md [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 15 00:58 Dockerfile [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 00:58 GOVERNANCE.md [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 15 00:58 Jenkinsfile [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 15 00:58 LICENSE [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 15 00:58 Makefile [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 15 00:58 OWNERS.md [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 15 00:58 README.md [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 00:54 VERSION [2024-10-15T01:06:44.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 00:58 bin [2024-10-15T01:06:44.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:58 cmd [2024-10-15T01:06:44.114Z] -rw-r--r-- 1 jenkins jenkins 25463 Oct 15 01:05 coverage.out [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 15 00:58 go.mod [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 15 00:58 go.sum [2024-10-15T01:06:44.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 00:58 internal [2024-10-15T01:06:44.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 00:58 simulator [2024-10-15T01:06:44.114Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 15 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:06:44.465Z] + 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=cfe0685d63c8d47f6d498016c42ba043e1b8bb66 --label arch=arm64 --label version=0.0.0 . [2024-10-15T01:06:44.731Z] Sending build context to Docker daemon 9.172MB [2024-10-15T01:06:44.731Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T01:06:44.731Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-15T01:06:45.000Z] ---> d9e4b4642e08 [2024-10-15T01:06:45.000Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-15T01:06:45.000Z] ---> Running in 00c24cce4d3a [2024-10-15T01:06:45.266Z] Removing intermediate container 00c24cce4d3a [2024-10-15T01:06:45.266Z] ---> 659f0d1b3cf7 [2024-10-15T01:06:45.266Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T01:06:45.266Z] ---> Running in 56d130044606 [2024-10-15T01:06:45.533Z] Removing intermediate container 56d130044606 [2024-10-15T01:06:45.533Z] ---> 9ae45fced23e [2024-10-15T01:06:45.533Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-15T01:06:45.805Z] ---> Running in 3ca5ab0dd3e3 [2024-10-15T01:06:46.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:06:47.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:06:48.435Z] OK: 244 MiB in 62 packages [2024-10-15T01:06:49.018Z] Removing intermediate container 3ca5ab0dd3e3 [2024-10-15T01:06:49.018Z] ---> a638b958b205 [2024-10-15T01:06:49.018Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-15T01:06:49.018Z] ---> Running in 8ef144caf673 [2024-10-15T01:06:49.284Z] Removing intermediate container 8ef144caf673 [2024-10-15T01:06:49.284Z] ---> 8b79e2cb27cc [2024-10-15T01:06:49.284Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-15T01:06:49.867Z] ---> 3d2570c77aa6 [2024-10-15T01:06:49.867Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:06:49.867Z] ---> Running in 376225d551df [2024-10-15T01:06:51.813Z] Removing intermediate container 376225d551df [2024-10-15T01:06:51.813Z] ---> 7d4bc2ff3f16 [2024-10-15T01:06:51.813Z] Step 9/23 : COPY . . [2024-10-15T01:06:53.215Z] ---> b5c798a2eb59 [2024-10-15T01:06:53.215Z] Step 10/23 : RUN ${MAKE} [2024-10-15T01:06:53.215Z] ---> Running in c0b5154a4c6a [2024-10-15T01:06:53.795Z] 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-15T01:10:15.554Z] Removing intermediate container c0b5154a4c6a [2024-10-15T01:10:15.554Z] ---> 441e8a86dc1f [2024-10-15T01:10:15.554Z] Step 11/23 : FROM alpine:3.20 [2024-10-15T01:10:16.954Z] 3.20: Pulling from library/alpine [2024-10-15T01:10:17.229Z] cf04c63912e1: Already exists [2024-10-15T01:10:17.229Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-15T01:10:17.229Z] Status: Downloaded newer image for alpine:3.20 [2024-10-15T01:10:17.229Z] ---> c157a85ed455 [2024-10-15T01:10:17.229Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-15T01:10:17.493Z] ---> Running in ac715e3dffb5 [2024-10-15T01:10:17.759Z] Removing intermediate container ac715e3dffb5 [2024-10-15T01:10:17.759Z] ---> abb82b559778 [2024-10-15T01:10:17.759Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-15T01:10:17.759Z] ---> Running in 6683fd32274b [2024-10-15T01:10:18.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:18.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:20.392Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-15T01:10:20.392Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:10:20.392Z] OK: 9 MiB in 15 packages [2024-10-15T01:10:21.358Z] Removing intermediate container 6683fd32274b [2024-10-15T01:10:21.358Z] ---> 5a51d23c5a36 [2024-10-15T01:10:21.358Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-15T01:10:21.358Z] ---> Running in 96ee9a792b16 [2024-10-15T01:10:22.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:22.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:23.994Z] Upgrading critical system libraries and apk-tools: [2024-10-15T01:10:23.994Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-15T01:10:23.994Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:10:23.994Z] Continuing the upgrade transaction with new apk-tools: [2024-10-15T01:10:23.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:24.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:10:25.672Z] OK: 9 MiB in 15 packages [2024-10-15T01:10:26.628Z] Removing intermediate container 96ee9a792b16 [2024-10-15T01:10:26.628Z] ---> 3f9a9c6f2e82 [2024-10-15T01:10:26.628Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-15T01:10:28.565Z] ---> ec3cce1e6ce0 [2024-10-15T01:10:28.565Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-15T01:10:28.830Z] ---> f54fb004c338 [2024-10-15T01:10:28.830Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-15T01:10:29.421Z] ---> 5c16f761cf2a [2024-10-15T01:10:29.421Z] Step 18/23 : EXPOSE 59901 [2024-10-15T01:10:29.421Z] ---> Running in ec8fe2dc970d [2024-10-15T01:10:29.685Z] Removing intermediate container ec8fe2dc970d [2024-10-15T01:10:29.685Z] ---> ca69df50b2c9 [2024-10-15T01:10:29.685Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-15T01:10:29.685Z] ---> Running in e37c78a37552 [2024-10-15T01:10:29.950Z] Removing intermediate container e37c78a37552 [2024-10-15T01:10:29.950Z] ---> 48291b8bd9d9 [2024-10-15T01:10:29.950Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-15T01:10:29.950Z] ---> Running in da42b2da0cd1 [2024-10-15T01:10:30.218Z] Removing intermediate container da42b2da0cd1 [2024-10-15T01:10:30.218Z] ---> 971346bb3993 [2024-10-15T01:10:30.218Z] Step 21/23 : LABEL arch=arm64 [2024-10-15T01:10:30.482Z] ---> Running in 97194255d0ff [2024-10-15T01:10:30.746Z] Removing intermediate container 97194255d0ff [2024-10-15T01:10:30.746Z] ---> 34db548d2b43 [2024-10-15T01:10:30.746Z] Step 22/23 : LABEL git_sha=cfe0685d63c8d47f6d498016c42ba043e1b8bb66 [2024-10-15T01:10:30.746Z] ---> Running in a9434fc67fc1 [2024-10-15T01:10:31.011Z] Removing intermediate container a9434fc67fc1 [2024-10-15T01:10:31.011Z] ---> 304043adf8e5 [2024-10-15T01:10:31.011Z] Step 23/23 : LABEL version=0.0.0 [2024-10-15T01:10:31.011Z] ---> Running in e44c91aa315b [2024-10-15T01:10:31.275Z] Removing intermediate container e44c91aa315b [2024-10-15T01:10:31.275Z] ---> 95891f38a664 [2024-10-15T01:10:31.275Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-15T01:10:31.275Z] Successfully built 95891f38a664 [2024-10-15T01:10:31.275Z] 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-15T01:10:31.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:10:31.781Z] [2024-10-15T01:10:31.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:10:32.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:10:32.117Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-15T01:10:32.117Z] 8998bd30e6a1: Pulling fs layer [2024-10-15T01:10:32.117Z] 04944245beec: Pulling fs layer [2024-10-15T01:10:32.117Z] 699f458cf7ca: Pulling fs layer [2024-10-15T01:10:32.117Z] 765212b225bb: Pulling fs layer [2024-10-15T01:10:32.117Z] f23df028b6ca: Pulling fs layer [2024-10-15T01:10:32.117Z] d65c8cfc05b1: Pulling fs layer [2024-10-15T01:10:32.117Z] 2437ff75d9bd: Pulling fs layer [2024-10-15T01:10:32.117Z] 765212b225bb: Waiting [2024-10-15T01:10:32.117Z] d65c8cfc05b1: Waiting [2024-10-15T01:10:32.117Z] 2437ff75d9bd: Waiting [2024-10-15T01:10:32.117Z] f23df028b6ca: Waiting [2024-10-15T01:10:32.384Z] 04944245beec: Verifying Checksum [2024-10-15T01:10:32.384Z] 04944245beec: Download complete [2024-10-15T01:10:32.384Z] 765212b225bb: Verifying Checksum [2024-10-15T01:10:32.384Z] 765212b225bb: Download complete [2024-10-15T01:10:32.384Z] f23df028b6ca: Verifying Checksum [2024-10-15T01:10:32.384Z] f23df028b6ca: Download complete [2024-10-15T01:10:32.384Z] d65c8cfc05b1: Verifying Checksum [2024-10-15T01:10:32.384Z] d65c8cfc05b1: Download complete [2024-10-15T01:10:32.384Z] 699f458cf7ca: Verifying Checksum [2024-10-15T01:10:32.384Z] 699f458cf7ca: Download complete [2024-10-15T01:10:32.967Z] 8998bd30e6a1: Verifying Checksum [2024-10-15T01:10:32.967Z] 8998bd30e6a1: Download complete [2024-10-15T01:10:35.537Z] 2437ff75d9bd: Verifying Checksum [2024-10-15T01:10:35.537Z] 2437ff75d9bd: Download complete [2024-10-15T01:10:36.938Z] 8998bd30e6a1: Pull complete [2024-10-15T01:10:37.519Z] 04944245beec: Pull complete [2024-10-15T01:10:38.921Z] 699f458cf7ca: Pull complete [2024-10-15T01:10:38.921Z] 765212b225bb: Pull complete [2024-10-15T01:10:39.875Z] f23df028b6ca: Pull complete [2024-10-15T01:10:40.140Z] d65c8cfc05b1: Pull complete [2024-10-15T01:10:55.120Z] 2437ff75d9bd: Pull complete [2024-10-15T01:10:55.120Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-15T01:10:55.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:10:55.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:10:55.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-22815 does not seem to be running inside a container [2024-10-15T01:10:55.466Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-15T01:10:58.286Z] $ docker top d25005c39cdc7ed6bbd74d0c796f61bf4c2efabb508da1c8928402deced7f72d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:10:58.830Z] ---> job-cost.sh [2024-10-15T01:10:59.099Z] lf-activate-venv: SKIPPING [2024-10-15T01:10:59.099Z] INFO: No Stack... [2024-10-15T01:11:00.069Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-15T01:11:00.656Z] INFO: Archiving Costs [Pipeline] sh [2024-10-15T01:11:00.981Z] + cut -d, -f6 [2024-10-15T01:11:00.981Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [Pipeline] lock [2024-10-15T01:11:01.018Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [2024-10-15T01:11:01.026Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] did not exist. Created. [2024-10-15T01:11:01.033Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-15T01:11:01.380Z] /w/workspace/device-modbus-go/3@tmp/durable-337610e8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-15T01:11:01.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-15T01:11:01.727Z] Warning: overwriting stash ‘stack-cost’ [2024-10-15T01:11:01.772Z] Stashed 1 file(s) [Pipeline] } [2024-10-15T01:11:01.782Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-15T01:11:01.808Z] $ docker stop --time=1 d25005c39cdc7ed6bbd74d0c796f61bf4c2efabb508da1c8928402deced7f72d [2024-10-15T01:11:03.276Z] $ docker rm -f --volumes d25005c39cdc7ed6bbd74d0c796f61bf4c2efabb508da1c8928402deced7f72d [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-15T01:11:03.779Z] provisioning config files... [2024-10-15T01:11:03.787Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config18365034454434450384tmp [Pipeline] { [Pipeline] sh [2024-10-15T01:11:04.091Z] + set +x [2024-10-15T01:11:04.091Z] + curl -s https://codecov.io/bash [2024-10-15T01:11:04.091Z] + bash -s -- [2024-10-15T01:11:04.091Z] [2024-10-15T01:11:04.091Z] _____ _ [2024-10-15T01:11:04.091Z] / ____| | | [2024-10-15T01:11:04.091Z] | | ___ __| | ___ ___ _____ __ [2024-10-15T01:11:04.091Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-15T01:11:04.091Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-15T01:11:04.091Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-15T01:11:04.091Z] Bash-1.0.6 [2024-10-15T01:11:04.091Z] [2024-10-15T01:11:04.091Z] [2024-10-15T01:11:04.091Z] ==> git version 2.25.1 found [2024-10-15T01:11:04.091Z] ==> 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-15T01:11:04.091Z] Release-Date: 2020-01-08 [2024-10-15T01:11:04.091Z] 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-15T01:11:04.091Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-15T01:11:04.091Z] ==> Jenkins CI detected. [2024-10-15T01:11:04.091Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-15T01:11:04.091Z] project root: . [2024-10-15T01:11:04.091Z] --> token set from env [2024-10-15T01:11:04.091Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-15T01:11:04.091Z] ==> Running gcov in . (disable via -X gcov) [2024-10-15T01:11:04.091Z] ==> Python coveragepy not found [2024-10-15T01:11:04.091Z] ==> Searching for coverage reports in: [2024-10-15T01:11:04.091Z] + . [2024-10-15T01:11:04.091Z] -> Found 1 reports [2024-10-15T01:11:04.351Z] ==> Detecting git/mercurial file structure [2024-10-15T01:11:04.351Z] ==> Reading reports [2024-10-15T01:11:04.351Z] + ./coverage.out bytes=25463 [2024-10-15T01:11:04.352Z] ==> Appending adjustments [2024-10-15T01:11:04.352Z] https://docs.codecov.io/docs/fixing-reports [2024-10-15T01:11:04.352Z] + Found adjustments [2024-10-15T01:11:04.352Z] ==> Gzipping contents [2024-10-15T01:11:04.352Z] 4.0K /tmp/codecov.Wp2qvs.gz [2024-10-15T01:11:04.352Z] ==> Uploading reports [2024-10-15T01:11:04.352Z] url: https://codecov.io [2024-10-15T01:11:04.352Z] query: branch=PR-581&commit=fa0626e5e8d9c42f023344485e882ccad1d83ac4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-15T01:11:04.352Z] -> Pinging Codecov [2024-10-15T01:11:04.352Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-581&commit=fa0626e5e8d9c42f023344485e882ccad1d83ac4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-15T01:11:04.611Z] -> Uploading to [2024-10-15T01:11:04.611Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/fa0626e5e8d9c42f023344485e882ccad1d83ac4/a8e6cfdb-9e41-4a1e-aeb7-698b3dfb86b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241015%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241015T011104Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ff4db0b3ed02f805b29883f297cb95b0bf4aacc851c46fc3f0f3b0ffe89c89cb [2024-10-15T01:11:04.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-15T01:11:04.611Z] Dload Upload Total Spent Left Speed [2024-10-15T01:11:04.871Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3928 0 0 100 3928 0 59515 --:--:-- --:--:-- --:--:-- 58626 100 3928 0 0 100 3928 0 17004 --:--:-- --:--:-- --:--:-- 16931 [2024-10-15T01:11:04.871Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fa0626e5e8d9c42f023344485e882ccad1d83ac4 [Pipeline] } [2024-10-15T01:11:04.877Z] 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-15T01:11:05.776Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-581/archives ] [2024-10-15T01:11:05.776Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-15T01:11:05.776Z] total 16 [2024-10-15T01:11:05.776Z] drwxr-xr-x 3 root root 4096 Oct 15 00:57 . [2024-10-15T01:11:05.776Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 00:57 .. [2024-10-15T01:11:05.776Z] drwxr-xr-x 2 root root 4096 Oct 15 00:57 cost [2024-10-15T01:11:05.776Z] -rw-r--r-- 1 root root 88 Oct 15 00:57 cost.csv [2024-10-15T01:11:05.776Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-15T01:11:05.776Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-15T01:11:05.776Z] total 16 [2024-10-15T01:11:05.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 00:57 . [2024-10-15T01:11:05.776Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 00:57 .. [2024-10-15T01:11:05.776Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 15 00:57 cost [2024-10-15T01:11:05.776Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 15 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:06.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:06.946Z] ---> package-listing.sh [2024-10-15T01:11:06.946Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-15T01:11:06.946Z] ++ facter osfamily [2024-10-15T01:11:07.206Z] + OS_FAMILY=debian [2024-10-15T01:11:07.206Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-15T01:11:07.206Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-15T01:11:07.206Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-15T01:11:07.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-15T01:11:07.206Z] + PACKAGES=/tmp/packages_start.txt [2024-10-15T01:11:07.206Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-15T01:11:07.206Z] + PACKAGES=/tmp/packages_end.txt [2024-10-15T01:11:07.206Z] + case "${OS_FAMILY}" in [2024-10-15T01:11:07.206Z] + dpkg -l [2024-10-15T01:11:07.206Z] + grep '^ii' [2024-10-15T01:11:07.206Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-15T01:11:07.206Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-15T01:11:07.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-15T01:11:07.206Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-15T01:11:07.206Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [2024-10-15T01:11:07.206Z] + 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-15T01:11:07.217Z] 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-15T01:11:07.495Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:11:08.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T01:11:08.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:11:08.146Z] prd-ubuntu20.04-docker-8c-8g-22814 does not seem to be running inside a container [2024-10-15T01:11:08.174Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-15T01:11:08.368Z] $ docker top b978b5c38cb826aaf9b22d10a6eeaf016dcc4f695d8746909a16940fcc339038 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:11:08.725Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-15T01:11:09.013Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-15T01:11:09.301Z] + ls /var/log/sa-host [2024-10-15T01:11:09.301Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T01:11:09.464Z] provisioning config files... [2024-10-15T01:11:09.475Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config3442481657393578471tmp [Pipeline] { [Pipeline] echo [2024-10-15T01:11:09.495Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:09.782Z] ---> create-netrc.sh [Pipeline] } [2024-10-15T01:11:09.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:10.144Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-15T01:11:10.153Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:10.435Z] ---> sudo-logs.sh [2024-10-15T01:11:10.435Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-15T01:11:10.466Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:10.749Z] ---> job-cost.sh [2024-10-15T01:11:10.749Z] lf-activate-venv: SKIPPING [2024-10-15T01:11:10.749Z] DEBUG: total: 0.2199999988079071 [2024-10-15T01:11:10.749Z] INFO: Retrieving Stack Cost... [2024-10-15T01:11:11.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-15T01:11:11.576Z] INFO: Archiving Costs [Pipeline] echo [2024-10-15T01:11:11.592Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:11:11.879Z] ---> logs-deploy.sh [2024-10-15T01:11:11.879Z] lf-activate-venv: SKIPPING [2024-10-15T01:11:11.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-581/3 [2024-10-15T01:11:11.879Z] INFO: archiving workspace using pattern(s): [2024-10-15T01:11:12.816Z] Archives upload complete. [2024-10-15T01:11:12.816Z] INFO: archiving logs to Nexus