Pull request #589 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 6ff3c2f363e2507abfa48683d74813bb761c41a3+dad323708bb7fb3ae7999ed6872af7cbf93de804 (3304d3a7f96315ce4763f436c50acecbba6304e1) 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-ssh16026481449084227151.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-ssh15331330606011902714.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-589/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-589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh205328292553521134.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-ssh2060915220540602198.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-589/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-589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7981321773361124221.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24957 in /w/workspace/xfoundry_device-modbus-go_PR-589 [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-589 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 6ff3c2f363e2507abfa48683d74813bb761c41a3 Merge succeeded, producing 6ff3c2f363e2507abfa48683d74813bb761c41a3 Checking out Revision 6ff3c2f363e2507abfa48683d74813bb761c41a3 (PR-589) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # 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 dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T02:57:32.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T02:57:32.457Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T02:57:32.484Z] ========================================================= [2024-11-08T02:57:32.484Z] EdgeX Global Pipelines Version Info [2024-11-08T02:57:32.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7c4bbfadab17425ea955584c2cfb2af15322662d # timeout=10 [2024-11-08T02:57:33.206Z] ------------------- [2024-11-08T02:57:33.206Z] stable info: [2024-11-08T02:57:33.206Z] ------------------- [2024-11-08T02:57:33.206Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T02:57:33.206Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T02:57:33.206Z] Message: update stable to v1.0.265 [2024-11-08T02:57:33.779Z] ------------------- [2024-11-08T02:57:33.779Z] experimental info: [2024-11-08T02:57:33.779Z] ------------------- [2024-11-08T02:57:33.779Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T02:57:33.779Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T02:57:33.779Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T02:57:33.863Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-08T02:57:33.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-08T02:57:33.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T02:57:33.925Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T02:57:33.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T02:57:33.978Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T02:57:34.006Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T02:57:34.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T02:57:34.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T02:57:34.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T02:57:34.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T02:57:34.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-08T02:57:34.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T02:57:34.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T02:57:34.200Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:57:34.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:57:34.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:57:34.275Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:57:34.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T02:57:34.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T02:57:34.354Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T02:57:34.384Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T02:57:34.410Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T02:57:34.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T02:57:34.465Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T02:57:34.486Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T02:57:34.508Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T02:57:34.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-589 [Pipeline] echo [2024-11-08T02:57:34.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-589 [Pipeline] echo [2024-11-08T02:57:34.578Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-589 [Pipeline] echo [2024-11-08T02:57:34.598Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo [2024-11-08T02:57:34.626Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ff3c2f [Pipeline] echo [2024-11-08T02:57:34.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:57:34.718Z] provisioning config files... [2024-11-08T02:57:34.732Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config12496550361583830417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:57:35.066Z] ---> ****-login.sh [2024-11-08T02:57:35.066Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:57:35.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:35.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:35.325Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:35.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:35.325Z] [2024-11-08T02:57:35.325Z] Login Succeeded [2024-11-08T02:57:35.325Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:57:35.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:35.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:35.325Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:35.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:35.325Z] [2024-11-08T02:57:35.325Z] Login Succeeded [2024-11-08T02:57:35.325Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:57:35.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:35.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:35.585Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:35.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:35.586Z] [2024-11-08T02:57:35.586Z] Login Succeeded [2024-11-08T02:57:35.586Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:57:35.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:35.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:35.586Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:35.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:35.586Z] [2024-11-08T02:57:35.586Z] Login Succeeded [2024-11-08T02:57:35.586Z] ****.io [2024-11-08T02:57:35.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:35.846Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:35.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:35.846Z] [2024-11-08T02:57:35.846Z] Login Succeeded [2024-11-08T02:57:35.846Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:57:35.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T02:57:36.284Z] + git rev-list -1 --merges 6ff3c2f363e2507abfa48683d74813bb761c41a3~1..6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo [2024-11-08T02:57:36.311Z] -----------> git rev-list -1 --merges 6ff3c2f363e2507abfa48683d74813bb761c41a3~1..6ff3c2f363e2507abfa48683d74813bb761c41a3 6ff3c2f363e2507abfa48683d74813bb761c41a3 [false] [Pipeline] sh [2024-11-08T02:57:36.604Z] + git log --format=format:%s -1 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo [2024-11-08T02:57:36.622Z] ========================================================= [2024-11-08T02:57:36.622Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T02:57:36.622Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T02:57:36.966Z] + git log --format=format:%s -1 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo [2024-11-08T02:57:36.979Z] [semverPrep] GIT_COMMIT: 6ff3c2f363e2507abfa48683d74813bb761c41a3, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T02:57:36.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T02:57:37.356Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T02:57:37.356Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T02:57:37.356Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T02:57:37.356Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T02:57:37.356Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T02:57:37.356Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T02:57:37.356Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:37.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:37.710Z] [2024-11-08T02:57:37.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:38.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:38.021Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T02:57:38.021Z] b85a868b505f: Pulling fs layer [2024-11-08T02:57:38.021Z] e2be974225ed: Pulling fs layer [2024-11-08T02:57:38.021Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T02:57:38.021Z] 988bab9f4d93: Pulling fs layer [2024-11-08T02:57:38.021Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T02:57:38.021Z] eaf3925da568: Pulling fs layer [2024-11-08T02:57:38.021Z] bab4dde63d76: Pulling fs layer [2024-11-08T02:57:38.021Z] bde34c3a00c8: Pulling fs layer [2024-11-08T02:57:38.021Z] b352a97aabf1: Pulling fs layer [2024-11-08T02:57:38.021Z] 4872d77fe225: Pulling fs layer [2024-11-08T02:57:38.021Z] 5851b861e8e6: Pulling fs layer [2024-11-08T02:57:38.021Z] 988bab9f4d93: Waiting [2024-11-08T02:57:38.021Z] 1469e6f7b9e6: Waiting [2024-11-08T02:57:38.021Z] eaf3925da568: Waiting [2024-11-08T02:57:38.021Z] bab4dde63d76: Waiting [2024-11-08T02:57:38.021Z] bde34c3a00c8: Waiting [2024-11-08T02:57:38.021Z] b352a97aabf1: Waiting [2024-11-08T02:57:38.021Z] 4872d77fe225: Waiting [2024-11-08T02:57:38.021Z] 5851b861e8e6: Waiting [2024-11-08T02:57:38.021Z] e2be974225ed: Verifying Checksum [2024-11-08T02:57:38.021Z] e2be974225ed: Download complete [2024-11-08T02:57:38.021Z] 988bab9f4d93: Verifying Checksum [2024-11-08T02:57:38.021Z] 988bab9f4d93: Download complete [2024-11-08T02:57:38.021Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T02:57:38.021Z] 1469e6f7b9e6: Download complete [2024-11-08T02:57:38.021Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T02:57:38.021Z] 339a4e72a1f5: Download complete [2024-11-08T02:57:38.021Z] eaf3925da568: Verifying Checksum [2024-11-08T02:57:38.021Z] eaf3925da568: Download complete [2024-11-08T02:57:38.282Z] bde34c3a00c8: Download complete [2024-11-08T02:57:38.282Z] b352a97aabf1: Download complete [2024-11-08T02:57:38.282Z] 4872d77fe225: Verifying Checksum [2024-11-08T02:57:38.282Z] 4872d77fe225: Download complete [2024-11-08T02:57:38.282Z] 5851b861e8e6: Verifying Checksum [2024-11-08T02:57:38.282Z] 5851b861e8e6: Download complete [2024-11-08T02:57:38.282Z] b85a868b505f: Verifying Checksum [2024-11-08T02:57:38.282Z] b85a868b505f: Download complete [2024-11-08T02:57:38.540Z] bab4dde63d76: Verifying Checksum [2024-11-08T02:57:38.540Z] bab4dde63d76: Download complete [2024-11-08T02:57:39.489Z] b85a868b505f: Pull complete [2024-11-08T02:57:39.754Z] e2be974225ed: Pull complete [2024-11-08T02:57:40.326Z] 339a4e72a1f5: Pull complete [2024-11-08T02:57:40.326Z] 988bab9f4d93: Pull complete [2024-11-08T02:57:40.586Z] 1469e6f7b9e6: Pull complete [2024-11-08T02:57:40.586Z] eaf3925da568: Pull complete [2024-11-08T02:57:42.496Z] bab4dde63d76: Pull complete [2024-11-08T02:57:42.496Z] bde34c3a00c8: Pull complete [2024-11-08T02:57:42.755Z] b352a97aabf1: Pull complete [2024-11-08T02:57:42.755Z] 4872d77fe225: Pull complete [2024-11-08T02:57:42.755Z] 5851b861e8e6: Pull complete [2024-11-08T02:57:42.755Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T02:57:42.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:43.018Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:57:43.166Z] prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container [2024-11-08T02:57:43.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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-devops/py-git-semver:0.1.4 cat [2024-11-08T02:57:46.209Z] $ docker top 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb -eo pid,comm [2024-11-08T02:57:46.267Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-08T02:57:46.267Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T02:57:46.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:57:46.323Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:57:46.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:57:46.439Z] $ docker exec 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent [2024-11-08T02:57:46.548Z] SSH_AUTH_SOCK=/tmp/ssh-k8u9RBXACZgq/agent.32 [2024-11-08T02:57:46.548Z] SSH_AGENT_PID=38 [2024-11-08T02:57:46.555Z] Running ssh-add (command line suppressed) [2024-11-08T02:57:46.657Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_6249455054591271794.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_6249455054591271794.key) [2024-11-08T02:57:46.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:57:46.968Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T02:57:46.979Z] $ docker exec --env ******** --env ******** 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent -k [2024-11-08T02:57:47.079Z] unset SSH_AUTH_SOCK; [2024-11-08T02:57:47.079Z] unset SSH_AGENT_PID; [2024-11-08T02:57:47.079Z] echo Agent pid 38 killed; [2024-11-08T02:57:47.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T02:57:47.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:57:47.134Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:57:47.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:57:47.262Z] $ docker exec 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent [2024-11-08T02:57:47.386Z] SSH_AUTH_SOCK=/tmp/ssh-zwtBn4bOEu6M/agent.71 [2024-11-08T02:57:47.386Z] SSH_AGENT_PID=77 [2024-11-08T02:57:47.391Z] Running ssh-add (command line suppressed) [2024-11-08T02:57:47.486Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10047306501169466824.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10047306501169466824.key) [2024-11-08T02:57:47.503Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:57:47.799Z] + git semver init [2024-11-08T02:57:48.059Z] 2024-11-08 02:57:47,978 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T02:57:48.059Z] 2024-11-08 02:57:47,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver [2024-11-08T02:57:48.059Z] 2024-11-08 02:57:47,979 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-589/.semver [2024-11-08T02:57:48.059Z] 2024-11-08 02:57:47,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-589/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589, universal_newlines=False, shell=None, istream=None) [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,023 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.git/info/exclude [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,024 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 with force:False [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,024 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,029 [execute] INFO git cat-file --batch-check [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,036 [execute] INFO git cat-file --batch [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:57:49.441Z] 2024-11-08 02:57:49,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 [2024-11-08T02:57:49.441Z] 0.0.0 [Pipeline] } [2024-11-08T02:57:49.449Z] $ docker exec --env ******** --env ******** 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent -k [2024-11-08T02:57:49.538Z] unset SSH_AUTH_SOCK; [2024-11-08T02:57:49.539Z] unset SSH_AGENT_PID; [2024-11-08T02:57:49.539Z] echo Agent pid 77 killed; [2024-11-08T02:57:49.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T02:57:49.870Z] + git semver [Pipeline] } [2024-11-08T02:57:50.136Z] $ docker stop --time=1 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb [2024-11-08T02:57:51.451Z] $ docker rm -f --volumes 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:57:51.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T02:57:52.017Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T02:57:52.022Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:57:52.214Z] provisioning config files... [2024-11-08T02:57:52.226Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config6042473323236340648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:57:52.541Z] ---> ****-login.sh [2024-11-08T02:57:52.541Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:57:52.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:52.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:52.541Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:52.541Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:52.541Z] [2024-11-08T02:57:52.541Z] Login Succeeded [2024-11-08T02:57:52.541Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:57:52.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:52.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:52.542Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:52.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:52.542Z] [2024-11-08T02:57:52.542Z] Login Succeeded [2024-11-08T02:57:52.542Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:57:52.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:52.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:52.803Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:52.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:52.803Z] [2024-11-08T02:57:52.803Z] Login Succeeded [2024-11-08T02:57:52.804Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:57:52.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:52.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:52.804Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:52.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:52.804Z] [2024-11-08T02:57:52.804Z] Login Succeeded [2024-11-08T02:57:52.804Z] ****.io [2024-11-08T02:57:53.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:53.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:53.063Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:53.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:53.064Z] [2024-11-08T02:57:53.064Z] Login Succeeded [2024-11-08T02:57:53.064Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:57:53.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T02:57:53.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:57:53.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:57:53.190Z] ========================================================= [2024-11-08T02:57:53.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T02:57:53.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:53.525Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T02:57:53.525Z] Sending build context to Docker daemon 17.97MB [2024-11-08T02:57:53.525Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:57:53.525Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T02:57:53.525Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T02:57:53.525Z] 43c4264eed91: Pulling fs layer [2024-11-08T02:57:53.525Z] 4cc291be95ef: Pulling fs layer [2024-11-08T02:57:53.525Z] 2ac1f1163629: Pulling fs layer [2024-11-08T02:57:53.525Z] 5c3c966382ef: Pulling fs layer [2024-11-08T02:57:53.525Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T02:57:53.525Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T02:57:53.525Z] 9f66e0745190: Pulling fs layer [2024-11-08T02:57:53.525Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T02:57:53.525Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T02:57:53.525Z] 5d5c8e513c77: Waiting [2024-11-08T02:57:53.525Z] 5c3c966382ef: Waiting [2024-11-08T02:57:53.525Z] 9f66e0745190: Waiting [2024-11-08T02:57:53.525Z] 4f4fb700ef54: Waiting [2024-11-08T02:57:53.525Z] f49a43e4bbc0: Waiting [2024-11-08T02:57:53.525Z] 561ebcabdf7f: Waiting [2024-11-08T02:57:53.787Z] 4cc291be95ef: Verifying Checksum [2024-11-08T02:57:53.787Z] 4cc291be95ef: Download complete [2024-11-08T02:57:53.787Z] 5c3c966382ef: Download complete [2024-11-08T02:57:53.787Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T02:57:53.787Z] 4f4fb700ef54: Download complete [2024-11-08T02:57:53.787Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T02:57:53.787Z] 5d5c8e513c77: Download complete [2024-11-08T02:57:53.787Z] 43c4264eed91: Download complete [2024-11-08T02:57:53.787Z] 9f66e0745190: Verifying Checksum [2024-11-08T02:57:54.047Z] 43c4264eed91: Pull complete [2024-11-08T02:57:54.047Z] 561ebcabdf7f: Download complete [2024-11-08T02:57:54.047Z] 4cc291be95ef: Pull complete [2024-11-08T02:57:54.305Z] 2ac1f1163629: Verifying Checksum [2024-11-08T02:57:54.305Z] 2ac1f1163629: Download complete [2024-11-08T02:57:54.562Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T02:57:54.562Z] f49a43e4bbc0: Download complete [2024-11-08T02:57:58.784Z] 2ac1f1163629: Pull complete [2024-11-08T02:57:58.784Z] 5c3c966382ef: Pull complete [2024-11-08T02:57:59.045Z] 4f4fb700ef54: Pull complete [2024-11-08T02:57:59.045Z] 5d5c8e513c77: Pull complete [2024-11-08T02:57:59.361Z] 9f66e0745190: Pull complete [2024-11-08T02:58:01.903Z] f49a43e4bbc0: Pull complete [2024-11-08T02:58:01.903Z] 561ebcabdf7f: Pull complete [2024-11-08T02:58:02.164Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T02:58:02.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T02:58:02.164Z] ---> 3a752c3f9dda [2024-11-08T02:58:02.164Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:58:06.419Z] ---> Running in a49fa9ae6f41 [2024-11-08T02:58:06.419Z] Removing intermediate container a49fa9ae6f41 [2024-11-08T02:58:06.419Z] ---> 47700060da1c [2024-11-08T02:58:06.419Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:58:06.419Z] ---> Running in 2af87668e643 [2024-11-08T02:58:06.419Z] Removing intermediate container 2af87668e643 [2024-11-08T02:58:06.419Z] ---> 3eda413ff403 [2024-11-08T02:58:06.419Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-08T02:58:06.678Z] ---> Running in 43e872cc5c76 [2024-11-08T02:58:06.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:06.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:07.156Z] Still waiting to schedule task [2024-11-08T02:58:07.156Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T02:58:07.506Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-08T02:58:07.506Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-08T02:58:07.506Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-08T02:58:07.506Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:58:07.506Z] OK: 252 MiB in 62 packages [2024-11-08T02:58:08.072Z] Removing intermediate container 43e872cc5c76 [2024-11-08T02:58:08.072Z] ---> 92f499eee6c1 [2024-11-08T02:58:08.072Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-08T02:58:08.072Z] ---> Running in 664ce137e1b3 [2024-11-08T02:58:08.072Z] Removing intermediate container 664ce137e1b3 [2024-11-08T02:58:08.072Z] ---> 03f7f097db1c [2024-11-08T02:58:08.072Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T02:58:08.072Z] ---> 66bc5fcac45d [2024-11-08T02:58:08.072Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:58:08.072Z] ---> Running in ec21980346a1 [2024-11-08T02:58:54.848Z] Removing intermediate container ec21980346a1 [2024-11-08T02:58:54.848Z] ---> 2abb3f465275 [2024-11-08T02:58:54.848Z] Step 9/10 : COPY . . [2024-11-08T02:58:54.848Z] ---> 8fd4db3d833c [2024-11-08T02:58:54.848Z] Step 10/10 : RUN ${MAKE} [2024-11-08T02:58:54.848Z] ---> Running in 3892a3e47de3 [2024-11-08T02:58:54.848Z] noop [2024-11-08T02:58:54.848Z] Removing intermediate container 3892a3e47de3 [2024-11-08T02:58:54.848Z] ---> d8628b637928 [2024-11-08T02:58:54.848Z] Successfully built d8628b637928 [2024-11-08T02:58:54.848Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:55.178Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:58:55.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:55.270Z] prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container [2024-11-08T02:58:55.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:58:55.619Z] $ docker top 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:58:56.003Z] + go version [2024-11-08T02:58:56.003Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T02:58:56.012Z] $ docker stop --time=1 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d [2024-11-08T02:58:57.242Z] $ docker rm -f --volumes 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:57.700Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:58:57.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:57.784Z] prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container [2024-11-08T02:58:57.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:58:58.149Z] $ docker top 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:58:58.491Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] fileExists [Pipeline] sh [2024-11-08T02:58:58.792Z] + make test [2024-11-08T02:58:58.792Z] go test ./... -coverprofile=coverage.out [2024-11-08T02:59:00.703Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-08T02:59:18.808Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-08T02:59:18.808Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 48.0% of statements [2024-11-08T02:59:28.775Z] go vet ./... [2024-11-08T02:59:32.953Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T02:59:32.953Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T02:59:32.953Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T02:59:33.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T02:59:33.245Z] $ docker stop --time=1 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 [2024-11-08T02:59:37.212Z] $ docker rm -f --volumes 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:59:37.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T02:59:37.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T02:59:38.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T02:59:38.557Z] + ls -al . [2024-11-08T02:59:38.557Z] total 260 [2024-11-08T02:59:38.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:58 . [2024-11-08T02:59:38.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:57 .. [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 02:57 .dockerignore [2024-11-08T02:59:38.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:59 .git [2024-11-08T02:59:38.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 .github [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 02:57 .gitignore [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 02:57 .golangci.yml [2024-11-08T02:59:38.557Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:57 .semver [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 8 02:57 Attribution.txt [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 8 02:57 CHANGELOG.md [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 8 02:57 Dockerfile [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:57 GOVERNANCE.md [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 02:57 Jenkinsfile [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 02:57 LICENSE [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 8 02:57 Makefile [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 02:57 OWNERS.md [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 02:57 README.md [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION [2024-11-08T02:59:38.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:57 bin [2024-11-08T02:59:38.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 cmd [2024-11-08T02:59:38.557Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 8 02:59 coverage.out [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 8 02:57 go.mod [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 8 02:57 go.sum [2024-11-08T02:59:38.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 internal [2024-11-08T02:59:38.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:57 simulator [2024-11-08T02:59:38.557Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:38.897Z] + 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=6ff3c2f363e2507abfa48683d74813bb761c41a3 --label arch=amd64 --label version=0.0.0 . [2024-11-08T02:59:38.897Z] Sending build context to Docker daemon 17.99MB [2024-11-08T02:59:38.897Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:59:38.897Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-08T02:59:38.897Z] ---> d8628b637928 [2024-11-08T02:59:38.897Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:59:39.463Z] ---> Running in 38e7364ac3dc [2024-11-08T02:59:39.463Z] Removing intermediate container 38e7364ac3dc [2024-11-08T02:59:39.463Z] ---> 57c59831ee60 [2024-11-08T02:59:39.463Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:59:39.463Z] ---> Running in 97bac3caf457 [2024-11-08T02:59:39.463Z] Removing intermediate container 97bac3caf457 [2024-11-08T02:59:39.463Z] ---> b56431c06b75 [2024-11-08T02:59:39.463Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-08T02:59:39.463Z] ---> Running in 796e1a504654 [2024-11-08T02:59:39.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:59:39.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:59:40.286Z] OK: 252 MiB in 62 packages [2024-11-08T02:59:40.543Z] Removing intermediate container 796e1a504654 [2024-11-08T02:59:40.543Z] ---> 34dfe4b7db23 [2024-11-08T02:59:40.543Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-08T02:59:40.543Z] ---> Running in 58cdde2066c9 [2024-11-08T02:59:40.543Z] Removing intermediate container 58cdde2066c9 [2024-11-08T02:59:40.543Z] ---> 408e58a3ef80 [2024-11-08T02:59:40.543Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-08T02:59:40.801Z] ---> cb764ac883bb [2024-11-08T02:59:40.801Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:59:40.801Z] ---> Running in 531fd5aebc27 [2024-11-08T02:59:41.364Z] Removing intermediate container 531fd5aebc27 [2024-11-08T02:59:41.364Z] ---> b58cf82872e9 [2024-11-08T02:59:41.364Z] Step 9/23 : COPY . . [2024-11-08T02:59:41.929Z] ---> 9848f6b72366 [2024-11-08T02:59:41.929Z] Step 10/23 : RUN ${MAKE} [2024-11-08T02:59:41.929Z] ---> Running in 28603408cfd8 [2024-11-08T02:59:42.188Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-08T03:00:14.253Z] Removing intermediate container 28603408cfd8 [2024-11-08T03:00:14.253Z] ---> f0d784b4e377 [2024-11-08T03:00:14.253Z] Step 11/23 : FROM alpine:3.20 [2024-11-08T03:00:14.253Z] 3.20: Pulling from library/alpine [2024-11-08T03:00:14.253Z] 43c4264eed91: Already exists [2024-11-08T03:00:14.253Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:00:14.253Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:00:14.253Z] ---> 91ef0af61f39 [2024-11-08T03:00:14.254Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-08T03:00:14.254Z] ---> Running in a7d2ee18a782 [2024-11-08T03:00:14.254Z] Removing intermediate container a7d2ee18a782 [2024-11-08T03:00:14.254Z] ---> a9b2b68b3b46 [2024-11-08T03:00:14.254Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:00:14.254Z] ---> Running in d65df450368c [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:00:14.254Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:00:14.254Z] OK: 8 MiB in 15 packages [2024-11-08T03:00:14.254Z] Removing intermediate container d65df450368c [2024-11-08T03:00:14.254Z] ---> 4ec4854888e8 [2024-11-08T03:00:14.254Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-08T03:00:14.254Z] ---> Running in 205d7d3f38b2 [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:00:14.254Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:00:14.254Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:00:14.254Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:14.254Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:00:14.254Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:00:14.254Z] OK: 8 MiB in 15 packages [2024-11-08T03:00:14.254Z] Removing intermediate container 205d7d3f38b2 [2024-11-08T03:00:14.254Z] ---> 1bd23c992a75 [2024-11-08T03:00:14.254Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-08T03:00:15.188Z] ---> d8d4db9b8366 [2024-11-08T03:00:15.188Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-08T03:00:15.188Z] ---> b6004a07a927 [2024-11-08T03:00:15.188Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-08T03:00:15.446Z] ---> 77ea5c03c927 [2024-11-08T03:00:15.446Z] Step 18/23 : EXPOSE 59901 [2024-11-08T03:00:15.446Z] ---> Running in a2e36c34b338 [2024-11-08T03:00:15.446Z] Removing intermediate container a2e36c34b338 [2024-11-08T03:00:15.446Z] ---> 3607e38dd2e8 [2024-11-08T03:00:15.446Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-08T03:00:15.446Z] ---> Running in c9ed95324b22 [2024-11-08T03:00:15.446Z] Removing intermediate container c9ed95324b22 [2024-11-08T03:00:15.446Z] ---> d78bfe2e2587 [2024-11-08T03:00:15.446Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:00:15.446Z] ---> Running in 9b47c2ee5855 [2024-11-08T03:00:15.704Z] Removing intermediate container 9b47c2ee5855 [2024-11-08T03:00:15.704Z] ---> 47109de63b83 [2024-11-08T03:00:15.704Z] Step 21/23 : LABEL arch=amd64 [2024-11-08T03:00:15.704Z] ---> Running in a3a1a5aab7c1 [2024-11-08T03:00:15.704Z] Removing intermediate container a3a1a5aab7c1 [2024-11-08T03:00:15.704Z] ---> 46943a546a2e [2024-11-08T03:00:15.704Z] Step 22/23 : LABEL git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 [2024-11-08T03:00:15.704Z] ---> Running in e8e0d38f3e59 [2024-11-08T03:00:15.704Z] Removing intermediate container e8e0d38f3e59 [2024-11-08T03:00:15.704Z] ---> 96e4f4442a67 [2024-11-08T03:00:15.704Z] Step 23/23 : LABEL version=0.0.0 [2024-11-08T03:00:15.704Z] ---> Running in 75c42cb615f8 [2024-11-08T03:00:15.963Z] Removing intermediate container 75c42cb615f8 [2024-11-08T03:00:15.963Z] ---> f997678b193d [2024-11-08T03:00:15.963Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:00:15.963Z] Successfully built f997678b193d [2024-11-08T03:00:15.963Z] 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-11-08T03:00:16.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:16.468Z] [2024-11-08T03:00:16.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:16.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:16.762Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:00:16.762Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:00:16.762Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:00:16.762Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:00:16.762Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:00:16.762Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:00:16.762Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:00:16.762Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:00:16.762Z] 33b1e0a273af: Waiting [2024-11-08T03:00:16.762Z] 5d3b04190fa2: Waiting [2024-11-08T03:00:16.762Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:00:16.762Z] 2f39f015ded8: Waiting [2024-11-08T03:00:16.762Z] 5c69ac0246d0: Download complete [2024-11-08T03:00:16.762Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T03:00:16.762Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:00:16.762Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:00:16.762Z] 33b1e0a273af: Download complete [2024-11-08T03:00:16.762Z] ec43610c2a17: Verifying Checksum [2024-11-08T03:00:16.762Z] ec43610c2a17: Download complete [2024-11-08T03:00:17.019Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T03:00:17.019Z] 5d3b04190fa2: Download complete [2024-11-08T03:00:17.019Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:00:17.019Z] 5eb5b503b376: Download complete [2024-11-08T03:00:17.581Z] 2f39f015ded8: Verifying Checksum [2024-11-08T03:00:17.581Z] 2f39f015ded8: Download complete [2024-11-08T03:00:18.145Z] 5eb5b503b376: Pull complete [2024-11-08T03:00:18.145Z] 5c69ac0246d0: Pull complete [2024-11-08T03:00:18.710Z] ec43610c2a17: Pull complete [2024-11-08T03:00:18.710Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:00:18.966Z] 33b1e0a273af: Pull complete [2024-11-08T03:00:18.966Z] 5d3b04190fa2: Pull complete [2024-11-08T03:00:22.243Z] 2f39f015ded8: Pull complete [2024-11-08T03:00:22.243Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:00:22.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:22.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:00:22.344Z] prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container [2024-11-08T03:00:22.373Z] $ 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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:00:25.454Z] $ docker top e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:00:25.827Z] ---> job-cost.sh [2024-11-08T03:00:25.827Z] lf-activate-venv: SKIPPING [2024-11-08T03:00:25.827Z] INFO: No Stack... [2024-11-08T03:00:26.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:00:26.655Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:00:26.946Z] + + cut -d, -f6 [2024-11-08T03:00:26.946Z] cat /w/workspace/xfoundry_device-modbus-go_PR-589/archives/cost.csv [Pipeline] lock [2024-11-08T03:00:26.963Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [2024-11-08T03:00:26.970Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] did not exist. Created. [2024-11-08T03:00:26.977Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:00:27.287Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:00:27.317Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:00:27.328Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:00:27.360Z] $ docker stop --time=1 e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f [2024-11-08T03:00:28.486Z] $ docker rm -f --volumes e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:01:09.058Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24965 in /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] { [Pipeline] ws [2024-11-08T03:01:09.078Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:01:12.131Z] The recommended git tool is: git [2024-11-08T03:01:18.574Z] using credential edgex-jenkins-ssh [2024-11-08T03:01:18.601Z] Cloning the remote Git repository [2024-11-08T03:01:18.674Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-08T03:01:18.817Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-11-08T03:01:18.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-08T03:01:18.984Z] > git --version # timeout=10 [2024-11-08T03:01:19.011Z] > git --version # 'git version 2.25.1' [2024-11-08T03:01:19.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:19.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:01:21.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-08T03:01:21.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:01:23.479Z] Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 6ff3c2f363e2507abfa48683d74813bb761c41a3 [2024-11-08T03:01:23.869Z] Merge succeeded, producing 6ff3c2f363e2507abfa48683d74813bb761c41a3 [2024-11-08T03:01:23.870Z] Checking out Revision 6ff3c2f363e2507abfa48683d74813bb761c41a3 (PR-589) [2024-11-08T03:01:22.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-08T03:01:22.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-08T03:01:22.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:22.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:01:23.508Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:01:23.617Z] > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 [2024-11-08T03:01:23.734Z] > git remote # timeout=10 [2024-11-08T03:01:23.758Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:01:23.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:01:23.809Z] > git merge dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 [2024-11-08T03:01:23.847Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:01:23.878Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:01:23.896Z] > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 [2024-11-08T03:01:27.785Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:01:29.664Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:01:29.664Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:01:29.664Z] Dload Upload Total Spent Left Speed [2024-11-08T03:01:29.664Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2024-11-08T03:01:30.032Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:01:30.392Z] + sudo+ jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-11-08T03:01:30.392Z] [2024-11-08T03:01:30.392Z] { [2024-11-08T03:01:30.392Z] "registry-mirrors": [ [2024-11-08T03:01:30.392Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:01:30.392Z] ], [2024-11-08T03:01:30.392Z] "bip": "10.250.0.254/24", [2024-11-08T03:01:30.392Z] "hosts": [ [2024-11-08T03:01:30.392Z] "tcp://0.0.0.0:5555", [2024-11-08T03:01:30.392Z] "unix:///var/run/docker.sock" [2024-11-08T03:01:30.392Z] ], [2024-11-08T03:01:30.392Z] "mtu": 1458, [2024-11-08T03:01:30.392Z] "selinux-enabled": true, [2024-11-08T03:01:30.392Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:01:30.392Z] } [Pipeline] sh [2024-11-08T03:01:30.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:01:31.172Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:01:49.601Z] provisioning config files... [2024-11-08T03:01:49.638Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config17637292724391461199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:01:50.132Z] ---> ****-login.sh [2024-11-08T03:01:50.132Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:01:50.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:50.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:50.744Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:50.744Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:50.744Z] [2024-11-08T03:01:50.744Z] Login Succeeded [2024-11-08T03:01:50.744Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:01:51.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:51.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:51.336Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:51.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:51.336Z] [2024-11-08T03:01:51.336Z] Login Succeeded [2024-11-08T03:01:51.336Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:01:51.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:51.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:51.878Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:51.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:51.878Z] [2024-11-08T03:01:51.878Z] Login Succeeded [2024-11-08T03:01:51.878Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:01:52.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:52.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:52.151Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:52.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:52.151Z] [2024-11-08T03:01:52.151Z] Login Succeeded [2024-11-08T03:01:52.151Z] ****.io [2024-11-08T03:01:52.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:52.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:52.693Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:52.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:52.693Z] [2024-11-08T03:01:52.693Z] Login Succeeded [2024-11-08T03:01:52.693Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:01:52.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:01:53.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:01:53.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:01:53.187Z] ========================================================= [2024-11-08T03:01:53.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:01:53.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:01:53.587Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:01:54.194Z] Sending build context to Docker daemon 9.136MB [2024-11-08T03:01:54.194Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:01:54.194Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T03:01:54.478Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:01:54.478Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:01:54.478Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:01:54.478Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:01:54.478Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:01:54.478Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:01:54.478Z] 80978eb59214: Pulling fs layer [2024-11-08T03:01:54.478Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:01:54.478Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:01:54.478Z] 4f4fb700ef54: Waiting [2024-11-08T03:01:54.478Z] c9f46d7d2bd2: Waiting [2024-11-08T03:01:54.478Z] c5a475d317c9: Waiting [2024-11-08T03:01:54.478Z] 80978eb59214: Waiting [2024-11-08T03:01:54.478Z] 50b3750afda1: Waiting [2024-11-08T03:01:54.478Z] 55b35a11ae5e: Download complete [2024-11-08T03:01:54.478Z] 50b3750afda1: Verifying Checksum [2024-11-08T03:01:54.478Z] 50b3750afda1: Download complete [2024-11-08T03:01:54.478Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:01:54.478Z] 4f4fb700ef54: Download complete [2024-11-08T03:01:54.478Z] 80978eb59214: Verifying Checksum [2024-11-08T03:01:54.478Z] 80978eb59214: Download complete [2024-11-08T03:01:54.752Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:01:54.752Z] cf04c63912e1: Download complete [2024-11-08T03:01:55.350Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:01:55.350Z] c5a475d317c9: Download complete [2024-11-08T03:01:55.628Z] cf04c63912e1: Pull complete [2024-11-08T03:01:56.610Z] 55b35a11ae5e: Pull complete [2024-11-08T03:01:56.882Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:01:56.882Z] a37a00ec5f00: Download complete [2024-11-08T03:01:57.867Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:01:57.867Z] c9f46d7d2bd2: Download complete [2024-11-08T03:02:12.895Z] a37a00ec5f00: Pull complete [2024-11-08T03:02:12.895Z] 50b3750afda1: Pull complete [2024-11-08T03:02:12.895Z] 4f4fb700ef54: Pull complete [2024-11-08T03:02:12.895Z] 80978eb59214: Pull complete [2024-11-08T03:02:19.561Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:02:20.975Z] c5a475d317c9: Pull complete [2024-11-08T03:02:20.975Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:02:20.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:02:20.975Z] ---> be29e6b0f0d4 [2024-11-08T03:02:20.975Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:02:22.405Z] ---> Running in 9f9d94b995ec [2024-11-08T03:02:22.405Z] Removing intermediate container 9f9d94b995ec [2024-11-08T03:02:22.405Z] ---> 5541035b0189 [2024-11-08T03:02:22.405Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:02:22.405Z] ---> Running in 479817b8e0c7 [2024-11-08T03:02:22.995Z] Removing intermediate container 479817b8e0c7 [2024-11-08T03:02:22.995Z] ---> 3dc48adebe4d [2024-11-08T03:02:22.995Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-08T03:02:22.995Z] ---> Running in 03f657d26d93 [2024-11-08T03:02:24.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:02:24.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:02:26.684Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-08T03:02:26.684Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-08T03:02:26.684Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-08T03:02:26.684Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:02:26.684Z] OK: 244 MiB in 62 packages [2024-11-08T03:02:28.142Z] Removing intermediate container 03f657d26d93 [2024-11-08T03:02:28.142Z] ---> e717aebacf15 [2024-11-08T03:02:28.142Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-08T03:02:28.416Z] ---> Running in 74939bc157b2 [2024-11-08T03:02:28.689Z] Removing intermediate container 74939bc157b2 [2024-11-08T03:02:28.689Z] ---> 8bd9c80283a2 [2024-11-08T03:02:28.689Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T03:02:29.289Z] ---> a16943460e30 [2024-11-08T03:02:29.289Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:02:29.592Z] ---> Running in 21896ef32e2a [2024-11-08T03:04:36.636Z] Removing intermediate container 21896ef32e2a [2024-11-08T03:04:36.636Z] ---> 24d370f97e6e [2024-11-08T03:04:36.636Z] Step 9/10 : COPY . . [2024-11-08T03:04:36.636Z] ---> 858fbe3f1215 [2024-11-08T03:04:36.636Z] Step 10/10 : RUN ${MAKE} [2024-11-08T03:04:36.636Z] ---> Running in cc9e542d98a6 [2024-11-08T03:04:36.636Z] noop [2024-11-08T03:04:36.636Z] Removing intermediate container cc9e542d98a6 [2024-11-08T03:04:36.636Z] ---> b35e8bb13c29 [2024-11-08T03:04:36.636Z] Successfully built b35e8bb13c29 [2024-11-08T03:04:36.636Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:37.035Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:04:37.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:37.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container [2024-11-08T03:04:37.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:04:38.864Z] $ docker top cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:39.738Z] + go version [2024-11-08T03:04:39.738Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:04:39.753Z] $ docker stop --time=1 cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f [2024-11-08T03:04:41.406Z] $ docker rm -f --volumes cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:42.025Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:04:42.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:42.227Z] prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container [2024-11-08T03:04:42.295Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:04:43.574Z] $ docker top 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:44.471Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:04:45.169Z] + make test [2024-11-08T03:04:45.169Z] go test ./... -coverprofile=coverage.out [2024-11-08T03:04:53.430Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-08T03:09:30.480Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-08T03:09:30.480Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 48.0% of statements [2024-11-08T03:09:32.455Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:09:32.455Z] go vet ./... [2024-11-08T03:10:54.235Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:10:54.235Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:10:54.235Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:10:54.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:10:54.282Z] $ docker stop --time=1 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f [2024-11-08T03:10:56.609Z] $ docker rm -f --volumes 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:10:58.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:10:58.932Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:10:59.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:11:00.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:11:00.656Z] + ls -al . [2024-11-08T03:11:00.657Z] total 256 [2024-11-08T03:11:00.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 . [2024-11-08T03:11:00.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:01 .. [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:01 .dockerignore [2024-11-08T03:11:00.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:01 .git [2024-11-08T03:11:00.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 .github [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 03:01 .gitignore [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:01 .golangci.yml [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 8 03:01 Attribution.txt [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 8 03:01 CHANGELOG.md [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 8 03:01 Dockerfile [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:01 GOVERNANCE.md [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 03:01 Jenkinsfile [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:01 LICENSE [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 8 03:01 Makefile [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 03:01 OWNERS.md [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 03:01 README.md [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION [2024-11-08T03:11:00.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:01 bin [2024-11-08T03:11:00.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 cmd [2024-11-08T03:11:00.657Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 8 03:09 coverage.out [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 8 03:01 go.mod [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 8 03:01 go.sum [2024-11-08T03:11:00.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 internal [2024-11-08T03:11:00.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:01 simulator [2024-11-08T03:11:00.657Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:11:01.079Z] + 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=6ff3c2f363e2507abfa48683d74813bb761c41a3 --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:11:01.702Z] Sending build context to Docker daemon 9.162MB [2024-11-08T03:11:01.702Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:11:01.702Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-08T03:11:01.702Z] ---> b35e8bb13c29 [2024-11-08T03:11:01.702Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:11:01.976Z] ---> Running in 4026a8bf343d [2024-11-08T03:11:02.252Z] Removing intermediate container 4026a8bf343d [2024-11-08T03:11:02.252Z] ---> c83332d0b5e2 [2024-11-08T03:11:02.252Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:11:02.527Z] ---> Running in 1ab25bae50e7 [2024-11-08T03:11:03.125Z] Removing intermediate container 1ab25bae50e7 [2024-11-08T03:11:03.125Z] ---> a6089c9c0ffd [2024-11-08T03:11:03.125Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-08T03:11:03.125Z] ---> Running in b4e87b1c4b11 [2024-11-08T03:11:04.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:04.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:06.821Z] OK: 244 MiB in 62 packages [2024-11-08T03:11:07.425Z] Removing intermediate container b4e87b1c4b11 [2024-11-08T03:11:07.425Z] ---> 166b929ae1ee [2024-11-08T03:11:07.425Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-08T03:11:07.698Z] ---> Running in c9eac1ea12ae [2024-11-08T03:11:08.293Z] Removing intermediate container c9eac1ea12ae [2024-11-08T03:11:08.293Z] ---> 179752ab19af [2024-11-08T03:11:08.293Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-08T03:11:08.889Z] ---> 7d02323f6f30 [2024-11-08T03:11:08.889Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:11:08.889Z] ---> Running in 5511f9bd875b [2024-11-08T03:11:12.290Z] Removing intermediate container 5511f9bd875b [2024-11-08T03:11:12.290Z] ---> 888e0ee40265 [2024-11-08T03:11:12.290Z] Step 9/23 : COPY . . [2024-11-08T03:11:13.276Z] ---> 80cbbf05678e [2024-11-08T03:11:13.276Z] Step 10/23 : RUN ${MAKE} [2024-11-08T03:11:13.547Z] ---> Running in 193c360d4fe0 [2024-11-08T03:11:14.962Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-08T03:16:07.007Z] Removing intermediate container 193c360d4fe0 [2024-11-08T03:16:07.008Z] ---> 8f68daafa5a1 [2024-11-08T03:16:07.008Z] Step 11/23 : FROM alpine:3.20 [2024-11-08T03:16:07.612Z] 3.20: Pulling from library/alpine [2024-11-08T03:16:07.612Z] cf04c63912e1: Already exists [2024-11-08T03:16:07.612Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:16:07.612Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:16:07.612Z] ---> c157a85ed455 [2024-11-08T03:16:07.612Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-08T03:16:07.883Z] ---> Running in 71559d0f7986 [2024-11-08T03:16:08.150Z] Removing intermediate container 71559d0f7986 [2024-11-08T03:16:08.150Z] ---> 4bfe6739a982 [2024-11-08T03:16:08.150Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:16:08.150Z] ---> Running in 2af98aacdb7f [2024-11-08T03:16:09.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:09.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:11.116Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:16:11.116Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:11.116Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:12.082Z] Removing intermediate container 2af98aacdb7f [2024-11-08T03:16:12.082Z] ---> c1a6909466ca [2024-11-08T03:16:12.082Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-08T03:16:12.356Z] ---> Running in e4d45d689e58 [2024-11-08T03:16:13.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:13.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:15.337Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:16:15.337Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:16:15.337Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:15.608Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:16:15.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:15.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:17.818Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:17.818Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:17.818Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:19.654Z] Removing intermediate container e4d45d689e58 [2024-11-08T03:16:19.654Z] ---> 29c90bdd14bd [2024-11-08T03:16:19.654Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-08T03:16:20.615Z] ---> 403bc2247ed0 [2024-11-08T03:16:20.615Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-08T03:16:20.882Z] ---> fd70db8f8a69 [2024-11-08T03:16:20.882Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-08T03:16:21.470Z] ---> 712188117802 [2024-11-08T03:16:21.470Z] Step 18/23 : EXPOSE 59901 [2024-11-08T03:16:21.738Z] ---> Running in d15a6750cd58 [2024-11-08T03:16:22.007Z] Removing intermediate container d15a6750cd58 [2024-11-08T03:16:22.007Z] ---> 20b24521779f [2024-11-08T03:16:22.007Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-08T03:16:22.007Z] ---> Running in c4277d6823c2 [2024-11-08T03:16:22.276Z] Removing intermediate container c4277d6823c2 [2024-11-08T03:16:22.276Z] ---> 5eb956eb551d [2024-11-08T03:16:22.276Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:16:22.545Z] ---> Running in 8a451e288594 [2024-11-08T03:16:22.813Z] Removing intermediate container 8a451e288594 [2024-11-08T03:16:22.813Z] ---> 84e840dda6e4 [2024-11-08T03:16:22.813Z] Step 21/23 : LABEL arch=arm64 [2024-11-08T03:16:22.813Z] ---> Running in 1520378c4b13 [2024-11-08T03:16:23.081Z] Removing intermediate container 1520378c4b13 [2024-11-08T03:16:23.081Z] ---> 53bfffa716f0 [2024-11-08T03:16:23.081Z] Step 22/23 : LABEL git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 [2024-11-08T03:16:23.350Z] ---> Running in acf4f849e3a5 [2024-11-08T03:16:23.617Z] Removing intermediate container acf4f849e3a5 [2024-11-08T03:16:23.617Z] ---> a97aed2e36d1 [2024-11-08T03:16:23.617Z] Step 23/23 : LABEL version=0.0.0 [2024-11-08T03:16:23.617Z] ---> Running in 67bffd9714e8 [2024-11-08T03:16:23.886Z] Removing intermediate container 67bffd9714e8 [2024-11-08T03:16:23.886Z] ---> c74d3aa7e7cd [2024-11-08T03:16:23.886Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:16:23.886Z] Successfully built c74d3aa7e7cd [2024-11-08T03:16:23.886Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:24.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:24.494Z] [2024-11-08T03:16:24.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:24.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:25.115Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:16:25.115Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:16:25.115Z] 04944245beec: Pulling fs layer [2024-11-08T03:16:25.115Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:16:25.115Z] 765212b225bb: Pulling fs layer [2024-11-08T03:16:25.115Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:16:25.115Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:16:25.115Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:16:25.115Z] 765212b225bb: Waiting [2024-11-08T03:16:25.115Z] f23df028b6ca: Waiting [2024-11-08T03:16:25.115Z] d65c8cfc05b1: Waiting [2024-11-08T03:16:25.115Z] 04944245beec: Verifying Checksum [2024-11-08T03:16:25.115Z] 04944245beec: Download complete [2024-11-08T03:16:25.115Z] 765212b225bb: Download complete [2024-11-08T03:16:25.115Z] f23df028b6ca: Download complete [2024-11-08T03:16:25.115Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:16:25.115Z] d65c8cfc05b1: Download complete [2024-11-08T03:16:25.391Z] 699f458cf7ca: Download complete [2024-11-08T03:16:25.986Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:16:25.986Z] 8998bd30e6a1: Download complete [2024-11-08T03:16:28.571Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:16:28.571Z] 2437ff75d9bd: Download complete [2024-11-08T03:16:30.522Z] 8998bd30e6a1: Pull complete [2024-11-08T03:16:31.115Z] 04944245beec: Pull complete [2024-11-08T03:16:33.075Z] 699f458cf7ca: Pull complete [2024-11-08T03:16:33.075Z] 765212b225bb: Pull complete [2024-11-08T03:16:34.042Z] f23df028b6ca: Pull complete [2024-11-08T03:16:34.042Z] d65c8cfc05b1: Pull complete [2024-11-08T03:16:52.257Z] 2437ff75d9bd: Pull complete [2024-11-08T03:16:52.257Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:16:52.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:52.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:16:52.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container [2024-11-08T03:16:52.541Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:16:55.802Z] $ docker top 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:16:56.675Z] ---> job-cost.sh [2024-11-08T03:16:56.675Z] lf-activate-venv: SKIPPING [2024-11-08T03:16:56.675Z] INFO: No Stack... [2024-11-08T03:16:56.942Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:16:57.908Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:16:58.564Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-11-08T03:16:58.564Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:16:58.638Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [2024-11-08T03:16:58.646Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] did not exist. Created. [2024-11-08T03:16:58.652Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:16:59.322Z] /w/workspace/device-modbus-go/2@tmp/durable-fa4cd307/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:16:59.970Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:17:00.002Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:17:00.063Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:17:00.074Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:17:00.087Z] $ docker stop --time=1 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 [2024-11-08T03:17:01.609Z] $ docker rm -f --volumes 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-08T03:17:02.193Z] provisioning config files... [2024-11-08T03:17:02.199Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config6408215429320344725tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:17:02.497Z] + set +x [2024-11-08T03:17:02.497Z] + curl -s https://codecov.io/bash [2024-11-08T03:17:02.497Z] + bash -s -- [2024-11-08T03:17:02.497Z] [2024-11-08T03:17:02.497Z] _____ _ [2024-11-08T03:17:02.497Z] / ____| | | [2024-11-08T03:17:02.497Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:17:02.497Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:17:02.497Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:17:02.497Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:17:02.497Z] Bash-1.0.6 [2024-11-08T03:17:02.497Z] [2024-11-08T03:17:02.497Z] [2024-11-08T03:17:02.497Z] ==> git version 2.25.1 found [2024-11-08T03:17:02.497Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-08T03:17:02.497Z] Release-Date: 2020-01-08 [2024-11-08T03:17:02.497Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-08T03:17:02.497Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:17:02.497Z] ==> Jenkins CI detected. [2024-11-08T03:17:02.497Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-589 [2024-11-08T03:17:02.497Z] project root: . [2024-11-08T03:17:02.497Z] --> token set from env [2024-11-08T03:17:02.497Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:17:02.497Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:17:02.497Z] ==> Python coveragepy not found [2024-11-08T03:17:02.497Z] ==> Searching for coverage reports in: [2024-11-08T03:17:02.497Z] + . [2024-11-08T03:17:02.497Z] -> Found 1 reports [2024-11-08T03:17:02.497Z] ==> Detecting git/mercurial file structure [2024-11-08T03:17:02.497Z] ==> Reading reports [2024-11-08T03:17:02.497Z] + ./coverage.out bytes=25464 [2024-11-08T03:17:02.497Z] ==> Appending adjustments [2024-11-08T03:17:02.497Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:17:02.756Z] + Found adjustments [2024-11-08T03:17:02.756Z] ==> Gzipping contents [2024-11-08T03:17:02.756Z] 4.0K /tmp/codecov.0cInBj.gz [2024-11-08T03:17:02.756Z] ==> Uploading reports [2024-11-08T03:17:02.756Z] url: https://codecov.io [2024-11-08T03:17:02.757Z] query: branch=PR-589&commit=6ff3c2f363e2507abfa48683d74813bb761c41a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= [2024-11-08T03:17:02.757Z] -> Pinging Codecov [2024-11-08T03:17:02.757Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-589&commit=6ff3c2f363e2507abfa48683d74813bb761c41a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= [2024-11-08T03:17:03.015Z] -> Uploading to [2024-11-08T03:17:03.015Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/6ff3c2f363e2507abfa48683d74813bb761c41a3/0b04d121-b9ac-4405-8e25-6afb7bdd7753.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T031702Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=28a2bb8879bc2b1e0cae6458081500e938305543504ec866f93e89f7c0134724 [2024-11-08T03:17:03.015Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:17:03.015Z] Dload Upload Total Spent Left Speed [2024-11-08T03:17:03.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 17475 --:--:-- --:--:-- --:--:-- 17475 [2024-11-08T03:17:03.275Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] } [2024-11-08T03:17:03.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-08T03:17:04.131Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-589/archives ] [2024-11-08T03:17:04.131Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-08T03:17:04.131Z] total 16 [2024-11-08T03:17:04.131Z] drwxr-xr-x 3 root root 4096 Nov 8 03:00 . [2024-11-08T03:17:04.131Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. [2024-11-08T03:17:04.131Z] drwxr-xr-x 2 root root 4096 Nov 8 03:00 cost [2024-11-08T03:17:04.131Z] -rw-r--r-- 1 root root 88 Nov 8 03:00 cost.csv [2024-11-08T03:17:04.131Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-08T03:17:04.131Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-08T03:17:04.131Z] total 16 [2024-11-08T03:17:04.131Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:00 . [2024-11-08T03:17:04.131Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. [2024-11-08T03:17:04.131Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:00 cost [2024-11-08T03:17:04.131Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 8 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:04.425Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:05.279Z] ---> package-listing.sh [2024-11-08T03:17:05.279Z] ++ facter osfamily [2024-11-08T03:17:05.279Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:17:05.538Z] + OS_FAMILY=debian [2024-11-08T03:17:05.538Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-589 [2024-11-08T03:17:05.538Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:05.538Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:05.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:17:05.538Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:05.538Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' [2024-11-08T03:17:05.538Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:05.538Z] + case "${OS_FAMILY}" in [2024-11-08T03:17:05.538Z] + dpkg -l [2024-11-08T03:17:05.538Z] + grep '^ii' [2024-11-08T03:17:05.538Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:17:05.538Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:17:05.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:17:05.538Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' [2024-11-08T03:17:05.538Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ [2024-11-08T03:17:05.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ [Pipeline] echo [2024-11-08T03:17:05.551Z] 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-589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:17:05.830Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:17:06.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:17:06.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:17:06.486Z] prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container [2024-11-08T03:17:06.513Z] $ 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-589/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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:17:06.888Z] $ docker top 085f2e3bea6428ca295e02215f53ecff2fd54e42dbd1e1e06ddfeeb90229b33e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:17:07.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:17:07.693Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:17:07.992Z] + ls /var/log/sa-host [2024-11-08T03:17:07.992Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:17:08.080Z] provisioning config files... [2024-11-08T03:17:08.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config3586244740289569302tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:17:08.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:08.401Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:17:08.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:08.742Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:17:08.750Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:09.031Z] ---> sudo-logs.sh [2024-11-08T03:17:09.031Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:17:09.069Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:09.356Z] ---> job-cost.sh [2024-11-08T03:17:09.356Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:09.356Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:17:09.356Z] INFO: Retrieving Stack Cost... [2024-11-08T03:17:09.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:17:10.184Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:17:10.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:10.476Z] ---> logs-deploy.sh [2024-11-08T03:17:10.476Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:10.476Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-589/2 [2024-11-08T03:17:10.476Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:17:11.412Z] Archives upload complete. [2024-11-08T03:17:11.670Z] INFO: archiving logs to Nexus