Pull request #570 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c320f389388fcbae9636e4d1a98f124dc4a6b380+34e0713d5cb4423ba00455ee6be9f8bcdcba86ed (201ce232d14d4cf8ea8fc048987d49a5d7f1e2d8) 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-ssh7978800737925806465.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh1902911822206873784.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-570/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-570/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9815952781915950344.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-570/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15379435588168950442.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11923018889293023612.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-570/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-570/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9348350243616925560.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9424 in /w/workspace/xfoundry_device-modbus-go_PR-570 [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-570 # 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 Merging remotes/origin/main commit 34e0713d5cb4423ba00455ee6be9f8bcdcba86ed into PR head commit c320f389388fcbae9636e4d1a98f124dc4a6b380 Merge succeeded, producing c320f389388fcbae9636e4d1a98f124dc4a6b380 Checking out Revision c320f389388fcbae9636e4d1a98f124dc4a6b380 (PR-570) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > 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/570/head:refs/remotes/origin/PR-570 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c320f389388fcbae9636e4d1a98f124dc4a6b380 # 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 34e0713d5cb4423ba00455ee6be9f8bcdcba86ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c320f389388fcbae9636e4d1a98f124dc4a6b380 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-04T05:52:39.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-04T05:52:39.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-04T05:52:40.116Z] ========================================================= [2024-09-04T05:52:40.116Z] EdgeX Global Pipelines Version Info [2024-09-04T05:52:40.116Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-04T05:52:40.890Z] ------------------- [2024-09-04T05:52:40.891Z] stable info: [2024-09-04T05:52:40.891Z] ------------------- [2024-09-04T05:52:40.891Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-04T05:52:40.891Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-04T05:52:40.891Z] Message: update stable to v1.0.263 [2024-09-04T05:52:41.461Z] ------------------- [2024-09-04T05:52:41.461Z] experimental info: [2024-09-04T05:52:41.461Z] ------------------- [2024-09-04T05:52:41.461Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-04T05:52:41.461Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-04T05:52:41.461Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-04T05:52:41.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-09-04T05:52:41.760Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-09-04T05:52:41.819Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-04T05:52:41.879Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-04T05:52:41.935Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-04T05:52:41.991Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-04T05:52:42.047Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-04T05:52:42.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-04T05:52:42.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-04T05:52:42.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-04T05:52:42.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-04T05:52:42.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-09-04T05:52:42.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-04T05:52:42.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-04T05:52:42.545Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-04T05:52:42.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-04T05:52:42.662Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-04T05:52:42.719Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-04T05:52:42.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-04T05:52:42.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-04T05:52:42.906Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-04T05:52:42.964Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-04T05:52:43.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-04T05:52:43.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-04T05:52:43.136Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-04T05:52:43.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-04T05:52:43.245Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-04T05:52:43.306Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-570 [Pipeline] echo [2024-09-04T05:52:43.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-570 [Pipeline] echo [2024-09-04T05:52:43.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-570 [Pipeline] echo [2024-09-04T05:52:43.488Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c320f389388fcbae9636e4d1a98f124dc4a6b380 [Pipeline] echo [2024-09-04T05:52:43.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c320f38 [Pipeline] echo [2024-09-04T05:52:43.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-04T05:52:43.755Z] provisioning config files... [2024-09-04T05:52:43.769Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/config12279601397970179202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-04T05:52:44.170Z] ---> ****-login.sh [2024-09-04T05:52:44.170Z] nexus3.edgexfoundry.org:10001 [2024-09-04T05:52:44.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:52:44.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:52:44.432Z] Configure a credential helper to remove this warning. See [2024-09-04T05:52:44.432Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:52:44.432Z] [2024-09-04T05:52:44.432Z] Login Succeeded [2024-09-04T05:52:44.432Z] nexus3.edgexfoundry.org:10002 [2024-09-04T05:52:44.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:52:44.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:52:44.693Z] Configure a credential helper to remove this warning. See [2024-09-04T05:52:44.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:52:44.693Z] [2024-09-04T05:52:44.693Z] Login Succeeded [2024-09-04T05:52:44.693Z] nexus3.edgexfoundry.org:10003 [2024-09-04T05:52:44.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:52:44.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:52:44.694Z] Configure a credential helper to remove this warning. See [2024-09-04T05:52:44.694Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:52:44.694Z] [2024-09-04T05:52:44.694Z] Login Succeeded [2024-09-04T05:52:44.694Z] nexus3.edgexfoundry.org:10004 [2024-09-04T05:52:44.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:52:44.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:52:44.954Z] Configure a credential helper to remove this warning. See [2024-09-04T05:52:44.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:52:44.954Z] [2024-09-04T05:52:44.954Z] Login Succeeded [2024-09-04T05:52:44.954Z] ****.io [2024-09-04T05:52:44.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:52:45.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:52:45.213Z] Configure a credential helper to remove this warning. See [2024-09-04T05:52:45.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:52:45.213Z] [2024-09-04T05:52:45.213Z] Login Succeeded [2024-09-04T05:52:45.213Z] ---> ****-login.sh ends [Pipeline] } [2024-09-04T05:52:45.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-04T05:52:45.962Z] + git rev-list -1 --merges c320f389388fcbae9636e4d1a98f124dc4a6b380~1..c320f389388fcbae9636e4d1a98f124dc4a6b380 [Pipeline] echo [2024-09-04T05:52:46.011Z] -----------> git rev-list -1 --merges c320f389388fcbae9636e4d1a98f124dc4a6b380~1..c320f389388fcbae9636e4d1a98f124dc4a6b380 c320f389388fcbae9636e4d1a98f124dc4a6b380 [false] [Pipeline] sh [2024-09-04T05:52:46.336Z] + git log --format=format:%s -1 c320f389388fcbae9636e4d1a98f124dc4a6b380 [Pipeline] echo [2024-09-04T05:52:46.383Z] ========================================================= [2024-09-04T05:52:46.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-04T05:52:46.383Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-04T05:52:46.864Z] + git log --format=format:%s -1 c320f389388fcbae9636e4d1a98f124dc4a6b380 [Pipeline] echo [2024-09-04T05:52:46.902Z] [semverPrep] GIT_COMMIT: c320f389388fcbae9636e4d1a98f124dc4a6b380, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-04T05:52:46.955Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-04T05:52:47.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-04T05:52:47.380Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-04T05:52:47.380Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-04T05:52:47.380Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-04T05:52:47.380Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-04T05:52:47.380Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-04T05:52:47.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:52:47.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-04T05:52:47.910Z] [2024-09-04T05:52:47.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:52:48.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-04T05:52:48.308Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-04T05:52:48.308Z] b85a868b505f: Pulling fs layer [2024-09-04T05:52:48.308Z] e2be974225ed: Pulling fs layer [2024-09-04T05:52:48.308Z] 339a4e72a1f5: Pulling fs layer [2024-09-04T05:52:48.308Z] 988bab9f4d93: Pulling fs layer [2024-09-04T05:52:48.308Z] 1469e6f7b9e6: Pulling fs layer [2024-09-04T05:52:48.308Z] eaf3925da568: Pulling fs layer [2024-09-04T05:52:48.308Z] bab4dde63d76: Pulling fs layer [2024-09-04T05:52:48.308Z] bde34c3a00c8: Pulling fs layer [2024-09-04T05:52:48.308Z] b352a97aabf1: Pulling fs layer [2024-09-04T05:52:48.308Z] 4872d77fe225: Pulling fs layer [2024-09-04T05:52:48.308Z] 5851b861e8e6: Pulling fs layer [2024-09-04T05:52:48.308Z] 988bab9f4d93: Waiting [2024-09-04T05:52:48.308Z] eaf3925da568: Waiting [2024-09-04T05:52:48.308Z] bab4dde63d76: Waiting [2024-09-04T05:52:48.308Z] bde34c3a00c8: Waiting [2024-09-04T05:52:48.308Z] b352a97aabf1: Waiting [2024-09-04T05:52:48.308Z] 4872d77fe225: Waiting [2024-09-04T05:52:48.308Z] e2be974225ed: Download complete [2024-09-04T05:52:48.308Z] 988bab9f4d93: Verifying Checksum [2024-09-04T05:52:48.308Z] 988bab9f4d93: Download complete [2024-09-04T05:52:48.577Z] 1469e6f7b9e6: Verifying Checksum [2024-09-04T05:52:48.577Z] 1469e6f7b9e6: Download complete [2024-09-04T05:52:48.577Z] eaf3925da568: Verifying Checksum [2024-09-04T05:52:48.577Z] eaf3925da568: Download complete [2024-09-04T05:52:48.577Z] 339a4e72a1f5: Verifying Checksum [2024-09-04T05:52:48.577Z] 339a4e72a1f5: Download complete [2024-09-04T05:52:48.577Z] bde34c3a00c8: Verifying Checksum [2024-09-04T05:52:48.577Z] bde34c3a00c8: Download complete [2024-09-04T05:52:48.577Z] b352a97aabf1: Verifying Checksum [2024-09-04T05:52:48.577Z] b352a97aabf1: Download complete [2024-09-04T05:52:48.577Z] 4872d77fe225: Verifying Checksum [2024-09-04T05:52:48.577Z] 4872d77fe225: Download complete [2024-09-04T05:52:48.577Z] 5851b861e8e6: Verifying Checksum [2024-09-04T05:52:48.577Z] 5851b861e8e6: Download complete [2024-09-04T05:52:48.577Z] b85a868b505f: Verifying Checksum [2024-09-04T05:52:48.577Z] b85a868b505f: Download complete [2024-09-04T05:52:48.839Z] bab4dde63d76: Verifying Checksum [2024-09-04T05:52:48.839Z] bab4dde63d76: Download complete [2024-09-04T05:52:50.226Z] b85a868b505f: Pull complete [2024-09-04T05:52:50.226Z] e2be974225ed: Pull complete [2024-09-04T05:52:50.489Z] 339a4e72a1f5: Pull complete [2024-09-04T05:52:50.753Z] 988bab9f4d93: Pull complete [2024-09-04T05:52:51.013Z] 1469e6f7b9e6: Pull complete [2024-09-04T05:52:51.013Z] eaf3925da568: Pull complete [2024-09-04T05:52:52.928Z] bab4dde63d76: Pull complete [2024-09-04T05:52:52.928Z] bde34c3a00c8: Pull complete [2024-09-04T05:52:53.188Z] b352a97aabf1: Pull complete [2024-09-04T05:52:53.188Z] 4872d77fe225: Pull complete [2024-09-04T05:52:53.188Z] 5851b861e8e6: Pull complete [2024-09-04T05:52:53.188Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-04T05:52:53.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-04T05:52:53.188Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:52:53.480Z] prd-ubuntu20.04-docker-8c-8g-9424 does not seem to be running inside a container [2024-09-04T05:52:53.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-570 -v /w/workspace/xfoundry_device-modbus-go_PR-570:/w/workspace/xfoundry_device-modbus-go_PR-570:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-570@tmp:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-04T05:52:55.846Z] $ docker top afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff -eo pid,comm [2024-09-04T05:52:55.906Z] 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-09-04T05:52:55.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-04T05:52:56.080Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-04T05:52:56.080Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-04T05:52:56.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-04T05:52:56.205Z] $ docker exec afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff ssh-agent [2024-09-04T05:52:56.316Z] SSH_AUTH_SOCK=/tmp/ssh-288exu1n9Tgl/agent.32 [2024-09-04T05:52:56.316Z] SSH_AGENT_PID=38 [2024-09-04T05:52:56.322Z] Running ssh-add (command line suppressed) [2024-09-04T05:52:56.430Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-570@tmp/private_key_65772792515713877.key (/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/private_key_65772792515713877.key) [2024-09-04T05:52:56.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-04T05:52:56.801Z] + git tag --points-at HEAD [Pipeline] } [2024-09-04T05:52:56.823Z] $ docker exec --env ******** --env ******** afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff ssh-agent -k [2024-09-04T05:52:56.920Z] unset SSH_AUTH_SOCK; [2024-09-04T05:52:56.921Z] unset SSH_AGENT_PID; [2024-09-04T05:52:56.921Z] echo Agent pid 38 killed; [2024-09-04T05:52:56.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-04T05:52:57.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-04T05:52:57.042Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-04T05:52:57.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-04T05:52:57.160Z] $ docker exec afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff ssh-agent [2024-09-04T05:52:57.287Z] SSH_AUTH_SOCK=/tmp/ssh-XX8c5DYANAIm/agent.71 [2024-09-04T05:52:57.287Z] SSH_AGENT_PID=77 [2024-09-04T05:52:57.291Z] Running ssh-add (command line suppressed) [2024-09-04T05:52:57.399Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-570@tmp/private_key_8687197964010156960.key (/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/private_key_8687197964010156960.key) [2024-09-04T05:52:57.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-04T05:52:57.773Z] + git semver init [2024-09-04T05:52:58.033Z] 2024-09-04 05:52:57,960 [run_init] DEBUG init version:0.0.0 force:False [2024-09-04T05:52:58.033Z] 2024-09-04 05:52:57,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-570/.semver [2024-09-04T05:52:58.033Z] 2024-09-04 05:52:57,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-570/.semver [2024-09-04T05:52:58.033Z] 2024-09-04 05:52:57,962 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-570/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-570, universal_newlines=False, shell=None, istream=None) [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,067 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-570/.git/info/exclude [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-570/.semver/PR-570 with force:False [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,067 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-570/.semver/PR-570 [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,072 [execute] INFO git cat-file --batch-check [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-570/.semver, universal_newlines=False, shell=None, istream=) [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,079 [execute] INFO git cat-file --batch [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-570/.semver, universal_newlines=False, shell=None, istream=) [2024-09-04T05:52:59.413Z] 2024-09-04 05:52:59,085 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-570/.semver/PR-570 [2024-09-04T05:52:59.413Z] 0.0.0 [Pipeline] } [2024-09-04T05:52:59.447Z] $ docker exec --env ******** --env ******** afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff ssh-agent -k [2024-09-04T05:52:59.566Z] unset SSH_AUTH_SOCK; [2024-09-04T05:52:59.567Z] unset SSH_AGENT_PID; [2024-09-04T05:52:59.568Z] echo Agent pid 77 killed; [2024-09-04T05:52:59.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-04T05:53:00.035Z] + git semver [Pipeline] } [2024-09-04T05:53:00.322Z] $ docker stop --time=1 afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff [2024-09-04T05:53:01.625Z] $ docker rm -f --volumes afa7c74bd42f655babb261f1ca6c9b122e7c8a13330c5f0201b93d259e9fcaff [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-04T05:53:02.060Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-04T05:53:02.381Z] Stashed 1 file(s) [Pipeline] echo [2024-09-04T05:53:02.409Z] [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-09-04T05:53:03.123Z] provisioning config files... [2024-09-04T05:53:03.135Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/config15955915134853055602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-04T05:53:03.499Z] ---> ****-login.sh [2024-09-04T05:53:03.499Z] nexus3.edgexfoundry.org:10001 [2024-09-04T05:53:03.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:53:03.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:53:03.500Z] Configure a credential helper to remove this warning. See [2024-09-04T05:53:03.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:53:03.500Z] [2024-09-04T05:53:03.500Z] Login Succeeded [2024-09-04T05:53:03.500Z] nexus3.edgexfoundry.org:10002 [2024-09-04T05:53:03.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:53:03.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:53:03.500Z] Configure a credential helper to remove this warning. See [2024-09-04T05:53:03.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:53:03.500Z] [2024-09-04T05:53:03.500Z] Login Succeeded [2024-09-04T05:53:03.500Z] nexus3.edgexfoundry.org:10003 [2024-09-04T05:53:03.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:53:03.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:53:03.759Z] Configure a credential helper to remove this warning. See [2024-09-04T05:53:03.759Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:53:03.759Z] [2024-09-04T05:53:03.759Z] Login Succeeded [2024-09-04T05:53:03.759Z] nexus3.edgexfoundry.org:10004 [2024-09-04T05:53:03.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:53:03.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:53:03.759Z] Configure a credential helper to remove this warning. See [2024-09-04T05:53:03.759Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:53:03.759Z] [2024-09-04T05:53:03.759Z] Login Succeeded [2024-09-04T05:53:03.759Z] ****.io [2024-09-04T05:53:04.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:53:04.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:53:04.017Z] Configure a credential helper to remove this warning. See [2024-09-04T05:53:04.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:53:04.017Z] [2024-09-04T05:53:04.017Z] Login Succeeded [2024-09-04T05:53:04.017Z] ---> ****-login.sh ends [Pipeline] } [2024-09-04T05:53:04.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-04T05:53:04.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-04T05:53:04.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-04T05:53:04.347Z] ========================================================= [2024-09-04T05:53:04.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-04T05:53:04.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:53:04.850Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-04T05:53:04.850Z] Sending build context to Docker daemon 17.93MB [2024-09-04T05:53:04.850Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-04T05:53:04.850Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-04T05:53:05.109Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-04T05:53:05.109Z] 619be1103602: Pulling fs layer [2024-09-04T05:53:05.109Z] 7862e08f4a3e: Pulling fs layer [2024-09-04T05:53:05.109Z] 5df492c9dc93: Pulling fs layer [2024-09-04T05:53:05.109Z] 7629e6793208: Pulling fs layer [2024-09-04T05:53:05.109Z] 4f4fb700ef54: Pulling fs layer [2024-09-04T05:53:05.109Z] fb5054dd5b73: Pulling fs layer [2024-09-04T05:53:05.109Z] eeca6798cff9: Pulling fs layer [2024-09-04T05:53:05.109Z] aa269ceb94a6: Pulling fs layer [2024-09-04T05:53:05.109Z] ada007ff1a6a: Pulling fs layer [2024-09-04T05:53:05.109Z] 4f4fb700ef54: Waiting [2024-09-04T05:53:05.109Z] fb5054dd5b73: Waiting [2024-09-04T05:53:05.109Z] eeca6798cff9: Waiting [2024-09-04T05:53:05.109Z] aa269ceb94a6: Waiting [2024-09-04T05:53:05.109Z] ada007ff1a6a: Waiting [2024-09-04T05:53:05.109Z] 7629e6793208: Waiting [2024-09-04T05:53:05.109Z] 7862e08f4a3e: Download complete [2024-09-04T05:53:05.109Z] 7629e6793208: Verifying Checksum [2024-09-04T05:53:05.109Z] 7629e6793208: Download complete [2024-09-04T05:53:05.109Z] 4f4fb700ef54: Verifying Checksum [2024-09-04T05:53:05.109Z] 4f4fb700ef54: Download complete [2024-09-04T05:53:05.109Z] 619be1103602: Verifying Checksum [2024-09-04T05:53:05.109Z] 619be1103602: Download complete [2024-09-04T05:53:05.109Z] fb5054dd5b73: Download complete [2024-09-04T05:53:05.109Z] eeca6798cff9: Verifying Checksum [2024-09-04T05:53:05.109Z] eeca6798cff9: Download complete [2024-09-04T05:53:05.109Z] 619be1103602: Pull complete [2024-09-04T05:53:05.369Z] ada007ff1a6a: Verifying Checksum [2024-09-04T05:53:05.369Z] ada007ff1a6a: Download complete [2024-09-04T05:53:05.369Z] 7862e08f4a3e: Pull complete [2024-09-04T05:53:05.369Z] 5df492c9dc93: Verifying Checksum [2024-09-04T05:53:05.369Z] 5df492c9dc93: Download complete [2024-09-04T05:53:05.937Z] aa269ceb94a6: Verifying Checksum [2024-09-04T05:53:09.223Z] 5df492c9dc93: Pull complete [2024-09-04T05:53:09.223Z] 7629e6793208: Pull complete [2024-09-04T05:53:09.223Z] 4f4fb700ef54: Pull complete [2024-09-04T05:53:09.223Z] fb5054dd5b73: Pull complete [2024-09-04T05:53:09.223Z] eeca6798cff9: Pull complete [2024-09-04T05:53:11.760Z] aa269ceb94a6: Pull complete [2024-09-04T05:53:12.329Z] ada007ff1a6a: Pull complete [2024-09-04T05:53:12.329Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-04T05:53:12.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-04T05:53:12.329Z] ---> f489d0715acc [2024-09-04T05:53:12.329Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-09-04T05:53:15.625Z] ---> Running in 022caa5122fa [2024-09-04T05:53:15.625Z] Removing intermediate container 022caa5122fa [2024-09-04T05:53:15.625Z] ---> b6da0b7cab39 [2024-09-04T05:53:15.625Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-04T05:53:15.625Z] ---> Running in 7e0cdcb4aa25 [2024-09-04T05:53:15.625Z] Removing intermediate container 7e0cdcb4aa25 [2024-09-04T05:53:15.625Z] ---> 294718e0a597 [2024-09-04T05:53:15.625Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-09-04T05:53:15.625Z] ---> Running in 88ffa22d0e04 [2024-09-04T05:53:16.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-04T05:53:17.922Z] Still waiting to schedule task [2024-09-04T05:53:17.923Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-04T05:53:18.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-04T05:53:18.994Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-09-04T05:53:18.994Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-09-04T05:53:18.994Z] (8/8) Installing openssh (9.3_p2-r2) [2024-09-04T05:53:18.994Z] Executing busybox-1.36.1-r5.trigger [2024-09-04T05:53:18.994Z] OK: 270 MiB in 60 packages [2024-09-04T05:53:19.563Z] Removing intermediate container 88ffa22d0e04 [2024-09-04T05:53:19.563Z] ---> ab6be3d1e537 [2024-09-04T05:53:19.563Z] Step 6/10 : WORKDIR /device-modbus-go [2024-09-04T05:53:19.563Z] ---> Running in c5bd1bbeeb91 [2024-09-04T05:53:19.563Z] Removing intermediate container c5bd1bbeeb91 [2024-09-04T05:53:19.563Z] ---> 3e2aed82321f [2024-09-04T05:53:19.563Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-04T05:53:19.822Z] ---> 1a8f177703c4 [2024-09-04T05:53:19.822Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-04T05:53:19.822Z] ---> Running in 21faf5e0ae92 [2024-09-04T05:54:16.069Z] Removing intermediate container 21faf5e0ae92 [2024-09-04T05:54:16.069Z] ---> 5492b76fdf8b [2024-09-04T05:54:16.069Z] Step 9/10 : COPY . . [2024-09-04T05:54:16.069Z] ---> a748f6d30d75 [2024-09-04T05:54:16.069Z] Step 10/10 : RUN ${MAKE} [2024-09-04T05:54:16.069Z] ---> Running in 6e0155e00fa9 [2024-09-04T05:54:16.069Z] noop [2024-09-04T05:54:16.069Z] Removing intermediate container 6e0155e00fa9 [2024-09-04T05:54:16.069Z] ---> ca7374e85888 [2024-09-04T05:54:16.069Z] Successfully built ca7374e85888 [2024-09-04T05:54:16.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:54:16.552Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-04T05:54:16.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:54:16.717Z] prd-ubuntu20.04-docker-8c-8g-9424 does not seem to be running inside a container [2024-09-04T05:54:16.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-570 -v /w/workspace/xfoundry_device-modbus-go_PR-570:/w/workspace/xfoundry_device-modbus-go_PR-570:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-570@tmp:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-04T05:54:17.080Z] $ docker top 2146dc557f15f04b7bc3a8cf658391bed4dee3f0bac9692e6a23ac7818ab3bdb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-04T05:54:17.495Z] + go version [2024-09-04T05:54:17.495Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-04T05:54:17.530Z] $ docker stop --time=1 2146dc557f15f04b7bc3a8cf658391bed4dee3f0bac9692e6a23ac7818ab3bdb [2024-09-04T05:54:18.781Z] $ docker rm -f --volumes 2146dc557f15f04b7bc3a8cf658391bed4dee3f0bac9692e6a23ac7818ab3bdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:54:19.576Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-04T05:54:19.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:54:19.747Z] prd-ubuntu20.04-docker-8c-8g-9424 does not seem to be running inside a container [2024-09-04T05:54:19.775Z] $ 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-570 -v /w/workspace/xfoundry_device-modbus-go_PR-570:/w/workspace/xfoundry_device-modbus-go_PR-570:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-570@tmp:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-04T05:54:20.101Z] $ docker top 1bc26a558c5697e853f34cbe5cca23bd0a3b401f4e3a2f5a9bf10061f4fb8505 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-04T05:54:20.515Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-570 [Pipeline] fileExists [Pipeline] sh [2024-09-04T05:54:20.894Z] + make test [2024-09-04T05:54:20.894Z] go test ./... -coverprofile=coverage.out [2024-09-04T05:54:22.272Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-09-04T05:54:40.354Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-09-04T05:54:40.354Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-09-04T05:54:48.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9425 in /w/workspace/xfoundry_device-modbus-go_PR-570 [Pipeline] { [Pipeline] ws [2024-09-04T05:54:48.562Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-09-04T05:54:48.667Z] The recommended git tool is: git [2024-09-04T05:54:50.323Z] go vet ./... [2024-09-04T05:54:53.256Z] using credential edgex-jenkins-ssh [2024-09-04T05:54:53.279Z] Cloning the remote Git repository [2024-09-04T05:54:53.313Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-09-04T05:54:53.399Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-09-04T05:54:53.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-09-04T05:54:53.523Z] > git --version # timeout=10 [2024-09-04T05:54:53.544Z] > git --version # 'git version 2.25.1' [2024-09-04T05:54:53.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-04T05:54:53.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-04T05:54:55.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-04T05:54:55.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-04T05:54:55.590Z] ./bin/test-attribution-txt.sh [2024-09-04T05:54:55.590Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-04T05:54:55.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-04T05:54:55.669Z] $ docker stop --time=1 1bc26a558c5697e853f34cbe5cca23bd0a3b401f4e3a2f5a9bf10061f4fb8505 [2024-09-04T05:54:55.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-09-04T05:54:55.564Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-04T05:54:56.994Z] Merging remotes/origin/main commit 34e0713d5cb4423ba00455ee6be9f8bcdcba86ed into PR head commit c320f389388fcbae9636e4d1a98f124dc4a6b380 [2024-09-04T05:54:57.300Z] Merge succeeded, producing c320f389388fcbae9636e4d1a98f124dc4a6b380 [2024-09-04T05:54:57.301Z] Checking out Revision c320f389388fcbae9636e4d1a98f124dc4a6b380 (PR-570) [2024-09-04T05:54:56.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-09-04T05:54:56.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-09-04T05:54:56.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-04T05:54:56.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-04T05:54:57.022Z] > git config core.sparsecheckout # timeout=10 [2024-09-04T05:54:57.096Z] > git checkout -f c320f389388fcbae9636e4d1a98f124dc4a6b380 # timeout=10 [2024-09-04T05:54:57.177Z] > git remote # timeout=10 [2024-09-04T05:54:57.197Z] > git config --get remote.origin.url # timeout=10 [2024-09-04T05:54:57.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-04T05:54:57.250Z] > git merge 34e0713d5cb4423ba00455ee6be9f8bcdcba86ed # timeout=10 [2024-09-04T05:54:57.276Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-04T05:54:57.302Z] > git config core.sparsecheckout # timeout=10 [2024-09-04T05:54:57.314Z] > git checkout -f c320f389388fcbae9636e4d1a98f124dc4a6b380 # timeout=10 [2024-09-04T05:54:57.866Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-09-04T05:54:57.908Z] > git --version # timeout=10 [2024-09-04T05:54:57.921Z] > git --version # 'git version 2.25.1' [2024-09-04T05:54:57.938Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-04T05:55:01.018Z] $ docker rm -f --volumes 1bc26a558c5697e853f34cbe5cca23bd0a3b401f4e3a2f5a9bf10061f4fb8505 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-04T05:55:01.629Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-04T05:55:01.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-04T05:55:02.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-04T05:55:02.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-04T05:55:02.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-04T05:55:02.954Z] Dload Upload Total Spent Left Speed [2024-09-04T05:55:02.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-09-04T05:55:02.993Z] + ls -al . [2024-09-04T05:55:02.993Z] total 272 [2024-09-04T05:55:02.993Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 4 05:54 . [2024-09-04T05:55:02.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 05:52 .. [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 4 05:52 .dockerignore [2024-09-04T05:55:02.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 05:54 .git [2024-09-04T05:55:02.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:52 .github [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 266 Sep 4 05:52 .gitignore [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 4 05:52 .golangci.yml [2024-09-04T05:55:02.993Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 05:52 .semver [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 19432 Sep 4 05:52 Attribution.txt [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 16388 Sep 4 05:52 CHANGELOG.md [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 1474 Sep 4 05:52 Dockerfile [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 05:52 GOVERNANCE.md [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 658 Sep 4 05:52 Jenkinsfile [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 4 05:52 LICENSE [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 1942 Sep 4 05:52 Makefile [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 4 05:52 OWNERS.md [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 4463 Sep 4 05:52 README.md [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 4 05:53 VERSION [2024-09-04T05:55:02.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 05:52 bin [2024-09-04T05:55:02.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:52 cmd [2024-09-04T05:55:02.993Z] -rw-r--r-- 1 jenkins jenkins 24601 Sep 4 05:54 coverage.out [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 7185 Sep 4 05:52 go.mod [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 102015 Sep 4 05:52 go.sum [2024-09-04T05:55:02.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:52 internal [2024-09-04T05:55:02.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 05:52 simulator [2024-09-04T05:55:02.993Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 4 05:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:55:03.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-04T05:55:03.487Z] + 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=c320f389388fcbae9636e4d1a98f124dc4a6b380 --label arch=amd64 --label version=0.0.0 . [2024-09-04T05:55:03.487Z] Sending build context to Docker daemon 17.95MB [2024-09-04T05:55:03.487Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-09-04T05:55:03.487Z] Step 2/23 : FROM ${BASE} AS builder [2024-09-04T05:55:03.487Z] ---> ca7374e85888 [2024-09-04T05:55:03.487Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-09-04T05:55:03.638Z] + sudo tee /etc/docker/daemon.new [2024-09-04T05:55:03.638Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-04T05:55:03.638Z] { [2024-09-04T05:55:03.638Z] "registry-mirrors": [ [2024-09-04T05:55:03.638Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-04T05:55:03.638Z] ], [2024-09-04T05:55:03.638Z] "bip": "10.250.0.254/24", [2024-09-04T05:55:03.638Z] "hosts": [ [2024-09-04T05:55:03.638Z] "tcp://0.0.0.0:5555", [2024-09-04T05:55:03.638Z] "unix:///var/run/docker.sock" [2024-09-04T05:55:03.638Z] ], [2024-09-04T05:55:03.638Z] "mtu": 1458, [2024-09-04T05:55:03.638Z] "selinux-enabled": true, [2024-09-04T05:55:03.638Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-04T05:55:03.638Z] } [Pipeline] sh [2024-09-04T05:55:03.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-04T05:55:04.056Z] ---> Running in f9c63ed2971b [2024-09-04T05:55:04.056Z] Removing intermediate container f9c63ed2971b [2024-09-04T05:55:04.056Z] ---> b44605aa9e6f [2024-09-04T05:55:04.056Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-04T05:55:04.056Z] ---> Running in 1bbb4cc27ccb [2024-09-04T05:55:04.056Z] Removing intermediate container 1bbb4cc27ccb [2024-09-04T05:55:04.056Z] ---> d079c1d43210 [2024-09-04T05:55:04.056Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-09-04T05:55:04.315Z] ---> Running in a2d51f4b7e5a [2024-09-04T05:55:04.323Z] + sudo service docker restart [2024-09-04T05:55:04.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:04.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:04.837Z] OK: 270 MiB in 60 packages [2024-09-04T05:55:05.096Z] Removing intermediate container a2d51f4b7e5a [2024-09-04T05:55:05.096Z] ---> 3deb3c9641cf [2024-09-04T05:55:05.096Z] Step 6/23 : WORKDIR /device-modbus-go [2024-09-04T05:55:05.096Z] ---> Running in d365f832ddcf [2024-09-04T05:55:05.355Z] Removing intermediate container d365f832ddcf [2024-09-04T05:55:05.355Z] ---> 52876c57e96c [2024-09-04T05:55:05.355Z] Step 7/23 : COPY go.mod vendor* ./ [2024-09-04T05:55:05.355Z] ---> 9dec220175c3 [2024-09-04T05:55:05.355Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-04T05:55:05.355Z] ---> Running in fa1b0f79cadf [2024-09-04T05:55:06.765Z] Removing intermediate container fa1b0f79cadf [2024-09-04T05:55:06.765Z] ---> 0d718856e6c9 [2024-09-04T05:55:06.765Z] Step 9/23 : COPY . . [2024-09-04T05:55:07.334Z] ---> 84b7bdc658ac [2024-09-04T05:55:07.334Z] Step 10/23 : RUN ${MAKE} [2024-09-04T05:55:07.334Z] ---> Running in 919f0a806585 [2024-09-04T05:55:07.593Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-04T05:55:22.665Z] provisioning config files... [2024-09-04T05:55:22.699Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1714032535173469275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-04T05:55:23.195Z] ---> ****-login.sh [2024-09-04T05:55:23.195Z] nexus3.edgexfoundry.org:10001 [2024-09-04T05:55:23.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:55:23.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:55:23.738Z] Configure a credential helper to remove this warning. See [2024-09-04T05:55:23.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:55:23.738Z] [2024-09-04T05:55:23.738Z] Login Succeeded [2024-09-04T05:55:23.738Z] nexus3.edgexfoundry.org:10002 [2024-09-04T05:55:24.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:55:24.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:55:24.273Z] Configure a credential helper to remove this warning. See [2024-09-04T05:55:24.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:55:24.273Z] [2024-09-04T05:55:24.273Z] Login Succeeded [2024-09-04T05:55:24.273Z] nexus3.edgexfoundry.org:10003 [2024-09-04T05:55:24.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:55:24.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:55:24.544Z] Configure a credential helper to remove this warning. See [2024-09-04T05:55:24.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:55:24.544Z] [2024-09-04T05:55:24.544Z] Login Succeeded [2024-09-04T05:55:24.544Z] nexus3.edgexfoundry.org:10004 [2024-09-04T05:55:24.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:55:24.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:55:24.813Z] Configure a credential helper to remove this warning. See [2024-09-04T05:55:24.813Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:55:24.813Z] [2024-09-04T05:55:24.813Z] Login Succeeded [2024-09-04T05:55:24.813Z] ****.io [2024-09-04T05:55:25.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-04T05:55:25.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-04T05:55:25.357Z] Configure a credential helper to remove this warning. See [2024-09-04T05:55:25.357Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-04T05:55:25.357Z] [2024-09-04T05:55:25.357Z] Login Succeeded [2024-09-04T05:55:25.357Z] ---> ****-login.sh ends [Pipeline] } [2024-09-04T05:55:25.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-04T05:55:25.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-04T05:55:25.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-04T05:55:25.970Z] ========================================================= [2024-09-04T05:55:25.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-04T05:55:25.970Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:55:26.509Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-04T05:55:26.781Z] Sending build context to Docker daemon 9.097MB [2024-09-04T05:55:26.781Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-04T05:55:26.781Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-04T05:55:27.052Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-04T05:55:27.052Z] c6b39de5b339: Pulling fs layer [2024-09-04T05:55:27.052Z] a69c41024577: Pulling fs layer [2024-09-04T05:55:27.052Z] d6de4b400683: Pulling fs layer [2024-09-04T05:55:27.052Z] 35cb2a7552d0: Pulling fs layer [2024-09-04T05:55:27.052Z] 4f4fb700ef54: Pulling fs layer [2024-09-04T05:55:27.052Z] 35cb2a7552d0: Waiting [2024-09-04T05:55:27.052Z] 4f4fb700ef54: Waiting [2024-09-04T05:55:27.052Z] 464afbd9ba4c: Pulling fs layer [2024-09-04T05:55:27.052Z] 00f215d4a9da: Pulling fs layer [2024-09-04T05:55:27.052Z] d496ad576159: Pulling fs layer [2024-09-04T05:55:27.052Z] 464afbd9ba4c: Waiting [2024-09-04T05:55:27.052Z] 00f215d4a9da: Waiting [2024-09-04T05:55:27.052Z] d496ad576159: Waiting [2024-09-04T05:55:27.052Z] a69c41024577: Verifying Checksum [2024-09-04T05:55:27.052Z] a69c41024577: Download complete [2024-09-04T05:55:27.052Z] 35cb2a7552d0: Verifying Checksum [2024-09-04T05:55:27.052Z] 35cb2a7552d0: Download complete [2024-09-04T05:55:27.052Z] 4f4fb700ef54: Verifying Checksum [2024-09-04T05:55:27.052Z] 4f4fb700ef54: Download complete [2024-09-04T05:55:27.052Z] 464afbd9ba4c: Verifying Checksum [2024-09-04T05:55:27.052Z] 464afbd9ba4c: Download complete [2024-09-04T05:55:27.322Z] c6b39de5b339: Verifying Checksum [2024-09-04T05:55:27.322Z] c6b39de5b339: Download complete [2024-09-04T05:55:27.593Z] d496ad576159: Verifying Checksum [2024-09-04T05:55:27.593Z] d496ad576159: Download complete [2024-09-04T05:55:28.182Z] c6b39de5b339: Pull complete [2024-09-04T05:55:28.769Z] a69c41024577: Pull complete [2024-09-04T05:55:29.038Z] d6de4b400683: Verifying Checksum [2024-09-04T05:55:29.038Z] d6de4b400683: Download complete [2024-09-04T05:55:30.004Z] 00f215d4a9da: Verifying Checksum [2024-09-04T05:55:30.005Z] 00f215d4a9da: Download complete [2024-09-04T05:55:42.336Z] d6de4b400683: Pull complete [2024-09-04T05:55:42.336Z] 35cb2a7552d0: Pull complete [2024-09-04T05:55:42.336Z] 4f4fb700ef54: Pull complete [2024-09-04T05:55:42.336Z] 464afbd9ba4c: Pull complete [2024-09-04T05:55:46.316Z] Removing intermediate container 919f0a806585 [2024-09-04T05:55:46.316Z] ---> fbe991e5c0a4 [2024-09-04T05:55:46.316Z] Step 11/23 : FROM alpine:3.18 [2024-09-04T05:55:46.316Z] 3.18: Pulling from library/alpine [2024-09-04T05:55:46.316Z] 930bdd4d222e: Pulling fs layer [2024-09-04T05:55:46.316Z] 930bdd4d222e: Verifying Checksum [2024-09-04T05:55:46.316Z] 930bdd4d222e: Download complete [2024-09-04T05:55:46.316Z] 930bdd4d222e: Pull complete [2024-09-04T05:55:46.316Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-04T05:55:46.316Z] Status: Downloaded newer image for alpine:3.18 [2024-09-04T05:55:46.316Z] ---> 18f865063206 [2024-09-04T05:55:46.316Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-09-04T05:55:46.316Z] ---> Running in 2f28c4dda1f0 [2024-09-04T05:55:46.316Z] Removing intermediate container 2f28c4dda1f0 [2024-09-04T05:55:46.316Z] ---> 310e0212c84c [2024-09-04T05:55:46.316Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-09-04T05:55:46.316Z] ---> Running in ccf8a5d86ab7 [2024-09-04T05:55:46.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:46.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:46.316Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-04T05:55:46.316Z] Executing busybox-1.36.1-r7.trigger [2024-09-04T05:55:46.316Z] OK: 7 MiB in 16 packages [2024-09-04T05:55:46.316Z] Removing intermediate container ccf8a5d86ab7 [2024-09-04T05:55:46.316Z] ---> 961b45a05bfd [2024-09-04T05:55:46.316Z] Step 14/23 : RUN apk --no-cache upgrade [2024-09-04T05:55:46.316Z] ---> Running in d13ea5ee5b18 [2024-09-04T05:55:46.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:46.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-04T05:55:46.316Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-04T05:55:46.316Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-04T05:55:46.316Z] OK: 7 MiB in 16 packages [2024-09-04T05:55:46.927Z] Removing intermediate container d13ea5ee5b18 [2024-09-04T05:55:46.927Z] ---> 237bd91ef27b [2024-09-04T05:55:46.927Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-09-04T05:55:48.549Z] ---> ae03911dbef3 [2024-09-04T05:55:48.549Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-09-04T05:55:48.549Z] ---> 18afcb0f6311 [2024-09-04T05:55:48.549Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-09-04T05:55:48.549Z] ---> 493291190266 [2024-09-04T05:55:48.549Z] Step 18/23 : EXPOSE 59901 [2024-09-04T05:55:48.549Z] ---> Running in 8c6ae162c8b7 [2024-09-04T05:55:48.549Z] Removing intermediate container 8c6ae162c8b7 [2024-09-04T05:55:48.549Z] ---> 9a0640da691b [2024-09-04T05:55:48.549Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-09-04T05:55:48.549Z] ---> Running in a3f6ec3f0781 [2024-09-04T05:55:48.811Z] Removing intermediate container a3f6ec3f0781 [2024-09-04T05:55:48.811Z] ---> 735e8e7a08c7 [2024-09-04T05:55:48.811Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-04T05:55:48.811Z] ---> Running in bf511384b00d [2024-09-04T05:55:48.811Z] Removing intermediate container bf511384b00d [2024-09-04T05:55:48.811Z] ---> 39453f47f274 [2024-09-04T05:55:48.811Z] Step 21/23 : LABEL arch=amd64 [2024-09-04T05:55:48.811Z] ---> Running in 6b3213964560 [2024-09-04T05:55:48.811Z] Removing intermediate container 6b3213964560 [2024-09-04T05:55:48.811Z] ---> a2ec892f7e90 [2024-09-04T05:55:48.811Z] Step 22/23 : LABEL git_sha=c320f389388fcbae9636e4d1a98f124dc4a6b380 [2024-09-04T05:55:48.811Z] ---> Running in 73a5426a4faa [2024-09-04T05:55:49.071Z] Removing intermediate container 73a5426a4faa [2024-09-04T05:55:49.071Z] ---> 93ed6702742e [2024-09-04T05:55:49.071Z] Step 23/23 : LABEL version=0.0.0 [2024-09-04T05:55:49.071Z] ---> Running in a4a26fe7a351 [2024-09-04T05:55:49.071Z] Removing intermediate container a4a26fe7a351 [2024-09-04T05:55:49.071Z] ---> 8f07591be7a8 [2024-09-04T05:55:49.071Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-04T05:55:49.071Z] Successfully built 8f07591be7a8 [2024-09-04T05:55:49.071Z] 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-09-04T05:55:50.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-04T05:55:50.115Z] [2024-09-04T05:55:50.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:55:50.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-04T05:55:50.527Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-04T05:55:50.527Z] 5eb5b503b376: Pulling fs layer [2024-09-04T05:55:50.527Z] 5c69ac0246d0: Pulling fs layer [2024-09-04T05:55:50.527Z] ec43610c2a17: Pulling fs layer [2024-09-04T05:55:50.527Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-04T05:55:50.527Z] 33b1e0a273af: Pulling fs layer [2024-09-04T05:55:50.527Z] 5d3b04190fa2: Pulling fs layer [2024-09-04T05:55:50.527Z] 3a2ae6a8a46f: Waiting [2024-09-04T05:55:50.527Z] 33b1e0a273af: Waiting [2024-09-04T05:55:50.527Z] 2f39f015ded8: Pulling fs layer [2024-09-04T05:55:50.527Z] 5d3b04190fa2: Waiting [2024-09-04T05:55:50.527Z] 2f39f015ded8: Waiting [2024-09-04T05:55:50.527Z] 5c69ac0246d0: Download complete [2024-09-04T05:55:50.527Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-04T05:55:50.527Z] 3a2ae6a8a46f: Download complete [2024-09-04T05:55:50.527Z] 33b1e0a273af: Verifying Checksum [2024-09-04T05:55:50.527Z] 33b1e0a273af: Download complete [2024-09-04T05:55:50.527Z] ec43610c2a17: Verifying Checksum [2024-09-04T05:55:50.527Z] ec43610c2a17: Download complete [2024-09-04T05:55:50.527Z] 5d3b04190fa2: Verifying Checksum [2024-09-04T05:55:50.527Z] 5d3b04190fa2: Download complete [2024-09-04T05:55:50.788Z] 5eb5b503b376: Verifying Checksum [2024-09-04T05:55:50.788Z] 5eb5b503b376: Download complete [2024-09-04T05:55:51.356Z] 2f39f015ded8: Download complete [2024-09-04T05:55:52.305Z] 5eb5b503b376: Pull complete [2024-09-04T05:55:52.305Z] 5c69ac0246d0: Pull complete [2024-09-04T05:55:52.549Z] 00f215d4a9da: Pull complete [2024-09-04T05:55:52.822Z] d496ad576159: Pull complete [2024-09-04T05:55:52.823Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-04T05:55:52.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-04T05:55:52.823Z] ---> f246e2811388 [2024-09-04T05:55:52.823Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-09-04T05:55:52.874Z] ec43610c2a17: Pull complete [2024-09-04T05:55:52.874Z] 3a2ae6a8a46f: Pull complete [2024-09-04T05:55:53.134Z] 33b1e0a273af: Pull complete [2024-09-04T05:55:53.134Z] 5d3b04190fa2: Pull complete [2024-09-04T05:55:54.783Z] ---> Running in dea33a89c7f4 [2024-09-04T05:55:54.783Z] Removing intermediate container dea33a89c7f4 [2024-09-04T05:55:54.783Z] ---> b310cc3000aa [2024-09-04T05:55:54.783Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-04T05:55:54.783Z] ---> Running in 21363d49ef2b [2024-09-04T05:55:55.053Z] Removing intermediate container 21363d49ef2b [2024-09-04T05:55:55.053Z] ---> 25071c008901 [2024-09-04T05:55:55.053Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-09-04T05:55:55.323Z] ---> Running in 109b7b4356b5 [2024-09-04T05:55:56.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-04T05:55:56.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-04T05:55:57.839Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-09-04T05:55:57.839Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-09-04T05:55:57.839Z] (8/8) Installing openssh (9.3_p2-r2) [2024-09-04T05:55:57.839Z] Executing busybox-1.36.1-r5.trigger [2024-09-04T05:55:58.107Z] OK: 272 MiB in 60 packages [2024-09-04T05:55:58.404Z] 2f39f015ded8: Pull complete [2024-09-04T05:55:58.404Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-04T05:55:58.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-04T05:55:58.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:55:58.677Z] prd-ubuntu20.04-docker-8c-8g-9424 does not seem to be running inside a container [2024-09-04T05:55:58.707Z] $ 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-570 -v /w/workspace/xfoundry_device-modbus-go_PR-570:/w/workspace/xfoundry_device-modbus-go_PR-570:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-570@tmp:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-04T05:55:59.071Z] Removing intermediate container 109b7b4356b5 [2024-09-04T05:55:59.071Z] ---> ca7a659de421 [2024-09-04T05:55:59.071Z] Step 6/10 : WORKDIR /device-modbus-go [2024-09-04T05:55:59.071Z] ---> Running in b69847103f79 [2024-09-04T05:55:59.337Z] Removing intermediate container b69847103f79 [2024-09-04T05:55:59.337Z] ---> ed83b9e09b99 [2024-09-04T05:55:59.337Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-04T05:55:59.919Z] ---> afecf32eb45a [2024-09-04T05:55:59.919Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-04T05:55:59.919Z] ---> Running in 416ff79e818a [2024-09-04T05:56:04.462Z] $ docker top 659b87fe34502d928a12383abb0868a0f0f09c7c68d3c3f3310711680f1f4391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-04T05:56:05.007Z] ---> job-cost.sh [2024-09-04T05:56:05.007Z] lf-activate-venv: SKIPPING [2024-09-04T05:56:05.007Z] INFO: No Stack... [2024-09-04T05:56:05.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-04T05:56:05.527Z] INFO: Archiving Costs [Pipeline] sh [2024-09-04T05:56:05.851Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-570/archives/cost.csv [2024-09-04T05:56:05.852Z] + cut -d, -f6 [Pipeline] lock [2024-09-04T05:56:05.911Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [2024-09-04T05:56:05.918Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] did not exist. Created. [2024-09-04T05:56:05.927Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-04T05:56:06.446Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-04T05:56:06.507Z] Stashed 1 file(s) [Pipeline] } [2024-09-04T05:56:06.544Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-04T05:56:06.636Z] $ docker stop --time=1 659b87fe34502d928a12383abb0868a0f0f09c7c68d3c3f3310711680f1f4391 [2024-09-04T05:56:07.806Z] $ docker rm -f --volumes 659b87fe34502d928a12383abb0868a0f0f09c7c68d3c3f3310711680f1f4391 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-04T05:57:51.723Z] Removing intermediate container 416ff79e818a [2024-09-04T05:57:51.723Z] ---> 09527ab1fb89 [2024-09-04T05:57:51.723Z] Step 9/10 : COPY . . [2024-09-04T05:57:51.723Z] ---> f4863876be8a [2024-09-04T05:57:51.723Z] Step 10/10 : RUN ${MAKE} [2024-09-04T05:57:51.723Z] ---> Running in 0e5593f1d983 [2024-09-04T05:57:51.723Z] noop [2024-09-04T05:57:51.723Z] Removing intermediate container 0e5593f1d983 [2024-09-04T05:57:51.723Z] ---> 2dd0119f2d78 [2024-09-04T05:57:51.723Z] Successfully built 2dd0119f2d78 [2024-09-04T05:57:51.723Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:57:52.261Z] + docker inspect -f . ci-base-image-arm64 [2024-09-04T05:57:52.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:57:52.568Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2024-09-04T05:57:52.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-04T05:57:53.851Z] $ docker top da0422762f575e8c1951ca1a5872089d4c77ec2f7d2a151f58fd7a6cfdbbbaed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-04T05:57:54.776Z] + go version [2024-09-04T05:57:54.776Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-04T05:57:54.809Z] $ docker stop --time=1 da0422762f575e8c1951ca1a5872089d4c77ec2f7d2a151f58fd7a6cfdbbbaed [2024-09-04T05:57:56.432Z] $ docker rm -f --volumes da0422762f575e8c1951ca1a5872089d4c77ec2f7d2a151f58fd7a6cfdbbbaed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T05:57:57.406Z] + docker inspect -f . ci-base-image-arm64 [2024-09-04T05:57:57.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T05:57:57.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2024-09-04T05:57:57.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-04T05:57:58.935Z] $ docker top dc59f8d17f0b840ee6c5cf7c228cd1673566413e8995a09418580cd2c05f575d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-04T05:57:59.833Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-04T05:58:00.554Z] + make test [2024-09-04T05:58:00.554Z] go test ./... -coverprofile=coverage.out [2024-09-04T05:58:07.208Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-09-04T06:01:44.179Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-09-04T06:01:44.179Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 47.9% of statements [2024-09-04T06:01:44.179Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-04T06:01:44.179Z] go vet ./... [2024-09-04T06:02:31.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-04T06:02:31.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-04T06:02:31.039Z] ./bin/test-attribution-txt.sh [2024-09-04T06:02:31.039Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-04T06:02:31.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-04T06:02:31.126Z] $ docker stop --time=1 dc59f8d17f0b840ee6c5cf7c228cd1673566413e8995a09418580cd2c05f575d [2024-09-04T06:02:32.941Z] $ docker rm -f --volumes dc59f8d17f0b840ee6c5cf7c228cd1673566413e8995a09418580cd2c05f575d [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-04T06:02:34.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-04T06:02:34.575Z] Warning: overwriting stash ‘coverage-report’ [2024-09-04T06:02:34.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-04T06:02:35.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-04T06:02:35.959Z] + ls -al . [2024-09-04T06:02:35.959Z] total 268 [2024-09-04T06:02:35.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 05:58 . [2024-09-04T06:02:35.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 05:54 .. [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 4 05:54 .dockerignore [2024-09-04T06:02:35.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 05:55 .git [2024-09-04T06:02:35.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:54 .github [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 266 Sep 4 05:54 .gitignore [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 4 05:54 .golangci.yml [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 19432 Sep 4 05:54 Attribution.txt [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 16388 Sep 4 05:54 CHANGELOG.md [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 1474 Sep 4 05:54 Dockerfile [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 05:54 GOVERNANCE.md [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 658 Sep 4 05:54 Jenkinsfile [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 4 05:54 LICENSE [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 1942 Sep 4 05:54 Makefile [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 4 05:54 OWNERS.md [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 4463 Sep 4 05:54 README.md [2024-09-04T06:02:35.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 4 05:53 VERSION [2024-09-04T06:02:35.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 05:54 bin [2024-09-04T06:02:35.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:54 cmd [2024-09-04T06:02:35.960Z] -rw-r--r-- 1 jenkins jenkins 24601 Sep 4 06:01 coverage.out [2024-09-04T06:02:35.960Z] -rw-rw-r-- 1 jenkins jenkins 7185 Sep 4 05:54 go.mod [2024-09-04T06:02:35.960Z] -rw-rw-r-- 1 jenkins jenkins 102015 Sep 4 05:54 go.sum [2024-09-04T06:02:35.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 05:54 internal [2024-09-04T06:02:35.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 05:54 simulator [2024-09-04T06:02:35.960Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 4 05:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T06:02:36.408Z] + 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=c320f389388fcbae9636e4d1a98f124dc4a6b380 --label arch=arm64 --label version=0.0.0 . [2024-09-04T06:02:36.989Z] Sending build context to Docker daemon 9.123MB [2024-09-04T06:02:36.989Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-09-04T06:02:36.989Z] Step 2/23 : FROM ${BASE} AS builder [2024-09-04T06:02:36.989Z] ---> 2dd0119f2d78 [2024-09-04T06:02:36.989Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-09-04T06:02:36.989Z] ---> Running in c1449d3e4d29 [2024-09-04T06:02:37.260Z] Removing intermediate container c1449d3e4d29 [2024-09-04T06:02:37.260Z] ---> 11f5822dc389 [2024-09-04T06:02:37.260Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-04T06:02:37.527Z] ---> Running in a599d794f01a [2024-09-04T06:02:37.794Z] Removing intermediate container a599d794f01a [2024-09-04T06:02:37.794Z] ---> 258066e1a493 [2024-09-04T06:02:37.794Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-09-04T06:02:37.794Z] ---> Running in 4fef7be64ebc [2024-09-04T06:02:38.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-04T06:02:39.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-04T06:02:40.296Z] OK: 272 MiB in 60 packages [2024-09-04T06:02:40.884Z] Removing intermediate container 4fef7be64ebc [2024-09-04T06:02:40.884Z] ---> c0cc5feacd62 [2024-09-04T06:02:40.884Z] Step 6/23 : WORKDIR /device-modbus-go [2024-09-04T06:02:40.884Z] ---> Running in 511ddc096b59 [2024-09-04T06:02:41.149Z] Removing intermediate container 511ddc096b59 [2024-09-04T06:02:41.149Z] ---> a2c43a3a1b72 [2024-09-04T06:02:41.149Z] Step 7/23 : COPY go.mod vendor* ./ [2024-09-04T06:02:41.730Z] ---> 8235d6a1cab7 [2024-09-04T06:02:41.730Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-04T06:02:41.730Z] ---> Running in e05919a14423 [2024-09-04T06:02:44.306Z] Removing intermediate container e05919a14423 [2024-09-04T06:02:44.306Z] ---> 0fcfe9401b85 [2024-09-04T06:02:44.306Z] Step 9/23 : COPY . . [2024-09-04T06:02:45.265Z] ---> a4ca443df8d1 [2024-09-04T06:02:45.265Z] Step 10/23 : RUN ${MAKE} [2024-09-04T06:02:45.265Z] ---> Running in 6af678663c3e [2024-09-04T06:02:46.224Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-09-04T06:06:08.369Z] Removing intermediate container 6af678663c3e [2024-09-04T06:06:08.369Z] ---> 567225ae26cd [2024-09-04T06:06:08.369Z] Step 11/23 : FROM alpine:3.18 [2024-09-04T06:06:08.369Z] 3.18: Pulling from library/alpine [2024-09-04T06:06:08.369Z] 4983c3fe2029: Pulling fs layer [2024-09-04T06:06:08.369Z] 4983c3fe2029: Download complete [2024-09-04T06:06:08.369Z] 4983c3fe2029: Pull complete [2024-09-04T06:06:08.369Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-04T06:06:08.369Z] Status: Downloaded newer image for alpine:3.18 [2024-09-04T06:06:08.369Z] ---> a0237000ae83 [2024-09-04T06:06:08.369Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-09-04T06:06:08.369Z] ---> Running in b8acd682475a [2024-09-04T06:06:08.369Z] Removing intermediate container b8acd682475a [2024-09-04T06:06:08.369Z] ---> df00efd52bf7 [2024-09-04T06:06:08.369Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-09-04T06:06:08.369Z] ---> Running in 366f100c23f1 [2024-09-04T06:06:08.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-04T06:06:08.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-04T06:06:08.369Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-04T06:06:08.369Z] Executing busybox-1.36.1-r7.trigger [2024-09-04T06:06:08.369Z] OK: 8 MiB in 16 packages [2024-09-04T06:06:08.369Z] Removing intermediate container 366f100c23f1 [2024-09-04T06:06:08.369Z] ---> 0a7f41c26986 [2024-09-04T06:06:08.369Z] Step 14/23 : RUN apk --no-cache upgrade [2024-09-04T06:06:08.369Z] ---> Running in 54b0556d8f2b [2024-09-04T06:06:09.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-04T06:06:09.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-04T06:06:10.544Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-04T06:06:10.544Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-04T06:06:10.544Z] OK: 8 MiB in 16 packages [2024-09-04T06:06:11.947Z] Removing intermediate container 54b0556d8f2b [2024-09-04T06:06:11.947Z] ---> 4a2ebe55b32d [2024-09-04T06:06:11.947Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-09-04T06:06:13.349Z] ---> 886a54064a2d [2024-09-04T06:06:13.349Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-09-04T06:06:13.928Z] ---> 0eaf7f4ac751 [2024-09-04T06:06:13.928Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-09-04T06:06:14.196Z] ---> e80fb5d6fa82 [2024-09-04T06:06:14.196Z] Step 18/23 : EXPOSE 59901 [2024-09-04T06:06:14.465Z] ---> Running in 4167c935160d [2024-09-04T06:06:14.732Z] Removing intermediate container 4167c935160d [2024-09-04T06:06:14.732Z] ---> 80f3dff1e445 [2024-09-04T06:06:14.732Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-09-04T06:06:14.732Z] ---> Running in 569cfde0c33b [2024-09-04T06:06:14.999Z] Removing intermediate container 569cfde0c33b [2024-09-04T06:06:14.999Z] ---> 09139d8ff131 [2024-09-04T06:06:14.999Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-04T06:06:14.999Z] ---> Running in 90d6a064bf58 [2024-09-04T06:06:15.264Z] Removing intermediate container 90d6a064bf58 [2024-09-04T06:06:15.264Z] ---> c1639ff5c4a6 [2024-09-04T06:06:15.264Z] Step 21/23 : LABEL arch=arm64 [2024-09-04T06:06:15.529Z] ---> Running in 607e1821f437 [2024-09-04T06:06:15.796Z] Removing intermediate container 607e1821f437 [2024-09-04T06:06:15.796Z] ---> 9967078d699f [2024-09-04T06:06:15.796Z] Step 22/23 : LABEL git_sha=c320f389388fcbae9636e4d1a98f124dc4a6b380 [2024-09-04T06:06:15.796Z] ---> Running in 5976d2ff8d94 [2024-09-04T06:06:16.062Z] Removing intermediate container 5976d2ff8d94 [2024-09-04T06:06:16.062Z] ---> 4fb256b3aad3 [2024-09-04T06:06:16.062Z] Step 23/23 : LABEL version=0.0.0 [2024-09-04T06:06:16.062Z] ---> Running in 05434ae4c906 [2024-09-04T06:06:16.327Z] Removing intermediate container 05434ae4c906 [2024-09-04T06:06:16.327Z] ---> 25443a82cdb5 [2024-09-04T06:06:16.327Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-04T06:06:16.327Z] Successfully built 25443a82cdb5 [2024-09-04T06:06:16.327Z] 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-09-04T06:06:17.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-04T06:06:17.540Z] [2024-09-04T06:06:17.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T06:06:17.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-04T06:06:17.978Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-04T06:06:17.978Z] 8998bd30e6a1: Pulling fs layer [2024-09-04T06:06:17.978Z] 04944245beec: Pulling fs layer [2024-09-04T06:06:17.978Z] 699f458cf7ca: Pulling fs layer [2024-09-04T06:06:17.978Z] 765212b225bb: Pulling fs layer [2024-09-04T06:06:17.978Z] f23df028b6ca: Pulling fs layer [2024-09-04T06:06:17.978Z] d65c8cfc05b1: Pulling fs layer [2024-09-04T06:06:17.978Z] 2437ff75d9bd: Pulling fs layer [2024-09-04T06:06:17.978Z] f23df028b6ca: Waiting [2024-09-04T06:06:17.978Z] d65c8cfc05b1: Waiting [2024-09-04T06:06:17.978Z] 2437ff75d9bd: Waiting [2024-09-04T06:06:17.978Z] 765212b225bb: Waiting [2024-09-04T06:06:18.245Z] 04944245beec: Verifying Checksum [2024-09-04T06:06:18.245Z] 04944245beec: Download complete [2024-09-04T06:06:18.245Z] 765212b225bb: Verifying Checksum [2024-09-04T06:06:18.245Z] 765212b225bb: Download complete [2024-09-04T06:06:18.245Z] f23df028b6ca: Verifying Checksum [2024-09-04T06:06:18.245Z] f23df028b6ca: Download complete [2024-09-04T06:06:18.245Z] d65c8cfc05b1: Verifying Checksum [2024-09-04T06:06:18.245Z] d65c8cfc05b1: Download complete [2024-09-04T06:06:18.512Z] 699f458cf7ca: Verifying Checksum [2024-09-04T06:06:18.512Z] 699f458cf7ca: Download complete [2024-09-04T06:06:18.778Z] 8998bd30e6a1: Verifying Checksum [2024-09-04T06:06:18.778Z] 8998bd30e6a1: Download complete [2024-09-04T06:06:21.356Z] 2437ff75d9bd: Verifying Checksum [2024-09-04T06:06:21.356Z] 2437ff75d9bd: Download complete [2024-09-04T06:06:23.296Z] 8998bd30e6a1: Pull complete [2024-09-04T06:06:23.879Z] 04944245beec: Pull complete [2024-09-04T06:06:25.289Z] 699f458cf7ca: Pull complete [2024-09-04T06:06:25.555Z] 765212b225bb: Pull complete [2024-09-04T06:06:26.517Z] f23df028b6ca: Pull complete [2024-09-04T06:06:26.784Z] d65c8cfc05b1: Pull complete [2024-09-04T06:06:44.981Z] 2437ff75d9bd: Pull complete [2024-09-04T06:06:44.981Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-04T06:06:44.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-04T06:06:44.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T06:06:45.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2024-09-04T06:06:45.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-04T06:06:48.029Z] $ docker top 58ada7cab2a0777cabf662c4b7c3c059495aebf507c619f2877d45019efe562c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:06:48.953Z] ---> job-cost.sh [2024-09-04T06:06:48.953Z] lf-activate-venv: SKIPPING [2024-09-04T06:06:48.953Z] INFO: No Stack... [2024-09-04T06:06:49.535Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-04T06:06:50.117Z] INFO: Archiving Costs [Pipeline] sh [2024-09-04T06:06:50.782Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-09-04T06:06:50.782Z] + cut -d, -f6 [Pipeline] lock [2024-09-04T06:06:50.863Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [2024-09-04T06:06:50.869Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] did not exist. Created. [2024-09-04T06:06:50.875Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-04T06:06:51.594Z] /w/workspace/device-modbus-go/1@tmp/durable-a18dd5c8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-04T06:06:52.267Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-04T06:06:52.313Z] Warning: overwriting stash ‘stack-cost’ [2024-09-04T06:06:52.358Z] Stashed 1 file(s) [Pipeline] } [2024-09-04T06:06:52.379Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-570-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-04T06:06:52.471Z] $ docker stop --time=1 58ada7cab2a0777cabf662c4b7c3c059495aebf507c619f2877d45019efe562c [2024-09-04T06:06:54.090Z] $ docker rm -f --volumes 58ada7cab2a0777cabf662c4b7c3c059495aebf507c619f2877d45019efe562c [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-09-04T06:06:55.328Z] provisioning config files... [2024-09-04T06:06:55.336Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/config13756032771471892680tmp [Pipeline] { [Pipeline] sh [2024-09-04T06:06:55.697Z] + set +x [2024-09-04T06:06:55.697Z] + bash -s -- [2024-09-04T06:06:55.697Z] + curl -s https://codecov.io/bash [2024-09-04T06:06:55.957Z] [2024-09-04T06:06:55.958Z] _____ _ [2024-09-04T06:06:55.958Z] / ____| | | [2024-09-04T06:06:55.958Z] | | ___ __| | ___ ___ _____ __ [2024-09-04T06:06:55.958Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-04T06:06:55.958Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-04T06:06:55.958Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-04T06:06:55.958Z] Bash-1.0.6 [2024-09-04T06:06:55.958Z] [2024-09-04T06:06:55.958Z] [2024-09-04T06:06:55.958Z] ==> git version 2.25.1 found [2024-09-04T06:06:55.958Z] ==> 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-09-04T06:06:55.958Z] Release-Date: 2020-01-08 [2024-09-04T06:06:55.958Z] 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-09-04T06:06:55.958Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-04T06:06:55.958Z] ==> Jenkins CI detected. [2024-09-04T06:06:55.958Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-570 [2024-09-04T06:06:55.958Z] project root: . [2024-09-04T06:06:55.958Z] --> token set from env [2024-09-04T06:06:55.958Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-04T06:06:55.958Z] ==> Running gcov in . (disable via -X gcov) [2024-09-04T06:06:55.958Z] ==> Python coveragepy not found [2024-09-04T06:06:55.958Z] ==> Searching for coverage reports in: [2024-09-04T06:06:55.958Z] + . [2024-09-04T06:06:55.958Z] -> Found 1 reports [2024-09-04T06:06:55.958Z] ==> Detecting git/mercurial file structure [2024-09-04T06:06:55.958Z] ==> Reading reports [2024-09-04T06:06:55.958Z] + ./coverage.out bytes=24601 [2024-09-04T06:06:55.958Z] ==> Appending adjustments [2024-09-04T06:06:55.958Z] https://docs.codecov.io/docs/fixing-reports [2024-09-04T06:06:55.958Z] + Found adjustments [2024-09-04T06:06:55.958Z] ==> Gzipping contents [2024-09-04T06:06:55.958Z] 4.0K /tmp/codecov.8UFbOD.gz [2024-09-04T06:06:55.958Z] ==> Uploading reports [2024-09-04T06:06:55.958Z] url: https://codecov.io [2024-09-04T06:06:55.958Z] query: branch=PR-570&commit=c320f389388fcbae9636e4d1a98f124dc4a6b380&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-570%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=570&job=&cmd_args= [2024-09-04T06:06:55.958Z] -> Pinging Codecov [2024-09-04T06:06:55.958Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-570&commit=c320f389388fcbae9636e4d1a98f124dc4a6b380&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-570%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=570&job=&cmd_args= [2024-09-04T06:06:56.218Z] -> Uploading to [2024-09-04T06:06:56.218Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-04/55DBCA73C666E3227836607328DD7E49/c320f389388fcbae9636e4d1a98f124dc4a6b380/e76a3b7d-400f-4682-be7e-c8b9bad5f4d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240904%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240904T060656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ae46e697846e9844764b6def7a2d65dfbb207e4c90d89d80c6bf51c82121aea [2024-09-04T06:06:56.218Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-04T06:06:56.218Z] Dload Upload Total Spent Left Speed [2024-09-04T06:06:56.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16708 --:--:-- --:--:-- --:--:-- 16708 [2024-09-04T06:06:56.478Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c320f389388fcbae9636e4d1a98f124dc4a6b380 [Pipeline] } [2024-09-04T06:06:56.506Z] 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-09-04T06:06:58.897Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-570/archives ] [2024-09-04T06:06:58.897Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-570/archives [2024-09-04T06:06:58.897Z] total 16 [2024-09-04T06:06:58.897Z] drwxr-xr-x 3 root root 4096 Sep 4 05:56 . [2024-09-04T06:06:58.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 05:56 .. [2024-09-04T06:06:58.897Z] drwxr-xr-x 2 root root 4096 Sep 4 05:56 cost [2024-09-04T06:06:58.897Z] -rw-r--r-- 1 root root 88 Sep 4 05:56 cost.csv [2024-09-04T06:06:58.897Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-570/archives [2024-09-04T06:06:58.897Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-570/archives [2024-09-04T06:06:58.897Z] total 16 [2024-09-04T06:06:58.897Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 05:56 . [2024-09-04T06:06:58.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 05:56 .. [2024-09-04T06:06:58.897Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 4 05:56 cost [2024-09-04T06:06:58.897Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 4 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:06:59.238Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:00.146Z] ---> package-listing.sh [2024-09-04T06:07:00.146Z] ++ facter osfamily [2024-09-04T06:07:00.146Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-04T06:07:00.405Z] + OS_FAMILY=debian [2024-09-04T06:07:00.405Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-570 [2024-09-04T06:07:00.405Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-04T06:07:00.405Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-04T06:07:00.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-04T06:07:00.405Z] + PACKAGES=/tmp/packages_start.txt [2024-09-04T06:07:00.405Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-570 ']' [2024-09-04T06:07:00.405Z] + PACKAGES=/tmp/packages_end.txt [2024-09-04T06:07:00.405Z] + case "${OS_FAMILY}" in [2024-09-04T06:07:00.405Z] + dpkg -l [2024-09-04T06:07:00.405Z] + grep '^ii' [2024-09-04T06:07:00.405Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-04T06:07:00.405Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-04T06:07:00.405Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-04T06:07:00.405Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-570 ']' [2024-09-04T06:07:00.405Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-570/archives/ [2024-09-04T06:07:00.405Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-570/archives/ [Pipeline] echo [2024-09-04T06:07:00.456Z] 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-570/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-04T06:07:00.760Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-04T06:07:01.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-04T06:07:01.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-04T06:07:01.594Z] prd-ubuntu20.04-docker-8c-8g-9424 does not seem to be running inside a container [2024-09-04T06:07:01.618Z] $ 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-570/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-570 -v /w/workspace/xfoundry_device-modbus-go_PR-570:/w/workspace/xfoundry_device-modbus-go_PR-570:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-570@tmp:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-04T06:07:01.835Z] $ docker top f242fc79a9cd5a40709257cd8c79867890d26f9b99929ac548894cd10526a46a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-04T06:07:02.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-04T06:07:02.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-04T06:07:02.896Z] + ls /var/log/sa-host [2024-09-04T06:07:02.896Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-04T06:07:03.150Z] provisioning config files... [2024-09-04T06:07:03.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-570@tmp/config3461247763584549119tmp [Pipeline] { [Pipeline] echo [2024-09-04T06:07:03.229Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:03.563Z] ---> create-netrc.sh [Pipeline] } [2024-09-04T06:07:03.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:04.038Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-04T06:07:04.086Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:04.418Z] ---> sudo-logs.sh [2024-09-04T06:07:04.418Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-04T06:07:04.568Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:04.968Z] ---> job-cost.sh [2024-09-04T06:07:04.968Z] lf-activate-venv: SKIPPING [2024-09-04T06:07:04.968Z] DEBUG: total: 0.2199999988079071 [2024-09-04T06:07:04.968Z] INFO: Retrieving Stack Cost... [2024-09-04T06:07:05.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-04T06:07:05.545Z] INFO: Archiving Costs [Pipeline] echo [2024-09-04T06:07:05.594Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-04T06:07:05.918Z] ---> logs-deploy.sh [2024-09-04T06:07:05.918Z] lf-activate-venv: SKIPPING [2024-09-04T06:07:05.918Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-570/1 [2024-09-04T06:07:05.918Z] INFO: archiving workspace using pattern(s): [2024-09-04T06:07:06.855Z] Archives upload complete. [2024-09-04T06:07:07.123Z] INFO: archiving logs to Nexus