Pull request #445 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 vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 9bc48e746bb510c782b9593f55beae1b8e3bd068 rather than cd78ed9c9a4a113d2a57620e61604bed81f56a33 Obtained Jenkinsfile from 9bc48e746bb510c782b9593f55beae1b8e3bd068 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-ssh653841598800405577.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5317016790302884734.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12219878626454622762.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16942377271155019761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11973865240452303558.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3904933478533406674.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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, buildSnap:false] ========================================================= [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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5720 in /w/workspace/xfoundry_device-modbus-go_PR-445 [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-445 # 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 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cd78ed9c9a4a113d2a57620e61604bed81f56a33 > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 Merge succeeded, producing cd78ed9c9a4a113d2a57620e61604bed81f56a33 Checking out Revision cd78ed9c9a4a113d2a57620e61604bed81f56a33 (PR-445) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 Commit message: "refactor!: Change configuration and devices files format to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T17:35:59.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T17:35:59.796Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T17:35:59.908Z] ========================================================= [2023-03-24T17:35:59.908Z] EdgeX Global Pipelines Version Info [2023-03-24T17:35:59.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:36:00.654Z] ------------------- [2023-03-24T17:36:00.654Z] stable info: [2023-03-24T17:36:00.654Z] ------------------- [2023-03-24T17:36:00.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T17:36:00.654Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T17:36:00.654Z] Message: update stable to v1.0.245 [2023-03-24T17:36:01.226Z] ------------------- [2023-03-24T17:36:01.226Z] experimental info: [2023-03-24T17:36:01.226Z] ------------------- [2023-03-24T17:36:01.226Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T17:36:01.226Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T17:36:01.226Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T17:36:01.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-24T17:36:01.577Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-24T17:36:01.621Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T17:36:01.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T17:36:01.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T17:36:01.757Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T17:36:01.801Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T17:36:01.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T17:36:01.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T17:36:01.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T17:36:01.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T17:36:02.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-24T17:36:02.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T17:36:02.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T17:36:02.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T17:36:02.165Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T17:36:02.205Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T17:36:02.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T17:36:02.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T17:36:02.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T17:36:02.360Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T17:36:02.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T17:36:02.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T17:36:02.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T17:36:02.512Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T17:36:02.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T17:36:02.590Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T17:36:02.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-24T17:36:02.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-24T17:36:02.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-24T17:36:02.747Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo [2023-03-24T17:36:02.786Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd78ed9 [Pipeline] echo [2023-03-24T17:36:02.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T17:36:02.949Z] provisioning config files... [2023-03-24T17:36:02.962Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config5537137026735652062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:36:03.303Z] ---> docker-login.sh [2023-03-24T17:36:03.303Z] nexus3.edgexfoundry.org:10001 [2023-03-24T17:36:03.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:03.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:03.565Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:03.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:03.565Z] [2023-03-24T17:36:03.565Z] Login Succeeded [2023-03-24T17:36:03.565Z] nexus3.edgexfoundry.org:10002 [2023-03-24T17:36:03.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:03.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:03.826Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:03.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:03.826Z] [2023-03-24T17:36:03.826Z] Login Succeeded [2023-03-24T17:36:03.826Z] nexus3.edgexfoundry.org:10003 [2023-03-24T17:36:03.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:03.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:03.826Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:03.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:03.826Z] [2023-03-24T17:36:03.826Z] Login Succeeded [2023-03-24T17:36:03.826Z] nexus3.edgexfoundry.org:10004 [2023-03-24T17:36:04.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:04.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:04.088Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:04.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:04.088Z] [2023-03-24T17:36:04.088Z] Login Succeeded [2023-03-24T17:36:04.088Z] docker.io [2023-03-24T17:36:04.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:04.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:04.350Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:04.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:04.350Z] [2023-03-24T17:36:04.350Z] Login Succeeded [2023-03-24T17:36:04.350Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T17:36:04.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T17:36:05.008Z] + git rev-list -1 --merges cd78ed9c9a4a113d2a57620e61604bed81f56a33~1..cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo [2023-03-24T17:36:05.067Z] -----------> git rev-list -1 --merges cd78ed9c9a4a113d2a57620e61604bed81f56a33~1..cd78ed9c9a4a113d2a57620e61604bed81f56a33 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [false] [Pipeline] sh [2023-03-24T17:36:05.374Z] + git log --format=format:%s -1 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo [2023-03-24T17:36:05.409Z] ========================================================= [2023-03-24T17:36:05.409Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T17:36:05.409Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T17:36:05.863Z] + git log --format=format:%s -1 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo [2023-03-24T17:36:05.898Z] [semverPrep] GIT_COMMIT: cd78ed9c9a4a113d2a57620e61604bed81f56a33, Commit Message: refactor!: Change configuration and devices files format to YAML [Pipeline] echo [2023-03-24T17:36:05.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T17:36:06.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T17:36:06.317Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T17:36:06.317Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T17:36:06.317Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T17:36:06.317Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T17:36:06.317Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T17:36:06.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:36:06.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T17:36:06.811Z] [2023-03-24T17:36:06.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:36:07.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T17:36:07.190Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T17:36:07.190Z] b85a868b505f: Pulling fs layer [2023-03-24T17:36:07.190Z] e2be974225ed: Pulling fs layer [2023-03-24T17:36:07.190Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T17:36:07.190Z] 988bab9f4d93: Pulling fs layer [2023-03-24T17:36:07.190Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T17:36:07.190Z] eaf3925da568: Pulling fs layer [2023-03-24T17:36:07.190Z] bab4dde63d76: Pulling fs layer [2023-03-24T17:36:07.190Z] bde34c3a00c8: Pulling fs layer [2023-03-24T17:36:07.190Z] b352a97aabf1: Pulling fs layer [2023-03-24T17:36:07.190Z] 4872d77fe225: Pulling fs layer [2023-03-24T17:36:07.190Z] 5851b861e8e6: Pulling fs layer [2023-03-24T17:36:07.190Z] 988bab9f4d93: Waiting [2023-03-24T17:36:07.190Z] 5851b861e8e6: Waiting [2023-03-24T17:36:07.190Z] 1469e6f7b9e6: Waiting [2023-03-24T17:36:07.190Z] bab4dde63d76: Waiting [2023-03-24T17:36:07.190Z] eaf3925da568: Waiting [2023-03-24T17:36:07.190Z] 4872d77fe225: Waiting [2023-03-24T17:36:07.190Z] b352a97aabf1: Waiting [2023-03-24T17:36:07.190Z] bde34c3a00c8: Waiting [2023-03-24T17:36:07.190Z] e2be974225ed: Verifying Checksum [2023-03-24T17:36:07.190Z] e2be974225ed: Download complete [2023-03-24T17:36:07.190Z] 988bab9f4d93: Verifying Checksum [2023-03-24T17:36:07.190Z] 988bab9f4d93: Download complete [2023-03-24T17:36:07.452Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T17:36:07.452Z] 1469e6f7b9e6: Download complete [2023-03-24T17:36:07.452Z] eaf3925da568: Verifying Checksum [2023-03-24T17:36:07.452Z] eaf3925da568: Download complete [2023-03-24T17:36:07.452Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T17:36:07.452Z] 339a4e72a1f5: Download complete [2023-03-24T17:36:07.452Z] bde34c3a00c8: Download complete [2023-03-24T17:36:07.452Z] b352a97aabf1: Download complete [2023-03-24T17:36:07.452Z] 4872d77fe225: Verifying Checksum [2023-03-24T17:36:07.452Z] 4872d77fe225: Download complete [2023-03-24T17:36:07.452Z] 5851b861e8e6: Verifying Checksum [2023-03-24T17:36:07.452Z] 5851b861e8e6: Download complete [2023-03-24T17:36:07.452Z] b85a868b505f: Verifying Checksum [2023-03-24T17:36:07.452Z] b85a868b505f: Download complete [2023-03-24T17:36:07.712Z] bab4dde63d76: Verifying Checksum [2023-03-24T17:36:07.712Z] bab4dde63d76: Download complete [2023-03-24T17:36:09.097Z] b85a868b505f: Pull complete [2023-03-24T17:36:09.097Z] e2be974225ed: Pull complete [2023-03-24T17:36:09.668Z] 339a4e72a1f5: Pull complete [2023-03-24T17:36:09.668Z] 988bab9f4d93: Pull complete [2023-03-24T17:36:09.927Z] 1469e6f7b9e6: Pull complete [2023-03-24T17:36:09.927Z] eaf3925da568: Pull complete [2023-03-24T17:36:11.844Z] bab4dde63d76: Pull complete [2023-03-24T17:36:11.844Z] bde34c3a00c8: Pull complete [2023-03-24T17:36:12.106Z] b352a97aabf1: Pull complete [2023-03-24T17:36:12.106Z] 4872d77fe225: Pull complete [2023-03-24T17:36:12.106Z] 5851b861e8e6: Pull complete [2023-03-24T17:36:12.106Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T17:36:12.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T17:36:12.106Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:36:12.354Z] prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container [2023-03-24T17:36:12.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T17:36:16.546Z] $ docker top 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 -eo pid,comm [2023-03-24T17:36:16.601Z] 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-03-24T17:36:16.601Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T17:36:16.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T17:36:16.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T17:36:16.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T17:36:16.860Z] $ docker exec 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent [2023-03-24T17:36:16.987Z] SSH_AUTH_SOCK=/tmp/ssh-7ZluEEM7wIxW/agent.32 [2023-03-24T17:36:16.987Z] SSH_AGENT_PID=38 [2023-03-24T17:36:16.994Z] Running ssh-add (command line suppressed) [2023-03-24T17:36:17.111Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_17845160237517452597.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_17845160237517452597.key) [2023-03-24T17:36:17.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T17:36:17.453Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T17:36:17.488Z] $ docker exec --env ******** --env ******** 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent -k [2023-03-24T17:36:17.601Z] unset SSH_AUTH_SOCK; [2023-03-24T17:36:17.602Z] unset SSH_AGENT_PID; [2023-03-24T17:36:17.602Z] echo Agent pid 38 killed; [2023-03-24T17:36:17.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T17:36:17.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T17:36:17.697Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T17:36:17.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T17:36:17.842Z] $ docker exec 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent [2023-03-24T17:36:17.953Z] SSH_AUTH_SOCK=/tmp/ssh-IPQOnRgnliZU/agent.71 [2023-03-24T17:36:17.953Z] SSH_AGENT_PID=77 [2023-03-24T17:36:17.962Z] Running ssh-add (command line suppressed) [2023-03-24T17:36:18.066Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_15235964387612138885.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_15235964387612138885.key) [2023-03-24T17:36:18.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T17:36:18.408Z] + git semver init [2023-03-24T17:36:18.667Z] 2023-03-24 17:36:18,595 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T17:36:18.667Z] 2023-03-24 17:36:18,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver [2023-03-24T17:36:18.667Z] 2023-03-24 17:36:18,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver [2023-03-24T17:36:18.667Z] 2023-03-24 17:36:18,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-445/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445, universal_newlines=False, shell=None, istream=None) [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,375 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,375 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,380 [execute] INFO git cat-file --batch-check [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,388 [execute] INFO git cat-file --batch [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T17:36:19.607Z] 2023-03-24 17:36:19,393 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 [2023-03-24T17:36:19.607Z] 0.0.0 [Pipeline] } [2023-03-24T17:36:19.639Z] $ docker exec --env ******** --env ******** 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent -k [2023-03-24T17:36:19.749Z] unset SSH_AUTH_SOCK; [2023-03-24T17:36:19.750Z] unset SSH_AGENT_PID; [2023-03-24T17:36:19.750Z] echo Agent pid 77 killed; [2023-03-24T17:36:19.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T17:36:20.181Z] + git semver [Pipeline] } [2023-03-24T17:36:20.470Z] $ docker stop --time=1 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 [2023-03-24T17:36:22.032Z] $ docker rm -f --volumes 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T17:36:22.436Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T17:36:22.821Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T17:36:22.839Z] [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-03-24T17:36:23.374Z] provisioning config files... [2023-03-24T17:36:23.385Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config3313524944198221310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:36:23.727Z] ---> docker-login.sh [2023-03-24T17:36:23.727Z] nexus3.edgexfoundry.org:10001 [2023-03-24T17:36:23.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:23.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:23.727Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:23.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:23.727Z] [2023-03-24T17:36:23.727Z] Login Succeeded [2023-03-24T17:36:23.727Z] nexus3.edgexfoundry.org:10002 [2023-03-24T17:36:23.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:23.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:23.727Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:23.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:23.727Z] [2023-03-24T17:36:23.727Z] Login Succeeded [2023-03-24T17:36:23.727Z] nexus3.edgexfoundry.org:10003 [2023-03-24T17:36:23.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:23.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:23.987Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:23.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:23.987Z] [2023-03-24T17:36:23.987Z] Login Succeeded [2023-03-24T17:36:23.987Z] nexus3.edgexfoundry.org:10004 [2023-03-24T17:36:23.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:23.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:23.987Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:23.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:23.987Z] [2023-03-24T17:36:23.987Z] Login Succeeded [2023-03-24T17:36:23.987Z] docker.io [2023-03-24T17:36:24.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:36:24.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:36:24.507Z] Configure a credential helper to remove this warning. See [2023-03-24T17:36:24.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:36:24.507Z] [2023-03-24T17:36:24.507Z] Login Succeeded [2023-03-24T17:36:24.507Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T17:36:24.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T17:36:24.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T17:36:24.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T17:36:24.824Z] ========================================================= [2023-03-24T17:36:24.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T17:36:24.824Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:36:25.284Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T17:36:25.284Z] Sending build context to Docker daemon 6.425MB [2023-03-24T17:36:25.284Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T17:36:25.284Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T17:36:25.284Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T17:36:25.284Z] 63b65145d645: Pulling fs layer [2023-03-24T17:36:25.284Z] a2d21d5440eb: Pulling fs layer [2023-03-24T17:36:25.284Z] 935e6c44a52c: Pulling fs layer [2023-03-24T17:36:25.284Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T17:36:25.284Z] 30dea6a524f1: Pulling fs layer [2023-03-24T17:36:25.284Z] a2aff8979fd8: Pulling fs layer [2023-03-24T17:36:25.284Z] 6808be2612f2: Pulling fs layer [2023-03-24T17:36:25.284Z] f25807f1079a: Pulling fs layer [2023-03-24T17:36:25.284Z] 94cc34f8dd06: Waiting [2023-03-24T17:36:25.284Z] 30dea6a524f1: Waiting [2023-03-24T17:36:25.284Z] 6808be2612f2: Waiting [2023-03-24T17:36:25.284Z] f25807f1079a: Waiting [2023-03-24T17:36:25.284Z] a2aff8979fd8: Waiting [2023-03-24T17:36:25.284Z] a2d21d5440eb: Verifying Checksum [2023-03-24T17:36:25.284Z] a2d21d5440eb: Download complete [2023-03-24T17:36:25.284Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T17:36:25.284Z] 94cc34f8dd06: Download complete [2023-03-24T17:36:25.544Z] 30dea6a524f1: Verifying Checksum [2023-03-24T17:36:25.544Z] 30dea6a524f1: Download complete [2023-03-24T17:36:25.545Z] 63b65145d645: Verifying Checksum [2023-03-24T17:36:25.545Z] 63b65145d645: Download complete [2023-03-24T17:36:25.545Z] a2aff8979fd8: Verifying Checksum [2023-03-24T17:36:25.545Z] a2aff8979fd8: Download complete [2023-03-24T17:36:25.545Z] 63b65145d645: Pull complete [2023-03-24T17:36:25.814Z] a2d21d5440eb: Pull complete [2023-03-24T17:36:26.076Z] f25807f1079a: Verifying Checksum [2023-03-24T17:36:26.076Z] f25807f1079a: Download complete [2023-03-24T17:36:26.076Z] 935e6c44a52c: Verifying Checksum [2023-03-24T17:36:26.076Z] 935e6c44a52c: Download complete [2023-03-24T17:36:26.334Z] 6808be2612f2: Verifying Checksum [2023-03-24T17:36:26.334Z] 6808be2612f2: Download complete [2023-03-24T17:36:29.621Z] 935e6c44a52c: Pull complete [2023-03-24T17:36:29.621Z] 94cc34f8dd06: Pull complete [2023-03-24T17:36:30.190Z] 30dea6a524f1: Pull complete [2023-03-24T17:36:30.449Z] a2aff8979fd8: Pull complete [2023-03-24T17:36:32.979Z] 6808be2612f2: Pull complete [2023-03-24T17:36:33.913Z] f25807f1079a: Pull complete [2023-03-24T17:36:33.913Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T17:36:33.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T17:36:33.913Z] ---> 3b553350e43f [2023-03-24T17:36:33.913Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T17:36:38.214Z] Still waiting to schedule task [2023-03-24T17:36:38.215Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-24T17:36:39.192Z] ---> Running in 20dfa7ec5c3a [2023-03-24T17:36:39.192Z] Removing intermediate container 20dfa7ec5c3a [2023-03-24T17:36:39.192Z] ---> 4f40364bf3f2 [2023-03-24T17:36:39.192Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T17:36:39.192Z] ---> Running in 36013e4e64f1 [2023-03-24T17:36:39.192Z] Removing intermediate container 36013e4e64f1 [2023-03-24T17:36:39.192Z] ---> 46a6aa372ade [2023-03-24T17:36:39.192Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T17:36:39.192Z] ---> Running in 431dd8adc784 [2023-03-24T17:36:39.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T17:36:39.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T17:36:39.707Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T17:36:39.707Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T17:36:39.707Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T17:36:39.707Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T17:36:39.985Z] OK: 270 MiB in 61 packages [2023-03-24T17:36:40.551Z] Removing intermediate container 431dd8adc784 [2023-03-24T17:36:40.551Z] ---> 4ab6a2cde0f8 [2023-03-24T17:36:40.551Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T17:36:40.551Z] ---> Running in 2e2a6416f495 [2023-03-24T17:36:40.551Z] Removing intermediate container 2e2a6416f495 [2023-03-24T17:36:40.551Z] ---> 4e961d9b6594 [2023-03-24T17:36:40.551Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T17:36:40.551Z] ---> 9f55d74ab19d [2023-03-24T17:36:40.551Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T17:36:40.551Z] ---> Running in f9ffe8de1bcf [2023-03-24T17:37:19.280Z] Removing intermediate container f9ffe8de1bcf [2023-03-24T17:37:19.280Z] ---> bf5a36d99797 [2023-03-24T17:37:19.280Z] Step 9/10 : COPY . . [2023-03-24T17:37:19.280Z] ---> 37be7d89e4a0 [2023-03-24T17:37:19.280Z] Step 10/10 : RUN ${MAKE} [2023-03-24T17:37:19.280Z] ---> Running in f36f191533e2 [2023-03-24T17:37:19.280Z] noop [2023-03-24T17:37:19.280Z] Removing intermediate container f36f191533e2 [2023-03-24T17:37:19.280Z] ---> f3537bc6ec76 [2023-03-24T17:37:19.280Z] Successfully built f3537bc6ec76 [2023-03-24T17:37:19.280Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:37:19.723Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T17:37:19.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:37:19.883Z] prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container [2023-03-24T17:37:19.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T17:37:20.272Z] $ docker top 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T17:37:20.677Z] + go version [2023-03-24T17:37:20.677Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T17:37:20.711Z] $ docker stop --time=1 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a [2023-03-24T17:37:22.005Z] $ docker rm -f --volumes 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:37:22.687Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T17:37:22.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:37:22.840Z] prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container [2023-03-24T17:37:22.873Z] $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T17:37:23.225Z] $ docker top f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T17:37:23.616Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh [2023-03-24T17:37:23.970Z] + make test [2023-03-24T17:37:23.971Z] go test ./... -coverprofile=coverage.out [2023-03-24T17:37:29.235Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T17:37:39.199Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-24T17:37:39.199Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements [2023-03-24T17:37:47.314Z] go vet ./... [2023-03-24T17:37:50.602Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T17:37:50.602Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T17:37:50.602Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T17:37:50.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T17:37:50.669Z] $ docker stop --time=1 f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 [2023-03-24T17:37:53.118Z] $ docker rm -f --volumes f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T17:37:53.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T17:37:53.704Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-24T17:37:54.384Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T17:37:54.700Z] + ls -al . [2023-03-24T17:37:54.700Z] total 180 [2023-03-24T17:37:54.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 17:37 . [2023-03-24T17:37:54.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:35 .. [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:35 .dockerignore [2023-03-24T17:37:54.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:36 .git [2023-03-24T17:37:54.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 .github [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:35 .gitignore [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:35 .golangci.yml [2023-03-24T17:37:54.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:36 .semver [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:35 Attribution.txt [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:35 CHANGELOG.md [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:35 Dockerfile [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:35 GOVERNANCE.md [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:35 Jenkinsfile [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:35 LICENSE [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:35 Makefile [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:35 OWNERS.md [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:35 README.md [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:36 VERSION [2023-03-24T17:37:54.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:35 bin [2023-03-24T17:37:54.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 cmd [2023-03-24T17:37:54.700Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:37 coverage.out [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:35 go.mod [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:35 go.sum [2023-03-24T17:37:54.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 internal [2023-03-24T17:37:54.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:35 simulator [2023-03-24T17:37:54.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:35 snap [2023-03-24T17:37:54.700Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:37:55.093Z] + 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=cd78ed9c9a4a113d2a57620e61604bed81f56a33 --label arch=amd64 --label version=0.0.0 . [2023-03-24T17:37:55.093Z] Sending build context to Docker daemon 6.449MB [2023-03-24T17:37:55.093Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T17:37:55.093Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-24T17:37:55.093Z] ---> f3537bc6ec76 [2023-03-24T17:37:55.093Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-24T17:37:55.093Z] ---> Running in 8ee5204d6a21 [2023-03-24T17:37:55.353Z] Removing intermediate container 8ee5204d6a21 [2023-03-24T17:37:55.353Z] ---> a417162a2e59 [2023-03-24T17:37:55.353Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T17:37:55.353Z] ---> Running in 8c2de9ce9597 [2023-03-24T17:37:55.353Z] Removing intermediate container 8c2de9ce9597 [2023-03-24T17:37:55.353Z] ---> 2b1cbc797abe [2023-03-24T17:37:55.353Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-24T17:37:55.353Z] ---> Running in 113542e317de [2023-03-24T17:37:55.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T17:37:55.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T17:37:55.871Z] OK: 270 MiB in 61 packages [2023-03-24T17:37:56.437Z] Removing intermediate container 113542e317de [2023-03-24T17:37:56.438Z] ---> 6729f94ad1c6 [2023-03-24T17:37:56.438Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-24T17:37:56.438Z] ---> Running in 3ec04514a292 [2023-03-24T17:37:56.438Z] Removing intermediate container 3ec04514a292 [2023-03-24T17:37:56.438Z] ---> 3e88afd61a35 [2023-03-24T17:37:56.438Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-24T17:37:56.438Z] ---> b718da9909ab [2023-03-24T17:37:56.438Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T17:37:56.438Z] ---> Running in 8b22240aa98d [2023-03-24T17:37:57.446Z] Removing intermediate container 8b22240aa98d [2023-03-24T17:37:57.446Z] ---> b5640a0c7cda [2023-03-24T17:37:57.446Z] Step 9/22 : COPY . . [2023-03-24T17:37:57.705Z] ---> 82aaacaf450f [2023-03-24T17:37:57.705Z] Step 10/22 : RUN ${MAKE} [2023-03-24T17:37:57.705Z] ---> Running in e20d0a873df3 [2023-03-24T17:37:57.963Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-24T17:38:12.487Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5721 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] ws [2023-03-24T17:38:12.542Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-24T17:38:12.619Z] Selected Git installation does not exist. Using Default [2023-03-24T17:38:12.619Z] The recommended git tool is: NONE [2023-03-24T17:38:16.058Z] Removing intermediate container e20d0a873df3 [2023-03-24T17:38:16.058Z] ---> 7868bf6b916a [2023-03-24T17:38:16.058Z] Step 11/22 : FROM alpine:3.17 [2023-03-24T17:38:16.630Z] 3.17: Pulling from library/alpine [2023-03-24T17:38:16.630Z] 63b65145d645: Already exists [2023-03-24T17:38:16.888Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T17:38:16.888Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T17:38:16.888Z] ---> b2aa39c304c2 [2023-03-24T17:38:16.888Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-24T17:38:16.888Z] ---> Running in fb1697f689cf [2023-03-24T17:38:16.888Z] Removing intermediate container fb1697f689cf [2023-03-24T17:38:16.888Z] ---> 9b40969eb05a [2023-03-24T17:38:16.888Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-24T17:38:16.888Z] ---> Running in 0eb334ef9d18 [2023-03-24T17:38:17.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T17:38:17.399Z] using credential edgex-jenkins-ssh [2023-03-24T17:38:17.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T17:38:17.414Z] Cloning the remote Git repository [2023-03-24T17:38:17.669Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T17:38:17.669Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T17:38:17.669Z] OK: 7 MiB in 16 packages [2023-03-24T17:38:18.237Z] Removing intermediate container 0eb334ef9d18 [2023-03-24T17:38:18.237Z] ---> 49da4d64cafa [2023-03-24T17:38:18.237Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-24T17:38:17.450Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T17:38:17.549Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-24T17:38:17.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T17:38:17.694Z] > git --version # timeout=10 [2023-03-24T17:38:17.717Z] > git --version # 'git version 2.25.1' [2023-03-24T17:38:17.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T17:38:17.868Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T17:38:18.807Z] ---> 9604611e96a3 [2023-03-24T17:38:18.807Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-24T17:38:18.807Z] ---> 8c70a9b20d1f [2023-03-24T17:38:18.807Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-24T17:38:19.070Z] ---> 9b9e60989d4c [2023-03-24T17:38:19.070Z] Step 17/22 : EXPOSE 59901 [2023-03-24T17:38:19.070Z] ---> Running in d7b657755391 [2023-03-24T17:38:19.070Z] Removing intermediate container d7b657755391 [2023-03-24T17:38:19.070Z] ---> c3f8820e900d [2023-03-24T17:38:19.070Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-24T17:38:19.070Z] ---> Running in 093b81f23aba [2023-03-24T17:38:19.070Z] Removing intermediate container 093b81f23aba [2023-03-24T17:38:19.070Z] ---> 971415c52825 [2023-03-24T17:38:19.070Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T17:38:19.331Z] ---> Running in e4861de70e23 [2023-03-24T17:38:19.331Z] Removing intermediate container e4861de70e23 [2023-03-24T17:38:19.331Z] ---> 641791948618 [2023-03-24T17:38:19.331Z] Step 20/22 : LABEL arch=amd64 [2023-03-24T17:38:19.331Z] ---> Running in f4b415cb8346 [2023-03-24T17:38:19.331Z] Removing intermediate container f4b415cb8346 [2023-03-24T17:38:19.331Z] ---> 48380d01c6cf [2023-03-24T17:38:19.331Z] Step 21/22 : LABEL git_sha=cd78ed9c9a4a113d2a57620e61604bed81f56a33 [2023-03-24T17:38:19.331Z] ---> Running in a6eebb80916e [2023-03-24T17:38:19.331Z] Removing intermediate container a6eebb80916e [2023-03-24T17:38:19.331Z] ---> 46109d21b898 [2023-03-24T17:38:19.331Z] Step 22/22 : LABEL version=0.0.0 [2023-03-24T17:38:19.591Z] ---> Running in 8ccbef232e9d [2023-03-24T17:38:19.591Z] Removing intermediate container 8ccbef232e9d [2023-03-24T17:38:19.591Z] ---> 1359f79a9694 [2023-03-24T17:38:19.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T17:38:19.591Z] Successfully built 1359f79a9694 [2023-03-24T17:38:19.591Z] 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] } [2023-03-24T17:38:18.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T17:38:18.994Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T17:38:19.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-24T17:38:19.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-24T17:38:19.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T17:38:19.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [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-03-24T17:38:20.470Z] Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cd78ed9c9a4a113d2a57620e61604bed81f56a33 [2023-03-24T17:38:20.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T17:38:20.528Z] [2023-03-24T17:38:20.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:38:20.749Z] Merge succeeded, producing cd78ed9c9a4a113d2a57620e61604bed81f56a33 [2023-03-24T17:38:20.749Z] Checking out Revision cd78ed9c9a4a113d2a57620e61604bed81f56a33 (PR-445) [2023-03-24T17:38:20.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T17:38:20.903Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T17:38:20.903Z] 5eb5b503b376: Pulling fs layer [2023-03-24T17:38:20.903Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T17:38:20.903Z] ec43610c2a17: Pulling fs layer [2023-03-24T17:38:20.903Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T17:38:20.903Z] 33b1e0a273af: Pulling fs layer [2023-03-24T17:38:20.903Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T17:38:20.903Z] 2f39f015ded8: Pulling fs layer [2023-03-24T17:38:20.903Z] 3a2ae6a8a46f: Waiting [2023-03-24T17:38:20.903Z] 33b1e0a273af: Waiting [2023-03-24T17:38:20.903Z] 5d3b04190fa2: Waiting [2023-03-24T17:38:20.903Z] 2f39f015ded8: Waiting [2023-03-24T17:38:20.903Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T17:38:20.903Z] 5c69ac0246d0: Download complete [2023-03-24T17:38:20.903Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-24T17:38:20.903Z] 3a2ae6a8a46f: Download complete [2023-03-24T17:38:21.162Z] 33b1e0a273af: Verifying Checksum [2023-03-24T17:38:21.162Z] 33b1e0a273af: Download complete [2023-03-24T17:38:21.162Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T17:38:21.162Z] 5d3b04190fa2: Download complete [2023-03-24T17:38:21.162Z] ec43610c2a17: Verifying Checksum [2023-03-24T17:38:21.162Z] ec43610c2a17: Download complete [2023-03-24T17:38:21.162Z] 5eb5b503b376: Verifying Checksum [2023-03-24T17:38:21.162Z] 5eb5b503b376: Download complete [2023-03-24T17:38:20.484Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T17:38:20.552Z] > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 [2023-03-24T17:38:20.638Z] > git remote # timeout=10 [2023-03-24T17:38:20.658Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T17:38:20.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T17:38:20.700Z] > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 [2023-03-24T17:38:20.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T17:38:20.751Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T17:38:20.769Z] > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 [2023-03-24T17:38:21.729Z] 2f39f015ded8: Verifying Checksum [2023-03-24T17:38:21.729Z] 2f39f015ded8: Download complete [2023-03-24T17:38:22.296Z] 5eb5b503b376: Pull complete [2023-03-24T17:38:22.555Z] 5c69ac0246d0: Pull complete [2023-03-24T17:38:23.120Z] ec43610c2a17: Pull complete [2023-03-24T17:38:23.120Z] 3a2ae6a8a46f: Pull complete [2023-03-24T17:38:23.378Z] 33b1e0a273af: Pull complete [2023-03-24T17:38:23.378Z] 5d3b04190fa2: Pull complete [2023-03-24T17:38:24.272Z] Commit message: "refactor!: Change configuration and devices files format to YAML" [2023-03-24T17:38:24.326Z] > git --version # timeout=10 [2023-03-24T17:38:24.339Z] > git --version # 'git version 2.25.1' [2023-03-24T17:38:24.353Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T17:38:24.833Z] [2023-03-24T17:38:24.833Z] GitHub has been notified of this commit’s build result [2023-03-24T17:38:24.833Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T17:38:25.578Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T17:38:25.578Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T17:38:25.578Z] Dload Upload Total Spent Left Speed [2023-03-24T17:38:25.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-24T17:38:26.301Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T17:38:26.646Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-24T17:38:26.646Z] + sudo tee /etc/docker/daemon.new [2023-03-24T17:38:26.646Z] { [2023-03-24T17:38:26.646Z] "registry-mirrors": [ [2023-03-24T17:38:26.646Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T17:38:26.646Z] ], [2023-03-24T17:38:26.646Z] "bip": "10.250.0.254/24", [2023-03-24T17:38:26.646Z] "hosts": [ [2023-03-24T17:38:26.646Z] "tcp://0.0.0.0:5555", [2023-03-24T17:38:26.646Z] "unix:///var/run/docker.sock" [2023-03-24T17:38:26.646Z] ], [2023-03-24T17:38:26.647Z] "mtu": 1458, [2023-03-24T17:38:26.647Z] "selinux-enabled": true, [2023-03-24T17:38:26.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T17:38:26.647Z] } [Pipeline] sh [2023-03-24T17:38:26.977Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T17:38:27.315Z] + sudo service docker restart [2023-03-24T17:38:27.556Z] 2f39f015ded8: Pull complete [2023-03-24T17:38:27.556Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T17:38:27.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T17:38:27.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:38:27.795Z] prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container [2023-03-24T17:38:27.824Z] $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T17:38:31.333Z] $ docker top e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:38:31.810Z] ---> job-cost.sh [2023-03-24T17:38:31.810Z] lf-activate-venv: SKIPPING [2023-03-24T17:38:31.810Z] INFO: No Stack... [2023-03-24T17:38:32.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T17:38:32.644Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T17:38:32.954Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv [2023-03-24T17:38:32.954Z] cut -d, -f6 [Pipeline] lock [2023-03-24T17:38:32.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [2023-03-24T17:38:32.998Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] did not exist. Created. [2023-03-24T17:38:32.998Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T17:38:33.380Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T17:38:33.432Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T17:38:33.458Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T17:38:33.544Z] $ docker stop --time=1 e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c [2023-03-24T17:38:34.705Z] $ docker rm -f --volumes e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T17:38:45.613Z] provisioning config files... [2023-03-24T17:38:45.637Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7456778437740335144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:38:46.015Z] ---> docker-login.sh [2023-03-24T17:38:46.015Z] nexus3.edgexfoundry.org:10001 [2023-03-24T17:38:46.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:38:46.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:38:46.565Z] Configure a credential helper to remove this warning. See [2023-03-24T17:38:46.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:38:46.565Z] [2023-03-24T17:38:46.565Z] Login Succeeded [2023-03-24T17:38:46.565Z] nexus3.edgexfoundry.org:10002 [2023-03-24T17:38:46.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:38:47.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:38:47.107Z] Configure a credential helper to remove this warning. See [2023-03-24T17:38:47.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:38:47.107Z] [2023-03-24T17:38:47.107Z] Login Succeeded [2023-03-24T17:38:47.107Z] nexus3.edgexfoundry.org:10003 [2023-03-24T17:38:47.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:38:47.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:38:47.377Z] Configure a credential helper to remove this warning. See [2023-03-24T17:38:47.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:38:47.377Z] [2023-03-24T17:38:47.377Z] Login Succeeded [2023-03-24T17:38:47.377Z] nexus3.edgexfoundry.org:10004 [2023-03-24T17:38:47.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:38:47.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:38:47.650Z] Configure a credential helper to remove this warning. See [2023-03-24T17:38:47.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:38:47.650Z] [2023-03-24T17:38:47.650Z] Login Succeeded [2023-03-24T17:38:47.650Z] docker.io [2023-03-24T17:38:47.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T17:38:48.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T17:38:48.191Z] Configure a credential helper to remove this warning. See [2023-03-24T17:38:48.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T17:38:48.191Z] [2023-03-24T17:38:48.191Z] Login Succeeded [2023-03-24T17:38:48.191Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T17:38:48.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T17:38:48.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T17:38:48.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T17:38:48.672Z] ========================================================= [2023-03-24T17:38:48.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T17:38:48.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:38:49.162Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T17:38:51.766Z] Sending build context to Docker daemon 3.376MB [2023-03-24T17:38:51.766Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T17:38:51.766Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T17:38:51.766Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T17:38:51.766Z] af6eaf76a39c: Pulling fs layer [2023-03-24T17:38:51.766Z] 55522c791124: Pulling fs layer [2023-03-24T17:38:51.766Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T17:38:51.766Z] 169dfbe0d373: Pulling fs layer [2023-03-24T17:38:51.766Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T17:38:51.766Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T17:38:51.766Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T17:38:51.766Z] 169dfbe0d373: Waiting [2023-03-24T17:38:51.766Z] e1ff8fa3b103: Waiting [2023-03-24T17:38:51.766Z] 52ebb69f0ebf: Waiting [2023-03-24T17:38:51.766Z] 5abe8eddf0d5: Waiting [2023-03-24T17:38:51.766Z] 55522c791124: Verifying Checksum [2023-03-24T17:38:51.766Z] 55522c791124: Download complete [2023-03-24T17:38:51.766Z] 169dfbe0d373: Verifying Checksum [2023-03-24T17:38:51.766Z] 169dfbe0d373: Download complete [2023-03-24T17:38:51.766Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T17:38:51.766Z] e1ff8fa3b103: Download complete [2023-03-24T17:38:51.766Z] af6eaf76a39c: Verifying Checksum [2023-03-24T17:38:51.766Z] af6eaf76a39c: Download complete [2023-03-24T17:38:52.741Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T17:38:52.741Z] 5abe8eddf0d5: Download complete [2023-03-24T17:38:52.741Z] af6eaf76a39c: Pull complete [2023-03-24T17:38:53.329Z] 55522c791124: Pull complete [2023-03-24T17:38:54.298Z] 52ebb69f0ebf: Download complete [2023-03-24T17:38:54.298Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T17:38:54.298Z] ce5c4a1c91eb: Download complete [2023-03-24T17:39:06.667Z] ce5c4a1c91eb: Pull complete [2023-03-24T17:39:06.667Z] 169dfbe0d373: Pull complete [2023-03-24T17:39:06.667Z] e1ff8fa3b103: Pull complete [2023-03-24T17:39:13.362Z] 52ebb69f0ebf: Pull complete [2023-03-24T17:39:14.784Z] 5abe8eddf0d5: Pull complete [2023-03-24T17:39:14.784Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T17:39:14.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T17:39:14.784Z] ---> 6cb57ee374ae [2023-03-24T17:39:14.784Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-24T17:39:15.747Z] ---> Running in 7192118946a2 [2023-03-24T17:39:16.017Z] Removing intermediate container 7192118946a2 [2023-03-24T17:39:16.017Z] ---> 751bc6299aa1 [2023-03-24T17:39:16.017Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T17:39:16.017Z] ---> Running in 6c8f98c74f29 [2023-03-24T17:39:16.286Z] Removing intermediate container 6c8f98c74f29 [2023-03-24T17:39:16.286Z] ---> 289d5c0a72a4 [2023-03-24T17:39:16.286Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-24T17:39:16.557Z] ---> Running in e8575d66707d [2023-03-24T17:39:17.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T17:39:18.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T17:39:19.074Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-24T17:39:19.074Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-24T17:39:19.074Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-24T17:39:19.074Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T17:39:19.074Z] OK: 270 MiB in 61 packages [2023-03-24T17:39:20.490Z] Removing intermediate container e8575d66707d [2023-03-24T17:39:20.490Z] ---> 1b32ad205856 [2023-03-24T17:39:20.490Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-24T17:39:20.490Z] ---> Running in 3d26b34defdd [2023-03-24T17:39:20.762Z] Removing intermediate container 3d26b34defdd [2023-03-24T17:39:20.762Z] ---> b852c2989645 [2023-03-24T17:39:20.762Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T17:39:21.033Z] ---> 3af542e257a7 [2023-03-24T17:39:21.033Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T17:39:21.302Z] ---> Running in 837067c1605a [2023-03-24T17:40:29.170Z] Removing intermediate container 837067c1605a [2023-03-24T17:40:29.170Z] ---> 694c98a5bbbb [2023-03-24T17:40:29.170Z] Step 9/10 : COPY . . [2023-03-24T17:40:29.170Z] ---> 0f0e7af61e69 [2023-03-24T17:40:29.170Z] Step 10/10 : RUN ${MAKE} [2023-03-24T17:40:29.170Z] ---> Running in 15caa6e8b4f1 [2023-03-24T17:40:29.170Z] noop [2023-03-24T17:40:29.170Z] Removing intermediate container 15caa6e8b4f1 [2023-03-24T17:40:29.170Z] ---> 777a83616ae5 [2023-03-24T17:40:29.170Z] Successfully built 777a83616ae5 [2023-03-24T17:40:29.170Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:40:29.638Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T17:40:29.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:40:29.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container [2023-03-24T17:40:29.984Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-24T17:40:31.170Z] $ docker top 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T17:40:32.034Z] + go version [2023-03-24T17:40:32.034Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T17:40:32.075Z] $ docker stop --time=1 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 [2023-03-24T17:40:35.964Z] $ docker rm -f --volumes 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:40:36.777Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T17:40:36.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:40:37.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container [2023-03-24T17:40:37.097Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-24T17:40:38.237Z] $ docker top 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T17:40:38.765Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T17:40:39.149Z] + make test [2023-03-24T17:40:39.149Z] go test ./... -coverprofile=coverage.out [2023-03-24T17:41:12.044Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-24T17:43:18.726Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-24T17:43:18.726Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 48.0% of statements [2023-03-24T17:43:18.726Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-24T17:43:18.726Z] go vet ./... [2023-03-24T17:43:45.447Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T17:43:45.447Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T17:43:45.447Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T17:43:45.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T17:43:45.524Z] $ docker stop --time=1 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 [2023-03-24T17:43:47.418Z] $ docker rm -f --volumes 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T17:43:48.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T17:43:48.682Z] Warning: overwriting stash ‘coverage-report’ [2023-03-24T17:43:49.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T17:43:49.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T17:43:50.060Z] + ls -al . [2023-03-24T17:43:50.060Z] total 176 [2023-03-24T17:43:50.060Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 17:40 . [2023-03-24T17:43:50.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:38 .. [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:38 .dockerignore [2023-03-24T17:43:50.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:38 .git [2023-03-24T17:43:50.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 .github [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:38 .gitignore [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:38 .golangci.yml [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:38 Attribution.txt [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:38 CHANGELOG.md [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:38 Dockerfile [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:38 GOVERNANCE.md [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:38 Jenkinsfile [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:38 LICENSE [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:38 Makefile [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:38 OWNERS.md [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:38 README.md [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:36 VERSION [2023-03-24T17:43:50.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:38 bin [2023-03-24T17:43:50.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 cmd [2023-03-24T17:43:50.060Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:43 coverage.out [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:38 go.mod [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:38 go.sum [2023-03-24T17:43:50.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 internal [2023-03-24T17:43:50.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:38 simulator [2023-03-24T17:43:50.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:38 snap [2023-03-24T17:43:50.060Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:43:50.482Z] + 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=cd78ed9c9a4a113d2a57620e61604bed81f56a33 --label arch=arm64 --label version=0.0.0 . [2023-03-24T17:43:50.750Z] Sending build context to Docker daemon 3.401MB [2023-03-24T17:43:50.750Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T17:43:50.750Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-24T17:43:50.750Z] ---> 777a83616ae5 [2023-03-24T17:43:50.750Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-24T17:43:53.419Z] ---> Running in 5d3f26fcac86 [2023-03-24T17:43:53.419Z] Removing intermediate container 5d3f26fcac86 [2023-03-24T17:43:53.419Z] ---> d7394fba5a1e [2023-03-24T17:43:53.419Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T17:43:53.419Z] ---> Running in 9c05537ed7f5 [2023-03-24T17:43:53.727Z] Removing intermediate container 9c05537ed7f5 [2023-03-24T17:43:53.727Z] ---> 0d38a0a23884 [2023-03-24T17:43:53.727Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-24T17:43:53.727Z] ---> Running in 9dd49b698911 [2023-03-24T17:43:54.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T17:43:55.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T17:43:56.332Z] OK: 270 MiB in 61 packages [2023-03-24T17:43:57.296Z] Removing intermediate container 9dd49b698911 [2023-03-24T17:43:57.296Z] ---> d5224a1ca4e7 [2023-03-24T17:43:57.296Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-24T17:43:57.296Z] ---> Running in e600dcdf68a6 [2023-03-24T17:43:57.565Z] Removing intermediate container e600dcdf68a6 [2023-03-24T17:43:57.565Z] ---> a67ca75b9f32 [2023-03-24T17:43:57.565Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-24T17:43:58.156Z] ---> 46a04e58ec34 [2023-03-24T17:43:58.156Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T17:43:58.156Z] ---> Running in 91372a8aa0bd [2023-03-24T17:44:00.757Z] Removing intermediate container 91372a8aa0bd [2023-03-24T17:44:00.757Z] ---> 44b7fc515047 [2023-03-24T17:44:00.757Z] Step 9/22 : COPY . . [2023-03-24T17:44:01.726Z] ---> bf7784f4d8e7 [2023-03-24T17:44:01.726Z] Step 10/22 : RUN ${MAKE} [2023-03-24T17:44:01.726Z] ---> Running in 6c6112636143 [2023-03-24T17:44:02.703Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-24T17:46:09.432Z] Removing intermediate container 6c6112636143 [2023-03-24T17:46:09.432Z] ---> 557bb2c244d3 [2023-03-24T17:46:09.432Z] Step 11/22 : FROM alpine:3.17 [2023-03-24T17:46:09.432Z] 3.17: Pulling from library/alpine [2023-03-24T17:46:09.432Z] af6eaf76a39c: Already exists [2023-03-24T17:46:09.432Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T17:46:09.432Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T17:46:09.432Z] ---> d74e625d9115 [2023-03-24T17:46:09.432Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-24T17:46:09.432Z] ---> Running in 7973171f2052 [2023-03-24T17:46:09.432Z] Removing intermediate container 7973171f2052 [2023-03-24T17:46:09.432Z] ---> 8011bdf7bea1 [2023-03-24T17:46:09.432Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-24T17:46:09.432Z] ---> Running in d54a5292cd9f [2023-03-24T17:46:09.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T17:46:09.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T17:46:09.432Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T17:46:09.432Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T17:46:09.432Z] OK: 8 MiB in 16 packages [2023-03-24T17:46:09.432Z] Removing intermediate container d54a5292cd9f [2023-03-24T17:46:09.432Z] ---> 7eef2c08ca14 [2023-03-24T17:46:09.432Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-24T17:46:09.432Z] ---> 9c4697cc5f8a [2023-03-24T17:46:09.432Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-24T17:46:09.432Z] ---> 5b3f20ccfefc [2023-03-24T17:46:09.432Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-24T17:46:09.697Z] ---> 86d079896678 [2023-03-24T17:46:09.697Z] Step 17/22 : EXPOSE 59901 [2023-03-24T17:46:09.697Z] ---> Running in 1f7a658ab62c [2023-03-24T17:46:09.962Z] Removing intermediate container 1f7a658ab62c [2023-03-24T17:46:09.962Z] ---> 31f7be070ab7 [2023-03-24T17:46:09.962Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-24T17:46:09.962Z] ---> Running in 998e3a500d87 [2023-03-24T17:46:10.227Z] Removing intermediate container 998e3a500d87 [2023-03-24T17:46:10.227Z] ---> d9a25f487145 [2023-03-24T17:46:10.227Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T17:46:10.227Z] ---> Running in e6b18bba72da [2023-03-24T17:46:10.492Z] Removing intermediate container e6b18bba72da [2023-03-24T17:46:10.492Z] ---> db8b4f220268 [2023-03-24T17:46:10.492Z] Step 20/22 : LABEL arch=arm64 [2023-03-24T17:46:10.492Z] ---> Running in ae708c00bdd0 [2023-03-24T17:46:10.762Z] Removing intermediate container ae708c00bdd0 [2023-03-24T17:46:10.762Z] ---> 242e16819db3 [2023-03-24T17:46:10.762Z] Step 21/22 : LABEL git_sha=cd78ed9c9a4a113d2a57620e61604bed81f56a33 [2023-03-24T17:46:11.030Z] ---> Running in cf811b333d1e [2023-03-24T17:46:11.297Z] Removing intermediate container cf811b333d1e [2023-03-24T17:46:11.297Z] ---> cf1a99444c3d [2023-03-24T17:46:11.297Z] Step 22/22 : LABEL version=0.0.0 [2023-03-24T17:46:11.297Z] ---> Running in 5e146d5c23ef [2023-03-24T17:46:11.561Z] Removing intermediate container 5e146d5c23ef [2023-03-24T17:46:11.561Z] ---> 319bf32410dd [2023-03-24T17:46:11.561Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T17:46:11.561Z] Successfully built 319bf32410dd [2023-03-24T17:46:11.561Z] 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-03-24T17:46:12.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T17:46:12.334Z] [2023-03-24T17:46:12.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:46:12.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T17:46:12.731Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T17:46:12.731Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T17:46:12.731Z] 04944245beec: Pulling fs layer [2023-03-24T17:46:12.731Z] 699f458cf7ca: Pulling fs layer [2023-03-24T17:46:12.731Z] 765212b225bb: Pulling fs layer [2023-03-24T17:46:12.731Z] f23df028b6ca: Pulling fs layer [2023-03-24T17:46:12.731Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T17:46:12.731Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T17:46:12.731Z] f23df028b6ca: Waiting [2023-03-24T17:46:12.731Z] d65c8cfc05b1: Waiting [2023-03-24T17:46:12.731Z] 765212b225bb: Waiting [2023-03-24T17:46:12.731Z] 2437ff75d9bd: Waiting [2023-03-24T17:46:12.998Z] 04944245beec: Verifying Checksum [2023-03-24T17:46:12.998Z] 04944245beec: Download complete [2023-03-24T17:46:12.998Z] 765212b225bb: Verifying Checksum [2023-03-24T17:46:12.998Z] 765212b225bb: Download complete [2023-03-24T17:46:12.998Z] f23df028b6ca: Download complete [2023-03-24T17:46:12.998Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T17:46:12.998Z] d65c8cfc05b1: Download complete [2023-03-24T17:46:12.998Z] 699f458cf7ca: Verifying Checksum [2023-03-24T17:46:13.578Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T17:46:13.578Z] 8998bd30e6a1: Download complete [2023-03-24T17:46:15.514Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T17:46:15.514Z] 2437ff75d9bd: Download complete [2023-03-24T17:46:16.915Z] 8998bd30e6a1: Pull complete [2023-03-24T17:46:17.493Z] 04944245beec: Pull complete [2023-03-24T17:46:18.448Z] 699f458cf7ca: Pull complete [2023-03-24T17:46:18.713Z] 765212b225bb: Pull complete [2023-03-24T17:46:19.296Z] f23df028b6ca: Pull complete [2023-03-24T17:46:19.563Z] d65c8cfc05b1: Pull complete [2023-03-24T17:46:31.846Z] 2437ff75d9bd: Pull complete [2023-03-24T17:46:31.846Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T17:46:31.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T17:46:31.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:46:32.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container [2023-03-24T17:46:32.249Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T17:46:34.533Z] $ docker top fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:35.369Z] ---> job-cost.sh [2023-03-24T17:46:35.369Z] lf-activate-venv: SKIPPING [2023-03-24T17:46:35.369Z] INFO: No Stack... [2023-03-24T17:46:35.634Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T17:46:36.595Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T17:46:36.927Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-24T17:46:36.927Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T17:46:36.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [2023-03-24T17:46:37.003Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] did not exist. Created. [2023-03-24T17:46:37.004Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T17:46:37.399Z] /w/workspace/device-modbus-go/1@tmp/durable-ad2cb28b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T17:46:37.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T17:46:37.778Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T17:46:37.819Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T17:46:37.834Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T17:46:37.926Z] $ docker stop --time=1 fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c [2023-03-24T17:46:39.368Z] $ docker rm -f --volumes fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c [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-03-24T17:46:40.364Z] provisioning config files... [2023-03-24T17:46:40.372Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config7618607372951558193tmp [Pipeline] { [Pipeline] sh [2023-03-24T17:46:40.703Z] + set +x [2023-03-24T17:46:40.703Z] + bash -s -- [2023-03-24T17:46:40.703Z] + curl -s https://codecov.io/bash [2023-03-24T17:46:40.703Z] [2023-03-24T17:46:40.703Z] _____ _ [2023-03-24T17:46:40.703Z] / ____| | | [2023-03-24T17:46:40.703Z] | | ___ __| | ___ ___ _____ __ [2023-03-24T17:46:40.703Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-24T17:46:40.703Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-24T17:46:40.703Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-24T17:46:40.703Z] Bash-1.0.6 [2023-03-24T17:46:40.703Z] [2023-03-24T17:46:40.703Z] [2023-03-24T17:46:40.703Z] ==> git version 2.25.1 found [2023-03-24T17:46:40.703Z] ==> 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-03-24T17:46:40.703Z] Release-Date: 2020-01-08 [2023-03-24T17:46:40.703Z] 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-03-24T17:46:40.703Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-24T17:46:40.703Z] ==> Jenkins CI detected. [2023-03-24T17:46:40.703Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 [2023-03-24T17:46:40.703Z] project root: . [2023-03-24T17:46:40.703Z] --> token set from env [2023-03-24T17:46:40.703Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-24T17:46:40.703Z] ==> Running gcov in . (disable via -X gcov) [2023-03-24T17:46:40.703Z] ==> Python coveragepy not found [2023-03-24T17:46:40.703Z] ==> Searching for coverage reports in: [2023-03-24T17:46:40.703Z] + . [2023-03-24T17:46:40.963Z] -> Found 1 reports [2023-03-24T17:46:40.963Z] ==> Detecting git/mercurial file structure [2023-03-24T17:46:40.963Z] ==> Reading reports [2023-03-24T17:46:40.963Z] + ./coverage.out bytes=23736 [2023-03-24T17:46:40.963Z] ==> Appending adjustments [2023-03-24T17:46:40.963Z] https://docs.codecov.io/docs/fixing-reports [2023-03-24T17:46:40.963Z] + Found adjustments [2023-03-24T17:46:40.963Z] ==> Gzipping contents [2023-03-24T17:46:40.963Z] 4.0K /tmp/codecov.czYxKx.gz [2023-03-24T17:46:40.963Z] ==> Uploading reports [2023-03-24T17:46:40.963Z] url: https://codecov.io [2023-03-24T17:46:40.963Z] query: branch=PR-445&commit=cd78ed9c9a4a113d2a57620e61604bed81f56a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-03-24T17:46:40.963Z] -> Pinging Codecov [2023-03-24T17:46:40.963Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-445&commit=cd78ed9c9a4a113d2a57620e61604bed81f56a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-03-24T17:46:41.222Z] -> Uploading to [2023-03-24T17:46:41.222Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-24/55DBCA73C666E3227836607328DD7E49/cd78ed9c9a4a113d2a57620e61604bed81f56a33/74ac7f08-ad2e-4c7e-b0a6-7a6e8394f79d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T174641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7291bab62154633a3c70994414e73d21965cd30c59f35e89ba51fe5d14ed24c [2023-03-24T17:46:41.222Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T17:46:41.222Z] Dload Upload Total Spent Left Speed [2023-03-24T17:46:41.483Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3886 0 0 100 3886 0 17583 --:--:-- --:--:-- --:--:-- 17504 100 3886 0 0 100 3886 0 15359 --:--:-- --:--:-- --:--:-- 15359 [2023-03-24T17:46:41.483Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] } [2023-03-24T17:46:41.511Z] 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-03-24T17:46:43.234Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] [2023-03-24T17:46:43.234Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives [2023-03-24T17:46:43.234Z] total 16 [2023-03-24T17:46:43.234Z] drwxr-xr-x 3 root root 4096 Mar 24 17:38 . [2023-03-24T17:46:43.234Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:38 .. [2023-03-24T17:46:43.234Z] drwxr-xr-x 2 root root 4096 Mar 24 17:38 cost [2023-03-24T17:46:43.234Z] -rw-r--r-- 1 root root 88 Mar 24 17:38 cost.csv [2023-03-24T17:46:43.234Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives [2023-03-24T17:46:43.234Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives [2023-03-24T17:46:43.234Z] total 16 [2023-03-24T17:46:43.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:38 . [2023-03-24T17:46:43.234Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:38 .. [2023-03-24T17:46:43.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 17:38 cost [2023-03-24T17:46:43.234Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 24 17:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:43.559Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:44.450Z] ---> package-listing.sh [2023-03-24T17:46:44.450Z] ++ facter osfamily [2023-03-24T17:46:44.450Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T17:46:44.709Z] + OS_FAMILY=debian [2023-03-24T17:46:44.709Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 [2023-03-24T17:46:44.709Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T17:46:44.709Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T17:46:44.709Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T17:46:44.709Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T17:46:44.709Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' [2023-03-24T17:46:44.709Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T17:46:44.709Z] + case "${OS_FAMILY}" in [2023-03-24T17:46:44.709Z] + dpkg -l [2023-03-24T17:46:44.709Z] + grep '^ii' [2023-03-24T17:46:44.709Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T17:46:44.709Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T17:46:44.709Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T17:46:44.709Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' [2023-03-24T17:46:44.709Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ [2023-03-24T17:46:44.709Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ [Pipeline] echo [2023-03-24T17:46:44.742Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T17:46:45.032Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T17:46:45.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T17:46:45.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T17:46:45.810Z] prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container [2023-03-24T17:46:45.845Z] $ 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-445/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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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-03-24T17:46:46.036Z] $ docker top 8e0986f4735d510928eea20e3041e01dc5e9738d5b313c08289450fc42482b4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T17:46:46.429Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T17:46:46.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T17:46:47.059Z] + ls /var/log/sa-host [2023-03-24T17:46:47.059Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T17:46:47.263Z] provisioning config files... [2023-03-24T17:46:47.273Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config6082015983798333270tmp [Pipeline] { [Pipeline] echo [2023-03-24T17:46:47.329Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:47.643Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T17:46:47.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:48.074Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T17:46:48.108Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:48.422Z] ---> sudo-logs.sh [2023-03-24T17:46:48.422Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T17:46:48.515Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:48.836Z] ---> job-cost.sh [2023-03-24T17:46:48.836Z] lf-activate-venv: SKIPPING [2023-03-24T17:46:48.836Z] DEBUG: total: 0.2199999988079071 [2023-03-24T17:46:48.836Z] INFO: Retrieving Stack Cost... [2023-03-24T17:46:49.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T17:46:49.672Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T17:46:49.710Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T17:46:50.027Z] ---> logs-deploy.sh [2023-03-24T17:46:50.027Z] lf-activate-venv: SKIPPING [2023-03-24T17:46:50.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/1 [2023-03-24T17:46:50.027Z] INFO: archiving workspace using pattern(s): [2023-03-24T17:46:50.965Z] Archives upload complete. [2023-03-24T17:46:50.965Z] INFO: archiving logs to Nexus