Pull request #552 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a73672d5400e166621ab0562a57c0519cd2fea62+56822b146883d567dc10738adb0b8ce5338db960 (104374cf7ef898c3f0a3e803c306d1a5b6433516) 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-ssh2676489342309457185.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17931376787988589412.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-552/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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7353347723775877662.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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1596356212675510668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7478951558938330332.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-552/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-552/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2989119076654469842.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-262 in /w/workspace/xfoundry_device-modbus-go_PR-552 [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-552 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit a73672d5400e166621ab0562a57c0519cd2fea62 Merge succeeded, producing a73672d5400e166621ab0562a57c0519cd2fea62 Checking out Revision a73672d5400e166621ab0562a57c0519cd2fea62 (PR-552) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # 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 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T05:53:13.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T05:53:13.377Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T05:53:13.518Z] ========================================================= [2024-05-16T05:53:13.518Z] EdgeX Global Pipelines Version Info [2024-05-16T05:53:13.518Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T05:53:14.290Z] ------------------- [2024-05-16T05:53:14.290Z] stable info: [2024-05-16T05:53:14.290Z] ------------------- [2024-05-16T05:53:14.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T05:53:14.290Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T05:53:14.290Z] Message: update stable to v1.0.258 [2024-05-16T05:53:14.862Z] ------------------- [2024-05-16T05:53:14.862Z] experimental info: [2024-05-16T05:53:14.862Z] ------------------- [2024-05-16T05:53:14.862Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T05:53:14.862Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T05:53:14.862Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T05:53:15.116Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-16T05:53:15.175Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-16T05:53:15.237Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T05:53:15.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T05:53:15.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T05:53:15.424Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T05:53:15.483Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T05:53:15.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-16T05:53:15.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T05:53:15.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T05:53:15.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T05:53:15.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-16T05:53:15.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T05:53:15.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T05:53:15.978Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T05:53:16.037Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T05:53:16.096Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T05:53:16.154Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T05:53:16.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T05:53:16.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T05:53:16.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-16T05:53:16.388Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-16T05:53:16.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T05:53:16.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T05:53:16.581Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T05:53:16.641Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T05:53:16.705Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T05:53:16.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-552 [Pipeline] echo [2024-05-16T05:53:16.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-552 [Pipeline] echo [2024-05-16T05:53:16.892Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-552 [Pipeline] echo [2024-05-16T05:53:16.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo [2024-05-16T05:53:17.007Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a73672d [Pipeline] echo [2024-05-16T05:53:17.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T05:53:17.202Z] provisioning config files... [2024-05-16T05:53:17.215Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config829747263480809145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T05:53:17.605Z] ---> ****-login.sh [2024-05-16T05:53:17.605Z] nexus3.edgexfoundry.org:10001 [2024-05-16T05:53:17.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:17.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:17.865Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:17.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:17.865Z] [2024-05-16T05:53:17.865Z] Login Succeeded [2024-05-16T05:53:17.865Z] nexus3.edgexfoundry.org:10002 [2024-05-16T05:53:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:18.126Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:18.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:18.126Z] [2024-05-16T05:53:18.127Z] Login Succeeded [2024-05-16T05:53:18.127Z] nexus3.edgexfoundry.org:10003 [2024-05-16T05:53:18.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:18.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:18.127Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:18.127Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:18.127Z] [2024-05-16T05:53:18.127Z] Login Succeeded [2024-05-16T05:53:18.127Z] nexus3.edgexfoundry.org:10004 [2024-05-16T05:53:18.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:18.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:18.389Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:18.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:18.389Z] [2024-05-16T05:53:18.389Z] Login Succeeded [2024-05-16T05:53:18.389Z] ****.io [2024-05-16T05:53:18.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:18.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:18.650Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:18.650Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:18.650Z] [2024-05-16T05:53:18.650Z] Login Succeeded [2024-05-16T05:53:18.650Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T05:53:18.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T05:53:19.400Z] + git rev-list -1 --merges a73672d5400e166621ab0562a57c0519cd2fea62~1..a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo [2024-05-16T05:53:19.445Z] -----------> git rev-list -1 --merges a73672d5400e166621ab0562a57c0519cd2fea62~1..a73672d5400e166621ab0562a57c0519cd2fea62 a73672d5400e166621ab0562a57c0519cd2fea62 [false] [Pipeline] sh [2024-05-16T05:53:19.772Z] + git log --format=format:%s -1 a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo [2024-05-16T05:53:19.815Z] ========================================================= [2024-05-16T05:53:19.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T05:53:19.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T05:53:20.282Z] + git log --format=format:%s -1 a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo [2024-05-16T05:53:20.318Z] [semverPrep] GIT_COMMIT: a73672d5400e166621ab0562a57c0519cd2fea62, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-16T05:53:20.364Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T05:53:20.792Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T05:53:20.792Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T05:53:20.792Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T05:53:20.792Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T05:53:20.792Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T05:53:20.792Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T05:53:20.792Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:53:21.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T05:53:21.319Z] [2024-05-16T05:53:21.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:53:21.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T05:53:21.721Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T05:53:21.721Z] b85a868b505f: Pulling fs layer [2024-05-16T05:53:21.721Z] e2be974225ed: Pulling fs layer [2024-05-16T05:53:21.721Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T05:53:21.721Z] 988bab9f4d93: Pulling fs layer [2024-05-16T05:53:21.721Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T05:53:21.721Z] eaf3925da568: Pulling fs layer [2024-05-16T05:53:21.721Z] 988bab9f4d93: Waiting [2024-05-16T05:53:21.721Z] 1469e6f7b9e6: Waiting [2024-05-16T05:53:21.721Z] bab4dde63d76: Pulling fs layer [2024-05-16T05:53:21.721Z] eaf3925da568: Waiting [2024-05-16T05:53:21.721Z] bde34c3a00c8: Pulling fs layer [2024-05-16T05:53:21.721Z] bab4dde63d76: Waiting [2024-05-16T05:53:21.721Z] b352a97aabf1: Pulling fs layer [2024-05-16T05:53:21.721Z] bde34c3a00c8: Waiting [2024-05-16T05:53:21.721Z] b352a97aabf1: Waiting [2024-05-16T05:53:21.721Z] 4872d77fe225: Pulling fs layer [2024-05-16T05:53:21.721Z] 5851b861e8e6: Pulling fs layer [2024-05-16T05:53:21.721Z] 4872d77fe225: Waiting [2024-05-16T05:53:21.721Z] 5851b861e8e6: Waiting [2024-05-16T05:53:21.721Z] e2be974225ed: Download complete [2024-05-16T05:53:21.721Z] 988bab9f4d93: Download complete [2024-05-16T05:53:21.721Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T05:53:21.721Z] 1469e6f7b9e6: Download complete [2024-05-16T05:53:21.721Z] eaf3925da568: Download complete [2024-05-16T05:53:21.982Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T05:53:21.982Z] 339a4e72a1f5: Download complete [2024-05-16T05:53:21.982Z] bde34c3a00c8: Verifying Checksum [2024-05-16T05:53:21.982Z] bde34c3a00c8: Download complete [2024-05-16T05:53:21.982Z] b352a97aabf1: Verifying Checksum [2024-05-16T05:53:21.982Z] b352a97aabf1: Download complete [2024-05-16T05:53:21.982Z] 4872d77fe225: Verifying Checksum [2024-05-16T05:53:21.982Z] 4872d77fe225: Download complete [2024-05-16T05:53:21.982Z] 5851b861e8e6: Download complete [2024-05-16T05:53:21.982Z] b85a868b505f: Verifying Checksum [2024-05-16T05:53:21.982Z] b85a868b505f: Download complete [2024-05-16T05:53:22.241Z] bab4dde63d76: Verifying Checksum [2024-05-16T05:53:22.241Z] bab4dde63d76: Download complete [2024-05-16T05:53:23.175Z] b85a868b505f: Pull complete [2024-05-16T05:53:23.436Z] e2be974225ed: Pull complete [2024-05-16T05:53:24.006Z] 339a4e72a1f5: Pull complete [2024-05-16T05:53:24.006Z] 988bab9f4d93: Pull complete [2024-05-16T05:53:24.265Z] 1469e6f7b9e6: Pull complete [2024-05-16T05:53:24.265Z] eaf3925da568: Pull complete [2024-05-16T05:53:26.172Z] bab4dde63d76: Pull complete [2024-05-16T05:53:26.172Z] bde34c3a00c8: Pull complete [2024-05-16T05:53:26.172Z] b352a97aabf1: Pull complete [2024-05-16T05:53:26.431Z] 4872d77fe225: Pull complete [2024-05-16T05:53:26.431Z] 5851b861e8e6: Pull complete [2024-05-16T05:53:26.431Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T05:53:26.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T05:53:26.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:53:26.748Z] prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container [2024-05-16T05:53:26.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T05:53:30.370Z] $ docker top 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda -eo pid,comm [2024-05-16T05:53:30.424Z] 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-05-16T05:53:30.424Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T05:53:30.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T05:53:30.590Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T05:53:30.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T05:53:30.711Z] $ docker exec 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent [2024-05-16T05:53:30.817Z] SSH_AUTH_SOCK=/tmp/ssh-ab2a4H8mATyu/agent.32 [2024-05-16T05:53:30.817Z] SSH_AGENT_PID=38 [2024-05-16T05:53:30.824Z] Running ssh-add (command line suppressed) [2024-05-16T05:53:30.921Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_6644997918911470819.key (/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_6644997918911470819.key) [2024-05-16T05:53:30.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T05:53:31.292Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T05:53:31.318Z] $ docker exec --env ******** --env ******** 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent -k [2024-05-16T05:53:31.412Z] unset SSH_AUTH_SOCK; [2024-05-16T05:53:31.412Z] unset SSH_AGENT_PID; [2024-05-16T05:53:31.412Z] echo Agent pid 38 killed; [2024-05-16T05:53:31.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T05:53:31.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T05:53:31.538Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T05:53:31.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T05:53:31.656Z] $ docker exec 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent [2024-05-16T05:53:31.774Z] SSH_AUTH_SOCK=/tmp/ssh-IE4MuvuQ43Rv/agent.71 [2024-05-16T05:53:31.774Z] SSH_AGENT_PID=77 [2024-05-16T05:53:31.779Z] Running ssh-add (command line suppressed) [2024-05-16T05:53:31.881Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_12549086917010940513.key (/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_12549086917010940513.key) [2024-05-16T05:53:31.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T05:53:32.233Z] + git semver init [2024-05-16T05:53:32.494Z] 2024-05-16 05:53:32,435 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T05:53:32.494Z] 2024-05-16 05:53:32,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver [2024-05-16T05:53:32.494Z] 2024-05-16 05:53:32,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-552/.semver [2024-05-16T05:53:32.494Z] 2024-05-16 05:53:32,436 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-552/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552, universal_newlines=False, shell=None, istream=None) [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,653 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-552/.git/info/exclude [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,655 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 with force:False [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,655 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,661 [execute] INFO git cat-file --batch-check [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,667 [execute] INFO git cat-file --batch [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T05:53:33.876Z] 2024-05-16 05:53:33,672 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 [2024-05-16T05:53:33.876Z] 0.0.0 [Pipeline] } [2024-05-16T05:53:33.902Z] $ docker exec --env ******** --env ******** 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent -k [2024-05-16T05:53:34.011Z] unset SSH_AUTH_SOCK; [2024-05-16T05:53:34.011Z] unset SSH_AGENT_PID; [2024-05-16T05:53:34.012Z] echo Agent pid 77 killed; [2024-05-16T05:53:34.023Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T05:53:34.489Z] + git semver [Pipeline] } [2024-05-16T05:53:35.081Z] $ docker stop --time=1 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda [2024-05-16T05:53:36.370Z] $ docker rm -f --volumes 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T05:53:36.808Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T05:53:37.111Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T05:53:37.135Z] [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-05-16T05:53:37.890Z] provisioning config files... [2024-05-16T05:53:37.900Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config12747715634232134235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T05:53:38.273Z] ---> ****-login.sh [2024-05-16T05:53:38.273Z] nexus3.edgexfoundry.org:10001 [2024-05-16T05:53:38.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:38.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:38.273Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:38.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:38.273Z] [2024-05-16T05:53:38.273Z] Login Succeeded [2024-05-16T05:53:38.273Z] nexus3.edgexfoundry.org:10002 [2024-05-16T05:53:38.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:38.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:38.273Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:38.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:38.273Z] [2024-05-16T05:53:38.273Z] Login Succeeded [2024-05-16T05:53:38.273Z] nexus3.edgexfoundry.org:10003 [2024-05-16T05:53:38.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:38.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:38.534Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:38.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:38.534Z] [2024-05-16T05:53:38.534Z] Login Succeeded [2024-05-16T05:53:38.534Z] nexus3.edgexfoundry.org:10004 [2024-05-16T05:53:38.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:38.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:38.534Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:38.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:38.534Z] [2024-05-16T05:53:38.534Z] Login Succeeded [2024-05-16T05:53:38.534Z] ****.io [2024-05-16T05:53:38.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:53:38.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:53:38.794Z] Configure a credential helper to remove this warning. See [2024-05-16T05:53:38.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:53:38.794Z] [2024-05-16T05:53:38.794Z] Login Succeeded [2024-05-16T05:53:38.794Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T05:53:38.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T05:53:39.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T05:53:39.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T05:53:39.169Z] ========================================================= [2024-05-16T05:53:39.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T05:53:39.169Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:53:39.693Z] + 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-05-16T05:53:39.693Z] Sending build context to Docker daemon 20.92MB [2024-05-16T05:53:39.693Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T05:53:39.693Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T05:53:39.953Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T05:53:39.953Z] 619be1103602: Pulling fs layer [2024-05-16T05:53:39.953Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T05:53:39.953Z] 5df492c9dc93: Pulling fs layer [2024-05-16T05:53:39.953Z] 7629e6793208: Pulling fs layer [2024-05-16T05:53:39.953Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T05:53:39.953Z] fb5054dd5b73: Pulling fs layer [2024-05-16T05:53:39.953Z] eeca6798cff9: Pulling fs layer [2024-05-16T05:53:39.953Z] aa269ceb94a6: Pulling fs layer [2024-05-16T05:53:39.953Z] ada007ff1a6a: Pulling fs layer [2024-05-16T05:53:39.953Z] fb5054dd5b73: Waiting [2024-05-16T05:53:39.953Z] eeca6798cff9: Waiting [2024-05-16T05:53:39.953Z] aa269ceb94a6: Waiting [2024-05-16T05:53:39.953Z] 7629e6793208: Waiting [2024-05-16T05:53:39.953Z] ada007ff1a6a: Waiting [2024-05-16T05:53:39.953Z] 4f4fb700ef54: Waiting [2024-05-16T05:53:39.953Z] 7862e08f4a3e: Verifying Checksum [2024-05-16T05:53:39.953Z] 7862e08f4a3e: Download complete [2024-05-16T05:53:39.953Z] 7629e6793208: Verifying Checksum [2024-05-16T05:53:39.953Z] 7629e6793208: Download complete [2024-05-16T05:53:39.953Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T05:53:39.953Z] 4f4fb700ef54: Download complete [2024-05-16T05:53:39.953Z] fb5054dd5b73: Download complete [2024-05-16T05:53:39.953Z] 619be1103602: Download complete [2024-05-16T05:53:39.953Z] eeca6798cff9: Verifying Checksum [2024-05-16T05:53:39.953Z] eeca6798cff9: Download complete [2024-05-16T05:53:40.212Z] 619be1103602: Pull complete [2024-05-16T05:53:40.212Z] 7862e08f4a3e: Pull complete [2024-05-16T05:53:40.212Z] ada007ff1a6a: Verifying Checksum [2024-05-16T05:53:40.212Z] ada007ff1a6a: Download complete [2024-05-16T05:53:40.470Z] 5df492c9dc93: Verifying Checksum [2024-05-16T05:53:40.470Z] 5df492c9dc93: Download complete [2024-05-16T05:53:40.728Z] aa269ceb94a6: Verifying Checksum [2024-05-16T05:53:40.728Z] aa269ceb94a6: Download complete [2024-05-16T05:53:44.016Z] 5df492c9dc93: Pull complete [2024-05-16T05:53:44.016Z] 7629e6793208: Pull complete [2024-05-16T05:53:44.016Z] 4f4fb700ef54: Pull complete [2024-05-16T05:53:44.016Z] fb5054dd5b73: Pull complete [2024-05-16T05:53:44.016Z] eeca6798cff9: Pull complete [2024-05-16T05:53:46.553Z] aa269ceb94a6: Pull complete [2024-05-16T05:53:46.811Z] ada007ff1a6a: Pull complete [2024-05-16T05:53:46.811Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T05:53:46.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T05:53:46.811Z] ---> f489d0715acc [2024-05-16T05:53:46.811Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T05:53:52.678Z] Still waiting to schedule task [2024-05-16T05:53:52.679Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-16T05:53:54.942Z] ---> Running in 2abc09f7a1be [2024-05-16T05:53:54.942Z] Removing intermediate container 2abc09f7a1be [2024-05-16T05:53:54.942Z] ---> f96dc6b80457 [2024-05-16T05:53:54.942Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T05:53:54.943Z] ---> Running in a0de04785e35 [2024-05-16T05:53:54.943Z] Removing intermediate container a0de04785e35 [2024-05-16T05:53:54.943Z] ---> ea6b41c1a55c [2024-05-16T05:53:54.943Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T05:53:54.943Z] ---> Running in 70321ef6ac6f [2024-05-16T05:53:54.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T05:53:54.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T05:53:54.943Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T05:53:54.943Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T05:53:54.943Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T05:53:54.943Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T05:53:54.943Z] OK: 270 MiB in 60 packages [2024-05-16T05:53:55.512Z] Removing intermediate container 70321ef6ac6f [2024-05-16T05:53:55.512Z] ---> d9dd55cd0e23 [2024-05-16T05:53:55.512Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T05:53:55.512Z] ---> Running in 9eea32c87461 [2024-05-16T05:53:55.512Z] Removing intermediate container 9eea32c87461 [2024-05-16T05:53:55.512Z] ---> d13c5dfecf4f [2024-05-16T05:53:55.512Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T05:53:55.512Z] ---> 7ea647745086 [2024-05-16T05:53:55.512Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T05:53:55.512Z] ---> Running in e1ff2dcd7ad8 [2024-05-16T05:55:03.916Z] Removing intermediate container e1ff2dcd7ad8 [2024-05-16T05:55:03.916Z] ---> 330999045beb [2024-05-16T05:55:03.916Z] Step 9/10 : COPY . . [2024-05-16T05:55:03.916Z] ---> eb75bf1ef769 [2024-05-16T05:55:03.916Z] Step 10/10 : RUN ${MAKE} [2024-05-16T05:55:03.916Z] ---> Running in 489f35c132ec [2024-05-16T05:55:03.916Z] noop [2024-05-16T05:55:03.916Z] Removing intermediate container 489f35c132ec [2024-05-16T05:55:03.916Z] ---> 8707ae7a3d6f [2024-05-16T05:55:03.916Z] Successfully built 8707ae7a3d6f [2024-05-16T05:55:03.916Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:55:04.417Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T05:55:04.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:55:04.597Z] prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container [2024-05-16T05:55:04.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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-x86_64 cat [2024-05-16T05:55:04.965Z] $ docker top 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T05:55:05.378Z] + go version [2024-05-16T05:55:05.378Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T05:55:05.411Z] $ docker stop --time=1 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 [2024-05-16T05:55:06.673Z] $ docker rm -f --volumes 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:55:07.491Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T05:55:07.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:55:07.694Z] prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container [2024-05-16T05:55:07.720Z] $ 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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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-x86_64 cat [2024-05-16T05:55:08.036Z] $ docker top 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T05:55:08.452Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-552 [Pipeline] fileExists [Pipeline] sh [2024-05-16T05:55:08.828Z] + make test [2024-05-16T05:55:08.828Z] go test ./... -coverprofile=coverage.out [2024-05-16T05:55:10.764Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T05:55:28.846Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T05:55:28.846Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2024-05-16T05:55:30.760Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-263 in /w/workspace/xfoundry_device-modbus-go_PR-552 [Pipeline] { [Pipeline] ws [2024-05-16T05:55:30.843Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-05-16T05:55:33.959Z] The recommended git tool is: git [2024-05-16T05:55:36.956Z] go vet ./... [2024-05-16T05:55:38.577Z] using credential edgex-jenkins-ssh [2024-05-16T05:55:38.608Z] Cloning the remote Git repository [2024-05-16T05:55:38.653Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T05:55:38.737Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-05-16T05:55:38.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T05:55:38.870Z] > git --version # timeout=10 [2024-05-16T05:55:38.889Z] > git --version # 'git version 2.25.1' [2024-05-16T05:55:38.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T05:55:39.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T05:55:41.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-16T05:55:41.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T05:55:42.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T05:55:42.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T05:55:42.222Z] ./bin/test-attribution-txt.sh [2024-05-16T05:55:42.222Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T05:55:42.222Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T05:55:42.223Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T05:55:42.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T05:55:42.312Z] $ docker stop --time=1 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 [2024-05-16T05:55:42.590Z] Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit a73672d5400e166621ab0562a57c0519cd2fea62 [2024-05-16T05:55:42.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-16T05:55:42.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T05:55:42.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T05:55:42.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-16T05:55:42.617Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T05:55:42.678Z] > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 [2024-05-16T05:55:42.840Z] Merge succeeded, producing a73672d5400e166621ab0562a57c0519cd2fea62 [2024-05-16T05:55:42.840Z] Checking out Revision a73672d5400e166621ab0562a57c0519cd2fea62 (PR-552) [2024-05-16T05:55:43.358Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-16T05:55:43.415Z] > git --version # timeout=10 [2024-05-16T05:55:43.424Z] > git --version # 'git version 2.25.1' [2024-05-16T05:55:43.435Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T05:55:42.757Z] > git remote # timeout=10 [2024-05-16T05:55:42.773Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T05:55:42.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T05:55:42.806Z] > git merge 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 [2024-05-16T05:55:42.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T05:55:42.852Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T05:55:42.864Z] > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 [2024-05-16T05:55:49.061Z] $ docker rm -f --volumes 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-05-16T05:55:49.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-05-16T05:55:49.988Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-05-16T05:55:50.217Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T05:55:50.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T05:55:50.217Z] Dload Upload Total Spent Left Speed [2024-05-16T05:55:50.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [Pipeline] sh [2024-05-16T05:55:50.589Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T05:55:50.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T05:55:50.959Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-05-16T05:55:50.959Z] /etc/docker/daemon.json [2024-05-16T05:55:50.959Z] { [2024-05-16T05:55:50.959Z] "registry-mirrors": [ [2024-05-16T05:55:50.959Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T05:55:50.959Z] ], [2024-05-16T05:55:50.959Z] "bip": "10.250.0.254/24", [2024-05-16T05:55:50.959Z] "hosts": [ [2024-05-16T05:55:50.959Z] "tcp://0.0.0.0:5555", [2024-05-16T05:55:50.959Z] "unix:///var/run/docker.sock" [2024-05-16T05:55:50.959Z] ], [2024-05-16T05:55:50.959Z] "mtu": 1458, [2024-05-16T05:55:50.959Z] "selinux-enabled": true, [2024-05-16T05:55:50.959Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T05:55:50.959Z] } [Pipeline] sh [2024-05-16T05:55:51.158Z] + ls -al . [2024-05-16T05:55:51.158Z] total 264 [2024-05-16T05:55:51.158Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 05:55 . [2024-05-16T05:55:51.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:53 .. [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:53 .dockerignore [2024-05-16T05:55:51.158Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:55 .git [2024-05-16T05:55:51.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 .github [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 05:53 .gitignore [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 05:53 .golangci.yml [2024-05-16T05:55:51.158Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:53 .semver [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 05:53 Attribution.txt [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 05:53 CHANGELOG.md [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 05:53 Dockerfile [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:53 GOVERNANCE.md [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 05:53 Jenkinsfile [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 05:53 LICENSE [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 05:53 Makefile [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 05:53 OWNERS.md [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 05:53 README.md [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:53 VERSION [2024-05-16T05:55:51.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:53 bin [2024-05-16T05:55:51.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 cmd [2024-05-16T05:55:51.158Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 05:55 coverage.out [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 05:53 go.mod [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 101859 May 16 05:53 go.sum [2024-05-16T05:55:51.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 internal [2024-05-16T05:55:51.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:53 simulator [2024-05-16T05:55:51.158Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-05-16T05:55:51.307Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2024-05-16T05:55:51.592Z] + 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=a73672d5400e166621ab0562a57c0519cd2fea62 --label arch=amd64 --label version=0.0.0 . [2024-05-16T05:55:51.592Z] Sending build context to Docker daemon 20.95MB [2024-05-16T05:55:51.592Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T05:55:51.592Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T05:55:51.592Z] ---> 8707ae7a3d6f [2024-05-16T05:55:51.592Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T05:55:51.728Z] + sudo service docker restart [2024-05-16T05:55:52.161Z] ---> Running in 2b2a4d000562 [2024-05-16T05:55:52.161Z] Removing intermediate container 2b2a4d000562 [2024-05-16T05:55:52.161Z] ---> 844a9e44558f [2024-05-16T05:55:52.161Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T05:55:52.161Z] ---> Running in 7bf906b84685 [2024-05-16T05:55:52.161Z] Removing intermediate container 7bf906b84685 [2024-05-16T05:55:52.161Z] ---> 3078c6360bc7 [2024-05-16T05:55:52.161Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T05:55:52.161Z] ---> Running in 25ef27fbb9ff [2024-05-16T05:55:52.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T05:55:52.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T05:55:52.942Z] OK: 270 MiB in 60 packages [2024-05-16T05:55:53.200Z] Removing intermediate container 25ef27fbb9ff [2024-05-16T05:55:53.200Z] ---> 847eebda24c1 [2024-05-16T05:55:53.200Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T05:55:53.458Z] ---> Running in 9fe349599bd5 [2024-05-16T05:55:53.458Z] Removing intermediate container 9fe349599bd5 [2024-05-16T05:55:53.458Z] ---> 098b0f9dddb1 [2024-05-16T05:55:53.458Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T05:55:53.458Z] ---> d7d4e77c97aa [2024-05-16T05:55:53.458Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T05:55:53.458Z] ---> Running in 796102ca3631 [2024-05-16T05:55:54.393Z] Removing intermediate container 796102ca3631 [2024-05-16T05:55:54.393Z] ---> 9226dec9ac83 [2024-05-16T05:55:54.393Z] Step 9/23 : COPY . . [2024-05-16T05:55:55.077Z] ---> 7c2e5ff6c0ae [2024-05-16T05:55:55.077Z] Step 10/23 : RUN ${MAKE} [2024-05-16T05:55:55.077Z] ---> Running in 1f4e2f45f9ed [2024-05-16T05:55:55.336Z] 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T05:56:10.043Z] provisioning config files... [2024-05-16T05:56:10.067Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15081620535429292810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T05:56:10.546Z] ---> ****-login.sh [2024-05-16T05:56:10.546Z] nexus3.edgexfoundry.org:10001 [2024-05-16T05:56:11.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:56:11.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:56:11.142Z] Configure a credential helper to remove this warning. See [2024-05-16T05:56:11.142Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:56:11.142Z] [2024-05-16T05:56:11.142Z] Login Succeeded [2024-05-16T05:56:11.142Z] nexus3.edgexfoundry.org:10002 [2024-05-16T05:56:11.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:56:11.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:56:11.684Z] Configure a credential helper to remove this warning. See [2024-05-16T05:56:11.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:56:11.684Z] [2024-05-16T05:56:11.684Z] Login Succeeded [2024-05-16T05:56:11.684Z] nexus3.edgexfoundry.org:10003 [2024-05-16T05:56:11.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:56:11.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:56:11.963Z] Configure a credential helper to remove this warning. See [2024-05-16T05:56:11.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:56:11.963Z] [2024-05-16T05:56:11.963Z] Login Succeeded [2024-05-16T05:56:11.963Z] nexus3.edgexfoundry.org:10004 [2024-05-16T05:56:12.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:56:12.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:56:12.237Z] Configure a credential helper to remove this warning. See [2024-05-16T05:56:12.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:56:12.237Z] [2024-05-16T05:56:12.237Z] Login Succeeded [2024-05-16T05:56:12.237Z] ****.io [2024-05-16T05:56:12.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T05:56:12.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T05:56:12.774Z] Configure a credential helper to remove this warning. See [2024-05-16T05:56:12.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T05:56:12.774Z] [2024-05-16T05:56:12.774Z] Login Succeeded [2024-05-16T05:56:12.774Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T05:56:12.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T05:56:13.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T05:56:13.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T05:56:13.359Z] ========================================================= [2024-05-16T05:56:13.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T05:56:13.359Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:56:13.902Z] + 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-05-16T05:56:14.172Z] Sending build context to Docker daemon 10.59MB [2024-05-16T05:56:14.172Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T05:56:14.172Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T05:56:14.441Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T05:56:14.441Z] c6b39de5b339: Pulling fs layer [2024-05-16T05:56:14.441Z] a69c41024577: Pulling fs layer [2024-05-16T05:56:14.441Z] d6de4b400683: Pulling fs layer [2024-05-16T05:56:14.441Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T05:56:14.441Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T05:56:14.441Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T05:56:14.441Z] 00f215d4a9da: Pulling fs layer [2024-05-16T05:56:14.441Z] d496ad576159: Pulling fs layer [2024-05-16T05:56:14.441Z] 35cb2a7552d0: Waiting [2024-05-16T05:56:14.441Z] 4f4fb700ef54: Waiting [2024-05-16T05:56:14.441Z] 464afbd9ba4c: Waiting [2024-05-16T05:56:14.441Z] 00f215d4a9da: Waiting [2024-05-16T05:56:14.441Z] d496ad576159: Waiting [2024-05-16T05:56:14.441Z] a69c41024577: Download complete [2024-05-16T05:56:14.441Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T05:56:14.441Z] 35cb2a7552d0: Download complete [2024-05-16T05:56:14.441Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T05:56:14.441Z] 4f4fb700ef54: Download complete [2024-05-16T05:56:14.712Z] c6b39de5b339: Verifying Checksum [2024-05-16T05:56:14.712Z] c6b39de5b339: Download complete [2024-05-16T05:56:14.712Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T05:56:14.712Z] 464afbd9ba4c: Download complete [2024-05-16T05:56:14.985Z] d496ad576159: Verifying Checksum [2024-05-16T05:56:14.985Z] d496ad576159: Download complete [2024-05-16T05:56:15.578Z] c6b39de5b339: Pull complete [2024-05-16T05:56:16.176Z] a69c41024577: Pull complete [2024-05-16T05:56:16.443Z] d6de4b400683: Verifying Checksum [2024-05-16T05:56:16.443Z] d6de4b400683: Download complete [2024-05-16T05:56:17.413Z] 00f215d4a9da: Verifying Checksum [2024-05-16T05:56:17.413Z] 00f215d4a9da: Download complete [2024-05-16T05:56:30.789Z] d6de4b400683: Pull complete [2024-05-16T05:56:30.789Z] 35cb2a7552d0: Pull complete [2024-05-16T05:56:30.789Z] 4f4fb700ef54: Pull complete [2024-05-16T05:56:30.789Z] 464afbd9ba4c: Pull complete [2024-05-16T05:56:34.417Z] Removing intermediate container 1f4e2f45f9ed [2024-05-16T05:56:34.417Z] ---> 41070cf5780e [2024-05-16T05:56:34.417Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T05:56:34.417Z] 3.18: Pulling from library/alpine [2024-05-16T05:56:34.417Z] 619be1103602: Already exists [2024-05-16T05:56:34.417Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T05:56:34.417Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T05:56:34.417Z] ---> d3782b16ccc9 [2024-05-16T05:56:34.417Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T05:56:34.417Z] ---> Running in 47cb69e2598c [2024-05-16T05:56:34.417Z] Removing intermediate container 47cb69e2598c [2024-05-16T05:56:34.417Z] ---> 43d3f36d8fa6 [2024-05-16T05:56:34.417Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T05:56:34.417Z] ---> Running in c02dd3800d51 [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T05:56:34.417Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T05:56:34.417Z] OK: 7 MiB in 16 packages [2024-05-16T05:56:34.417Z] Removing intermediate container c02dd3800d51 [2024-05-16T05:56:34.417Z] ---> d6c51682af64 [2024-05-16T05:56:34.417Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T05:56:34.417Z] ---> Running in eaa88a9e7fd4 [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] Upgrading critical system libraries and apk-tools: [2024-05-16T05:56:34.417Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T05:56:34.417Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T05:56:34.417Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T05:56:34.417Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T05:56:34.417Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T05:56:34.417Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T05:56:34.417Z] OK: 7 MiB in 16 packages [2024-05-16T05:56:34.417Z] Removing intermediate container eaa88a9e7fd4 [2024-05-16T05:56:34.417Z] ---> 3034cb3928b7 [2024-05-16T05:56:34.417Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T05:56:35.169Z] ---> a87672e56533 [2024-05-16T05:56:35.169Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T05:56:35.169Z] ---> d66567cbe348 [2024-05-16T05:56:35.169Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T05:56:35.428Z] ---> 55b3397cc66e [2024-05-16T05:56:35.428Z] Step 18/23 : EXPOSE 59901 [2024-05-16T05:56:35.428Z] ---> Running in 9fc12c31b545 [2024-05-16T05:56:35.428Z] Removing intermediate container 9fc12c31b545 [2024-05-16T05:56:35.428Z] ---> e487a3298c37 [2024-05-16T05:56:35.428Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T05:56:35.428Z] ---> Running in af7b4c3c19f9 [2024-05-16T05:56:35.428Z] Removing intermediate container af7b4c3c19f9 [2024-05-16T05:56:35.428Z] ---> e9b914971566 [2024-05-16T05:56:35.428Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T05:56:35.428Z] ---> Running in 28bab5394357 [2024-05-16T05:56:35.687Z] Removing intermediate container 28bab5394357 [2024-05-16T05:56:35.687Z] ---> 1e095a177060 [2024-05-16T05:56:35.687Z] Step 21/23 : LABEL arch=amd64 [2024-05-16T05:56:35.687Z] ---> Running in fd7ccd984e65 [2024-05-16T05:56:35.688Z] Removing intermediate container fd7ccd984e65 [2024-05-16T05:56:35.688Z] ---> 8d81326a455b [2024-05-16T05:56:35.688Z] Step 22/23 : LABEL git_sha=a73672d5400e166621ab0562a57c0519cd2fea62 [2024-05-16T05:56:35.688Z] ---> Running in 0ca98a3dae55 [2024-05-16T05:56:35.688Z] Removing intermediate container 0ca98a3dae55 [2024-05-16T05:56:35.688Z] ---> f333a36b3569 [2024-05-16T05:56:35.688Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T05:56:35.947Z] ---> Running in 7a88d8f12124 [2024-05-16T05:56:35.947Z] Removing intermediate container 7a88d8f12124 [2024-05-16T05:56:35.947Z] ---> 8a4e6c5d8f35 [2024-05-16T05:56:35.947Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T05:56:35.947Z] Successfully built 8a4e6c5d8f35 [2024-05-16T05:56:35.947Z] 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-05-16T05:56:37.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T05:56:37.040Z] [2024-05-16T05:56:37.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:56:37.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T05:56:37.448Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T05:56:37.448Z] 5eb5b503b376: Pulling fs layer [2024-05-16T05:56:37.448Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T05:56:37.448Z] ec43610c2a17: Pulling fs layer [2024-05-16T05:56:37.448Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T05:56:37.448Z] 33b1e0a273af: Pulling fs layer [2024-05-16T05:56:37.448Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T05:56:37.448Z] 2f39f015ded8: Pulling fs layer [2024-05-16T05:56:37.448Z] 3a2ae6a8a46f: Waiting [2024-05-16T05:56:37.448Z] 33b1e0a273af: Waiting [2024-05-16T05:56:37.448Z] 2f39f015ded8: Waiting [2024-05-16T05:56:37.448Z] 5c69ac0246d0: Verifying Checksum [2024-05-16T05:56:37.448Z] 5c69ac0246d0: Download complete [2024-05-16T05:56:37.448Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-16T05:56:37.448Z] 3a2ae6a8a46f: Download complete [2024-05-16T05:56:37.448Z] 33b1e0a273af: Verifying Checksum [2024-05-16T05:56:37.448Z] 33b1e0a273af: Download complete [2024-05-16T05:56:37.448Z] 5d3b04190fa2: Download complete [2024-05-16T05:56:37.448Z] ec43610c2a17: Verifying Checksum [2024-05-16T05:56:37.448Z] ec43610c2a17: Download complete [2024-05-16T05:56:37.708Z] 5eb5b503b376: Download complete [2024-05-16T05:56:38.276Z] 2f39f015ded8: Download complete [2024-05-16T05:56:38.846Z] 5eb5b503b376: Pull complete [2024-05-16T05:56:39.010Z] 00f215d4a9da: Pull complete [2024-05-16T05:56:39.105Z] 5c69ac0246d0: Pull complete [2024-05-16T05:56:39.364Z] ec43610c2a17: Pull complete [2024-05-16T05:56:39.621Z] 3a2ae6a8a46f: Pull complete [2024-05-16T05:56:39.880Z] 33b1e0a273af: Pull complete [2024-05-16T05:56:39.880Z] 5d3b04190fa2: Pull complete [2024-05-16T05:56:39.981Z] d496ad576159: Pull complete [2024-05-16T05:56:39.981Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T05:56:39.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T05:56:39.981Z] ---> f246e2811388 [2024-05-16T05:56:39.981Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T05:56:41.397Z] ---> Running in 3ce6d4c5bd0b [2024-05-16T05:56:41.397Z] Removing intermediate container 3ce6d4c5bd0b [2024-05-16T05:56:41.397Z] ---> f17b07bb1102 [2024-05-16T05:56:41.397Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T05:56:41.672Z] ---> Running in 7829e66493ec [2024-05-16T05:56:41.949Z] Removing intermediate container 7829e66493ec [2024-05-16T05:56:41.949Z] ---> 45db0d25b74d [2024-05-16T05:56:41.949Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T05:56:41.949Z] ---> Running in 7a2ec370037d [2024-05-16T05:56:42.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T05:56:43.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T05:56:44.062Z] 2f39f015ded8: Pull complete [2024-05-16T05:56:44.062Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T05:56:44.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T05:56:44.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T05:56:44.071Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:56:44.338Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T05:56:44.338Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T05:56:44.338Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T05:56:44.338Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T05:56:44.338Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T05:56:44.338Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T05:56:44.338Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T05:56:44.338Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T05:56:44.338Z] OK: 272 MiB in 60 packages [2024-05-16T05:56:44.367Z] prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container [2024-05-16T05:56:44.397Z] $ 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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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-05-16T05:56:45.746Z] Removing intermediate container 7a2ec370037d [2024-05-16T05:56:45.747Z] ---> 5b83e40dd017 [2024-05-16T05:56:45.747Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T05:56:45.747Z] ---> Running in 0e8944b3462d [2024-05-16T05:56:45.747Z] Removing intermediate container 0e8944b3462d [2024-05-16T05:56:45.747Z] ---> bd0b7561ab24 [2024-05-16T05:56:45.747Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T05:56:46.330Z] ---> aae44591020b [2024-05-16T05:56:46.330Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T05:56:46.330Z] ---> Running in 4335076288f0 [2024-05-16T05:56:51.231Z] $ docker top fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T05:56:51.787Z] ---> job-cost.sh [2024-05-16T05:56:51.787Z] lf-activate-venv: SKIPPING [2024-05-16T05:56:51.787Z] INFO: No Stack... [2024-05-16T05:56:52.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T05:56:52.620Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T05:56:52.946Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-552/archives/cost.csv [2024-05-16T05:56:52.946Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T05:56:53.001Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [2024-05-16T05:56:53.008Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] did not exist. Created. [2024-05-16T05:56:53.015Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T05:56:53.430Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T05:56:53.495Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T05:56:53.537Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T05:56:53.634Z] $ docker stop --time=1 fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 [2024-05-16T05:56:54.800Z] $ docker rm -f --volumes fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T05:58:38.004Z] Removing intermediate container 4335076288f0 [2024-05-16T05:58:38.004Z] ---> 214243382860 [2024-05-16T05:58:38.004Z] Step 9/10 : COPY . . [2024-05-16T05:58:38.004Z] ---> 8d94ae9f7c1e [2024-05-16T05:58:38.004Z] Step 10/10 : RUN ${MAKE} [2024-05-16T05:58:38.004Z] ---> Running in b9845e5251d7 [2024-05-16T05:58:38.004Z] noop [2024-05-16T05:58:38.004Z] Removing intermediate container b9845e5251d7 [2024-05-16T05:58:38.004Z] ---> 48e25e7dfee2 [2024-05-16T05:58:38.004Z] Successfully built 48e25e7dfee2 [2024-05-16T05:58:38.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:58:38.522Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T05:58:38.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:58:38.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2024-05-16T05:58:38.895Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-05-16T05:58:40.107Z] $ docker top de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T05:58:40.987Z] + go version [2024-05-16T05:58:40.988Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T05:58:41.032Z] $ docker stop --time=1 de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 [2024-05-16T05:58:42.688Z] $ docker rm -f --volumes de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T05:58:43.648Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T05:58:43.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T05:58:43.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2024-05-16T05:58:44.000Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-05-16T05:58:45.112Z] $ docker top def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T05:58:45.998Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-16T05:58:46.401Z] + make test [2024-05-16T05:58:46.667Z] go test ./... -coverprofile=coverage.out [2024-05-16T05:58:52.037Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T06:02:00.218Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T06:02:00.218Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.9% of statements [2024-05-16T06:02:00.218Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T06:02:00.218Z] go vet ./... [2024-05-16T06:02:47.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T06:02:47.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T06:02:47.052Z] ./bin/test-attribution-txt.sh [2024-05-16T06:02:47.052Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T06:02:47.052Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T06:02:47.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T06:02:47.152Z] $ docker stop --time=1 def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c [2024-05-16T06:02:48.958Z] $ docker rm -f --volumes def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T06:02:50.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T06:02:50.459Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T06:02:50.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T06:02:51.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T06:02:51.851Z] + ls -al . [2024-05-16T06:02:51.851Z] total 260 [2024-05-16T06:02:51.851Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:58 . [2024-05-16T06:02:51.851Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:55 .. [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:55 .dockerignore [2024-05-16T06:02:51.851Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:55 .git [2024-05-16T06:02:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 .github [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 05:55 .gitignore [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 05:55 .golangci.yml [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 05:55 Attribution.txt [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 05:55 CHANGELOG.md [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 05:55 Dockerfile [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:55 GOVERNANCE.md [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 05:55 Jenkinsfile [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 05:55 LICENSE [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 05:55 Makefile [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 05:55 OWNERS.md [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 05:55 README.md [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:53 VERSION [2024-05-16T06:02:51.851Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:55 bin [2024-05-16T06:02:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 cmd [2024-05-16T06:02:51.851Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 06:01 coverage.out [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 05:55 go.mod [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 101859 May 16 05:55 go.sum [2024-05-16T06:02:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 internal [2024-05-16T06:02:51.851Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:55 simulator [2024-05-16T06:02:51.851Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 05:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T06:02:52.290Z] + 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=a73672d5400e166621ab0562a57c0519cd2fea62 --label arch=arm64 --label version=0.0.0 . [2024-05-16T06:02:52.559Z] Sending build context to Docker daemon 10.62MB [2024-05-16T06:02:52.825Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T06:02:52.825Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T06:02:52.825Z] ---> 48e25e7dfee2 [2024-05-16T06:02:52.825Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T06:02:52.825Z] ---> Running in 3fe3737df5b2 [2024-05-16T06:02:53.093Z] Removing intermediate container 3fe3737df5b2 [2024-05-16T06:02:53.093Z] ---> 05882d1dccb5 [2024-05-16T06:02:53.093Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T06:02:53.361Z] ---> Running in 3b1761a0f78c [2024-05-16T06:02:53.630Z] Removing intermediate container 3b1761a0f78c [2024-05-16T06:02:53.631Z] ---> 614be95947eb [2024-05-16T06:02:53.631Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T06:02:53.631Z] ---> Running in 7d552ff6952a [2024-05-16T06:02:54.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T06:02:54.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T06:02:55.814Z] OK: 272 MiB in 60 packages [2024-05-16T06:02:56.776Z] Removing intermediate container 7d552ff6952a [2024-05-16T06:02:56.776Z] ---> f439ff3f394c [2024-05-16T06:02:56.776Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T06:02:56.776Z] ---> Running in 6eb51f5dd99c [2024-05-16T06:02:57.043Z] Removing intermediate container 6eb51f5dd99c [2024-05-16T06:02:57.043Z] ---> 631f66177ed5 [2024-05-16T06:02:57.043Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T06:02:57.310Z] ---> 7495a69cef32 [2024-05-16T06:02:57.310Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T06:02:57.580Z] ---> Running in 4e7d3decb9f6 [2024-05-16T06:02:59.534Z] Removing intermediate container 4e7d3decb9f6 [2024-05-16T06:02:59.534Z] ---> c343e5f1b338 [2024-05-16T06:02:59.534Z] Step 9/23 : COPY . . [2024-05-16T06:03:00.957Z] ---> 0496ddd628ba [2024-05-16T06:03:00.957Z] Step 10/23 : RUN ${MAKE} [2024-05-16T06:03:00.957Z] ---> Running in 43d52f5de1c8 [2024-05-16T06:03:01.921Z] 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-16T06:06:23.659Z] Removing intermediate container 43d52f5de1c8 [2024-05-16T06:06:23.659Z] ---> 9831954c0ecd [2024-05-16T06:06:23.659Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T06:06:23.659Z] 3.18: Pulling from library/alpine [2024-05-16T06:06:23.659Z] c6b39de5b339: Already exists [2024-05-16T06:06:23.659Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T06:06:23.659Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T06:06:23.659Z] ---> 33abbf032149 [2024-05-16T06:06:23.659Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T06:06:23.659Z] ---> Running in 746df680e406 [2024-05-16T06:06:23.659Z] Removing intermediate container 746df680e406 [2024-05-16T06:06:23.659Z] ---> cd7d95fcaa1f [2024-05-16T06:06:23.659Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T06:06:23.659Z] ---> Running in a0643b3520ed [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T06:06:23.659Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T06:06:23.659Z] OK: 8 MiB in 16 packages [2024-05-16T06:06:23.659Z] Removing intermediate container a0643b3520ed [2024-05-16T06:06:23.659Z] ---> 4d266c01af5c [2024-05-16T06:06:23.659Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T06:06:23.659Z] ---> Running in cc0318e761ea [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] Upgrading critical system libraries and apk-tools: [2024-05-16T06:06:23.659Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T06:06:23.659Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T06:06:23.659Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T06:06:23.659Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T06:06:23.659Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T06:06:23.659Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T06:06:23.659Z] OK: 8 MiB in 16 packages [2024-05-16T06:06:23.659Z] Removing intermediate container cc0318e761ea [2024-05-16T06:06:23.659Z] ---> 5f6036eb2336 [2024-05-16T06:06:23.659Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T06:06:23.659Z] ---> 37e52f400d2c [2024-05-16T06:06:23.659Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T06:06:23.659Z] ---> 0ceb5370da3e [2024-05-16T06:06:23.659Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T06:06:23.926Z] ---> 7f0419d57659 [2024-05-16T06:06:23.926Z] Step 18/23 : EXPOSE 59901 [2024-05-16T06:06:23.926Z] ---> Running in 4ed63c9e511c [2024-05-16T06:06:24.192Z] Removing intermediate container 4ed63c9e511c [2024-05-16T06:06:24.192Z] ---> 4ed32ff172bb [2024-05-16T06:06:24.192Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T06:06:24.192Z] ---> Running in fc7a2858cdbd [2024-05-16T06:06:24.461Z] Removing intermediate container fc7a2858cdbd [2024-05-16T06:06:24.461Z] ---> e2b8a5519707 [2024-05-16T06:06:24.461Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T06:06:24.729Z] ---> Running in 674985a3c050 [2024-05-16T06:06:24.997Z] Removing intermediate container 674985a3c050 [2024-05-16T06:06:24.997Z] ---> 1e4f4f1a5dc0 [2024-05-16T06:06:24.997Z] Step 21/23 : LABEL arch=arm64 [2024-05-16T06:06:24.997Z] ---> Running in 3fa4f1bde7b1 [2024-05-16T06:06:25.263Z] Removing intermediate container 3fa4f1bde7b1 [2024-05-16T06:06:25.263Z] ---> cb9ac6674fe0 [2024-05-16T06:06:25.263Z] Step 22/23 : LABEL git_sha=a73672d5400e166621ab0562a57c0519cd2fea62 [2024-05-16T06:06:25.263Z] ---> Running in 6548f7c77e4f [2024-05-16T06:06:25.531Z] Removing intermediate container 6548f7c77e4f [2024-05-16T06:06:25.531Z] ---> 0833407b137c [2024-05-16T06:06:25.531Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T06:06:25.531Z] ---> Running in 4600bc2abeec [2024-05-16T06:06:25.797Z] Removing intermediate container 4600bc2abeec [2024-05-16T06:06:25.797Z] ---> 96ec3d2a8820 [2024-05-16T06:06:25.797Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T06:06:26.061Z] Successfully built 96ec3d2a8820 [2024-05-16T06:06:26.062Z] 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-05-16T06:06:27.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T06:06:27.015Z] [2024-05-16T06:06:27.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T06:06:27.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T06:06:27.438Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T06:06:27.438Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T06:06:27.438Z] 04944245beec: Pulling fs layer [2024-05-16T06:06:27.438Z] 699f458cf7ca: Pulling fs layer [2024-05-16T06:06:27.438Z] 765212b225bb: Pulling fs layer [2024-05-16T06:06:27.438Z] f23df028b6ca: Pulling fs layer [2024-05-16T06:06:27.438Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T06:06:27.438Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T06:06:27.438Z] 765212b225bb: Waiting [2024-05-16T06:06:27.438Z] f23df028b6ca: Waiting [2024-05-16T06:06:27.438Z] d65c8cfc05b1: Waiting [2024-05-16T06:06:27.438Z] 2437ff75d9bd: Waiting [2024-05-16T06:06:27.705Z] 04944245beec: Verifying Checksum [2024-05-16T06:06:27.705Z] 04944245beec: Download complete [2024-05-16T06:06:27.705Z] 765212b225bb: Verifying Checksum [2024-05-16T06:06:27.705Z] 765212b225bb: Download complete [2024-05-16T06:06:27.705Z] f23df028b6ca: Verifying Checksum [2024-05-16T06:06:27.705Z] f23df028b6ca: Download complete [2024-05-16T06:06:27.705Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T06:06:27.705Z] d65c8cfc05b1: Download complete [2024-05-16T06:06:27.705Z] 699f458cf7ca: Verifying Checksum [2024-05-16T06:06:27.705Z] 699f458cf7ca: Download complete [2024-05-16T06:06:28.283Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T06:06:28.283Z] 8998bd30e6a1: Download complete [2024-05-16T06:06:30.848Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T06:06:30.848Z] 2437ff75d9bd: Download complete [2024-05-16T06:06:32.785Z] 8998bd30e6a1: Pull complete [2024-05-16T06:06:33.369Z] 04944245beec: Pull complete [2024-05-16T06:06:34.774Z] 699f458cf7ca: Pull complete [2024-05-16T06:06:34.774Z] 765212b225bb: Pull complete [2024-05-16T06:06:35.732Z] f23df028b6ca: Pull complete [2024-05-16T06:06:35.997Z] d65c8cfc05b1: Pull complete [2024-05-16T06:06:54.189Z] 2437ff75d9bd: Pull complete [2024-05-16T06:06:54.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T06:06:54.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T06:06:54.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T06:06:54.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2024-05-16T06:06:54.624Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-16T06:06:57.276Z] $ docker top b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:06:57.849Z] ---> job-cost.sh [2024-05-16T06:06:58.113Z] lf-activate-venv: SKIPPING [2024-05-16T06:06:58.113Z] INFO: No Stack... [2024-05-16T06:06:58.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T06:06:59.329Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T06:07:00.892Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-05-16T06:07:00.892Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T06:07:01.239Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [2024-05-16T06:07:01.246Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] did not exist. Created. [2024-05-16T06:07:01.253Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T06:07:01.996Z] /w/workspace/device-modbus-go/1@tmp/durable-1d3951f3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T06:07:02.663Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T06:07:02.707Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T06:07:02.762Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T06:07:02.788Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T06:07:02.902Z] $ docker stop --time=1 b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c [2024-05-16T06:07:04.380Z] $ docker rm -f --volumes b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c [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-05-16T06:07:05.576Z] provisioning config files... [2024-05-16T06:07:05.585Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config7797273553367384234tmp [Pipeline] { [Pipeline] sh [2024-05-16T06:07:05.937Z] + set +x [2024-05-16T06:07:05.937Z] + curl -s https://codecov.io/bash [2024-05-16T06:07:05.937Z] + bash -s -- [2024-05-16T06:07:05.937Z] [2024-05-16T06:07:05.937Z] _____ _ [2024-05-16T06:07:05.937Z] / ____| | | [2024-05-16T06:07:05.937Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T06:07:05.937Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T06:07:05.937Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T06:07:05.937Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T06:07:05.937Z] Bash-1.0.6 [2024-05-16T06:07:05.937Z] [2024-05-16T06:07:05.937Z] [2024-05-16T06:07:05.937Z] ==> git version 2.25.1 found [2024-05-16T06:07:05.938Z] ==> 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-05-16T06:07:05.938Z] Release-Date: 2020-01-08 [2024-05-16T06:07:05.938Z] 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-05-16T06:07:05.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T06:07:05.938Z] ==> Jenkins CI detected. [2024-05-16T06:07:05.938Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-552 [2024-05-16T06:07:05.938Z] project root: . [2024-05-16T06:07:05.938Z] --> token set from env [2024-05-16T06:07:05.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T06:07:05.938Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T06:07:05.938Z] ==> Python coveragepy not found [2024-05-16T06:07:05.938Z] ==> Searching for coverage reports in: [2024-05-16T06:07:05.938Z] + . [2024-05-16T06:07:05.938Z] -> Found 1 reports [2024-05-16T06:07:05.938Z] ==> Detecting git/mercurial file structure [2024-05-16T06:07:05.938Z] ==> Reading reports [2024-05-16T06:07:05.938Z] + ./coverage.out bytes=24601 [2024-05-16T06:07:05.938Z] ==> Appending adjustments [2024-05-16T06:07:05.938Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T06:07:06.197Z] + Found adjustments [2024-05-16T06:07:06.197Z] ==> Gzipping contents [2024-05-16T06:07:06.197Z] 4.0K /tmp/codecov.mGPOSc.gz [2024-05-16T06:07:06.197Z] ==> Uploading reports [2024-05-16T06:07:06.197Z] url: https://codecov.io [2024-05-16T06:07:06.197Z] query: branch=PR-552&commit=a73672d5400e166621ab0562a57c0519cd2fea62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=552&job=&cmd_args= [2024-05-16T06:07:06.197Z] -> Pinging Codecov [2024-05-16T06:07:06.197Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-552&commit=a73672d5400e166621ab0562a57c0519cd2fea62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=552&job=&cmd_args= [2024-05-16T06:07:06.458Z] -> Uploading to [2024-05-16T06:07:06.458Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/a73672d5400e166621ab0562a57c0519cd2fea62/3952a3b2-e28b-4c54-a24e-d8d10e90610d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T060706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cec9355343726fac1c3574377f7707ae5aefca1db0412c0f026d33e790638af0 [2024-05-16T06:07:06.458Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T06:07:06.458Z] Dload Upload Total Spent Left Speed [2024-05-16T06:07:06.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15250 --:--:-- --:--:-- --:--:-- 15250 [2024-05-16T06:07:06.717Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] } [2024-05-16T06:07:06.749Z] 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-05-16T06:07:08.999Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-552/archives ] [2024-05-16T06:07:08.999Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-552/archives [2024-05-16T06:07:08.999Z] total 16 [2024-05-16T06:07:08.999Z] drwxr-xr-x 3 root root 4096 May 16 05:56 . [2024-05-16T06:07:08.999Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:56 .. [2024-05-16T06:07:08.999Z] drwxr-xr-x 2 root root 4096 May 16 05:56 cost [2024-05-16T06:07:08.999Z] -rw-r--r-- 1 root root 88 May 16 05:56 cost.csv [2024-05-16T06:07:08.999Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-552/archives [2024-05-16T06:07:08.999Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-552/archives [2024-05-16T06:07:08.999Z] total 16 [2024-05-16T06:07:08.999Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:56 . [2024-05-16T06:07:08.999Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:56 .. [2024-05-16T06:07:08.999Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 05:56 cost [2024-05-16T06:07:08.999Z] -rw-r--r-- 1 jenkins jenkins 88 May 16 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:09.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:10.242Z] ---> package-listing.sh [2024-05-16T06:07:10.242Z] ++ facter osfamily [2024-05-16T06:07:10.242Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T06:07:10.505Z] + OS_FAMILY=debian [2024-05-16T06:07:10.505Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-552 [2024-05-16T06:07:10.505Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T06:07:10.505Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T06:07:10.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T06:07:10.505Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T06:07:10.505Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-552 ']' [2024-05-16T06:07:10.505Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T06:07:10.505Z] + case "${OS_FAMILY}" in [2024-05-16T06:07:10.505Z] + dpkg -l [2024-05-16T06:07:10.505Z] + grep '^ii' [2024-05-16T06:07:10.505Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T06:07:10.505Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T06:07:10.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T06:07:10.505Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-552 ']' [2024-05-16T06:07:10.505Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-552/archives/ [2024-05-16T06:07:10.505Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-552/archives/ [Pipeline] echo [2024-05-16T06:07:10.542Z] 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-552/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-16T06:07:10.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T06:07:11.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T06:07:11.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T06:07:11.683Z] prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container [2024-05-16T06:07:11.745Z] $ 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-552/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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T06:07:11.928Z] $ docker top 09e472b19fd19d06f180295cb1312273f1819502975dc64b335f53b3ec585811 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T06:07:12.445Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T06:07:12.763Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T06:07:13.094Z] + ls /var/log/sa-host [2024-05-16T06:07:13.094Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T06:07:13.354Z] provisioning config files... [2024-05-16T06:07:13.364Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config2862815782595748425tmp [Pipeline] { [Pipeline] echo [2024-05-16T06:07:13.430Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:13.747Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T06:07:13.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:14.202Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T06:07:14.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:14.571Z] ---> sudo-logs.sh [2024-05-16T06:07:14.571Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T06:07:14.676Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:15.000Z] ---> job-cost.sh [2024-05-16T06:07:15.000Z] lf-activate-venv: SKIPPING [2024-05-16T06:07:15.000Z] DEBUG: total: 0.2199999988079071 [2024-05-16T06:07:15.000Z] INFO: Retrieving Stack Cost... [2024-05-16T06:07:15.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T06:07:15.826Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T06:07:15.865Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T06:07:16.191Z] ---> logs-deploy.sh [2024-05-16T06:07:16.191Z] lf-activate-venv: SKIPPING [2024-05-16T06:07:16.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-552/1 [2024-05-16T06:07:16.191Z] INFO: archiving workspace using pattern(s): [2024-05-16T06:07:17.127Z] Archives upload complete. [2024-05-16T06:07:17.127Z] INFO: archiving logs to Nexus