Pull request #461 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e7674c9f6bf64f32a866c1e367f5c879f4117771+1a68168e1b466f81fb38e733dbe2211c06120b2a (875531e7ba71c84d542df7ae96fe32a1a156992d) 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-ssh11506162175922694375.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5125114389042218525.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-461/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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3414865833849049977.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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh187290704580792106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13742325477975352092.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-461/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-461/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10912110443150098162.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-9485 in /w/workspace/xfoundry_device-modbus-go_PR-461 [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-461 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit e7674c9f6bf64f32a866c1e367f5c879f4117771 Merge succeeded, producing e7674c9f6bf64f32a866c1e367f5c879f4117771 Checking out Revision e7674c9f6bf64f32a866c1e367f5c879f4117771 (PR-461) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T05:59:27.739Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T05:59:27.926Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e7674c9f6bf64f32a866c1e367f5c879f4117771 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7674c9f6bf64f32a866c1e367f5c879f4117771 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T05:59:28.031Z] ========================================================= [2023-04-24T05:59:28.031Z] EdgeX Global Pipelines Version Info [2023-04-24T05:59:28.031Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:59:28.794Z] ------------------- [2023-04-24T05:59:28.794Z] stable info: [2023-04-24T05:59:28.794Z] ------------------- [2023-04-24T05:59:28.794Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T05:59:28.794Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T05:59:28.794Z] Message: update stable to v1.0.248 [2023-04-24T05:59:29.367Z] ------------------- [2023-04-24T05:59:29.367Z] experimental info: [2023-04-24T05:59:29.367Z] ------------------- [2023-04-24T05:59:29.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T05:59:29.367Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T05:59:29.367Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T05:59:29.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-24T05:59:29.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-24T05:59:29.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T05:59:29.769Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T05:59:29.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T05:59:29.858Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T05:59:29.907Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T05:59:29.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T05:59:29.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T05:59:30.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T05:59:30.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T05:59:30.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-24T05:59:30.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T05:59:30.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T05:59:30.232Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T05:59:30.272Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T05:59:30.317Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T05:59:30.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T05:59:30.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T05:59:30.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T05:59:30.485Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T05:59:30.526Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T05:59:30.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T05:59:30.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T05:59:30.639Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T05:59:30.679Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T05:59:30.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T05:59:30.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-461 [Pipeline] echo [2023-04-24T05:59:30.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-461 [Pipeline] echo [2023-04-24T05:59:30.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-461 [Pipeline] echo [2023-04-24T05:59:30.891Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7674c9f6bf64f32a866c1e367f5c879f4117771 [Pipeline] echo [2023-04-24T05:59:30.935Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7674c9 [Pipeline] echo [2023-04-24T05:59:30.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T05:59:31.093Z] provisioning config files... [2023-04-24T05:59:31.106Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/config6941398365601589614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:59:31.475Z] ---> docker-login.sh [2023-04-24T05:59:31.475Z] nexus3.edgexfoundry.org:10001 [2023-04-24T05:59:31.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:31.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:31.737Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:31.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:31.737Z] [2023-04-24T05:59:31.737Z] Login Succeeded [2023-04-24T05:59:31.737Z] nexus3.edgexfoundry.org:10002 [2023-04-24T05:59:31.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:31.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:31.737Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:31.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:31.737Z] [2023-04-24T05:59:31.737Z] Login Succeeded [2023-04-24T05:59:31.737Z] nexus3.edgexfoundry.org:10003 [2023-04-24T05:59:31.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:31.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:31.997Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:31.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:31.997Z] [2023-04-24T05:59:31.997Z] Login Succeeded [2023-04-24T05:59:31.997Z] nexus3.edgexfoundry.org:10004 [2023-04-24T05:59:31.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:31.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:31.997Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:31.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:31.997Z] [2023-04-24T05:59:31.997Z] Login Succeeded [2023-04-24T05:59:31.997Z] docker.io [2023-04-24T05:59:31.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:32.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:32.259Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:32.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:32.259Z] [2023-04-24T05:59:32.259Z] Login Succeeded [2023-04-24T05:59:32.259Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T05:59:32.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T05:59:32.892Z] + git rev-list -1 --merges e7674c9f6bf64f32a866c1e367f5c879f4117771~1..e7674c9f6bf64f32a866c1e367f5c879f4117771 [Pipeline] echo [2023-04-24T05:59:32.977Z] -----------> git rev-list -1 --merges e7674c9f6bf64f32a866c1e367f5c879f4117771~1..e7674c9f6bf64f32a866c1e367f5c879f4117771 e7674c9f6bf64f32a866c1e367f5c879f4117771 [false] [Pipeline] sh [2023-04-24T05:59:33.365Z] + git log --format=format:%s -1 e7674c9f6bf64f32a866c1e367f5c879f4117771 [Pipeline] echo [2023-04-24T05:59:33.400Z] ========================================================= [2023-04-24T05:59:33.400Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T05:59:33.400Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T05:59:33.833Z] + git log --format=format:%s -1 e7674c9f6bf64f32a866c1e367f5c879f4117771 [Pipeline] echo [2023-04-24T05:59:33.865Z] [semverPrep] GIT_COMMIT: e7674c9f6bf64f32a866c1e367f5c879f4117771, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-24T05:59:33.894Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T05:59:34.272Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T05:59:34.272Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T05:59:34.272Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T05:59:34.272Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T05:59:34.272Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T05:59:34.272Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T05:59:34.272Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:59:34.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T05:59:34.700Z] [2023-04-24T05:59:34.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:59:35.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T05:59:35.080Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T05:59:35.080Z] b85a868b505f: Pulling fs layer [2023-04-24T05:59:35.080Z] e2be974225ed: Pulling fs layer [2023-04-24T05:59:35.080Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T05:59:35.080Z] 988bab9f4d93: Pulling fs layer [2023-04-24T05:59:35.080Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T05:59:35.080Z] eaf3925da568: Pulling fs layer [2023-04-24T05:59:35.080Z] bab4dde63d76: Pulling fs layer [2023-04-24T05:59:35.080Z] bde34c3a00c8: Pulling fs layer [2023-04-24T05:59:35.080Z] b352a97aabf1: Pulling fs layer [2023-04-24T05:59:35.080Z] 4872d77fe225: Pulling fs layer [2023-04-24T05:59:35.080Z] 5851b861e8e6: Pulling fs layer [2023-04-24T05:59:35.080Z] bab4dde63d76: Waiting [2023-04-24T05:59:35.080Z] b352a97aabf1: Waiting [2023-04-24T05:59:35.080Z] 988bab9f4d93: Waiting [2023-04-24T05:59:35.080Z] 1469e6f7b9e6: Waiting [2023-04-24T05:59:35.080Z] eaf3925da568: Waiting [2023-04-24T05:59:35.080Z] 4872d77fe225: Waiting [2023-04-24T05:59:35.080Z] 5851b861e8e6: Waiting [2023-04-24T05:59:35.080Z] bde34c3a00c8: Waiting [2023-04-24T05:59:35.080Z] e2be974225ed: Verifying Checksum [2023-04-24T05:59:35.080Z] e2be974225ed: Download complete [2023-04-24T05:59:35.080Z] 988bab9f4d93: Verifying Checksum [2023-04-24T05:59:35.080Z] 988bab9f4d93: Download complete [2023-04-24T05:59:35.346Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T05:59:35.346Z] 1469e6f7b9e6: Download complete [2023-04-24T05:59:35.346Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T05:59:35.346Z] 339a4e72a1f5: Download complete [2023-04-24T05:59:35.346Z] eaf3925da568: Verifying Checksum [2023-04-24T05:59:35.346Z] eaf3925da568: Download complete [2023-04-24T05:59:35.346Z] bde34c3a00c8: Download complete [2023-04-24T05:59:35.346Z] b352a97aabf1: Download complete [2023-04-24T05:59:35.346Z] 4872d77fe225: Verifying Checksum [2023-04-24T05:59:35.346Z] 4872d77fe225: Download complete [2023-04-24T05:59:35.346Z] 5851b861e8e6: Verifying Checksum [2023-04-24T05:59:35.346Z] 5851b861e8e6: Download complete [2023-04-24T05:59:35.346Z] b85a868b505f: Verifying Checksum [2023-04-24T05:59:35.346Z] b85a868b505f: Download complete [2023-04-24T05:59:35.605Z] bab4dde63d76: Verifying Checksum [2023-04-24T05:59:35.605Z] bab4dde63d76: Download complete [2023-04-24T05:59:36.548Z] b85a868b505f: Pull complete [2023-04-24T05:59:36.808Z] e2be974225ed: Pull complete [2023-04-24T05:59:37.376Z] 339a4e72a1f5: Pull complete [2023-04-24T05:59:37.376Z] 988bab9f4d93: Pull complete [2023-04-24T05:59:37.636Z] 1469e6f7b9e6: Pull complete [2023-04-24T05:59:37.636Z] eaf3925da568: Pull complete [2023-04-24T05:59:39.538Z] bab4dde63d76: Pull complete [2023-04-24T05:59:39.538Z] bde34c3a00c8: Pull complete [2023-04-24T05:59:39.538Z] b352a97aabf1: Pull complete [2023-04-24T05:59:39.800Z] 4872d77fe225: Pull complete [2023-04-24T05:59:39.800Z] 5851b861e8e6: Pull complete [2023-04-24T05:59:39.800Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T05:59:39.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T05:59:39.800Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:59:40.030Z] prd-ubuntu20.04-docker-8c-8g-9485 does not seem to be running inside a container [2023-04-24T05:59:40.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-461 -v /w/workspace/xfoundry_device-modbus-go_PR-461:/w/workspace/xfoundry_device-modbus-go_PR-461:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-461@tmp:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T05:59:42.650Z] $ docker top 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 -eo pid,comm [2023-04-24T05:59:42.711Z] 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-04-24T05:59:42.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T05:59:42.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T05:59:42.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T05:59:42.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T05:59:42.962Z] $ docker exec 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 ssh-agent [2023-04-24T05:59:43.071Z] SSH_AUTH_SOCK=/tmp/ssh-OVFnKZjcdpfU/agent.32 [2023-04-24T05:59:43.071Z] SSH_AGENT_PID=39 [2023-04-24T05:59:43.077Z] Running ssh-add (command line suppressed) [2023-04-24T05:59:43.180Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-461@tmp/private_key_3106523497066384086.key (/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/private_key_3106523497066384086.key) [2023-04-24T05:59:43.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T05:59:43.523Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T05:59:43.549Z] $ docker exec --env ******** --env ******** 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 ssh-agent -k [2023-04-24T05:59:43.634Z] unset SSH_AUTH_SOCK; [2023-04-24T05:59:43.634Z] unset SSH_AGENT_PID; [2023-04-24T05:59:43.635Z] echo Agent pid 39 killed; [2023-04-24T05:59:43.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T05:59:43.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T05:59:43.733Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T05:59:43.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T05:59:43.870Z] $ docker exec 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 ssh-agent [2023-04-24T05:59:43.982Z] SSH_AUTH_SOCK=/tmp/ssh-IEvf9szrkMXD/agent.71 [2023-04-24T05:59:43.982Z] SSH_AGENT_PID=77 [2023-04-24T05:59:43.987Z] Running ssh-add (command line suppressed) [2023-04-24T05:59:44.100Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-461@tmp/private_key_1172763051243656843.key (/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/private_key_1172763051243656843.key) [2023-04-24T05:59:44.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T05:59:44.439Z] + git semver init [2023-04-24T05:59:44.700Z] 2023-04-24 05:59:44,652 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T05:59:44.700Z] 2023-04-24 05:59:44,653 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-461/.semver [2023-04-24T05:59:44.700Z] 2023-04-24 05:59:44,653 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-461/.semver [2023-04-24T05:59:44.700Z] 2023-04-24 05:59:44,654 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-461/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-461, universal_newlines=False, shell=None, istream=None) [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,416 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-461/.git/info/exclude [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-461/.semver/PR-461 with force:False [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,417 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-461/.semver/PR-461 [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,421 [execute] INFO git cat-file --batch-check [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,427 [execute] INFO git cat-file --batch [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T05:59:45.638Z] 2023-04-24 05:59:45,430 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-461/.semver/PR-461 [2023-04-24T05:59:45.638Z] 0.0.0 [Pipeline] } [2023-04-24T05:59:45.662Z] $ docker exec --env ******** --env ******** 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 ssh-agent -k [2023-04-24T05:59:45.742Z] unset SSH_AUTH_SOCK; [2023-04-24T05:59:45.742Z] unset SSH_AGENT_PID; [2023-04-24T05:59:45.743Z] echo Agent pid 77 killed; [2023-04-24T05:59:45.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T05:59:46.177Z] + git semver [Pipeline] } [2023-04-24T05:59:46.775Z] $ docker stop --time=1 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 [2023-04-24T05:59:48.079Z] $ docker rm -f --volumes 4ad18d4a2e404f1d386a863f53b7e4f4a244ddae74ad5d80c7f86331dfdfe749 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T05:59:48.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T05:59:48.770Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T05:59:48.790Z] [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-04-24T05:59:49.419Z] provisioning config files... [2023-04-24T05:59:49.428Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/config4956191791352048307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:59:49.782Z] ---> docker-login.sh [2023-04-24T05:59:49.782Z] nexus3.edgexfoundry.org:10001 [2023-04-24T05:59:49.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:49.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:49.782Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:49.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:49.782Z] [2023-04-24T05:59:49.782Z] Login Succeeded [2023-04-24T05:59:49.782Z] nexus3.edgexfoundry.org:10002 [2023-04-24T05:59:49.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:49.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:49.782Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:49.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:49.782Z] [2023-04-24T05:59:49.782Z] Login Succeeded [2023-04-24T05:59:49.782Z] nexus3.edgexfoundry.org:10003 [2023-04-24T05:59:50.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:50.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:50.041Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:50.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:50.041Z] [2023-04-24T05:59:50.041Z] Login Succeeded [2023-04-24T05:59:50.041Z] nexus3.edgexfoundry.org:10004 [2023-04-24T05:59:50.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:50.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:50.041Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:50.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:50.041Z] [2023-04-24T05:59:50.041Z] Login Succeeded [2023-04-24T05:59:50.041Z] docker.io [2023-04-24T05:59:50.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:59:50.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:59:50.300Z] Configure a credential helper to remove this warning. See [2023-04-24T05:59:50.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:59:50.300Z] [2023-04-24T05:59:50.300Z] Login Succeeded [2023-04-24T05:59:50.300Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T05:59:50.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T05:59:50.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T05:59:50.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T05:59:50.596Z] ========================================================= [2023-04-24T05:59:50.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T05:59:50.596Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:59:51.064Z] + 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-04-24T05:59:51.064Z] Sending build context to Docker daemon 6.458MB [2023-04-24T05:59:51.064Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T05:59:51.064Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T05:59:51.064Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T05:59:51.064Z] 63b65145d645: Pulling fs layer [2023-04-24T05:59:51.064Z] a2d21d5440eb: Pulling fs layer [2023-04-24T05:59:51.064Z] 935e6c44a52c: Pulling fs layer [2023-04-24T05:59:51.064Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T05:59:51.064Z] 30dea6a524f1: Pulling fs layer [2023-04-24T05:59:51.064Z] a2aff8979fd8: Pulling fs layer [2023-04-24T05:59:51.064Z] 6808be2612f2: Pulling fs layer [2023-04-24T05:59:51.064Z] f25807f1079a: Pulling fs layer [2023-04-24T05:59:51.064Z] 94cc34f8dd06: Waiting [2023-04-24T05:59:51.064Z] 6808be2612f2: Waiting [2023-04-24T05:59:51.064Z] f25807f1079a: Waiting [2023-04-24T05:59:51.064Z] a2aff8979fd8: Waiting [2023-04-24T05:59:51.064Z] 30dea6a524f1: Waiting [2023-04-24T05:59:51.064Z] a2d21d5440eb: Download complete [2023-04-24T05:59:51.064Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T05:59:51.064Z] 94cc34f8dd06: Download complete [2023-04-24T05:59:51.325Z] 30dea6a524f1: Verifying Checksum [2023-04-24T05:59:51.325Z] 30dea6a524f1: Download complete [2023-04-24T05:59:51.325Z] 63b65145d645: Verifying Checksum [2023-04-24T05:59:51.325Z] 63b65145d645: Download complete [2023-04-24T05:59:51.325Z] a2aff8979fd8: Verifying Checksum [2023-04-24T05:59:51.325Z] a2aff8979fd8: Download complete [2023-04-24T05:59:51.325Z] 63b65145d645: Pull complete [2023-04-24T05:59:51.588Z] a2d21d5440eb: Pull complete [2023-04-24T05:59:51.588Z] f25807f1079a: Verifying Checksum [2023-04-24T05:59:51.588Z] f25807f1079a: Download complete [2023-04-24T05:59:51.849Z] 935e6c44a52c: Verifying Checksum [2023-04-24T05:59:51.849Z] 935e6c44a52c: Download complete [2023-04-24T05:59:52.118Z] 6808be2612f2: Verifying Checksum [2023-04-24T05:59:52.118Z] 6808be2612f2: Download complete [2023-04-24T05:59:55.401Z] 935e6c44a52c: Pull complete [2023-04-24T05:59:55.401Z] 94cc34f8dd06: Pull complete [2023-04-24T05:59:55.401Z] 30dea6a524f1: Pull complete [2023-04-24T05:59:55.401Z] a2aff8979fd8: Pull complete [2023-04-24T05:59:58.027Z] 6808be2612f2: Pull complete [2023-04-24T05:59:58.598Z] f25807f1079a: Pull complete [2023-04-24T05:59:58.598Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T05:59:58.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T05:59:58.598Z] ---> 3b553350e43f [2023-04-24T05:59:58.598Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:00:02.832Z] ---> Running in aeb9678c8568 [2023-04-24T06:00:02.832Z] Removing intermediate container aeb9678c8568 [2023-04-24T06:00:02.832Z] ---> 63ec005947a5 [2023-04-24T06:00:02.832Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:00:02.832Z] ---> Running in 6af5e4fafdf7 [2023-04-24T06:00:02.832Z] Removing intermediate container 6af5e4fafdf7 [2023-04-24T06:00:02.832Z] ---> 181fba9751b5 [2023-04-24T06:00:02.832Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:00:02.832Z] ---> Running in ff9ca47489e4 [2023-04-24T06:00:02.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:00:03.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:00:03.352Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:00:03.352Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:00:03.352Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:00:03.352Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:00:03.352Z] OK: 270 MiB in 61 packages [2023-04-24T06:00:03.921Z] Removing intermediate container ff9ca47489e4 [2023-04-24T06:00:03.921Z] ---> 29759e37f905 [2023-04-24T06:00:03.921Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:00:03.921Z] ---> Running in fdd555a06cb4 [2023-04-24T06:00:03.921Z] Removing intermediate container fdd555a06cb4 [2023-04-24T06:00:03.921Z] ---> 09cc67276270 [2023-04-24T06:00:03.921Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:00:04.186Z] ---> e1afc5d277cf [2023-04-24T06:00:04.186Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:00:04.186Z] ---> Running in 8771bded96e9 [2023-04-24T06:00:04.234Z] Still waiting to schedule task [2023-04-24T06:00:04.235Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9488’ is offline [2023-04-24T06:00:40.066Z] Removing intermediate container 8771bded96e9 [2023-04-24T06:00:40.066Z] ---> 4d00b88b8568 [2023-04-24T06:00:40.066Z] Step 9/10 : COPY . . [2023-04-24T06:00:40.066Z] ---> 9e12e43455d1 [2023-04-24T06:00:40.066Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:00:40.066Z] ---> Running in 806780bd5c67 [2023-04-24T06:00:40.066Z] noop [2023-04-24T06:00:40.066Z] Removing intermediate container 806780bd5c67 [2023-04-24T06:00:40.066Z] ---> be7134d5cea6 [2023-04-24T06:00:40.066Z] Successfully built be7134d5cea6 [2023-04-24T06:00:40.066Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:00:40.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:00:40.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:00:40.682Z] prd-ubuntu20.04-docker-8c-8g-9485 does not seem to be running inside a container [2023-04-24T06:00:40.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-461 -v /w/workspace/xfoundry_device-modbus-go_PR-461:/w/workspace/xfoundry_device-modbus-go_PR-461:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-461@tmp:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:00:41.073Z] $ docker top 008b93d42ef7462fa8ad1170cc56dfe96394dde4626030c3999ab98e506d63ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:00:41.476Z] + go version [2023-04-24T06:00:41.476Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:00:41.509Z] $ docker stop --time=1 008b93d42ef7462fa8ad1170cc56dfe96394dde4626030c3999ab98e506d63ed [2023-04-24T06:00:42.781Z] $ docker rm -f --volumes 008b93d42ef7462fa8ad1170cc56dfe96394dde4626030c3999ab98e506d63ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:00:43.538Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:00:43.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:00:43.693Z] prd-ubuntu20.04-docker-8c-8g-9485 does not seem to be running inside a container [2023-04-24T06:00:43.727Z] $ 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-461 -v /w/workspace/xfoundry_device-modbus-go_PR-461:/w/workspace/xfoundry_device-modbus-go_PR-461:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-461@tmp:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:00:44.068Z] $ docker top 0ba2d95ba21b12320b5ba310b1ca074cd45ed5aaea11a8773abb91f8307f983c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:00:44.459Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-461 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:00:44.817Z] + make test [2023-04-24T06:00:44.817Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:00:50.087Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:01:00.059Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:01:00.059Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements [2023-04-24T06:01:06.619Z] go vet ./... [2023-04-24T06:01:10.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:01:10.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:01:10.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:01:11.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:01:11.061Z] $ docker stop --time=1 0ba2d95ba21b12320b5ba310b1ca074cd45ed5aaea11a8773abb91f8307f983c [2023-04-24T06:01:14.318Z] $ docker rm -f --volumes 0ba2d95ba21b12320b5ba310b1ca074cd45ed5aaea11a8773abb91f8307f983c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:01:14.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:01:14.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:01:15.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:01:15.827Z] + ls -al . [2023-04-24T06:01:15.827Z] total 180 [2023-04-24T06:01:15.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:00 . [2023-04-24T06:01:15.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:59 .. [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:59 .dockerignore [2023-04-24T06:01:15.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:59 .git [2023-04-24T06:01:15.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 .github [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 05:59 .gitignore [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 05:59 .golangci.yml [2023-04-24T06:01:15.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 05:59 .semver [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 05:59 Attribution.txt [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 05:59 CHANGELOG.md [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 05:59 Dockerfile [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 05:59 GOVERNANCE.md [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 05:59 Jenkinsfile [2023-04-24T06:01:15.827Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 05:59 LICENSE [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 05:59 Makefile [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 05:59 OWNERS.md [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 05:59 README.md [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 05:59 VERSION [2023-04-24T06:01:15.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:59 bin [2023-04-24T06:01:15.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 cmd [2023-04-24T06:01:15.828Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:00 coverage.out [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 05:59 go.mod [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 05:59 go.sum [2023-04-24T06:01:15.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 internal [2023-04-24T06:01:15.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:59 simulator [2023-04-24T06:01:15.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:59 snap [2023-04-24T06:01:15.828Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:16.222Z] + 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=e7674c9f6bf64f32a866c1e367f5c879f4117771 --label arch=amd64 --label version=0.0.0 . [2023-04-24T06:01:16.222Z] Sending build context to Docker daemon 6.483MB [2023-04-24T06:01:16.222Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:01:16.222Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:01:16.222Z] ---> be7134d5cea6 [2023-04-24T06:01:16.222Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:01:16.222Z] ---> Running in 54244baf79f9 [2023-04-24T06:01:16.487Z] Removing intermediate container 54244baf79f9 [2023-04-24T06:01:16.487Z] ---> 7a48d13de47a [2023-04-24T06:01:16.487Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:01:16.487Z] ---> Running in 3d738e98fdf4 [2023-04-24T06:01:16.487Z] Removing intermediate container 3d738e98fdf4 [2023-04-24T06:01:16.487Z] ---> ef50eff2a009 [2023-04-24T06:01:16.487Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:01:16.487Z] ---> Running in 86e85f22bff4 [2023-04-24T06:01:16.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:17.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:17.266Z] OK: 270 MiB in 61 packages [2023-04-24T06:01:17.526Z] Removing intermediate container 86e85f22bff4 [2023-04-24T06:01:17.526Z] ---> e60886c9b6c3 [2023-04-24T06:01:17.526Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:01:17.526Z] ---> Running in d12d62e7291a [2023-04-24T06:01:17.526Z] Removing intermediate container d12d62e7291a [2023-04-24T06:01:17.526Z] ---> 625fe89f7f80 [2023-04-24T06:01:17.526Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:01:17.787Z] ---> 15c8d3620456 [2023-04-24T06:01:17.787Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:01:17.787Z] ---> Running in ba3f875d34f1 [2023-04-24T06:01:18.748Z] Removing intermediate container ba3f875d34f1 [2023-04-24T06:01:18.748Z] ---> 331d1a6653a9 [2023-04-24T06:01:18.748Z] Step 9/22 : COPY . . [2023-04-24T06:01:19.008Z] ---> cf1eb015c5db [2023-04-24T06:01:19.008Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:01:19.008Z] ---> Running in 5c4a0ce6b2a4 [2023-04-24T06:01:19.267Z] 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-04-24T06:01:41.210Z] Removing intermediate container 5c4a0ce6b2a4 [2023-04-24T06:01:41.210Z] ---> 772df9c16aba [2023-04-24T06:01:41.210Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:01:41.210Z] 3.17: Pulling from library/alpine [2023-04-24T06:01:41.210Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:01:41.210Z] f56be85fc22e: Download complete [2023-04-24T06:01:41.210Z] f56be85fc22e: Pull complete [2023-04-24T06:01:41.210Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:01:41.210Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:01:41.210Z] ---> 9ed4aefc74f6 [2023-04-24T06:01:41.210Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:01:41.210Z] ---> Running in 7b8392004042 [2023-04-24T06:01:41.210Z] Removing intermediate container 7b8392004042 [2023-04-24T06:01:41.210Z] ---> 190ad94a8996 [2023-04-24T06:01:41.210Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:01:41.210Z] ---> Running in 22592114cb51 [2023-04-24T06:01:41.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:41.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:41.210Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:01:41.210Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:01:41.210Z] OK: 7 MiB in 16 packages [2023-04-24T06:01:41.469Z] Removing intermediate container 22592114cb51 [2023-04-24T06:01:41.469Z] ---> c520cde93cd0 [2023-04-24T06:01:41.469Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:01:42.406Z] ---> 9afd5da8c13c [2023-04-24T06:01:42.406Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:01:42.406Z] ---> 584f10dec5f7 [2023-04-24T06:01:42.406Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:01:42.406Z] ---> 6a863ac2d32d [2023-04-24T06:01:42.406Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:01:42.667Z] ---> Running in 8561ad452502 [2023-04-24T06:01:42.667Z] Removing intermediate container 8561ad452502 [2023-04-24T06:01:42.667Z] ---> 05993e9d8ea5 [2023-04-24T06:01:42.667Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:01:42.667Z] ---> Running in a53fa831f706 [2023-04-24T06:01:42.667Z] Removing intermediate container a53fa831f706 [2023-04-24T06:01:42.667Z] ---> fca0bf108bbf [2023-04-24T06:01:42.667Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:01:42.667Z] ---> Running in d36d3a1f5323 [2023-04-24T06:01:42.928Z] Removing intermediate container d36d3a1f5323 [2023-04-24T06:01:42.928Z] ---> b49c151927e1 [2023-04-24T06:01:42.928Z] Step 20/22 : LABEL arch=amd64 [2023-04-24T06:01:42.928Z] ---> Running in 99be724e2ef6 [2023-04-24T06:01:42.928Z] Removing intermediate container 99be724e2ef6 [2023-04-24T06:01:42.928Z] ---> daf87b025d28 [2023-04-24T06:01:42.928Z] Step 21/22 : LABEL git_sha=e7674c9f6bf64f32a866c1e367f5c879f4117771 [2023-04-24T06:01:42.928Z] ---> Running in c7907be08685 [2023-04-24T06:01:42.928Z] Removing intermediate container c7907be08685 [2023-04-24T06:01:42.928Z] ---> 2c25c0e493a6 [2023-04-24T06:01:42.928Z] Step 22/22 : LABEL version=0.0.0 [2023-04-24T06:01:42.928Z] ---> Running in 390825623c24 [2023-04-24T06:01:43.188Z] Removing intermediate container 390825623c24 [2023-04-24T06:01:43.188Z] ---> 174e2a3eb339 [2023-04-24T06:01:43.188Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:01:43.188Z] Successfully built 174e2a3eb339 [2023-04-24T06:01:43.188Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:44.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:01:44.113Z] [2023-04-24T06:01:44.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:44.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:01:44.597Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:01:44.597Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:01:44.597Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:01:44.597Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:01:44.597Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:01:44.597Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:01:44.597Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:01:44.597Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:01:44.597Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:01:44.597Z] 33b1e0a273af: Waiting [2023-04-24T06:01:44.597Z] 2f39f015ded8: Waiting [2023-04-24T06:01:44.597Z] 5d3b04190fa2: Waiting [2023-04-24T06:01:44.597Z] 5c69ac0246d0: Download complete [2023-04-24T06:01:44.597Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:01:44.597Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:01:44.597Z] 33b1e0a273af: Download complete [2023-04-24T06:01:44.597Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:01:44.597Z] ec43610c2a17: Download complete [2023-04-24T06:01:44.597Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T06:01:44.597Z] 5d3b04190fa2: Download complete [2023-04-24T06:01:44.859Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:01:44.859Z] 5eb5b503b376: Download complete [2023-04-24T06:01:45.432Z] 2f39f015ded8: Download complete [2023-04-24T06:01:46.002Z] 5eb5b503b376: Pull complete [2023-04-24T06:01:46.263Z] 5c69ac0246d0: Pull complete [2023-04-24T06:01:46.523Z] ec43610c2a17: Pull complete [2023-04-24T06:01:46.523Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:01:46.783Z] 33b1e0a273af: Pull complete [2023-04-24T06:01:47.048Z] 5d3b04190fa2: Pull complete [2023-04-24T06:01:52.316Z] 2f39f015ded8: Pull complete [2023-04-24T06:01:52.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:01:52.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:01:52.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:01:52.540Z] prd-ubuntu20.04-docker-8c-8g-9485 does not seem to be running inside a container [2023-04-24T06:01:52.575Z] $ 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-461 -v /w/workspace/xfoundry_device-modbus-go_PR-461:/w/workspace/xfoundry_device-modbus-go_PR-461:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-461@tmp:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:01:56.344Z] $ docker top 645a2b9aee2993b8a650bbbd1d513ee61c903c5a5eb06e8327f54c8a7ced8b89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:01:56.788Z] ---> job-cost.sh [2023-04-24T06:01:56.788Z] lf-activate-venv: SKIPPING [2023-04-24T06:01:56.788Z] INFO: No Stack... [2023-04-24T06:01:57.051Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:01:57.311Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:01:57.629Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-461/archives/cost.csv [2023-04-24T06:01:57.629Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:01:57.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [2023-04-24T06:01:57.676Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] did not exist. Created. [2023-04-24T06:01:57.677Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:01:58.082Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:01:58.137Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:01:58.166Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:01:58.251Z] $ docker stop --time=1 645a2b9aee2993b8a650bbbd1d513ee61c903c5a5eb06e8327f54c8a7ced8b89 [2023-04-24T06:01:59.410Z] $ docker rm -f --volumes 645a2b9aee2993b8a650bbbd1d513ee61c903c5a5eb06e8327f54c8a7ced8b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:02:38.612Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9491 in /w/workspace/xfoundry_device-modbus-go_PR-461 [Pipeline] { [Pipeline] ws [2023-04-24T06:02:38.672Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-24T06:02:38.746Z] Selected Git installation does not exist. Using Default [2023-04-24T06:02:38.746Z] The recommended git tool is: NONE [2023-04-24T06:02:44.961Z] using credential edgex-jenkins-ssh [2023-04-24T06:02:44.980Z] Cloning the remote Git repository [2023-04-24T06:02:45.041Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:02:45.164Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-24T06:02:45.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:02:45.356Z] > git --version # timeout=10 [2023-04-24T06:02:45.384Z] > git --version # 'git version 2.25.1' [2023-04-24T06:02:45.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:02:45.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:02:46.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-24T06:02:46.819Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:02:48.544Z] Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit e7674c9f6bf64f32a866c1e367f5c879f4117771 [2023-04-24T06:02:48.867Z] Merge succeeded, producing e7674c9f6bf64f32a866c1e367f5c879f4117771 [2023-04-24T06:02:48.867Z] Checking out Revision e7674c9f6bf64f32a866c1e367f5c879f4117771 (PR-461) [2023-04-24T06:02:47.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-24T06:02:47.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:02:47.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:02:47.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T06:02:48.569Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:02:48.658Z] > git checkout -f e7674c9f6bf64f32a866c1e367f5c879f4117771 # timeout=10 [2023-04-24T06:02:48.747Z] > git remote # timeout=10 [2023-04-24T06:02:48.767Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T06:02:48.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:02:48.816Z] > git merge 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 [2023-04-24T06:02:48.847Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T06:02:48.879Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:02:48.914Z] > git checkout -f e7674c9f6bf64f32a866c1e367f5c879f4117771 # timeout=10 [2023-04-24T06:02:49.402Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-24T06:02:49.463Z] > git --version # timeout=10 [2023-04-24T06:02:49.475Z] > git --version # 'git version 2.25.1' [2023-04-24T06:02:49.492Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:02:50.602Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:02:50.602Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:02:50.602Z] Dload Upload Total Spent Left Speed [2023-04-24T06:02:50.602Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-04-24T06:02:51.262Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:02:51.611Z] + sudo tee /etc/docker/daemon.new [2023-04-24T06:02:51.611Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T06:02:51.611Z] { [2023-04-24T06:02:51.611Z] "registry-mirrors": [ [2023-04-24T06:02:51.611Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:02:51.611Z] ], [2023-04-24T06:02:51.611Z] "bip": "10.250.0.254/24", [2023-04-24T06:02:51.611Z] "hosts": [ [2023-04-24T06:02:51.611Z] "tcp://0.0.0.0:5555", [2023-04-24T06:02:51.611Z] "unix:///var/run/docker.sock" [2023-04-24T06:02:51.611Z] ], [2023-04-24T06:02:51.611Z] "mtu": 1458, [2023-04-24T06:02:51.611Z] "selinux-enabled": true, [2023-04-24T06:02:51.611Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:02:51.611Z] } [Pipeline] sh [2023-04-24T06:02:51.961Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:02:52.312Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:03:10.669Z] provisioning config files... [2023-04-24T06:03:10.704Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11258780793846158901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:03:11.116Z] ---> docker-login.sh [2023-04-24T06:03:11.116Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:03:11.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:03:11.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:03:11.711Z] Configure a credential helper to remove this warning. See [2023-04-24T06:03:11.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:03:11.711Z] [2023-04-24T06:03:11.711Z] Login Succeeded [2023-04-24T06:03:11.989Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:03:12.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:03:12.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:03:12.269Z] Configure a credential helper to remove this warning. See [2023-04-24T06:03:12.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:03:12.269Z] [2023-04-24T06:03:12.269Z] Login Succeeded [2023-04-24T06:03:12.269Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:03:12.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:03:12.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:03:12.816Z] Configure a credential helper to remove this warning. See [2023-04-24T06:03:12.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:03:12.816Z] [2023-04-24T06:03:12.816Z] Login Succeeded [2023-04-24T06:03:12.816Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:03:13.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:03:13.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:03:13.089Z] Configure a credential helper to remove this warning. See [2023-04-24T06:03:13.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:03:13.089Z] [2023-04-24T06:03:13.089Z] Login Succeeded [2023-04-24T06:03:13.089Z] docker.io [2023-04-24T06:03:13.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:03:13.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:03:13.632Z] Configure a credential helper to remove this warning. See [2023-04-24T06:03:13.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:03:13.632Z] [2023-04-24T06:03:13.632Z] Login Succeeded [2023-04-24T06:03:13.632Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:03:13.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:03:14.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:03:14.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:03:14.186Z] ========================================================= [2023-04-24T06:03:14.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:03:14.186Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:03:14.716Z] + 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-04-24T06:03:14.990Z] Sending build context to Docker daemon 3.376MB [2023-04-24T06:03:14.990Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:03:14.990Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T06:03:15.588Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:03:15.588Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:03:15.588Z] 55522c791124: Pulling fs layer [2023-04-24T06:03:15.588Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:03:15.588Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:03:15.588Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:03:15.588Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:03:15.588Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:03:15.588Z] e1ff8fa3b103: Waiting [2023-04-24T06:03:15.588Z] 52ebb69f0ebf: Waiting [2023-04-24T06:03:15.588Z] 5abe8eddf0d5: Waiting [2023-04-24T06:03:15.588Z] 169dfbe0d373: Waiting [2023-04-24T06:03:15.588Z] 55522c791124: Verifying Checksum [2023-04-24T06:03:15.588Z] 55522c791124: Download complete [2023-04-24T06:03:15.588Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:03:15.588Z] 169dfbe0d373: Download complete [2023-04-24T06:03:15.588Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:03:15.588Z] e1ff8fa3b103: Download complete [2023-04-24T06:03:15.588Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:03:16.570Z] af6eaf76a39c: Pull complete [2023-04-24T06:03:16.570Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:03:16.570Z] 5abe8eddf0d5: Download complete [2023-04-24T06:03:17.178Z] 55522c791124: Pull complete [2023-04-24T06:03:18.171Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:03:18.171Z] ce5c4a1c91eb: Download complete [2023-04-24T06:03:18.171Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:03:18.171Z] 52ebb69f0ebf: Download complete [2023-04-24T06:03:28.527Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:03:29.120Z] 169dfbe0d373: Pull complete [2023-04-24T06:03:29.121Z] e1ff8fa3b103: Pull complete [2023-04-24T06:03:37.422Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:03:39.376Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:03:39.647Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:03:39.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:03:39.647Z] ---> 6cb57ee374ae [2023-04-24T06:03:39.647Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:03:41.634Z] ---> Running in 31c4089300f3 [2023-04-24T06:03:41.634Z] Removing intermediate container 31c4089300f3 [2023-04-24T06:03:41.634Z] ---> 7f2c502990e7 [2023-04-24T06:03:41.634Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:03:41.904Z] ---> Running in 794cf852115c [2023-04-24T06:03:42.184Z] Removing intermediate container 794cf852115c [2023-04-24T06:03:42.184Z] ---> 60a2a4e9e1e2 [2023-04-24T06:03:42.184Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:03:42.184Z] ---> Running in 62b8019073a1 [2023-04-24T06:03:43.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:03:44.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:03:45.162Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:03:45.437Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:03:45.437Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:03:45.437Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:03:45.437Z] OK: 270 MiB in 61 packages [2023-04-24T06:03:46.860Z] Removing intermediate container 62b8019073a1 [2023-04-24T06:03:46.860Z] ---> 3c810ae7b501 [2023-04-24T06:03:46.860Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:03:46.860Z] ---> Running in 650d941677b6 [2023-04-24T06:03:47.131Z] Removing intermediate container 650d941677b6 [2023-04-24T06:03:47.131Z] ---> d0f4044f512f [2023-04-24T06:03:47.131Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:03:47.717Z] ---> 8c4e49ec9a7d [2023-04-24T06:03:47.717Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:03:47.717Z] ---> Running in bf2b1a7632ff [2023-04-24T06:04:55.650Z] Removing intermediate container bf2b1a7632ff [2023-04-24T06:04:55.650Z] ---> 9d87e0aac429 [2023-04-24T06:04:55.650Z] Step 9/10 : COPY . . [2023-04-24T06:04:55.650Z] ---> 164754259b1d [2023-04-24T06:04:55.650Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:04:55.650Z] ---> Running in a43bf87dfa06 [2023-04-24T06:04:55.650Z] noop [2023-04-24T06:04:55.650Z] Removing intermediate container a43bf87dfa06 [2023-04-24T06:04:55.650Z] ---> bbec14c659c5 [2023-04-24T06:04:55.650Z] Successfully built bbec14c659c5 [2023-04-24T06:04:55.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:04:56.143Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:04:56.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:04:56.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-9491 does not seem to be running inside a container [2023-04-24T06:04:56.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:04:57.771Z] $ docker top 7b5d220660e06a96a9d96e3175e56ac4af1b6dcf4be8b3a5deb2b49c17ee95b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:04:58.675Z] + go version [2023-04-24T06:04:58.675Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:04:58.715Z] $ docker stop --time=1 7b5d220660e06a96a9d96e3175e56ac4af1b6dcf4be8b3a5deb2b49c17ee95b6 [2023-04-24T06:05:00.369Z] $ docker rm -f --volumes 7b5d220660e06a96a9d96e3175e56ac4af1b6dcf4be8b3a5deb2b49c17ee95b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:05:01.199Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:05:01.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:05:01.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-9491 does not seem to be running inside a container [2023-04-24T06:05:01.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:05:02.841Z] $ docker top d93f9980a4a344fafc80bb33a73879fe7694085a5747d7227a1727db7ecb3292 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:05:03.745Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:05:04.458Z] + make test [2023-04-24T06:05:04.459Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:05:43.387Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:08:05.142Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:08:05.142Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.4% of statements [2023-04-24T06:08:05.142Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T06:08:05.142Z] go vet ./... [2023-04-24T06:08:37.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:08:37.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:08:37.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:08:37.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:08:37.490Z] $ docker stop --time=1 d93f9980a4a344fafc80bb33a73879fe7694085a5747d7227a1727db7ecb3292 [2023-04-24T06:08:39.384Z] $ docker rm -f --volumes d93f9980a4a344fafc80bb33a73879fe7694085a5747d7227a1727db7ecb3292 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:08:40.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:08:40.722Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T06:08:41.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:08:41.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:08:42.214Z] + ls -al . [2023-04-24T06:08:42.214Z] total 176 [2023-04-24T06:08:42.214Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:05 . [2023-04-24T06:08:42.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:02 .. [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 06:02 .dockerignore [2023-04-24T06:08:42.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:02 .git [2023-04-24T06:08:42.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:02 .github [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 06:02 .gitignore [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:02 .golangci.yml [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 06:02 Attribution.txt [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 06:02 CHANGELOG.md [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 06:02 Dockerfile [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:02 GOVERNANCE.md [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 06:02 Jenkinsfile [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:02 LICENSE [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 06:02 Makefile [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 06:02 OWNERS.md [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 06:02 README.md [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 05:59 VERSION [2023-04-24T06:08:42.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:02 bin [2023-04-24T06:08:42.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:02 cmd [2023-04-24T06:08:42.214Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:08 coverage.out [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 06:02 go.mod [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 06:02 go.sum [2023-04-24T06:08:42.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:02 internal [2023-04-24T06:08:42.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:02 simulator [2023-04-24T06:08:42.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:02 snap [2023-04-24T06:08:42.214Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:08:42.644Z] + 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=e7674c9f6bf64f32a866c1e367f5c879f4117771 --label arch=arm64 --label version=0.0.0 . [2023-04-24T06:08:42.915Z] Sending build context to Docker daemon 3.401MB [2023-04-24T06:08:42.915Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:08:42.915Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:08:42.915Z] ---> bbec14c659c5 [2023-04-24T06:08:42.915Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:08:43.184Z] ---> Running in fe8c5a288e43 [2023-04-24T06:08:43.452Z] Removing intermediate container fe8c5a288e43 [2023-04-24T06:08:43.453Z] ---> cbb6c19f058d [2023-04-24T06:08:43.453Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:08:43.453Z] ---> Running in 79ee3ba7cb3c [2023-04-24T06:08:43.723Z] Removing intermediate container 79ee3ba7cb3c [2023-04-24T06:08:43.723Z] ---> c5d657980d05 [2023-04-24T06:08:43.723Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:08:44.000Z] ---> Running in 2ed4a3840e53 [2023-04-24T06:08:44.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:08:45.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:08:46.957Z] OK: 270 MiB in 61 packages [2023-04-24T06:08:47.919Z] Removing intermediate container 2ed4a3840e53 [2023-04-24T06:08:47.919Z] ---> bed276016f04 [2023-04-24T06:08:47.919Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:08:47.919Z] ---> Running in 20da87d3fe25 [2023-04-24T06:08:48.187Z] Removing intermediate container 20da87d3fe25 [2023-04-24T06:08:48.187Z] ---> 44a1b99d2008 [2023-04-24T06:08:48.187Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:08:48.771Z] ---> 70795d8536d3 [2023-04-24T06:08:48.771Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:08:48.771Z] ---> Running in 6cc0a8c5e6be [2023-04-24T06:08:51.357Z] Removing intermediate container 6cc0a8c5e6be [2023-04-24T06:08:51.357Z] ---> bc0c78dddaa3 [2023-04-24T06:08:51.357Z] Step 9/22 : COPY . . [2023-04-24T06:08:52.320Z] ---> 1cac62c8edbb [2023-04-24T06:08:52.320Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:08:52.320Z] ---> Running in aa73a3b4a8ac [2023-04-24T06:08:53.279Z] 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-04-24T06:11:30.082Z] Removing intermediate container aa73a3b4a8ac [2023-04-24T06:11:30.082Z] ---> a315bf5a803b [2023-04-24T06:11:30.082Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:11:30.082Z] 3.17: Pulling from library/alpine [2023-04-24T06:11:30.082Z] c41833b44d91: Pulling fs layer [2023-04-24T06:11:30.082Z] c41833b44d91: Verifying Checksum [2023-04-24T06:11:30.082Z] c41833b44d91: Download complete [2023-04-24T06:11:30.082Z] c41833b44d91: Pull complete [2023-04-24T06:11:30.083Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:11:30.083Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:11:30.083Z] ---> 51e60588ff2c [2023-04-24T06:11:30.083Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:11:30.083Z] ---> Running in b5c1acc2b928 [2023-04-24T06:11:30.083Z] Removing intermediate container b5c1acc2b928 [2023-04-24T06:11:30.083Z] ---> b4a0cd81a5ef [2023-04-24T06:11:30.083Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:11:30.083Z] ---> Running in c7b3682389d5 [2023-04-24T06:11:30.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:11:30.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:11:30.083Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:11:30.083Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:11:30.083Z] OK: 8 MiB in 16 packages [2023-04-24T06:11:30.083Z] Removing intermediate container c7b3682389d5 [2023-04-24T06:11:30.083Z] ---> 8b3f9eaee1be [2023-04-24T06:11:30.083Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:11:30.083Z] ---> bb66ce760c75 [2023-04-24T06:11:30.083Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:11:30.083Z] ---> 7a51be75473b [2023-04-24T06:11:30.083Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:11:30.083Z] ---> 3fa3c54d5261 [2023-04-24T06:11:30.083Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:11:30.083Z] ---> Running in 31ddde11c60f [2023-04-24T06:11:30.083Z] Removing intermediate container 31ddde11c60f [2023-04-24T06:11:30.083Z] ---> d34047fd495a [2023-04-24T06:11:30.083Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:11:30.083Z] ---> Running in f7c6a48cf437 [2023-04-24T06:11:30.083Z] Removing intermediate container f7c6a48cf437 [2023-04-24T06:11:30.083Z] ---> b49c45c4903a [2023-04-24T06:11:30.083Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:11:30.083Z] ---> Running in 1dfaba1a9f66 [2023-04-24T06:11:30.083Z] Removing intermediate container 1dfaba1a9f66 [2023-04-24T06:11:30.083Z] ---> e2dbb186f529 [2023-04-24T06:11:30.083Z] Step 20/22 : LABEL arch=arm64 [2023-04-24T06:11:30.083Z] ---> Running in bf42335029ec [2023-04-24T06:11:30.083Z] Removing intermediate container bf42335029ec [2023-04-24T06:11:30.083Z] ---> d689a0b3f2f3 [2023-04-24T06:11:30.083Z] Step 21/22 : LABEL git_sha=e7674c9f6bf64f32a866c1e367f5c879f4117771 [2023-04-24T06:11:30.083Z] ---> Running in a48d91e7c957 [2023-04-24T06:11:30.083Z] Removing intermediate container a48d91e7c957 [2023-04-24T06:11:30.083Z] ---> c8ec46c53887 [2023-04-24T06:11:30.083Z] Step 22/22 : LABEL version=0.0.0 [2023-04-24T06:11:30.083Z] ---> Running in e666a1c7d8ed [2023-04-24T06:11:30.083Z] Removing intermediate container e666a1c7d8ed [2023-04-24T06:11:30.083Z] ---> 89ab3eaf1f3f [2023-04-24T06:11:30.083Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:11:30.083Z] Successfully built 89ab3eaf1f3f [2023-04-24T06:11:30.083Z] 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-04-24T06:11:30.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:11:30.896Z] [2023-04-24T06:11:30.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:11:31.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:11:31.299Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:11:31.299Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:11:31.299Z] 04944245beec: Pulling fs layer [2023-04-24T06:11:31.299Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:11:31.299Z] 765212b225bb: Pulling fs layer [2023-04-24T06:11:31.299Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:11:31.299Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:11:31.299Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:11:31.299Z] 765212b225bb: Waiting [2023-04-24T06:11:31.299Z] f23df028b6ca: Waiting [2023-04-24T06:11:31.299Z] d65c8cfc05b1: Waiting [2023-04-24T06:11:31.299Z] 2437ff75d9bd: Waiting [2023-04-24T06:11:31.568Z] 04944245beec: Verifying Checksum [2023-04-24T06:11:31.568Z] 04944245beec: Download complete [2023-04-24T06:11:31.568Z] 765212b225bb: Verifying Checksum [2023-04-24T06:11:31.568Z] 765212b225bb: Download complete [2023-04-24T06:11:31.568Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:11:31.568Z] f23df028b6ca: Download complete [2023-04-24T06:11:31.568Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:11:31.568Z] d65c8cfc05b1: Download complete [2023-04-24T06:11:31.837Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:11:31.837Z] 699f458cf7ca: Download complete [2023-04-24T06:11:32.106Z] 8998bd30e6a1: Download complete [2023-04-24T06:11:34.853Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:11:34.853Z] 2437ff75d9bd: Download complete [2023-04-24T06:11:36.326Z] 8998bd30e6a1: Pull complete [2023-04-24T06:11:40.656Z] 04944245beec: Pull complete [2023-04-24T06:11:41.617Z] 699f458cf7ca: Pull complete [2023-04-24T06:11:41.617Z] 765212b225bb: Pull complete [2023-04-24T06:11:42.579Z] f23df028b6ca: Pull complete [2023-04-24T06:11:42.580Z] d65c8cfc05b1: Pull complete [2023-04-24T06:11:57.594Z] 2437ff75d9bd: Pull complete [2023-04-24T06:11:57.594Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:11:57.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:11:57.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:11:57.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-9491 does not seem to be running inside a container [2023-04-24T06:11:58.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T06:12:00.602Z] $ docker top 14c0629015fe43dbe029f037b82447b88fef4021b31cf1c25f744c08ed651b28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:01.534Z] ---> job-cost.sh [2023-04-24T06:12:01.534Z] lf-activate-venv: SKIPPING [2023-04-24T06:12:01.534Z] INFO: No Stack... [2023-04-24T06:12:02.243Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:12:03.254Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:12:03.912Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-04-24T06:12:03.912Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:12:04.001Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [2023-04-24T06:12:04.006Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] did not exist. Created. [2023-04-24T06:12:04.006Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:12:04.747Z] /w/workspace/device-modbus-go/1@tmp/durable-7fda0e24/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:12:05.429Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:12:05.462Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:12:05.512Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:12:05.526Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:12:05.612Z] $ docker stop --time=1 14c0629015fe43dbe029f037b82447b88fef4021b31cf1c25f744c08ed651b28 [2023-04-24T06:12:07.137Z] $ docker rm -f --volumes 14c0629015fe43dbe029f037b82447b88fef4021b31cf1c25f744c08ed651b28 [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-04-24T06:12:08.138Z] provisioning config files... [2023-04-24T06:12:08.151Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/config10018533195309259043tmp [Pipeline] { [Pipeline] sh [2023-04-24T06:12:08.486Z] + set +x [2023-04-24T06:12:08.486Z] + + bash -s -- [2023-04-24T06:12:08.486Z] curl -s https://codecov.io/bash [2023-04-24T06:12:08.486Z] [2023-04-24T06:12:08.486Z] _____ _ [2023-04-24T06:12:08.486Z] / ____| | | [2023-04-24T06:12:08.486Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T06:12:08.486Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T06:12:08.486Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T06:12:08.486Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T06:12:08.486Z] Bash-1.0.6 [2023-04-24T06:12:08.486Z] [2023-04-24T06:12:08.486Z] [2023-04-24T06:12:08.486Z] ==> git version 2.25.1 found [2023-04-24T06:12:08.486Z] ==> 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-04-24T06:12:08.486Z] Release-Date: 2020-01-08 [2023-04-24T06:12:08.486Z] 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-04-24T06:12:08.486Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T06:12:08.486Z] ==> Jenkins CI detected. [2023-04-24T06:12:08.486Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-461 [2023-04-24T06:12:08.486Z] project root: . [2023-04-24T06:12:08.486Z] --> token set from env [2023-04-24T06:12:08.486Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T06:12:08.486Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T06:12:08.486Z] ==> Python coveragepy not found [2023-04-24T06:12:08.486Z] ==> Searching for coverage reports in: [2023-04-24T06:12:08.486Z] + . [2023-04-24T06:12:08.486Z] -> Found 1 reports [2023-04-24T06:12:08.486Z] ==> Detecting git/mercurial file structure [2023-04-24T06:12:08.486Z] ==> Reading reports [2023-04-24T06:12:08.486Z] + ./coverage.out bytes=24160 [2023-04-24T06:12:08.486Z] ==> Appending adjustments [2023-04-24T06:12:08.486Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T06:12:08.747Z] + Found adjustments [2023-04-24T06:12:08.747Z] ==> Gzipping contents [2023-04-24T06:12:08.747Z] 4.0K /tmp/codecov.06cmLp.gz [2023-04-24T06:12:08.747Z] ==> Uploading reports [2023-04-24T06:12:08.747Z] url: https://codecov.io [2023-04-24T06:12:08.747Z] query: branch=PR-461&commit=e7674c9f6bf64f32a866c1e367f5c879f4117771&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=461&job=&cmd_args= [2023-04-24T06:12:08.747Z] -> Pinging Codecov [2023-04-24T06:12:08.747Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-461&commit=e7674c9f6bf64f32a866c1e367f5c879f4117771&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=461&job=&cmd_args= [2023-04-24T06:12:08.747Z] -> Uploading to [2023-04-24T06:12:08.747Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/55DBCA73C666E3227836607328DD7E49/e7674c9f6bf64f32a866c1e367f5c879f4117771/90749823-aa14-48f8-81fc-4ec919c864f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T061208Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1426afa63eb2c6260373725b36104266e0a8f131bda300ff9535482ac37d3336 [2023-04-24T06:12:08.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:12:08.747Z] Dload Upload Total Spent Left Speed [2023-04-24T06:12:09.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18336 --:--:-- --:--:-- --:--:-- 18336 [2023-04-24T06:12:09.006Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e7674c9f6bf64f32a866c1e367f5c879f4117771 [Pipeline] } [2023-04-24T06:12:09.035Z] 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-04-24T06:12:10.831Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-461/archives ] [2023-04-24T06:12:10.831Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-461/archives [2023-04-24T06:12:10.831Z] total 16 [2023-04-24T06:12:10.831Z] drwxr-xr-x 3 root root 4096 Apr 24 06:01 . [2023-04-24T06:12:10.831Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:01 .. [2023-04-24T06:12:10.831Z] drwxr-xr-x 2 root root 4096 Apr 24 06:01 cost [2023-04-24T06:12:10.831Z] -rw-r--r-- 1 root root 88 Apr 24 06:01 cost.csv [2023-04-24T06:12:10.831Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-461/archives [2023-04-24T06:12:10.831Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-461/archives [2023-04-24T06:12:10.831Z] total 16 [2023-04-24T06:12:10.831Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:01 . [2023-04-24T06:12:10.831Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:01 .. [2023-04-24T06:12:10.831Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:01 cost [2023-04-24T06:12:10.831Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 24 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:11.159Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:12.056Z] ---> package-listing.sh [2023-04-24T06:12:12.056Z] ++ facter osfamily [2023-04-24T06:12:12.056Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:12:12.315Z] + OS_FAMILY=debian [2023-04-24T06:12:12.315Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-461 [2023-04-24T06:12:12.315Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:12:12.315Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:12:12.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:12:12.315Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:12:12.315Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-461 ']' [2023-04-24T06:12:12.315Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:12:12.315Z] + case "${OS_FAMILY}" in [2023-04-24T06:12:12.315Z] + dpkg -l [2023-04-24T06:12:12.315Z] + grep '^ii' [2023-04-24T06:12:12.315Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:12:12.315Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:12:12.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:12:12.315Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-461 ']' [2023-04-24T06:12:12.315Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-461/archives/ [2023-04-24T06:12:12.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-461/archives/ [Pipeline] echo [2023-04-24T06:12:12.351Z] 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-461/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T06:12:12.641Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:12:13.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:12:13.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:12:13.421Z] prd-ubuntu20.04-docker-8c-8g-9485 does not seem to be running inside a container [2023-04-24T06:12:13.450Z] $ 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-461/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-461 -v /w/workspace/xfoundry_device-modbus-go_PR-461:/w/workspace/xfoundry_device-modbus-go_PR-461:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-461@tmp:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:12:13.648Z] $ docker top 4a7e95edea3849c635ef0493777c48449a4c060e4cdc98469041280081d4c326 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:12:14.042Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:12:14.352Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:12:14.660Z] + ls /var/log/sa-host [2023-04-24T06:12:14.660Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:12:14.788Z] provisioning config files... [2023-04-24T06:12:14.797Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-461@tmp/config6059947067088483522tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:12:14.847Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:15.158Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:12:15.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:15.577Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:12:15.615Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:15.933Z] ---> sudo-logs.sh [2023-04-24T06:12:15.933Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:12:16.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:16.420Z] ---> job-cost.sh [2023-04-24T06:12:16.420Z] lf-activate-venv: SKIPPING [2023-04-24T06:12:16.420Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:12:16.420Z] INFO: Retrieving Stack Cost... [2023-04-24T06:12:16.679Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:12:17.246Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:12:17.274Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:17.589Z] ---> logs-deploy.sh [2023-04-24T06:12:17.589Z] lf-activate-venv: SKIPPING [2023-04-24T06:12:17.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-461/1 [2023-04-24T06:12:17.589Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:12:18.525Z] Archives upload complete. [2023-04-24T06:12:18.525Z] INFO: archiving logs to Nexus