Pull request #525 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 3148b9b3aa90a8d7faa07de684a50825bab71b84+3472a71eabe3cf11e529f0c456c85d4924dd4d23 (504301a02737ed9dcec13d8cb1d06c813016542e) 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-ssh9519736297916986178.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh16923161211783124342.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-525/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-525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8553862403532464834.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-525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11955482812822261418.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15584365158544312608.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-525/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-525/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1796292240402088348.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 Running on prd-ubuntu20.04-docker-8c-8g-17511 in /w/workspace/xfoundry_device-modbus-go_PR-525 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-525 # 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/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3472a71eabe3cf11e529f0c456c85d4924dd4d23 into PR head commit 3148b9b3aa90a8d7faa07de684a50825bab71b84 Merge succeeded, producing 3148b9b3aa90a8d7faa07de684a50825bab71b84 Checking out Revision 3148b9b3aa90a8d7faa07de684a50825bab71b84 (PR-525) > git config core.sparsecheckout # timeout=10 > git checkout -f 3148b9b3aa90a8d7faa07de684a50825bab71b84 # 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 3472a71eabe3cf11e529f0c456c85d4924dd4d23 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3148b9b3aa90a8d7faa07de684a50825bab71b84 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:41:08.633Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:41:08.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:41:08.924Z] ========================================================= [2023-11-14T18:41:08.924Z] EdgeX Global Pipelines Version Info [2023-11-14T18:41:08.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:41:09.660Z] ------------------- [2023-11-14T18:41:09.660Z] stable info: [2023-11-14T18:41:09.660Z] ------------------- [2023-11-14T18:41:09.660Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:41:09.660Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:41:09.660Z] Message: update stable to v1.0.257 [2023-11-14T18:41:10.230Z] ------------------- [2023-11-14T18:41:10.230Z] experimental info: [2023-11-14T18:41:10.231Z] ------------------- [2023-11-14T18:41:10.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:41:10.231Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:41:10.231Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:41:10.529Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-11-14T18:41:10.577Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-11-14T18:41:10.619Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:41:10.663Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:41:10.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:41:10.758Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:41:10.801Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:41:10.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:41:10.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:41:10.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:41:10.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:41:11.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-11-14T18:41:11.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:41:11.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:41:11.164Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:41:11.207Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:41:11.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:41:11.308Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:41:11.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:41:11.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:41:11.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T18:41:11.572Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T18:41:11.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:41:11.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:41:11.708Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:41:11.754Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:41:11.798Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:41:11.843Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo [2023-11-14T18:41:11.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo [2023-11-14T18:41:11.931Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo [2023-11-14T18:41:11.983Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3148b9b3aa90a8d7faa07de684a50825bab71b84 [Pipeline] echo [2023-11-14T18:41:12.028Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3148b9b [Pipeline] echo [2023-11-14T18:41:12.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:41:12.204Z] provisioning config files... [2023-11-14T18:41:12.223Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/config15305148716955558005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:41:12.586Z] ---> docker-login.sh [2023-11-14T18:41:12.586Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:41:12.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:12.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:12.846Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:12.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:12.846Z] [2023-11-14T18:41:12.846Z] Login Succeeded [2023-11-14T18:41:12.846Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:41:12.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:12.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:12.846Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:12.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:12.846Z] [2023-11-14T18:41:12.846Z] Login Succeeded [2023-11-14T18:41:12.846Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:41:13.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:13.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:13.107Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:13.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:13.107Z] [2023-11-14T18:41:13.107Z] Login Succeeded [2023-11-14T18:41:13.107Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:41:13.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:13.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:13.107Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:13.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:13.107Z] [2023-11-14T18:41:13.107Z] Login Succeeded [2023-11-14T18:41:13.107Z] docker.io [2023-11-14T18:41:13.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:13.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:13.368Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:13.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:13.368Z] [2023-11-14T18:41:13.629Z] Login Succeeded [2023-11-14T18:41:13.629Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:41:13.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:41:14.299Z] + git rev-list -1 --merges 3148b9b3aa90a8d7faa07de684a50825bab71b84~1..3148b9b3aa90a8d7faa07de684a50825bab71b84 [Pipeline] echo [2023-11-14T18:41:14.365Z] -----------> git rev-list -1 --merges 3148b9b3aa90a8d7faa07de684a50825bab71b84~1..3148b9b3aa90a8d7faa07de684a50825bab71b84 3148b9b3aa90a8d7faa07de684a50825bab71b84 [false] [Pipeline] sh [2023-11-14T18:41:14.697Z] + git log --format=format:%s -1 3148b9b3aa90a8d7faa07de684a50825bab71b84 [Pipeline] echo [2023-11-14T18:41:14.730Z] ========================================================= [2023-11-14T18:41:14.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:41:14.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:41:15.160Z] + git log --format=format:%s -1 3148b9b3aa90a8d7faa07de684a50825bab71b84 [Pipeline] echo [2023-11-14T18:41:15.193Z] [semverPrep] GIT_COMMIT: 3148b9b3aa90a8d7faa07de684a50825bab71b84, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:41:15.225Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:41:15.606Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:41:15.606Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:41:15.606Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:41:15.606Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:41:15.606Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:41:15.606Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:41:15.606Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:41:16.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:41:16.048Z] [2023-11-14T18:41:16.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:41:16.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:41:16.429Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:41:16.429Z] b85a868b505f: Pulling fs layer [2023-11-14T18:41:16.429Z] e2be974225ed: Pulling fs layer [2023-11-14T18:41:16.429Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:41:16.429Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:41:16.429Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:41:16.429Z] eaf3925da568: Pulling fs layer [2023-11-14T18:41:16.429Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:41:16.429Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:41:16.429Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:41:16.429Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:41:16.429Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:41:16.429Z] bab4dde63d76: Waiting [2023-11-14T18:41:16.429Z] bde34c3a00c8: Waiting [2023-11-14T18:41:16.429Z] b352a97aabf1: Waiting [2023-11-14T18:41:16.429Z] 4872d77fe225: Waiting [2023-11-14T18:41:16.429Z] 988bab9f4d93: Waiting [2023-11-14T18:41:16.429Z] eaf3925da568: Waiting [2023-11-14T18:41:16.429Z] 1469e6f7b9e6: Waiting [2023-11-14T18:41:16.429Z] 5851b861e8e6: Waiting [2023-11-14T18:41:16.429Z] e2be974225ed: Download complete [2023-11-14T18:41:16.429Z] 988bab9f4d93: Download complete [2023-11-14T18:41:16.686Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:41:16.686Z] 1469e6f7b9e6: Download complete [2023-11-14T18:41:16.686Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:41:16.686Z] 339a4e72a1f5: Download complete [2023-11-14T18:41:16.686Z] eaf3925da568: Download complete [2023-11-14T18:41:16.686Z] bde34c3a00c8: Download complete [2023-11-14T18:41:16.686Z] b352a97aabf1: Download complete [2023-11-14T18:41:16.686Z] 4872d77fe225: Download complete [2023-11-14T18:41:16.686Z] b85a868b505f: Verifying Checksum [2023-11-14T18:41:16.686Z] b85a868b505f: Download complete [2023-11-14T18:41:16.686Z] 5851b861e8e6: Download complete [2023-11-14T18:41:17.252Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:41:17.252Z] bab4dde63d76: Download complete [2023-11-14T18:41:17.819Z] b85a868b505f: Pull complete [2023-11-14T18:41:18.077Z] e2be974225ed: Pull complete [2023-11-14T18:41:18.648Z] 339a4e72a1f5: Pull complete [2023-11-14T18:41:18.648Z] 988bab9f4d93: Pull complete [2023-11-14T18:41:18.906Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:41:18.906Z] eaf3925da568: Pull complete [2023-11-14T18:41:20.821Z] bab4dde63d76: Pull complete [2023-11-14T18:41:20.821Z] bde34c3a00c8: Pull complete [2023-11-14T18:41:21.083Z] b352a97aabf1: Pull complete [2023-11-14T18:41:21.083Z] 4872d77fe225: Pull complete [2023-11-14T18:41:21.083Z] 5851b861e8e6: Pull complete [2023-11-14T18:41:21.083Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:41:21.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:41:21.083Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:41:21.322Z] prd-ubuntu20.04-docker-8c-8g-17511 does not seem to be running inside a container [2023-11-14T18:41:21.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-525 -v /w/workspace/xfoundry_device-modbus-go_PR-525:/w/workspace/xfoundry_device-modbus-go_PR-525:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-525@tmp:/w/workspace/xfoundry_device-modbus-go_PR-525@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-devops/py-git-semver:0.1.4 cat [2023-11-14T18:41:24.255Z] $ docker top f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 -eo pid,comm [2023-11-14T18:41:24.303Z] 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). [2023-11-14T18:41:24.303Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:41:24.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:41:24.432Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:41:24.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:41:24.564Z] $ docker exec f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 ssh-agent [2023-11-14T18:41:24.658Z] SSH_AUTH_SOCK=/tmp/ssh-wGuDRBUVtv34/agent.33 [2023-11-14T18:41:24.658Z] SSH_AGENT_PID=39 [2023-11-14T18:41:24.664Z] Running ssh-add (command line suppressed) [2023-11-14T18:41:24.784Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-525@tmp/private_key_12644528011013984546.key (/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/private_key_12644528011013984546.key) [2023-11-14T18:41:24.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:41:25.126Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:41:25.162Z] $ docker exec --env ******** --env ******** f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 ssh-agent -k [2023-11-14T18:41:25.257Z] unset SSH_AUTH_SOCK; [2023-11-14T18:41:25.258Z] unset SSH_AGENT_PID; [2023-11-14T18:41:25.258Z] echo Agent pid 39 killed; [2023-11-14T18:41:25.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:41:25.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:41:25.345Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:41:25.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:41:25.475Z] $ docker exec f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 ssh-agent [2023-11-14T18:41:25.569Z] SSH_AUTH_SOCK=/tmp/ssh-cRugsKtTKD3l/agent.71 [2023-11-14T18:41:25.569Z] SSH_AGENT_PID=77 [2023-11-14T18:41:25.573Z] Running ssh-add (command line suppressed) [2023-11-14T18:41:25.686Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-525@tmp/private_key_12151995717658319294.key (/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/private_key_12151995717658319294.key) [2023-11-14T18:41:25.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:41:26.023Z] + git semver init [2023-11-14T18:41:26.281Z] 2023-11-14 18:41:26,207 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:41:26.281Z] 2023-11-14 18:41:26,208 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-525/.semver [2023-11-14T18:41:26.281Z] 2023-11-14 18:41:26,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-525/.semver [2023-11-14T18:41:26.281Z] 2023-11-14 18:41:26,209 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-525/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-525, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,120 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-525/.git/info/exclude [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,120 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-525/.semver/PR-525 with force:False [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,120 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-525/.semver/PR-525 [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,124 [execute] INFO git cat-file --batch-check [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,130 [execute] INFO git cat-file --batch [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:41:27.216Z] 2023-11-14 18:41:27,135 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-525/.semver/PR-525 [2023-11-14T18:41:27.216Z] 0.0.0 [Pipeline] } [2023-11-14T18:41:27.250Z] $ docker exec --env ******** --env ******** f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 ssh-agent -k [2023-11-14T18:41:27.342Z] unset SSH_AUTH_SOCK; [2023-11-14T18:41:27.343Z] unset SSH_AGENT_PID; [2023-11-14T18:41:27.343Z] echo Agent pid 77 killed; [2023-11-14T18:41:27.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:41:27.765Z] + git semver [Pipeline] } [2023-11-14T18:41:28.056Z] $ docker stop --time=1 f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 [2023-11-14T18:41:29.360Z] $ docker rm -f --volumes f50b66bccb54721356a2f1aee333f83241d86a408d8741df7874fa0fa0b749b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:41:29.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:41:30.062Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:41:30.082Z] [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 [2023-11-14T18:41:30.658Z] provisioning config files... [2023-11-14T18:41:30.668Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/config3430715271231491659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:41:31.017Z] ---> docker-login.sh [2023-11-14T18:41:31.017Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:41:31.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:31.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:31.017Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:31.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:31.017Z] [2023-11-14T18:41:31.017Z] Login Succeeded [2023-11-14T18:41:31.017Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:41:31.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:31.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:31.017Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:31.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:31.017Z] [2023-11-14T18:41:31.017Z] Login Succeeded [2023-11-14T18:41:31.017Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:41:31.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:31.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:31.278Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:31.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:31.278Z] [2023-11-14T18:41:31.278Z] Login Succeeded [2023-11-14T18:41:31.278Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:41:31.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:31.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:31.278Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:31.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:31.278Z] [2023-11-14T18:41:31.278Z] Login Succeeded [2023-11-14T18:41:31.278Z] docker.io [2023-11-14T18:41:31.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:41:31.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:41:31.536Z] Configure a credential helper to remove this warning. See [2023-11-14T18:41:31.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:41:31.536Z] [2023-11-14T18:41:31.536Z] Login Succeeded [2023-11-14T18:41:31.536Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:41:31.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:41:31.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:41:31.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:41:31.855Z] ========================================================= [2023-11-14T18:41:31.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:41:31.855Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:41:32.326Z] + 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 . [2023-11-14T18:41:32.326Z] Sending build context to Docker daemon 6.578MB [2023-11-14T18:41:32.326Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:41:32.326Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-14T18:41:32.326Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:41:32.326Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:41:32.326Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:41:32.326Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:41:32.326Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:41:32.326Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:41:32.326Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:41:32.326Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:41:32.327Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:41:32.327Z] ad3a456e5733: Waiting [2023-11-14T18:41:32.327Z] 69c7f0334f64: Waiting [2023-11-14T18:41:32.327Z] 1f1c1a5573a3: Waiting [2023-11-14T18:41:32.327Z] ce7588e14bc9: Waiting [2023-11-14T18:41:32.327Z] b5e4710f87ac: Waiting [2023-11-14T18:41:32.327Z] c4d48a809fc2: Download complete [2023-11-14T18:41:32.586Z] ad3a456e5733: Verifying Checksum [2023-11-14T18:41:32.586Z] ad3a456e5733: Download complete [2023-11-14T18:41:32.586Z] 69c7f0334f64: Download complete [2023-11-14T18:41:32.586Z] 7264a8db6415: Verifying Checksum [2023-11-14T18:41:32.586Z] 7264a8db6415: Download complete [2023-11-14T18:41:32.586Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:41:32.586Z] 1f1c1a5573a3: Download complete [2023-11-14T18:41:32.586Z] 7264a8db6415: Pull complete [2023-11-14T18:41:32.845Z] c4d48a809fc2: Pull complete [2023-11-14T18:41:32.845Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:41:32.845Z] b5e4710f87ac: Download complete [2023-11-14T18:41:33.104Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:41:33.104Z] 4f1c88b9dad5: Download complete [2023-11-14T18:41:33.361Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:41:33.361Z] ce7588e14bc9: Download complete [2023-11-14T18:41:35.890Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:41:36.149Z] ad3a456e5733: Pull complete [2023-11-14T18:41:36.149Z] 69c7f0334f64: Pull complete [2023-11-14T18:41:36.149Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:41:38.677Z] ce7588e14bc9: Pull complete [2023-11-14T18:41:39.244Z] b5e4710f87ac: Pull complete [2023-11-14T18:41:39.244Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:41:39.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:41:39.244Z] ---> 88b5674ff536 [2023-11-14T18:41:39.244Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:41:43.451Z] ---> Running in ec3581d4bda3 [2023-11-14T18:41:43.451Z] Removing intermediate container ec3581d4bda3 [2023-11-14T18:41:43.451Z] ---> d8c1e9d5e4aa [2023-11-14T18:41:43.451Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:41:43.451Z] ---> Running in d66363cc385e [2023-11-14T18:41:43.451Z] Removing intermediate container d66363cc385e [2023-11-14T18:41:43.451Z] ---> bd78ab806685 [2023-11-14T18:41:43.451Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-14T18:41:43.451Z] ---> Running in 32e8d2331c13 [2023-11-14T18:41:43.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:41:43.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:41:43.968Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-14T18:41:43.968Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-14T18:41:43.968Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-14T18:41:43.968Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:41:43.968Z] OK: 270 MiB in 60 packages [2023-11-14T18:41:44.535Z] Removing intermediate container 32e8d2331c13 [2023-11-14T18:41:44.535Z] ---> b5b5a6c90c9f [2023-11-14T18:41:44.535Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-14T18:41:44.535Z] ---> Running in 1ecab9bdb465 [2023-11-14T18:41:44.535Z] Removing intermediate container 1ecab9bdb465 [2023-11-14T18:41:44.535Z] ---> 93dadc23df5b [2023-11-14T18:41:44.535Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-14T18:41:44.535Z] ---> 7cfe71d945f0 [2023-11-14T18:41:44.535Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:41:44.794Z] ---> Running in e2a2ea64c59e [2023-11-14T18:41:45.471Z] Still waiting to schedule task [2023-11-14T18:41:45.471Z] ‘prd-centos7-blackbox-4c-2g-17248’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:41:45.471Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17513’ is offline [2023-11-14T18:42:31.488Z] Removing intermediate container e2a2ea64c59e [2023-11-14T18:42:31.488Z] ---> 218b27cf6198 [2023-11-14T18:42:31.488Z] Step 9/10 : COPY . . [2023-11-14T18:42:31.488Z] ---> 453132c0562c [2023-11-14T18:42:31.488Z] Step 10/10 : RUN ${MAKE} [2023-11-14T18:42:31.488Z] ---> Running in 9677b17ad82b [2023-11-14T18:42:31.488Z] noop [2023-11-14T18:42:31.488Z] Removing intermediate container 9677b17ad82b [2023-11-14T18:42:31.488Z] ---> 2c7459e6ab73 [2023-11-14T18:42:31.488Z] Successfully built 2c7459e6ab73 [2023-11-14T18:42:31.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:42:31.923Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:42:31.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:42:32.078Z] prd-ubuntu20.04-docker-8c-8g-17511 does not seem to be running inside a container [2023-11-14T18:42:32.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-525 -v /w/workspace/xfoundry_device-modbus-go_PR-525:/w/workspace/xfoundry_device-modbus-go_PR-525:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-525@tmp:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:42:32.446Z] $ docker top 083488a3d59fd7dbcdde2fda168c6cd578de84de6354b7ecc19b16ef1aa9e695 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:42:32.832Z] + go version [2023-11-14T18:42:32.832Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:42:32.873Z] $ docker stop --time=1 083488a3d59fd7dbcdde2fda168c6cd578de84de6354b7ecc19b16ef1aa9e695 [2023-11-14T18:42:34.139Z] $ docker rm -f --volumes 083488a3d59fd7dbcdde2fda168c6cd578de84de6354b7ecc19b16ef1aa9e695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:42:34.857Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:42:34.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:42:34.996Z] prd-ubuntu20.04-docker-8c-8g-17511 does not seem to be running inside a container [2023-11-14T18:42:35.031Z] $ 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-525 -v /w/workspace/xfoundry_device-modbus-go_PR-525:/w/workspace/xfoundry_device-modbus-go_PR-525:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-525@tmp:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:42:35.368Z] $ docker top 241798ab61eadbb530de9703076f3559f3b4d84eb475de27551d0dbba0b739a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:42:35.756Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-525 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:42:36.110Z] + make test [2023-11-14T18:42:36.110Z] go test ./... -coverprofile=coverage.out [2023-11-14T18:42:38.013Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-14T18:42:50.224Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-14T18:42:50.224Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-11-14T18:42:56.776Z] go vet ./... [2023-11-14T18:43:00.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:43:00.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:43:00.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:43:00.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:43:01.038Z] $ docker stop --time=1 241798ab61eadbb530de9703076f3559f3b4d84eb475de27551d0dbba0b739a0 [2023-11-14T18:43:02.972Z] $ docker rm -f --volumes 241798ab61eadbb530de9703076f3559f3b4d84eb475de27551d0dbba0b739a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:43:03.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:43:03.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:43:04.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:43:04.649Z] + ls -al . [2023-11-14T18:43:04.649Z] total 192 [2023-11-14T18:43:04.649Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:42 . [2023-11-14T18:43:04.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:41 .. [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:41 .dockerignore [2023-11-14T18:43:04.649Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:42 .git [2023-11-14T18:43:04.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 .github [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 14 18:41 .gitignore [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:41 .golangci.yml [2023-11-14T18:43:04.649Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:41 .semver [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 14 18:41 Attribution.txt [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 14 18:41 CHANGELOG.md [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 1474 Nov 14 18:41 Dockerfile [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:41 GOVERNANCE.md [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 14 18:41 Jenkinsfile [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:41 LICENSE [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 14 18:41 Makefile [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 14 18:41 OWNERS.md [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 14 18:41 README.md [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:41 VERSION [2023-11-14T18:43:04.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:41 bin [2023-11-14T18:43:04.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 cmd [2023-11-14T18:43:04.649Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 14 18:42 coverage.out [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 14 18:41 go.mod [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 14 18:41 go.sum [2023-11-14T18:43:04.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 internal [2023-11-14T18:43:04.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:41 simulator [2023-11-14T18:43:04.649Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 14 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:43:05.036Z] + 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=3148b9b3aa90a8d7faa07de684a50825bab71b84 --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:43:05.036Z] Sending build context to Docker daemon 6.603MB [2023-11-14T18:43:05.036Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:43:05.036Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-14T18:43:05.036Z] ---> 2c7459e6ab73 [2023-11-14T18:43:05.036Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:43:05.036Z] ---> Running in d18cd58a8528 [2023-11-14T18:43:05.294Z] Removing intermediate container d18cd58a8528 [2023-11-14T18:43:05.294Z] ---> 946402d517d8 [2023-11-14T18:43:05.294Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:43:05.294Z] ---> Running in 8c7a487bcdf9 [2023-11-14T18:43:05.294Z] Removing intermediate container 8c7a487bcdf9 [2023-11-14T18:43:05.294Z] ---> ce718c5e7604 [2023-11-14T18:43:05.294Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2023-11-14T18:43:05.294Z] ---> Running in 93ade82cac87 [2023-11-14T18:43:05.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:05.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:05.815Z] OK: 270 MiB in 60 packages [2023-11-14T18:43:06.384Z] Removing intermediate container 93ade82cac87 [2023-11-14T18:43:06.384Z] ---> 701edf46089d [2023-11-14T18:43:06.384Z] Step 6/23 : WORKDIR /device-modbus-go [2023-11-14T18:43:06.384Z] ---> Running in 3de7e4cd232d [2023-11-14T18:43:06.661Z] Removing intermediate container 3de7e4cd232d [2023-11-14T18:43:06.661Z] ---> 3dc9165f6d31 [2023-11-14T18:43:06.661Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-14T18:43:06.921Z] ---> d216c30831ed [2023-11-14T18:43:06.921Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:43:07.180Z] ---> Running in 74da4a0892a6 [2023-11-14T18:43:08.118Z] Removing intermediate container 74da4a0892a6 [2023-11-14T18:43:08.118Z] ---> 72bbf791d70e [2023-11-14T18:43:08.118Z] Step 9/23 : COPY . . [2023-11-14T18:43:08.378Z] ---> 68590ca0a159 [2023-11-14T18:43:08.378Z] Step 10/23 : RUN ${MAKE} [2023-11-14T18:43:08.641Z] ---> Running in 6e8877066b81 [2023-11-14T18:43:08.903Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-14T18:43:35.715Z] Removing intermediate container 6e8877066b81 [2023-11-14T18:43:35.715Z] ---> f223abfbb96b [2023-11-14T18:43:35.715Z] Step 11/23 : FROM alpine:3.18 [2023-11-14T18:43:35.715Z] 3.18: Pulling from library/alpine [2023-11-14T18:43:35.715Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:43:35.715Z] 96526aa774ef: Download complete [2023-11-14T18:43:35.715Z] 96526aa774ef: Pull complete [2023-11-14T18:43:35.715Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:43:35.715Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:43:35.715Z] ---> 8ca4688f4f35 [2023-11-14T18:43:35.715Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-14T18:43:35.715Z] ---> Running in aacbcaa4b296 [2023-11-14T18:43:35.715Z] Removing intermediate container aacbcaa4b296 [2023-11-14T18:43:35.715Z] ---> bd329c56ede1 [2023-11-14T18:43:35.715Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:43:35.715Z] ---> Running in 6a759671f909 [2023-11-14T18:43:35.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:35.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:35.715Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:43:35.715Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:43:35.715Z] OK: 7 MiB in 16 packages [2023-11-14T18:43:35.715Z] Removing intermediate container 6a759671f909 [2023-11-14T18:43:35.715Z] ---> 1df601cacaca [2023-11-14T18:43:35.715Z] Step 14/23 : RUN apk --no-cache upgrade [2023-11-14T18:43:35.715Z] ---> Running in 4e677bc49b4c [2023-11-14T18:43:35.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:35.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:43:35.715Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:43:35.715Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:43:35.715Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:43:35.715Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:43:35.715Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:43:35.715Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:43:35.715Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:43:35.715Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:43:35.715Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:43:35.715Z] OK: 7 MiB in 16 packages [2023-11-14T18:43:35.715Z] Removing intermediate container 4e677bc49b4c [2023-11-14T18:43:35.715Z] ---> 73683c80132b [2023-11-14T18:43:35.715Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2023-11-14T18:43:35.974Z] ---> 604f31a925ad [2023-11-14T18:43:35.974Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-14T18:43:35.974Z] ---> 669b4864f413 [2023-11-14T18:43:35.974Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-14T18:43:36.232Z] ---> 0e8c35a51a89 [2023-11-14T18:43:36.232Z] Step 18/23 : EXPOSE 59901 [2023-11-14T18:43:36.232Z] ---> Running in 5e450ccc8dc6 [2023-11-14T18:43:36.232Z] Removing intermediate container 5e450ccc8dc6 [2023-11-14T18:43:36.232Z] ---> 43b1d390abe2 [2023-11-14T18:43:36.232Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2023-11-14T18:43:36.232Z] ---> Running in 741121ad6c15 [2023-11-14T18:43:36.491Z] Removing intermediate container 741121ad6c15 [2023-11-14T18:43:36.491Z] ---> d900d9f3ce08 [2023-11-14T18:43:36.491Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T18:43:36.491Z] ---> Running in fa236c7c8799 [2023-11-14T18:43:36.491Z] Removing intermediate container fa236c7c8799 [2023-11-14T18:43:36.491Z] ---> 337c2e3d7afa [2023-11-14T18:43:36.491Z] Step 21/23 : LABEL arch=amd64 [2023-11-14T18:43:36.491Z] ---> Running in a118508eb308 [2023-11-14T18:43:36.491Z] Removing intermediate container a118508eb308 [2023-11-14T18:43:36.491Z] ---> 606ba342c2ac [2023-11-14T18:43:36.491Z] Step 22/23 : LABEL git_sha=3148b9b3aa90a8d7faa07de684a50825bab71b84 [2023-11-14T18:43:36.491Z] ---> Running in 430fe4f99b89 [2023-11-14T18:43:36.749Z] Removing intermediate container 430fe4f99b89 [2023-11-14T18:43:36.749Z] ---> e0c191e68f41 [2023-11-14T18:43:36.749Z] Step 23/23 : LABEL version=0.0.0 [2023-11-14T18:43:36.749Z] ---> Running in 95f193a74e1d [2023-11-14T18:43:36.749Z] Removing intermediate container 95f193a74e1d [2023-11-14T18:43:36.749Z] ---> 4329111c5c97 [2023-11-14T18:43:36.749Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:43:36.749Z] Successfully built 4329111c5c97 [2023-11-14T18:43:36.749Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:43:37.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:43:37.640Z] [2023-11-14T18:43:37.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:43:38.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:43:38.003Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:43:38.003Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:43:38.003Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:43:38.003Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:43:38.003Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:43:38.003Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:43:38.003Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:43:38.003Z] 33b1e0a273af: Waiting [2023-11-14T18:43:38.003Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:43:38.003Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:43:38.003Z] 2f39f015ded8: Waiting [2023-11-14T18:43:38.003Z] 5d3b04190fa2: Waiting [2023-11-14T18:43:38.003Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:43:38.003Z] 5c69ac0246d0: Download complete [2023-11-14T18:43:38.003Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:43:38.003Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:43:38.003Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:43:38.003Z] 33b1e0a273af: Download complete [2023-11-14T18:43:38.003Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:43:38.003Z] ec43610c2a17: Download complete [2023-11-14T18:43:38.262Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T18:43:38.262Z] 5d3b04190fa2: Download complete [2023-11-14T18:43:38.262Z] 5eb5b503b376: Verifying Checksum [2023-11-14T18:43:38.262Z] 5eb5b503b376: Download complete [2023-11-14T18:43:38.828Z] 2f39f015ded8: Download complete [2023-11-14T18:43:39.761Z] 5eb5b503b376: Pull complete [2023-11-14T18:43:39.761Z] 5c69ac0246d0: Pull complete [2023-11-14T18:43:40.328Z] ec43610c2a17: Pull complete [2023-11-14T18:43:40.328Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:43:40.586Z] 33b1e0a273af: Pull complete [2023-11-14T18:43:40.586Z] 5d3b04190fa2: Pull complete [2023-11-14T18:43:45.849Z] 2f39f015ded8: Pull complete [2023-11-14T18:43:45.849Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:43:45.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:43:45.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:43:46.088Z] prd-ubuntu20.04-docker-8c-8g-17511 does not seem to be running inside a container [2023-11-14T18:43:46.124Z] $ 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-525 -v /w/workspace/xfoundry_device-modbus-go_PR-525:/w/workspace/xfoundry_device-modbus-go_PR-525:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-525@tmp:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:43:58.460Z] $ docker top 9123d3698b574a8e3f11c20027ac288445aaecc104c3626a0ff22ff5e1066d8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:43:58.885Z] ---> job-cost.sh [2023-11-14T18:43:58.885Z] lf-activate-venv: SKIPPING [2023-11-14T18:43:58.885Z] INFO: No Stack... [2023-11-14T18:43:59.143Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:43:59.402Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:43:59.714Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-525/archives/cost.csv [2023-11-14T18:43:59.714Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:43:59.754Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [2023-11-14T18:43:59.760Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] did not exist. Created. [2023-11-14T18:43:59.760Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:44:00.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:44:00.256Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:44:00.294Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:44:00.389Z] $ docker stop --time=1 9123d3698b574a8e3f11c20027ac288445aaecc104c3626a0ff22ff5e1066d8c [2023-11-14T18:44:01.557Z] $ docker rm -f --volumes 9123d3698b574a8e3f11c20027ac288445aaecc104c3626a0ff22ff5e1066d8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:46:02.340Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17514 in /w/workspace/xfoundry_device-modbus-go_PR-525 [Pipeline] { [Pipeline] ws [2023-11-14T18:46:02.405Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:46:02.544Z] Selected Git installation does not exist. Using Default [2023-11-14T18:46:02.544Z] The recommended git tool is: NONE [2023-11-14T18:46:09.383Z] using credential edgex-jenkins-ssh [2023-11-14T18:46:09.408Z] Cloning the remote Git repository [2023-11-14T18:46:09.466Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-11-14T18:46:09.579Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-11-14T18:46:09.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-14T18:46:09.766Z] > git --version # timeout=10 [2023-11-14T18:46:09.795Z] > git --version # 'git version 2.25.1' [2023-11-14T18:46:09.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:46:09.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:46:11.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-14T18:46:11.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:46:12.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-14T18:46:12.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-14T18:46:12.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:46:12.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:46:13.089Z] Merging remotes/origin/main commit 3472a71eabe3cf11e529f0c456c85d4924dd4d23 into PR head commit 3148b9b3aa90a8d7faa07de684a50825bab71b84 [2023-11-14T18:46:13.415Z] Merge succeeded, producing 3148b9b3aa90a8d7faa07de684a50825bab71b84 [2023-11-14T18:46:13.415Z] Checking out Revision 3148b9b3aa90a8d7faa07de684a50825bab71b84 (PR-525) [2023-11-14T18:46:13.109Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:46:13.186Z] > git checkout -f 3148b9b3aa90a8d7faa07de684a50825bab71b84 # timeout=10 [2023-11-14T18:46:13.282Z] > git remote # timeout=10 [2023-11-14T18:46:13.307Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:46:13.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:46:13.353Z] > git merge 3472a71eabe3cf11e529f0c456c85d4924dd4d23 # timeout=10 [2023-11-14T18:46:13.386Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:46:13.422Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:46:13.441Z] > git checkout -f 3148b9b3aa90a8d7faa07de684a50825bab71b84 # timeout=10 [2023-11-14T18:46:16.998Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:46:17.059Z] > git --version # timeout=10 [2023-11-14T18:46:17.077Z] > git --version # 'git version 2.25.1' [2023-11-14T18:46:17.110Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:46:18.268Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:46:18.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:46:18.268Z] Dload Upload Total Spent Left Speed [2023-11-14T18:46:18.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 203k [Pipeline] sh [2023-11-14T18:46:19.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:46:19.474Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:46:19.474Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:46:19.474Z] { [2023-11-14T18:46:19.474Z] "registry-mirrors": [ [2023-11-14T18:46:19.474Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:46:19.474Z] ], [2023-11-14T18:46:19.474Z] "bip": "10.250.0.254/24", [2023-11-14T18:46:19.474Z] "hosts": [ [2023-11-14T18:46:19.474Z] "tcp://0.0.0.0:5555", [2023-11-14T18:46:19.474Z] "unix:///var/run/docker.sock" [2023-11-14T18:46:19.474Z] ], [2023-11-14T18:46:19.474Z] "mtu": 1458, [2023-11-14T18:46:19.474Z] "selinux-enabled": true, [2023-11-14T18:46:19.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:46:19.474Z] } [Pipeline] sh [2023-11-14T18:46:19.828Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:46:20.180Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:46:38.547Z] provisioning config files... [2023-11-14T18:46:38.590Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15893853119432734872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:46:39.000Z] ---> docker-login.sh [2023-11-14T18:46:39.000Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:46:39.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:46:39.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:46:39.603Z] Configure a credential helper to remove this warning. See [2023-11-14T18:46:39.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:46:39.603Z] [2023-11-14T18:46:39.603Z] Login Succeeded [2023-11-14T18:46:39.603Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:46:39.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:46:40.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:46:40.151Z] Configure a credential helper to remove this warning. See [2023-11-14T18:46:40.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:46:40.151Z] [2023-11-14T18:46:40.151Z] Login Succeeded [2023-11-14T18:46:40.151Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:46:40.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:46:40.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:46:40.696Z] Configure a credential helper to remove this warning. See [2023-11-14T18:46:40.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:46:40.696Z] [2023-11-14T18:46:40.696Z] Login Succeeded [2023-11-14T18:46:40.696Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:46:40.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:46:40.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:46:40.967Z] Configure a credential helper to remove this warning. See [2023-11-14T18:46:40.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:46:40.967Z] [2023-11-14T18:46:40.967Z] Login Succeeded [2023-11-14T18:46:40.967Z] docker.io [2023-11-14T18:46:41.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:46:41.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:46:41.833Z] Configure a credential helper to remove this warning. See [2023-11-14T18:46:41.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:46:41.833Z] [2023-11-14T18:46:41.833Z] Login Succeeded [2023-11-14T18:46:41.833Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:46:41.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:46:42.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:46:42.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:46:42.390Z] ========================================================= [2023-11-14T18:46:42.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:46:42.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:46:42.887Z] + 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 . [2023-11-14T18:46:43.158Z] Sending build context to Docker daemon 3.409MB [2023-11-14T18:46:43.158Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:46:43.158Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-14T18:46:43.434Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:46:43.434Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:46:43.434Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:46:43.434Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:46:43.434Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:46:43.434Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:46:43.434Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:46:43.434Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:46:43.434Z] f0e02332f6b5: Waiting [2023-11-14T18:46:43.434Z] 0c6a40ed1a82: Waiting [2023-11-14T18:46:43.434Z] 872ee5b61b7b: Waiting [2023-11-14T18:46:43.434Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:46:43.434Z] 5d54e960e981: Download complete [2023-11-14T18:46:43.434Z] f0e02332f6b5: Verifying Checksum [2023-11-14T18:46:43.434Z] f0e02332f6b5: Download complete [2023-11-14T18:46:43.434Z] 872ee5b61b7b: Download complete [2023-11-14T18:46:43.434Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T18:46:43.434Z] 9fda8d8052c6: Download complete [2023-11-14T18:46:44.031Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:46:44.031Z] 94ae7d8d031c: Download complete [2023-11-14T18:46:44.302Z] 9fda8d8052c6: Pull complete [2023-11-14T18:46:44.897Z] 5d54e960e981: Pull complete [2023-11-14T18:46:45.233Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T18:46:45.233Z] c4a7e357bf2a: Download complete [2023-11-14T18:46:46.663Z] 0c6a40ed1a82: Download complete [2023-11-14T18:46:59.060Z] c4a7e357bf2a: Pull complete [2023-11-14T18:46:59.060Z] f0e02332f6b5: Pull complete [2023-11-14T18:46:59.060Z] 872ee5b61b7b: Pull complete [2023-11-14T18:47:07.336Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:47:09.290Z] 94ae7d8d031c: Pull complete [2023-11-14T18:47:09.290Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:47:09.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:47:09.290Z] ---> 86de565de09d [2023-11-14T18:47:09.290Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:47:10.722Z] ---> Running in 42216600f46e [2023-11-14T18:47:10.723Z] Removing intermediate container 42216600f46e [2023-11-14T18:47:10.723Z] ---> 22b4b342ea0f [2023-11-14T18:47:10.723Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:47:10.996Z] ---> Running in 098944c090b1 [2023-11-14T18:47:11.277Z] Removing intermediate container 098944c090b1 [2023-11-14T18:47:11.277Z] ---> 8eba2bf3250d [2023-11-14T18:47:11.277Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-14T18:47:11.277Z] ---> Running in c9e34f9a74d9 [2023-11-14T18:47:12.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:47:12.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:47:13.929Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:47:13.929Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-14T18:47:14.200Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:47:14.200Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:47:14.200Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-14T18:47:14.200Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-14T18:47:14.200Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-14T18:47:14.200Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-14T18:47:14.200Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:47:14.200Z] OK: 272 MiB in 60 packages [2023-11-14T18:47:15.621Z] Removing intermediate container c9e34f9a74d9 [2023-11-14T18:47:15.621Z] ---> 18b1b40bd690 [2023-11-14T18:47:15.621Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-14T18:47:15.621Z] ---> Running in 8573871e4063 [2023-11-14T18:47:15.891Z] Removing intermediate container 8573871e4063 [2023-11-14T18:47:15.891Z] ---> dc64c7aacfc7 [2023-11-14T18:47:15.891Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-14T18:47:16.479Z] ---> c7377be2a475 [2023-11-14T18:47:16.479Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:47:16.749Z] ---> Running in 0f218aea788d [2023-11-14T18:48:38.418Z] Removing intermediate container 0f218aea788d [2023-11-14T18:48:38.418Z] ---> 90b72b7cf597 [2023-11-14T18:48:38.418Z] Step 9/10 : COPY . . [2023-11-14T18:48:38.418Z] ---> 3bdb3f3f5a55 [2023-11-14T18:48:38.418Z] Step 10/10 : RUN ${MAKE} [2023-11-14T18:48:38.418Z] ---> Running in df52a9b16d43 [2023-11-14T18:48:38.418Z] noop [2023-11-14T18:48:38.418Z] Removing intermediate container df52a9b16d43 [2023-11-14T18:48:38.418Z] ---> a500458371f4 [2023-11-14T18:48:38.418Z] Successfully built a500458371f4 [2023-11-14T18:48:38.418Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:48:38.899Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:48:38.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:48:39.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-17514 does not seem to be running inside a container [2023-11-14T18:48:39.263Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:48:40.535Z] $ docker top dfbd4ef1d9d07c45df0f03e420f0992eb270b802fb08a6dbf466245e48829244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:48:41.446Z] + go version [2023-11-14T18:48:41.446Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:48:41.480Z] $ docker stop --time=1 dfbd4ef1d9d07c45df0f03e420f0992eb270b802fb08a6dbf466245e48829244 [2023-11-14T18:48:43.205Z] $ docker rm -f --volumes dfbd4ef1d9d07c45df0f03e420f0992eb270b802fb08a6dbf466245e48829244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:48:44.115Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:48:44.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:48:44.382Z] prd-ubuntu20.04-docker-arm64-4c-16g-17514 does not seem to be running inside a container [2023-11-14T18:48:44.457Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:48:47.946Z] $ docker top d04fae65fd160af4fc69bc0712a332859f0d2b354b1891b3eee10823d4421008 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:48:48.842Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:48:49.570Z] + make test [2023-11-14T18:48:49.570Z] go test ./... -coverprofile=coverage.out [2023-11-14T18:48:53.833Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-14T18:50:45.525Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-14T18:50:45.525Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.9% of statements [2023-11-14T18:50:45.525Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:50:45.525Z] go vet ./... [2023-11-14T18:51:17.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:51:17.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:51:17.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:51:17.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:51:17.843Z] $ docker stop --time=1 d04fae65fd160af4fc69bc0712a332859f0d2b354b1891b3eee10823d4421008 [2023-11-14T18:51:19.759Z] $ docker rm -f --volumes d04fae65fd160af4fc69bc0712a332859f0d2b354b1891b3eee10823d4421008 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:51:21.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:51:21.111Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:51:21.569Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:51:22.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:51:22.485Z] + ls -al . [2023-11-14T18:51:22.485Z] total 188 [2023-11-14T18:51:22.485Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:48 . [2023-11-14T18:51:22.485Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:46 .. [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:46 .dockerignore [2023-11-14T18:51:22.485Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:46 .git [2023-11-14T18:51:22.485Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:46 .github [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 14 18:46 .gitignore [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:46 .golangci.yml [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 14 18:46 Attribution.txt [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 14 18:46 CHANGELOG.md [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 1474 Nov 14 18:46 Dockerfile [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:46 GOVERNANCE.md [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 14 18:46 Jenkinsfile [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:46 LICENSE [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 14 18:46 Makefile [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 14 18:46 OWNERS.md [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 14 18:46 README.md [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:41 VERSION [2023-11-14T18:51:22.485Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:46 bin [2023-11-14T18:51:22.485Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:46 cmd [2023-11-14T18:51:22.485Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 14 18:50 coverage.out [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 14 18:46 go.mod [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 14 18:46 go.sum [2023-11-14T18:51:22.485Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:46 internal [2023-11-14T18:51:22.485Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:46 simulator [2023-11-14T18:51:22.485Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 14 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:51:22.981Z] + 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=3148b9b3aa90a8d7faa07de684a50825bab71b84 --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:51:23.271Z] Sending build context to Docker daemon 3.434MB [2023-11-14T18:51:23.271Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:51:23.271Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-14T18:51:23.271Z] ---> a500458371f4 [2023-11-14T18:51:23.271Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:51:23.546Z] ---> Running in ce7c2dd880c5 [2023-11-14T18:51:23.821Z] Removing intermediate container ce7c2dd880c5 [2023-11-14T18:51:23.821Z] ---> 04861202863f [2023-11-14T18:51:23.821Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:51:23.821Z] ---> Running in cdc70b7c045b [2023-11-14T18:51:24.446Z] Removing intermediate container cdc70b7c045b [2023-11-14T18:51:24.446Z] ---> 98c1ce47faa6 [2023-11-14T18:51:24.446Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2023-11-14T18:51:24.446Z] ---> Running in ebec4bc49a83 [2023-11-14T18:51:25.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:26.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:27.452Z] OK: 272 MiB in 60 packages [2023-11-14T18:51:28.417Z] Removing intermediate container ebec4bc49a83 [2023-11-14T18:51:28.417Z] ---> ab93907a02fe [2023-11-14T18:51:28.417Z] Step 6/23 : WORKDIR /device-modbus-go [2023-11-14T18:51:28.417Z] ---> Running in 7148740e252e [2023-11-14T18:51:28.690Z] Removing intermediate container 7148740e252e [2023-11-14T18:51:28.690Z] ---> d229f3524b1d [2023-11-14T18:51:28.690Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-14T18:51:29.282Z] ---> ae4d8ef6de55 [2023-11-14T18:51:29.282Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:51:29.551Z] ---> Running in c10845f90dbd [2023-11-14T18:51:32.151Z] Removing intermediate container c10845f90dbd [2023-11-14T18:51:32.151Z] ---> 70473bd73d62 [2023-11-14T18:51:32.151Z] Step 9/23 : COPY . . [2023-11-14T18:51:32.744Z] ---> 6b4f74a30730 [2023-11-14T18:51:32.744Z] Step 10/23 : RUN ${MAKE} [2023-11-14T18:51:33.015Z] ---> Running in f984c883aec2 [2023-11-14T18:51:33.985Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-14T18:53:40.694Z] Removing intermediate container f984c883aec2 [2023-11-14T18:53:40.694Z] ---> 6cf59f451f8c [2023-11-14T18:53:40.694Z] Step 11/23 : FROM alpine:3.18 [2023-11-14T18:53:40.694Z] 3.18: Pulling from library/alpine [2023-11-14T18:53:40.694Z] 579b34f0a95b: Pulling fs layer [2023-11-14T18:53:40.694Z] 579b34f0a95b: Verifying Checksum [2023-11-14T18:53:40.694Z] 579b34f0a95b: Download complete [2023-11-14T18:53:40.694Z] 579b34f0a95b: Pull complete [2023-11-14T18:53:40.694Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:53:40.694Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:53:40.694Z] ---> 3cc203321400 [2023-11-14T18:53:40.694Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-14T18:53:40.694Z] ---> Running in 3cf6ada7f9bc [2023-11-14T18:53:40.694Z] Removing intermediate container 3cf6ada7f9bc [2023-11-14T18:53:40.694Z] ---> a82f5fb7fe8a [2023-11-14T18:53:40.694Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:53:40.694Z] ---> Running in 508f39affe12 [2023-11-14T18:53:40.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:53:40.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:53:41.652Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:53:41.652Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:53:41.652Z] OK: 8 MiB in 16 packages [2023-11-14T18:53:42.617Z] Removing intermediate container 508f39affe12 [2023-11-14T18:53:42.617Z] ---> beaf492c841a [2023-11-14T18:53:42.617Z] Step 14/23 : RUN apk --no-cache upgrade [2023-11-14T18:53:42.617Z] ---> Running in c48c1c3acec8 [2023-11-14T18:53:43.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:53:43.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:53:45.266Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:53:45.266Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:53:45.266Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:53:45.266Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:53:45.266Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:53:45.266Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:53:45.536Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:53:45.536Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:53:45.536Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:53:45.536Z] OK: 8 MiB in 16 packages [2023-11-14T18:53:49.096Z] Removing intermediate container c48c1c3acec8 [2023-11-14T18:53:49.096Z] ---> 3a41913a5d2a [2023-11-14T18:53:49.096Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2023-11-14T18:53:50.055Z] ---> c23a2668a257 [2023-11-14T18:53:50.055Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-14T18:53:50.640Z] ---> ed4a5af38420 [2023-11-14T18:53:50.640Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-14T18:53:51.225Z] ---> 4c871cdabc3a [2023-11-14T18:53:51.225Z] Step 18/23 : EXPOSE 59901 [2023-11-14T18:53:51.496Z] ---> Running in b0587207426a [2023-11-14T18:53:51.761Z] Removing intermediate container b0587207426a [2023-11-14T18:53:51.761Z] ---> 620badd58733 [2023-11-14T18:53:51.761Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2023-11-14T18:53:51.761Z] ---> Running in 8a70fc846104 [2023-11-14T18:53:52.029Z] Removing intermediate container 8a70fc846104 [2023-11-14T18:53:52.029Z] ---> fbae65753bf0 [2023-11-14T18:53:52.029Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T18:53:52.296Z] ---> Running in 1d1eb67ce820 [2023-11-14T18:53:52.565Z] Removing intermediate container 1d1eb67ce820 [2023-11-14T18:53:52.565Z] ---> 0c2886f7777a [2023-11-14T18:53:52.565Z] Step 21/23 : LABEL arch=arm64 [2023-11-14T18:53:52.565Z] ---> Running in 1a5a1e6fbae3 [2023-11-14T18:53:52.832Z] Removing intermediate container 1a5a1e6fbae3 [2023-11-14T18:53:52.832Z] ---> 7ee528801253 [2023-11-14T18:53:52.832Z] Step 22/23 : LABEL git_sha=3148b9b3aa90a8d7faa07de684a50825bab71b84 [2023-11-14T18:53:53.102Z] ---> Running in 4d6562e79b74 [2023-11-14T18:53:53.371Z] Removing intermediate container 4d6562e79b74 [2023-11-14T18:53:53.371Z] ---> 2e5d93824412 [2023-11-14T18:53:53.371Z] Step 23/23 : LABEL version=0.0.0 [2023-11-14T18:53:53.371Z] ---> Running in 1363ccb0dd90 [2023-11-14T18:53:53.638Z] Removing intermediate container 1363ccb0dd90 [2023-11-14T18:53:53.638Z] ---> bc56b5e37344 [2023-11-14T18:53:53.638Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:53:53.908Z] Successfully built bc56b5e37344 [2023-11-14T18:53:53.908Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:53:54.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:53:54.716Z] [2023-11-14T18:53:54.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:53:55.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:53:55.404Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T18:53:55.404Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T18:53:55.404Z] 04944245beec: Pulling fs layer [2023-11-14T18:53:55.404Z] 699f458cf7ca: Pulling fs layer [2023-11-14T18:53:55.404Z] 765212b225bb: Pulling fs layer [2023-11-14T18:53:55.404Z] f23df028b6ca: Pulling fs layer [2023-11-14T18:53:55.404Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T18:53:55.404Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T18:53:55.404Z] 765212b225bb: Waiting [2023-11-14T18:53:55.404Z] f23df028b6ca: Waiting [2023-11-14T18:53:55.404Z] d65c8cfc05b1: Waiting [2023-11-14T18:53:55.404Z] 2437ff75d9bd: Waiting [2023-11-14T18:53:55.404Z] 04944245beec: Verifying Checksum [2023-11-14T18:53:55.404Z] 04944245beec: Download complete [2023-11-14T18:53:55.404Z] 765212b225bb: Verifying Checksum [2023-11-14T18:53:55.404Z] 765212b225bb: Download complete [2023-11-14T18:53:55.404Z] f23df028b6ca: Verifying Checksum [2023-11-14T18:53:55.404Z] f23df028b6ca: Download complete [2023-11-14T18:53:55.677Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T18:53:55.677Z] d65c8cfc05b1: Download complete [2023-11-14T18:53:55.677Z] 699f458cf7ca: Verifying Checksum [2023-11-14T18:53:55.677Z] 699f458cf7ca: Download complete [2023-11-14T18:53:56.277Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T18:53:56.277Z] 8998bd30e6a1: Download complete [2023-11-14T18:53:58.870Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T18:53:58.870Z] 2437ff75d9bd: Download complete [2023-11-14T18:54:01.472Z] 8998bd30e6a1: Pull complete [2023-11-14T18:54:01.472Z] 04944245beec: Pull complete [2023-11-14T18:54:03.415Z] 699f458cf7ca: Pull complete [2023-11-14T18:54:03.415Z] 765212b225bb: Pull complete [2023-11-14T18:54:04.375Z] f23df028b6ca: Pull complete [2023-11-14T18:54:04.642Z] d65c8cfc05b1: Pull complete [2023-11-14T18:54:22.846Z] 2437ff75d9bd: Pull complete [2023-11-14T18:54:22.846Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T18:54:22.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:54:22.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:54:23.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-17514 does not seem to be running inside a container [2023-11-14T18:54:23.264Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T18:54:26.289Z] $ docker top 60b2c45894806cbccd96a2dc57597236b8b133bd099800796f8ad6d8220a8139 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:27.220Z] ---> job-cost.sh [2023-11-14T18:54:27.220Z] lf-activate-venv: SKIPPING [2023-11-14T18:54:27.220Z] INFO: No Stack... [2023-11-14T18:54:27.487Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T18:54:28.456Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:54:29.128Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-11-14T18:54:29.129Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:54:29.212Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [2023-11-14T18:54:29.217Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] did not exist. Created. [2023-11-14T18:54:29.217Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:54:29.950Z] /w/workspace/device-modbus-go/1@tmp/durable-c17f9ac4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T18:54:30.626Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T18:54:30.664Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T18:54:30.714Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:54:30.730Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:54:30.815Z] $ docker stop --time=1 60b2c45894806cbccd96a2dc57597236b8b133bd099800796f8ad6d8220a8139 [2023-11-14T18:54:32.367Z] $ docker rm -f --volumes 60b2c45894806cbccd96a2dc57597236b8b133bd099800796f8ad6d8220a8139 [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 [2023-11-14T18:54:33.388Z] provisioning config files... [2023-11-14T18:54:33.395Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/config1582564876548454815tmp [Pipeline] { [Pipeline] sh [2023-11-14T18:54:33.732Z] + set +x [2023-11-14T18:54:33.732Z] + curl -s https://codecov.io/bash [2023-11-14T18:54:33.732Z] + bash -s -- [2023-11-14T18:54:33.732Z] [2023-11-14T18:54:33.732Z] _____ _ [2023-11-14T18:54:33.732Z] / ____| | | [2023-11-14T18:54:33.732Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T18:54:33.732Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T18:54:33.732Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T18:54:33.732Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T18:54:33.732Z] Bash-1.0.6 [2023-11-14T18:54:33.732Z] [2023-11-14T18:54:33.732Z] [2023-11-14T18:54:33.732Z] ==> git version 2.25.1 found [2023-11-14T18:54:33.732Z] ==> 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 [2023-11-14T18:54:33.732Z] Release-Date: 2020-01-08 [2023-11-14T18:54:33.732Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-14T18:54:33.732Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T18:54:33.732Z] ==> Jenkins CI detected. [2023-11-14T18:54:33.732Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-525 [2023-11-14T18:54:33.732Z] project root: . [2023-11-14T18:54:33.732Z] --> token set from env [2023-11-14T18:54:33.732Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T18:54:33.732Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T18:54:33.732Z] ==> Python coveragepy not found [2023-11-14T18:54:33.732Z] ==> Searching for coverage reports in: [2023-11-14T18:54:33.732Z] + . [2023-11-14T18:54:33.732Z] -> Found 1 reports [2023-11-14T18:54:33.732Z] ==> Detecting git/mercurial file structure [2023-11-14T18:54:33.732Z] ==> Reading reports [2023-11-14T18:54:33.732Z] + ./coverage.out bytes=24334 [2023-11-14T18:54:33.732Z] ==> Appending adjustments [2023-11-14T18:54:33.732Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T18:54:33.992Z] + Found adjustments [2023-11-14T18:54:33.992Z] ==> Gzipping contents [2023-11-14T18:54:33.992Z] 4.0K /tmp/codecov.QsLcch.gz [2023-11-14T18:54:33.992Z] ==> Uploading reports [2023-11-14T18:54:33.992Z] url: https://codecov.io [2023-11-14T18:54:33.992Z] query: branch=PR-525&commit=3148b9b3aa90a8d7faa07de684a50825bab71b84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=525&job=&cmd_args= [2023-11-14T18:54:33.992Z] -> Pinging Codecov [2023-11-14T18:54:33.992Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-525&commit=3148b9b3aa90a8d7faa07de684a50825bab71b84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=525&job=&cmd_args= [2023-11-14T18:54:34.251Z] -> Uploading to [2023-11-14T18:54:34.251Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/55DBCA73C666E3227836607328DD7E49/3148b9b3aa90a8d7faa07de684a50825bab71b84/34ecf8a1-3ad4-48eb-9c37-620354067db9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T185433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f45b4e350a23dbed89dbd98abf7bf751a0e5e4a0693025c4291def7573f17148 [2023-11-14T18:54:34.251Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:54:34.251Z] Dload Upload Total Spent Left Speed [2023-11-14T18:54:34.251Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 16766 --:--:-- --:--:-- --:--:-- 16766 [2023-11-14T18:54:34.510Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3148b9b3aa90a8d7faa07de684a50825bab71b84 [Pipeline] } [2023-11-14T18:54:34.537Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-14T18:54:36.313Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-525/archives ] [2023-11-14T18:54:36.313Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-525/archives [2023-11-14T18:54:36.313Z] total 16 [2023-11-14T18:54:36.313Z] drwxr-xr-x 3 root root 4096 Nov 14 18:43 . [2023-11-14T18:54:36.313Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:44 .. [2023-11-14T18:54:36.313Z] drwxr-xr-x 2 root root 4096 Nov 14 18:43 cost [2023-11-14T18:54:36.313Z] -rw-r--r-- 1 root root 88 Nov 14 18:43 cost.csv [2023-11-14T18:54:36.313Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-525/archives [2023-11-14T18:54:36.313Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-525/archives [2023-11-14T18:54:36.313Z] total 16 [2023-11-14T18:54:36.313Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:43 . [2023-11-14T18:54:36.313Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:44 .. [2023-11-14T18:54:36.313Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:43 cost [2023-11-14T18:54:36.313Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 14 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:36.639Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:37.532Z] ---> package-listing.sh [2023-11-14T18:54:37.532Z] ++ facter osfamily [2023-11-14T18:54:37.532Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T18:54:37.791Z] + OS_FAMILY=debian [2023-11-14T18:54:37.791Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-525 [2023-11-14T18:54:37.791Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T18:54:37.791Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T18:54:37.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T18:54:37.791Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T18:54:37.791Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-525 ']' [2023-11-14T18:54:37.791Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T18:54:37.791Z] + case "${OS_FAMILY}" in [2023-11-14T18:54:37.791Z] + dpkg -l [2023-11-14T18:54:37.791Z] + grep '^ii' [2023-11-14T18:54:37.791Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T18:54:37.791Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T18:54:37.791Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T18:54:37.791Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-525 ']' [2023-11-14T18:54:37.791Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-525/archives/ [2023-11-14T18:54:37.791Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-525/archives/ [Pipeline] echo [2023-11-14T18:54:37.826Z] 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-525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T18:54:38.119Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:54:38.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:54:38.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:54:38.903Z] prd-ubuntu20.04-docker-8c-8g-17511 does not seem to be running inside a container [2023-11-14T18:54:38.949Z] $ 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-525/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-525 -v /w/workspace/xfoundry_device-modbus-go_PR-525:/w/workspace/xfoundry_device-modbus-go_PR-525:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-525@tmp:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:54:39.126Z] $ docker top 5911da3c7ad3603787d0e4af5b94c3f555bdbafa6810d1b09fa6657d5914811a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:54:39.488Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T18:54:39.793Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T18:54:40.110Z] + ls /var/log/sa-host [2023-11-14T18:54:40.110Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:54:40.251Z] provisioning config files... [2023-11-14T18:54:40.260Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-525@tmp/config13225270300580720429tmp [Pipeline] { [Pipeline] echo [2023-11-14T18:54:40.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:40.621Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T18:54:40.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:41.104Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T18:54:41.139Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:41.452Z] ---> sudo-logs.sh [2023-11-14T18:54:41.452Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T18:54:41.540Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:41.852Z] ---> job-cost.sh [2023-11-14T18:54:41.853Z] lf-activate-venv: SKIPPING [2023-11-14T18:54:41.853Z] DEBUG: total: 0.2199999988079071 [2023-11-14T18:54:41.853Z] INFO: Retrieving Stack Cost... [2023-11-14T18:54:42.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:54:42.679Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T18:54:42.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:43.033Z] ---> logs-deploy.sh [2023-11-14T18:54:43.033Z] lf-activate-venv: SKIPPING [2023-11-14T18:54:43.034Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-525/1 [2023-11-14T18:54:43.034Z] INFO: archiving workspace using pattern(s): [2023-11-14T18:54:44.003Z] Archives upload complete. [2023-11-14T18:54:44.003Z] INFO: archiving logs to Nexus [2023-11-14T18:54:44.573Z] ---> uname -a: [2023-11-14T18:54:44.573Z] Linux prd-ubuntu20-04-docker-8c-8g-17511 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] ---> lscpu: [2023-11-14T18:54:44.573Z] Architecture: x86_64 [2023-11-14T18:54:44.573Z] CPU op-mode(s): 32-bit, 64-bit [2023-11-14T18:54:44.573Z] Byte Order: Little Endian [2023-11-14T18:54:44.573Z] Address sizes: 40 bits physical, 48 bits virtual [2023-11-14T18:54:44.573Z] CPU(s): 8 [2023-11-14T18:54:44.573Z] On-line CPU(s) list: 0-7 [2023-11-14T18:54:44.573Z] Thread(s) per core: 1 [2023-11-14T18:54:44.573Z] Core(s) per socket: 1 [2023-11-14T18:54:44.573Z] Socket(s): 8 [2023-11-14T18:54:44.573Z] NUMA node(s): 1 [2023-11-14T18:54:44.573Z] Vendor ID: AuthenticAMD [2023-11-14T18:54:44.573Z] CPU family: 23 [2023-11-14T18:54:44.573Z] Model: 49 [2023-11-14T18:54:44.573Z] Model name: AMD EPYC-Rome Processor [2023-11-14T18:54:44.573Z] Stepping: 0 [2023-11-14T18:54:44.573Z] CPU MHz: 2799.998 [2023-11-14T18:54:44.573Z] BogoMIPS: 5599.99 [2023-11-14T18:54:44.573Z] Virtualization: AMD-V [2023-11-14T18:54:44.573Z] Hypervisor vendor: KVM [2023-11-14T18:54:44.573Z] Virtualization type: full [2023-11-14T18:54:44.573Z] L1d cache: 256 KiB [2023-11-14T18:54:44.573Z] L1i cache: 256 KiB [2023-11-14T18:54:44.573Z] L2 cache: 4 MiB [2023-11-14T18:54:44.573Z] L3 cache: 128 MiB [2023-11-14T18:54:44.573Z] NUMA node0 CPU(s): 0-7 [2023-11-14T18:54:44.573Z] Vulnerability Itlb multihit: Not affected [2023-11-14T18:54:44.573Z] Vulnerability L1tf: Not affected [2023-11-14T18:54:44.573Z] Vulnerability Mds: Not affected [2023-11-14T18:54:44.573Z] Vulnerability Meltdown: Not affected [2023-11-14T18:54:44.573Z] Vulnerability Mmio stale data: Not affected [2023-11-14T18:54:44.573Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-11-14T18:54:44.573Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-11-14T18:54:44.573Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-11-14T18:54:44.573Z] Vulnerability Srbds: Not affected [2023-11-14T18:54:44.573Z] Vulnerability Tsx async abort: Not affected [2023-11-14T18:54:44.573Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] ---> nproc: [2023-11-14T18:54:44.573Z] 8 [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z] ---> df -h: [2023-11-14T18:54:44.573Z] Filesystem Size Used Avail Use% Mounted on [2023-11-14T18:54:44.573Z] overlay 155G 12G 144G 8% / [2023-11-14T18:54:44.573Z] tmpfs 64M 0 64M 0% /dev [2023-11-14T18:54:44.573Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-11-14T18:54:44.573Z] shm 64M 0 64M 0% /dev/shm [2023-11-14T18:54:44.573Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-11-14T18:54:44.573Z] [2023-11-14T18:54:44.573Z]