Pull request #366 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c096d5f14b4b354b9bb4b67799224ff13265870+614889a0cf4a23ea025e87d34781dd0af86a92c0 (c3d816b5a86d42ef8da396e1562b885dd3f4bc26) 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-ssh6054885633992399543.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh15142226383930401022.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-366/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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10389425182781374837.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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh949919188447143160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh13548506174041977953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-366/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-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4676988307331268221.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 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-21639 in /w/workspace/xfoundry_device-modbus-go_PR-366 [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-366 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 614889a0cf4a23ea025e87d34781dd0af86a92c0 into PR head commit 4c096d5f14b4b354b9bb4b67799224ff13265870 Merge succeeded, producing 4c096d5f14b4b354b9bb4b67799224ff13265870 Checking out Revision 4c096d5f14b4b354b9bb4b67799224ff13265870 (PR-366) > 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c096d5f14b4b354b9bb4b67799224ff13265870 # 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 614889a0cf4a23ea025e87d34781dd0af86a92c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c096d5f14b4b354b9bb4b67799224ff13265870 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-01T05:05:58.934Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-01T05:05:59.116Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-01T05:05:59.216Z] ========================================================= [2022-08-01T05:05:59.216Z] EdgeX Global Pipelines Version Info [2022-08-01T05:05:59.216Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:06:00.003Z] ------------------- [2022-08-01T05:06:00.003Z] stable info: [2022-08-01T05:06:00.003Z] ------------------- [2022-08-01T05:06:00.003Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T05:06:00.003Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T05:06:00.003Z] Message: update stable to v1.0.238 [2022-08-01T05:06:00.578Z] ------------------- [2022-08-01T05:06:00.578Z] experimental info: [2022-08-01T05:06:00.578Z] ------------------- [2022-08-01T05:06:00.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T05:06:00.578Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T05:06:00.578Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-01T05:06:00.952Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-08-01T05:06:00.997Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-08-01T05:06:01.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-01T05:06:01.089Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-01T05:06:01.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-01T05:06:01.176Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-01T05:06:01.222Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-01T05:06:01.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-01T05:06:01.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-01T05:06:01.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-01T05:06:01.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-01T05:06:01.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-08-01T05:06:01.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-01T05:06:01.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-01T05:06:01.567Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T05:06:01.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T05:06:01.653Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T05:06:01.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T05:06:01.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-01T05:06:01.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-01T05:06:01.841Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-01T05:06:01.884Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-01T05:06:01.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-01T05:06:01.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-01T05:06:02.009Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-01T05:06:02.052Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-01T05:06:02.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-01T05:06:02.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2022-08-01T05:06:02.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2022-08-01T05:06:02.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2022-08-01T05:06:02.272Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c096d5f14b4b354b9bb4b67799224ff13265870 [Pipeline] echo [2022-08-01T05:06:02.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c096d5 [Pipeline] echo [2022-08-01T05:06:02.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:06:02.467Z] provisioning config files... [2022-08-01T05:06:02.483Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/config1691724728898102060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:06:02.832Z] ---> docker-login.sh [2022-08-01T05:06:02.832Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:06:03.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:03.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:03.095Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:03.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:03.095Z] [2022-08-01T05:06:03.095Z] Login Succeeded [2022-08-01T05:06:03.095Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:06:03.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:03.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:03.358Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:03.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:03.358Z] [2022-08-01T05:06:03.358Z] Login Succeeded [2022-08-01T05:06:03.358Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:06:03.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:03.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:03.624Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:03.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:03.624Z] [2022-08-01T05:06:03.624Z] Login Succeeded [2022-08-01T05:06:03.624Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:06:03.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:03.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:03.624Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:03.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:03.624Z] [2022-08-01T05:06:03.624Z] Login Succeeded [2022-08-01T05:06:03.624Z] docker.io [2022-08-01T05:06:03.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:04.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:04.160Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:04.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:04.160Z] [2022-08-01T05:06:04.160Z] Login Succeeded [2022-08-01T05:06:04.160Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:06:04.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-01T05:06:04.819Z] + git rev-list -1 --merges 4c096d5f14b4b354b9bb4b67799224ff13265870~1..4c096d5f14b4b354b9bb4b67799224ff13265870 [Pipeline] echo [2022-08-01T05:06:04.871Z] -----------> git rev-list -1 --merges 4c096d5f14b4b354b9bb4b67799224ff13265870~1..4c096d5f14b4b354b9bb4b67799224ff13265870 4c096d5f14b4b354b9bb4b67799224ff13265870 [false] [Pipeline] sh [2022-08-01T05:06:05.185Z] + git log --format=format:%s -1 4c096d5f14b4b354b9bb4b67799224ff13265870 [Pipeline] echo [2022-08-01T05:06:05.230Z] ========================================================= [2022-08-01T05:06:05.230Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-01T05:06:05.230Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:06:05.677Z] + git log --format=format:%s -1 4c096d5f14b4b354b9bb4b67799224ff13265870 [Pipeline] echo [2022-08-01T05:06:05.715Z] [semverPrep] GIT_COMMIT: 4c096d5f14b4b354b9bb4b67799224ff13265870, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-01T05:06:05.747Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-01T05:06:06.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T05:06:06.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-01T05:06:06.128Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-01T05:06:06.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-01T05:06:06.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-01T05:06:06.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-01T05:06:06.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:06:06.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:06:06.569Z] [2022-08-01T05:06:06.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:06:06.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:06:06.958Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-01T05:06:06.958Z] b85a868b505f: Pulling fs layer [2022-08-01T05:06:06.958Z] e2be974225ed: Pulling fs layer [2022-08-01T05:06:06.958Z] 339a4e72a1f5: Pulling fs layer [2022-08-01T05:06:06.958Z] 988bab9f4d93: Pulling fs layer [2022-08-01T05:06:06.958Z] 1469e6f7b9e6: Pulling fs layer [2022-08-01T05:06:06.958Z] eaf3925da568: Pulling fs layer [2022-08-01T05:06:06.958Z] bab4dde63d76: Pulling fs layer [2022-08-01T05:06:06.958Z] bde34c3a00c8: Pulling fs layer [2022-08-01T05:06:06.958Z] b352a97aabf1: Pulling fs layer [2022-08-01T05:06:06.958Z] 4872d77fe225: Pulling fs layer [2022-08-01T05:06:06.958Z] 5851b861e8e6: Pulling fs layer [2022-08-01T05:06:06.958Z] b352a97aabf1: Waiting [2022-08-01T05:06:06.958Z] bde34c3a00c8: Waiting [2022-08-01T05:06:06.958Z] 4872d77fe225: Waiting [2022-08-01T05:06:06.958Z] 5851b861e8e6: Waiting [2022-08-01T05:06:06.958Z] 988bab9f4d93: Waiting [2022-08-01T05:06:06.958Z] 1469e6f7b9e6: Waiting [2022-08-01T05:06:06.958Z] eaf3925da568: Waiting [2022-08-01T05:06:06.958Z] bab4dde63d76: Waiting [2022-08-01T05:06:06.958Z] e2be974225ed: Download complete [2022-08-01T05:06:07.220Z] 1469e6f7b9e6: Verifying Checksum [2022-08-01T05:06:07.220Z] 1469e6f7b9e6: Download complete [2022-08-01T05:06:07.220Z] eaf3925da568: Download complete [2022-08-01T05:06:07.220Z] 339a4e72a1f5: Verifying Checksum [2022-08-01T05:06:07.220Z] 339a4e72a1f5: Download complete [2022-08-01T05:06:07.220Z] bde34c3a00c8: Verifying Checksum [2022-08-01T05:06:07.220Z] bde34c3a00c8: Download complete [2022-08-01T05:06:07.220Z] b352a97aabf1: Download complete [2022-08-01T05:06:07.220Z] 4872d77fe225: Download complete [2022-08-01T05:06:07.220Z] 5851b861e8e6: Download complete [2022-08-01T05:06:07.220Z] b85a868b505f: Verifying Checksum [2022-08-01T05:06:07.220Z] b85a868b505f: Download complete [2022-08-01T05:06:07.482Z] bab4dde63d76: Verifying Checksum [2022-08-01T05:06:07.482Z] bab4dde63d76: Download complete [2022-08-01T05:06:08.865Z] b85a868b505f: Pull complete [2022-08-01T05:06:08.865Z] e2be974225ed: Pull complete [2022-08-01T05:06:09.436Z] 339a4e72a1f5: Pull complete [2022-08-01T05:06:09.436Z] 988bab9f4d93: Pull complete [2022-08-01T05:06:09.699Z] 1469e6f7b9e6: Pull complete [2022-08-01T05:06:09.699Z] eaf3925da568: Pull complete [2022-08-01T05:06:12.250Z] bab4dde63d76: Pull complete [2022-08-01T05:06:12.250Z] bde34c3a00c8: Pull complete [2022-08-01T05:06:12.250Z] b352a97aabf1: Pull complete [2022-08-01T05:06:12.250Z] 4872d77fe225: Pull complete [2022-08-01T05:06:12.250Z] 5851b861e8e6: Pull complete [2022-08-01T05:06:12.250Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-01T05:06:12.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:06:12.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:06:12.496Z] prd-ubuntu20.04-docker-8c-8g-21639 does not seem to be running inside a container [2022-08-01T05:06:12.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-366 -v /w/workspace/xfoundry_device-modbus-go_PR-366:/w/workspace/xfoundry_device-modbus-go_PR-366:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-366@tmp:/w/workspace/xfoundry_device-modbus-go_PR-366@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 [2022-08-01T05:06:13.918Z] $ docker top 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 -eo pid,comm [2022-08-01T05:06:13.983Z] 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). [2022-08-01T05:06:13.983Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T05:06:14.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:06:14.120Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:06:14.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:06:14.261Z] $ docker exec 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 ssh-agent [2022-08-01T05:06:14.398Z] SSH_AUTH_SOCK=/tmp/ssh-rfTERBjZtdjR/agent.33 [2022-08-01T05:06:14.398Z] SSH_AGENT_PID=39 [2022-08-01T05:06:14.405Z] Running ssh-add (command line suppressed) [2022-08-01T05:06:14.542Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-366@tmp/private_key_8323772105090900559.key (/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/private_key_8323772105090900559.key) [2022-08-01T05:06:14.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:06:14.896Z] + git tag --points-at HEAD [Pipeline] } [2022-08-01T05:06:14.923Z] $ docker exec --env ******** --env ******** 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 ssh-agent -k [2022-08-01T05:06:15.046Z] unset SSH_AUTH_SOCK; [2022-08-01T05:06:15.047Z] unset SSH_AGENT_PID; [2022-08-01T05:06:15.047Z] echo Agent pid 39 killed; [2022-08-01T05:06:15.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-01T05:06:15.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:06:15.148Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:06:15.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:06:15.292Z] $ docker exec 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 ssh-agent [2022-08-01T05:06:15.410Z] SSH_AUTH_SOCK=/tmp/ssh-9rZFKisMpEXe/agent.73 [2022-08-01T05:06:15.410Z] SSH_AGENT_PID=80 [2022-08-01T05:06:15.416Z] Running ssh-add (command line suppressed) [2022-08-01T05:06:15.547Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-366@tmp/private_key_6623750255071147917.key (/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/private_key_6623750255071147917.key) [2022-08-01T05:06:15.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:06:15.891Z] + git semver init [2022-08-01T05:06:16.151Z] 2022-08-01 05:06:16,097 [run_init] DEBUG init version:0.0.0 force:False [2022-08-01T05:06:16.151Z] 2022-08-01 05:06:16,098 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-366/.semver [2022-08-01T05:06:16.151Z] 2022-08-01 05:06:16,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-366/.semver [2022-08-01T05:06:16.151Z] 2022-08-01 05:06:16,099 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-366/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-366, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,835 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-366/.git/info/exclude [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,835 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-366/.semver/PR-366 with force:False [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,835 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-366/.semver/PR-366 [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,838 [execute] INFO git cat-file --batch-check [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,845 [execute] INFO git cat-file --batch [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T05:06:17.094Z] 2022-08-01 05:06:16,852 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-366/.semver/PR-366 [2022-08-01T05:06:17.094Z] 0.0.0 [Pipeline] } [2022-08-01T05:06:17.128Z] $ docker exec --env ******** --env ******** 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 ssh-agent -k [2022-08-01T05:06:17.258Z] unset SSH_AUTH_SOCK; [2022-08-01T05:06:17.258Z] unset SSH_AGENT_PID; [2022-08-01T05:06:17.258Z] echo Agent pid 80 killed; [2022-08-01T05:06:17.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T05:06:17.681Z] + git semver [Pipeline] } [2022-08-01T05:06:17.974Z] $ docker stop --time=1 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 [2022-08-01T05:06:19.534Z] $ docker rm -f 50b866e2d8c5a93ba2673ebf5f67d028a63f375e787e6ebfc8434f6bbdfb3e04 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:06:19.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-01T05:06:20.338Z] Stashed 1 file(s) [Pipeline] echo [2022-08-01T05:06:20.358Z] [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 [2022-08-01T05:06:20.928Z] provisioning config files... [2022-08-01T05:06:20.939Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/config2672727682748027777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:06:21.287Z] ---> docker-login.sh [2022-08-01T05:06:21.287Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:06:21.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:21.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:21.287Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:21.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:21.287Z] [2022-08-01T05:06:21.287Z] Login Succeeded [2022-08-01T05:06:21.287Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:06:21.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:21.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:21.548Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:21.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:21.548Z] [2022-08-01T05:06:21.548Z] Login Succeeded [2022-08-01T05:06:21.548Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:06:21.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:21.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:21.549Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:21.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:21.549Z] [2022-08-01T05:06:21.549Z] Login Succeeded [2022-08-01T05:06:21.549Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:06:21.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:21.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:21.809Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:21.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:21.809Z] [2022-08-01T05:06:21.809Z] Login Succeeded [2022-08-01T05:06:21.809Z] docker.io [2022-08-01T05:06:21.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:06:22.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:06:22.071Z] Configure a credential helper to remove this warning. See [2022-08-01T05:06:22.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:06:22.071Z] [2022-08-01T05:06:22.071Z] Login Succeeded [2022-08-01T05:06:22.071Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:06:22.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T05:06:22.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:06:22.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:06:22.369Z] ========================================================= [2022-08-01T05:06:22.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-01T05:06:22.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:06:22.836Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T05:06:22.837Z] Sending build context to Docker daemon 6.112MB [2022-08-01T05:06:22.837Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:06:22.837Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-01T05:06:22.837Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-01T05:06:22.837Z] 2408cc74d12b: Pulling fs layer [2022-08-01T05:06:22.837Z] ea60b727a1ce: Pulling fs layer [2022-08-01T05:06:22.837Z] 30c4a7721957: Pulling fs layer [2022-08-01T05:06:22.837Z] 370296b7ddb6: Pulling fs layer [2022-08-01T05:06:22.837Z] 7c6cee850709: Pulling fs layer [2022-08-01T05:06:22.837Z] 39a5fcdaea64: Pulling fs layer [2022-08-01T05:06:22.837Z] d94ebbe4e438: Pulling fs layer [2022-08-01T05:06:22.837Z] bcfd1f05c69d: Pulling fs layer [2022-08-01T05:06:22.837Z] 59ccb84bbe0f: Pulling fs layer [2022-08-01T05:06:22.837Z] 370296b7ddb6: Waiting [2022-08-01T05:06:22.837Z] 7c6cee850709: Waiting [2022-08-01T05:06:22.837Z] 39a5fcdaea64: Waiting [2022-08-01T05:06:22.837Z] d94ebbe4e438: Waiting [2022-08-01T05:06:22.837Z] bcfd1f05c69d: Waiting [2022-08-01T05:06:22.837Z] 59ccb84bbe0f: Waiting [2022-08-01T05:06:22.837Z] 30c4a7721957: Verifying Checksum [2022-08-01T05:06:22.837Z] 30c4a7721957: Download complete [2022-08-01T05:06:22.837Z] ea60b727a1ce: Download complete [2022-08-01T05:06:23.104Z] 7c6cee850709: Verifying Checksum [2022-08-01T05:06:23.104Z] 7c6cee850709: Download complete [2022-08-01T05:06:23.104Z] 2408cc74d12b: Verifying Checksum [2022-08-01T05:06:23.104Z] 2408cc74d12b: Download complete [2022-08-01T05:06:23.104Z] 39a5fcdaea64: Verifying Checksum [2022-08-01T05:06:23.104Z] 39a5fcdaea64: Download complete [2022-08-01T05:06:23.104Z] d94ebbe4e438: Verifying Checksum [2022-08-01T05:06:23.104Z] d94ebbe4e438: Download complete [2022-08-01T05:06:23.104Z] 2408cc74d12b: Pull complete [2022-08-01T05:06:23.371Z] ea60b727a1ce: Pull complete [2022-08-01T05:06:23.371Z] 59ccb84bbe0f: Verifying Checksum [2022-08-01T05:06:23.371Z] 59ccb84bbe0f: Download complete [2022-08-01T05:06:23.371Z] 30c4a7721957: Pull complete [2022-08-01T05:06:23.942Z] bcfd1f05c69d: Verifying Checksum [2022-08-01T05:06:23.942Z] bcfd1f05c69d: Download complete [2022-08-01T05:06:23.942Z] 370296b7ddb6: Verifying Checksum [2022-08-01T05:06:23.942Z] 370296b7ddb6: Download complete [2022-08-01T05:06:29.225Z] 370296b7ddb6: Pull complete [2022-08-01T05:06:29.225Z] 7c6cee850709: Pull complete [2022-08-01T05:06:29.225Z] 39a5fcdaea64: Pull complete [2022-08-01T05:06:29.225Z] d94ebbe4e438: Pull complete [2022-08-01T05:06:31.133Z] bcfd1f05c69d: Pull complete [2022-08-01T05:06:31.705Z] 59ccb84bbe0f: Pull complete [2022-08-01T05:06:31.705Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-01T05:06:31.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-01T05:06:31.705Z] ---> a4fb48ad2a94 [2022-08-01T05:06:31.705Z] Step 3/10 : ARG MAKE='make build' [2022-08-01T05:06:33.630Z] ---> Running in c793be5665b8 [2022-08-01T05:06:33.630Z] Removing intermediate container c793be5665b8 [2022-08-01T05:06:33.630Z] ---> 50382dae1a02 [2022-08-01T05:06:33.630Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:06:33.630Z] ---> Running in 447f7482ed65 [2022-08-01T05:06:34.200Z] Removing intermediate container 447f7482ed65 [2022-08-01T05:06:34.200Z] ---> 1a8a728b2467 [2022-08-01T05:06:34.200Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:06:34.461Z] ---> Running in be655b279fda [2022-08-01T05:06:34.741Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:06:35.686Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:06:35.760Z] Still waiting to schedule task [2022-08-01T05:06:35.761Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21640’ is offline [2022-08-01T05:06:35.951Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T05:06:35.951Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-01T05:06:35.951Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T05:06:36.213Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T05:06:36.213Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-01T05:06:36.213Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-01T05:06:36.477Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-01T05:06:36.477Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-01T05:06:36.770Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T05:06:36.770Z] OK: 217 MiB in 59 packages [2022-08-01T05:06:37.033Z] Removing intermediate container be655b279fda [2022-08-01T05:06:37.033Z] ---> df2ced7fe0ba [2022-08-01T05:06:37.033Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-01T05:06:37.294Z] ---> Running in 4c041eb576e6 [2022-08-01T05:06:37.294Z] Removing intermediate container 4c041eb576e6 [2022-08-01T05:06:37.294Z] ---> 4730daba66e3 [2022-08-01T05:06:37.294Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-01T05:06:37.294Z] ---> bd27f2ddb9fe [2022-08-01T05:06:37.294Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:06:37.555Z] ---> Running in 96ba87c0681c [2022-08-01T05:06:55.668Z] Removing intermediate container 96ba87c0681c [2022-08-01T05:06:55.668Z] ---> 1e647daf1f63 [2022-08-01T05:06:55.668Z] Step 9/10 : COPY . . [2022-08-01T05:06:55.668Z] ---> a6e9b7c7f3f6 [2022-08-01T05:06:55.668Z] Step 10/10 : RUN ${MAKE} [2022-08-01T05:06:55.668Z] ---> Running in 2a98070baf33 [2022-08-01T05:06:55.668Z] noop [2022-08-01T05:06:55.668Z] Removing intermediate container 2a98070baf33 [2022-08-01T05:06:55.668Z] ---> 739227bc8565 [2022-08-01T05:06:55.668Z] Successfully built 739227bc8565 [2022-08-01T05:06:55.668Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:06:56.138Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T05:06:56.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:06:56.314Z] prd-ubuntu20.04-docker-8c-8g-21639 does not seem to be running inside a container [2022-08-01T05:06:56.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-366 -v /w/workspace/xfoundry_device-modbus-go_PR-366:/w/workspace/xfoundry_device-modbus-go_PR-366:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-366@tmp:/w/workspace/xfoundry_device-modbus-go_PR-366@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 [2022-08-01T05:06:56.761Z] $ docker top 0bce9a69fbfacd34b466efba590078454af1c3df5da7e1cd8dc973cb710aa719 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:06:57.260Z] + go version [2022-08-01T05:06:57.260Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-01T05:06:57.298Z] $ docker stop --time=1 0bce9a69fbfacd34b466efba590078454af1c3df5da7e1cd8dc973cb710aa719 [2022-08-01T05:06:58.596Z] $ docker rm -f 0bce9a69fbfacd34b466efba590078454af1c3df5da7e1cd8dc973cb710aa719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:06:59.315Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T05:06:59.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:06:59.557Z] prd-ubuntu20.04-docker-8c-8g-21639 does not seem to be running inside a container [2022-08-01T05:06:59.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-366 -v /w/workspace/xfoundry_device-modbus-go_PR-366:/w/workspace/xfoundry_device-modbus-go_PR-366:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-366@tmp:/w/workspace/xfoundry_device-modbus-go_PR-366@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 [2022-08-01T05:06:59.997Z] $ docker top 44806ca813943946aff703f8a9a886785cf84da1f06ce27f19f08d216beda3bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:07:00.519Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-366 [Pipeline] fileExists [Pipeline] sh [2022-08-01T05:07:00.886Z] + make test [2022-08-01T05:07:00.886Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-01T05:07:01.150Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-01T05:07:11.152Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-01T05:07:11.152Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-08-01T05:07:19.277Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-01T05:07:19.277Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T05:07:21.813Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T05:07:21.813Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T05:07:21.813Z] ./bin/test-attribution-txt.sh [2022-08-01T05:07:21.813Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T05:07:21.813Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T05:07:21.813Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T05:07:21.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T05:07:21.879Z] $ docker stop --time=1 44806ca813943946aff703f8a9a886785cf84da1f06ce27f19f08d216beda3bf [2022-08-01T05:07:23.790Z] $ docker rm -f 44806ca813943946aff703f8a9a886785cf84da1f06ce27f19f08d216beda3bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:07:24.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T05:07:24.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-01T05:07:24.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T05:07:25.292Z] + ls -al . [2022-08-01T05:07:25.292Z] total 188 [2022-08-01T05:07:25.292Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 05:07 . [2022-08-01T05:07:25.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:05 .. [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 05:05 .dockerignore [2022-08-01T05:07:25.292Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:07 .git [2022-08-01T05:07:25.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:05 .github [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 1 05:05 .gitignore [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:05 .golangci.yml [2022-08-01T05:07:25.292Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:06 .semver [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 1 05:05 Attribution.txt [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 1 05:05 CHANGELOG.md [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 1 05:05 Dockerfile [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:05 GOVERNANCE.md [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 05:05 Jenkinsfile [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:05 LICENSE [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 1 05:05 Makefile [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 1 05:05 OWNERS.md [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 1 05:05 README.md [2022-08-01T05:07:25.292Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 05:06 VERSION [2022-08-01T05:07:25.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:05 bin [2022-08-01T05:07:25.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:05 cmd [2022-08-01T05:07:25.292Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 1 05:07 coverage.out [2022-08-01T05:07:25.293Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 1 05:05 go.mod [2022-08-01T05:07:25.293Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 1 05:05 go.sum [2022-08-01T05:07:25.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:05 internal [2022-08-01T05:07:25.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:05 simulator [2022-08-01T05:07:25.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:05 snap [2022-08-01T05:07:25.293Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 1 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:07:25.690Z] + 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=4c096d5f14b4b354b9bb4b67799224ff13265870 --label arch=amd64 --label version=0.0.0 . [2022-08-01T05:07:25.690Z] Sending build context to Docker daemon 6.136MB [2022-08-01T05:07:25.690Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:07:25.690Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-01T05:07:25.690Z] ---> 739227bc8565 [2022-08-01T05:07:25.690Z] Step 3/23 : ARG MAKE='make build' [2022-08-01T05:07:25.951Z] ---> Running in 0bb6e9316c7b [2022-08-01T05:07:25.951Z] Removing intermediate container 0bb6e9316c7b [2022-08-01T05:07:25.951Z] ---> f902f12644ed [2022-08-01T05:07:25.951Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:07:25.951Z] ---> Running in 618894f34408 [2022-08-01T05:07:26.523Z] Removing intermediate container 618894f34408 [2022-08-01T05:07:26.523Z] ---> 7aa2e2cc60b4 [2022-08-01T05:07:26.523Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:07:26.523Z] ---> Running in 64b7f59bc779 [2022-08-01T05:07:26.783Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:07:27.724Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:07:28.294Z] OK: 217 MiB in 59 packages [2022-08-01T05:07:28.555Z] Removing intermediate container 64b7f59bc779 [2022-08-01T05:07:28.555Z] ---> 846dcdceaafb [2022-08-01T05:07:28.555Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-01T05:07:28.555Z] ---> Running in 00e54b69bcef [2022-08-01T05:07:28.555Z] Removing intermediate container 00e54b69bcef [2022-08-01T05:07:28.555Z] ---> 2a7a9c42f005 [2022-08-01T05:07:28.555Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-01T05:07:28.820Z] ---> add075b447db [2022-08-01T05:07:28.820Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:07:28.820Z] ---> Running in b15eb0b2f872 [2022-08-01T05:07:29.398Z] Removing intermediate container b15eb0b2f872 [2022-08-01T05:07:29.398Z] ---> 075602b24963 [2022-08-01T05:07:29.398Z] Step 9/23 : COPY . . [2022-08-01T05:07:29.968Z] ---> 580ef6c343ea [2022-08-01T05:07:29.968Z] Step 10/23 : RUN ${MAKE} [2022-08-01T05:07:29.968Z] ---> Running in 3cc330ba6b55 [2022-08-01T05:07:30.229Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-01T05:07:52.193Z] Removing intermediate container 3cc330ba6b55 [2022-08-01T05:07:52.193Z] ---> 72cb6b301433 [2022-08-01T05:07:52.193Z] Step 11/23 : FROM alpine:3.14 [2022-08-01T05:07:52.193Z] 3.14: Pulling from library/alpine [2022-08-01T05:07:52.193Z] decfdc335d9b: Pulling fs layer [2022-08-01T05:07:52.193Z] decfdc335d9b: Verifying Checksum [2022-08-01T05:07:52.193Z] decfdc335d9b: Download complete [2022-08-01T05:07:52.193Z] decfdc335d9b: Pull complete [2022-08-01T05:07:52.193Z] Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 [2022-08-01T05:07:52.193Z] Status: Downloaded newer image for alpine:3.14 [2022-08-01T05:07:52.193Z] ---> 5977be310a9d [2022-08-01T05:07:52.194Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-01T05:07:52.194Z] ---> Running in 4c9a5caeef67 [2022-08-01T05:07:52.194Z] Removing intermediate container 4c9a5caeef67 [2022-08-01T05:07:52.194Z] ---> e3a4ac63bffd [2022-08-01T05:07:52.194Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:07:52.194Z] ---> Running in 740dbfa991ee [2022-08-01T05:07:52.194Z] Removing intermediate container 740dbfa991ee [2022-08-01T05:07:52.194Z] ---> fdebb9b1e524 [2022-08-01T05:07:52.194Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T05:07:52.194Z] ---> Running in 1286381c04a4 [2022-08-01T05:07:52.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:07:53.139Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:07:53.401Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T05:07:53.401Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-01T05:07:53.661Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T05:07:53.661Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-01T05:07:53.661Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T05:07:53.928Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T05:07:53.928Z] Executing busybox-1.33.1-r8.trigger [2022-08-01T05:07:53.928Z] OK: 8 MiB in 20 packages [2022-08-01T05:07:54.500Z] Removing intermediate container 1286381c04a4 [2022-08-01T05:07:54.500Z] ---> 449572ef73de [2022-08-01T05:07:54.500Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-01T05:07:54.760Z] ---> 6a0019dbe2b2 [2022-08-01T05:07:54.760Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-01T05:07:55.027Z] ---> 7183b6953012 [2022-08-01T05:07:55.027Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-01T05:07:55.287Z] ---> be0f2e9ab5d9 [2022-08-01T05:07:55.287Z] Step 18/23 : EXPOSE 59901 [2022-08-01T05:07:55.287Z] ---> Running in d870b034c150 [2022-08-01T05:07:55.287Z] Removing intermediate container d870b034c150 [2022-08-01T05:07:55.287Z] ---> fd94cf1b84e0 [2022-08-01T05:07:55.287Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-01T05:07:55.287Z] ---> Running in bd5b401c1f21 [2022-08-01T05:07:55.550Z] Removing intermediate container bd5b401c1f21 [2022-08-01T05:07:55.551Z] ---> 738f616ce547 [2022-08-01T05:07:55.551Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T05:07:55.551Z] ---> Running in fc6141821e34 [2022-08-01T05:07:55.813Z] Removing intermediate container fc6141821e34 [2022-08-01T05:07:55.813Z] ---> 9a95be408d50 [2022-08-01T05:07:55.813Z] Step 21/23 : LABEL arch=amd64 [2022-08-01T05:07:55.813Z] ---> Running in 1e8df53a40eb [2022-08-01T05:07:56.073Z] Removing intermediate container 1e8df53a40eb [2022-08-01T05:07:56.073Z] ---> 320f6863c472 [2022-08-01T05:07:56.073Z] Step 22/23 : LABEL git_sha=4c096d5f14b4b354b9bb4b67799224ff13265870 [2022-08-01T05:07:56.073Z] ---> Running in fe59ccc7da0c [2022-08-01T05:07:56.334Z] Removing intermediate container fe59ccc7da0c [2022-08-01T05:07:56.334Z] ---> 076929e6b0d1 [2022-08-01T05:07:56.334Z] Step 23/23 : LABEL version=0.0.0 [2022-08-01T05:07:56.334Z] ---> Running in f697761114d8 [2022-08-01T05:07:56.334Z] Removing intermediate container f697761114d8 [2022-08-01T05:07:56.334Z] ---> 9db5b3e3a934 [2022-08-01T05:07:56.334Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T05:07:56.334Z] Successfully built 9db5b3e3a934 [2022-08-01T05:07:56.334Z] 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 [2022-08-01T05:07:57.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:07:57.220Z] [2022-08-01T05:07:57.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:07:57.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:07:57.606Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-01T05:07:57.606Z] 5eb5b503b376: Pulling fs layer [2022-08-01T05:07:57.606Z] 5c69ac0246d0: Pulling fs layer [2022-08-01T05:07:57.606Z] ec43610c2a17: Pulling fs layer [2022-08-01T05:07:57.606Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-01T05:07:57.606Z] 33b1e0a273af: Pulling fs layer [2022-08-01T05:07:57.606Z] 5d3b04190fa2: Pulling fs layer [2022-08-01T05:07:57.606Z] 2f39f015ded8: Pulling fs layer [2022-08-01T05:07:57.606Z] 5d3b04190fa2: Waiting [2022-08-01T05:07:57.606Z] 3a2ae6a8a46f: Waiting [2022-08-01T05:07:57.606Z] 33b1e0a273af: Waiting [2022-08-01T05:07:57.606Z] 5c69ac0246d0: Verifying Checksum [2022-08-01T05:07:57.606Z] 5c69ac0246d0: Download complete [2022-08-01T05:07:57.606Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-01T05:07:57.606Z] 3a2ae6a8a46f: Download complete [2022-08-01T05:07:57.866Z] 33b1e0a273af: Verifying Checksum [2022-08-01T05:07:57.866Z] 33b1e0a273af: Download complete [2022-08-01T05:07:57.866Z] 5d3b04190fa2: Download complete [2022-08-01T05:07:57.866Z] ec43610c2a17: Verifying Checksum [2022-08-01T05:07:57.866Z] ec43610c2a17: Download complete [2022-08-01T05:07:57.866Z] 5eb5b503b376: Verifying Checksum [2022-08-01T05:07:57.866Z] 5eb5b503b376: Download complete [2022-08-01T05:07:58.436Z] 2f39f015ded8: Download complete [2022-08-01T05:07:59.375Z] 5eb5b503b376: Pull complete [2022-08-01T05:07:59.375Z] 5c69ac0246d0: Pull complete [2022-08-01T05:07:59.945Z] ec43610c2a17: Pull complete [2022-08-01T05:07:59.945Z] 3a2ae6a8a46f: Pull complete [2022-08-01T05:07:59.945Z] 33b1e0a273af: Pull complete [2022-08-01T05:08:00.205Z] 5d3b04190fa2: Pull complete [2022-08-01T05:08:04.403Z] 2f39f015ded8: Pull complete [2022-08-01T05:08:04.403Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-01T05:08:04.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:08:04.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:08:04.636Z] prd-ubuntu20.04-docker-8c-8g-21639 does not seem to be running inside a container [2022-08-01T05:08:04.763Z] $ 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-366 -v /w/workspace/xfoundry_device-modbus-go_PR-366:/w/workspace/xfoundry_device-modbus-go_PR-366:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-366@tmp:/w/workspace/xfoundry_device-modbus-go_PR-366@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 [2022-08-01T05:08:06.322Z] $ docker top 1339a07e5eafb44873dc3c39318d1b58caf7c085240381860b9ce12bab0dbb3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:08:06.772Z] ---> job-cost.sh [2022-08-01T05:08:06.772Z] lf-activate-venv: SKIPPING [2022-08-01T05:08:06.772Z] INFO: No Stack... [2022-08-01T05:08:07.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T05:08:07.611Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T05:08:07.937Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-366/archives/cost.csv [2022-08-01T05:08:07.937Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T05:08:07.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [2022-08-01T05:08:07.979Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] did not exist. Created. [2022-08-01T05:08:07.979Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T05:08:08.372Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-01T05:08:08.422Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T05:08:08.448Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T05:08:08.519Z] $ docker stop --time=1 1339a07e5eafb44873dc3c39318d1b58caf7c085240381860b9ce12bab0dbb3f [2022-08-01T05:08:09.683Z] $ docker rm -f 1339a07e5eafb44873dc3c39318d1b58caf7c085240381860b9ce12bab0dbb3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-01T05:09:00.492Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21641 in /w/workspace/xfoundry_device-modbus-go_PR-366 [Pipeline] { [Pipeline] ws [2022-08-01T05:09:00.535Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-08-01T05:09:00.627Z] Selected Git installation does not exist. Using Default [2022-08-01T05:09:00.628Z] The recommended git tool is: NONE [2022-08-01T05:09:08.242Z] using credential edgex-jenkins-ssh [2022-08-01T05:09:08.262Z] Cloning the remote Git repository [2022-08-01T05:09:08.341Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-08-01T05:09:08.426Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-08-01T05:09:08.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-01T05:09:08.520Z] > git --version # timeout=10 [2022-08-01T05:09:08.546Z] > git --version # 'git version 2.25.1' [2022-08-01T05:09:08.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T05:09:08.677Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T05:09:09.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-01T05:09:09.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T05:09:10.576Z] Merging remotes/origin/main commit 614889a0cf4a23ea025e87d34781dd0af86a92c0 into PR head commit 4c096d5f14b4b354b9bb4b67799224ff13265870 [2022-08-01T05:09:10.850Z] Merge succeeded, producing 4c096d5f14b4b354b9bb4b67799224ff13265870 [2022-08-01T05:09:10.850Z] Checking out Revision 4c096d5f14b4b354b9bb4b67799224ff13265870 (PR-366) [2022-08-01T05:09:09.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-01T05:09:09.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-01T05:09:09.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T05:09:09.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-01T05:09:10.603Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T05:09:10.622Z] > git checkout -f 4c096d5f14b4b354b9bb4b67799224ff13265870 # timeout=10 [2022-08-01T05:09:10.734Z] > git remote # timeout=10 [2022-08-01T05:09:10.763Z] > git config --get remote.origin.url # timeout=10 [2022-08-01T05:09:10.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T05:09:10.802Z] > git merge 614889a0cf4a23ea025e87d34781dd0af86a92c0 # timeout=10 [2022-08-01T05:09:10.832Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-01T05:09:10.861Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T05:09:10.878Z] > git checkout -f 4c096d5f14b4b354b9bb4b67799224ff13265870 # timeout=10 [2022-08-01T05:09:15.223Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-01T05:09:15.284Z] > git --version # timeout=10 [2022-08-01T05:09:15.299Z] > git --version # 'git version 2.25.1' [2022-08-01T05:09:15.315Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:09:16.412Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-01T05:09:16.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T05:09:16.412Z] Dload Upload Total Spent Left Speed [2022-08-01T05:09:16.412Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-08-01T05:09:17.115Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-01T05:09:17.468Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-01T05:09:17.468Z] + sudo tee /etc/docker/daemon.new [2022-08-01T05:09:17.468Z] { [2022-08-01T05:09:17.468Z] "registry-mirrors": [ [2022-08-01T05:09:17.468Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-01T05:09:17.468Z] ], [2022-08-01T05:09:17.468Z] "bip": "10.250.0.254/24", [2022-08-01T05:09:17.468Z] "hosts": [ [2022-08-01T05:09:17.468Z] "tcp://0.0.0.0:5555", [2022-08-01T05:09:17.468Z] "unix:///var/run/docker.sock" [2022-08-01T05:09:17.468Z] ], [2022-08-01T05:09:17.468Z] "mtu": 1458, [2022-08-01T05:09:17.468Z] "selinux-enabled": true, [2022-08-01T05:09:17.468Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-01T05:09:17.468Z] } [Pipeline] sh [2022-08-01T05:09:17.826Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-01T05:09:18.497Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:09:36.895Z] provisioning config files... [2022-08-01T05:09:36.928Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config975934185068340894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:09:37.348Z] ---> docker-login.sh [2022-08-01T05:09:37.348Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:09:37.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:09:38.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:09:38.222Z] Configure a credential helper to remove this warning. See [2022-08-01T05:09:38.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:09:38.222Z] [2022-08-01T05:09:38.222Z] Login Succeeded [2022-08-01T05:09:38.222Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:09:38.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:09:38.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:09:38.496Z] Configure a credential helper to remove this warning. See [2022-08-01T05:09:38.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:09:38.496Z] [2022-08-01T05:09:38.496Z] Login Succeeded [2022-08-01T05:09:38.496Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:09:39.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:09:39.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:09:39.108Z] Configure a credential helper to remove this warning. See [2022-08-01T05:09:39.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:09:39.108Z] [2022-08-01T05:09:39.108Z] Login Succeeded [2022-08-01T05:09:39.108Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:09:39.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:09:39.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:09:39.655Z] Configure a credential helper to remove this warning. See [2022-08-01T05:09:39.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:09:39.655Z] [2022-08-01T05:09:39.655Z] Login Succeeded [2022-08-01T05:09:39.655Z] docker.io [2022-08-01T05:09:39.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:09:40.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:09:40.207Z] Configure a credential helper to remove this warning. See [2022-08-01T05:09:40.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:09:40.207Z] [2022-08-01T05:09:40.207Z] Login Succeeded [2022-08-01T05:09:40.207Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:09:40.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T05:09:40.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:09:40.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:09:40.739Z] ========================================================= [2022-08-01T05:09:40.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-01T05:09:40.739Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:09:41.242Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T05:09:41.519Z] Sending build context to Docker daemon 3.175MB [2022-08-01T05:09:41.519Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:09:41.519Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-01T05:09:41.807Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-01T05:09:41.807Z] b3c136eddcbf: Pulling fs layer [2022-08-01T05:09:41.807Z] c0a3192eca97: Pulling fs layer [2022-08-01T05:09:41.807Z] a050256f5b6f: Pulling fs layer [2022-08-01T05:09:41.807Z] 656be50a0ddc: Pulling fs layer [2022-08-01T05:09:41.807Z] 2bbca73fdf42: Pulling fs layer [2022-08-01T05:09:41.807Z] 46d945488cbd: Pulling fs layer [2022-08-01T05:09:41.807Z] 8a5474983e97: Pulling fs layer [2022-08-01T05:09:41.807Z] 329c88fbcd65: Pulling fs layer [2022-08-01T05:09:41.807Z] 656be50a0ddc: Waiting [2022-08-01T05:09:41.807Z] 2bbca73fdf42: Waiting [2022-08-01T05:09:41.807Z] 46d945488cbd: Waiting [2022-08-01T05:09:41.807Z] 8a5474983e97: Waiting [2022-08-01T05:09:41.807Z] 329c88fbcd65: Waiting [2022-08-01T05:09:41.807Z] a050256f5b6f: Download complete [2022-08-01T05:09:41.807Z] c0a3192eca97: Verifying Checksum [2022-08-01T05:09:41.807Z] c0a3192eca97: Download complete [2022-08-01T05:09:41.807Z] 2bbca73fdf42: Verifying Checksum [2022-08-01T05:09:41.807Z] 2bbca73fdf42: Download complete [2022-08-01T05:09:41.807Z] 46d945488cbd: Download complete [2022-08-01T05:09:41.807Z] b3c136eddcbf: Verifying Checksum [2022-08-01T05:09:41.807Z] b3c136eddcbf: Download complete [2022-08-01T05:09:42.797Z] b3c136eddcbf: Pull complete [2022-08-01T05:09:43.075Z] 329c88fbcd65: Verifying Checksum [2022-08-01T05:09:43.075Z] 329c88fbcd65: Download complete [2022-08-01T05:09:43.354Z] c0a3192eca97: Pull complete [2022-08-01T05:09:43.629Z] a050256f5b6f: Pull complete [2022-08-01T05:09:44.227Z] 8a5474983e97: Verifying Checksum [2022-08-01T05:09:44.227Z] 8a5474983e97: Download complete [2022-08-01T05:09:44.825Z] 656be50a0ddc: Verifying Checksum [2022-08-01T05:09:44.825Z] 656be50a0ddc: Download complete [2022-08-01T05:09:57.241Z] 656be50a0ddc: Pull complete [2022-08-01T05:09:57.241Z] 2bbca73fdf42: Pull complete [2022-08-01T05:09:57.519Z] 46d945488cbd: Pull complete [2022-08-01T05:10:04.248Z] 8a5474983e97: Pull complete [2022-08-01T05:10:05.699Z] 329c88fbcd65: Pull complete [2022-08-01T05:10:05.699Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-01T05:10:05.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-01T05:10:05.699Z] ---> ff4287adb874 [2022-08-01T05:10:05.699Z] Step 3/10 : ARG MAKE='make build' [2022-08-01T05:10:06.683Z] ---> Running in 93abaf7f666f [2022-08-01T05:10:06.960Z] Removing intermediate container 93abaf7f666f [2022-08-01T05:10:06.960Z] ---> 72dd30c9c78d [2022-08-01T05:10:06.960Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:10:06.960Z] ---> Running in 88f13a02419a [2022-08-01T05:10:08.966Z] Removing intermediate container 88f13a02419a [2022-08-01T05:10:08.966Z] ---> 25f446d68b30 [2022-08-01T05:10:08.966Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:10:08.966Z] ---> Running in a80d1bc95723 [2022-08-01T05:10:10.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:10:11.947Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:10:12.938Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T05:10:13.211Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-01T05:10:13.211Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T05:10:13.484Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T05:10:13.758Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-01T05:10:13.758Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-01T05:10:13.758Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-01T05:10:14.036Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-01T05:10:14.036Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T05:10:14.036Z] OK: 228 MiB in 59 packages [2022-08-01T05:10:15.034Z] Removing intermediate container a80d1bc95723 [2022-08-01T05:10:15.034Z] ---> 9ae502035a6a [2022-08-01T05:10:15.034Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-01T05:10:15.317Z] ---> Running in 4a779c68a355 [2022-08-01T05:10:15.594Z] Removing intermediate container 4a779c68a355 [2022-08-01T05:10:15.594Z] ---> aa75857dc2d7 [2022-08-01T05:10:15.594Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-01T05:10:16.201Z] ---> 5ada2d9af3cf [2022-08-01T05:10:16.201Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:10:16.201Z] ---> Running in b6a53510877f [2022-08-01T05:11:12.784Z] Removing intermediate container b6a53510877f [2022-08-01T05:11:12.784Z] ---> 0382c6c44f4b [2022-08-01T05:11:12.784Z] Step 9/10 : COPY . . [2022-08-01T05:11:12.784Z] ---> 559f4722e972 [2022-08-01T05:11:12.784Z] Step 10/10 : RUN ${MAKE} [2022-08-01T05:11:12.784Z] ---> Running in f6a34e848a47 [2022-08-01T05:11:12.784Z] noop [2022-08-01T05:11:12.784Z] Removing intermediate container f6a34e848a47 [2022-08-01T05:11:12.784Z] ---> 4247f10a99b5 [2022-08-01T05:11:12.784Z] Successfully built 4247f10a99b5 [2022-08-01T05:11:12.784Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:11:13.266Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T05:11:13.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:11:13.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-21641 does not seem to be running inside a container [2022-08-01T05:11:13.643Z] $ 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 [2022-08-01T05:11:14.902Z] $ docker top 91da3b8df8dfaf48c175032ca3778344d1e4ba051e6742d4b53128eb368cbd12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:11:15.834Z] + go version [2022-08-01T05:11:15.834Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-01T05:11:15.870Z] $ docker stop --time=1 91da3b8df8dfaf48c175032ca3778344d1e4ba051e6742d4b53128eb368cbd12 [2022-08-01T05:11:17.566Z] $ docker rm -f 91da3b8df8dfaf48c175032ca3778344d1e4ba051e6742d4b53128eb368cbd12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:11:18.496Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T05:11:18.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:11:18.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-21641 does not seem to be running inside a container [2022-08-01T05:11:18.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-08-01T05:11:20.128Z] $ docker top 5f178c8d3de2aa014f09b85ec1bea41c67173bf826b3634fc3e9e806414ccdf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:11:21.070Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-01T05:11:21.798Z] + make test [2022-08-01T05:11:21.798Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-01T05:11:23.253Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-01T05:12:45.110Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-01T05:12:45.388Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements [2022-08-01T05:12:45.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-01T05:12:45.987Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T05:13:08.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T05:13:08.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T05:13:08.232Z] ./bin/test-attribution-txt.sh [2022-08-01T05:13:08.232Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T05:13:08.232Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T05:13:08.232Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T05:13:08.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T05:13:08.307Z] $ docker stop --time=1 5f178c8d3de2aa014f09b85ec1bea41c67173bf826b3634fc3e9e806414ccdf1 [2022-08-01T05:13:10.131Z] $ docker rm -f 5f178c8d3de2aa014f09b85ec1bea41c67173bf826b3634fc3e9e806414ccdf1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:13:11.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T05:13:11.215Z] Warning: overwriting stash ‘coverage-report’ [2022-08-01T05:13:11.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:13:12.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T05:13:12.731Z] + ls -al . [2022-08-01T05:13:12.732Z] total 184 [2022-08-01T05:13:12.732Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 05:11 . [2022-08-01T05:13:12.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:09 .. [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 05:09 .dockerignore [2022-08-01T05:13:12.732Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:09 .git [2022-08-01T05:13:12.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:09 .github [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 1 05:09 .gitignore [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:09 .golangci.yml [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 1 05:09 Attribution.txt [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 1 05:09 CHANGELOG.md [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 1 05:09 Dockerfile [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:09 GOVERNANCE.md [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 05:09 Jenkinsfile [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:09 LICENSE [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 1 05:09 Makefile [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 1 05:09 OWNERS.md [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 1 05:09 README.md [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 05:06 VERSION [2022-08-01T05:13:12.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:09 bin [2022-08-01T05:13:12.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:09 cmd [2022-08-01T05:13:12.732Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 1 05:12 coverage.out [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 1 05:09 go.mod [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 1 05:09 go.sum [2022-08-01T05:13:12.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:09 internal [2022-08-01T05:13:12.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:09 simulator [2022-08-01T05:13:12.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:09 snap [2022-08-01T05:13:12.732Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 1 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:13:13.179Z] + 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=4c096d5f14b4b354b9bb4b67799224ff13265870 --label arch=arm64 --label version=0.0.0 . [2022-08-01T05:13:13.451Z] Sending build context to Docker daemon 3.199MB [2022-08-01T05:13:13.727Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:13:13.727Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-01T05:13:13.727Z] ---> 4247f10a99b5 [2022-08-01T05:13:13.727Z] Step 3/23 : ARG MAKE='make build' [2022-08-01T05:13:13.727Z] ---> Running in bc983167f83e [2022-08-01T05:13:14.003Z] Removing intermediate container bc983167f83e [2022-08-01T05:13:14.004Z] ---> 331b108fab1d [2022-08-01T05:13:14.004Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:13:14.004Z] ---> Running in e561e70a731a [2022-08-01T05:13:16.000Z] Removing intermediate container e561e70a731a [2022-08-01T05:13:16.000Z] ---> 1b2d3ecbffa9 [2022-08-01T05:13:16.000Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:13:16.000Z] ---> Running in 224e82936218 [2022-08-01T05:13:16.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:13:17.967Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:13:18.958Z] OK: 228 MiB in 59 packages [2022-08-01T05:13:19.564Z] Removing intermediate container 224e82936218 [2022-08-01T05:13:19.564Z] ---> 4a4a8c734085 [2022-08-01T05:13:19.564Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-01T05:13:19.564Z] ---> Running in ebbe6aaaed64 [2022-08-01T05:13:19.843Z] Removing intermediate container ebbe6aaaed64 [2022-08-01T05:13:19.843Z] ---> 736df8f90b61 [2022-08-01T05:13:19.843Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-01T05:13:20.445Z] ---> d3892a13b45f [2022-08-01T05:13:20.445Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:13:20.445Z] ---> Running in 9119cbd3c9e4 [2022-08-01T05:13:22.451Z] Removing intermediate container 9119cbd3c9e4 [2022-08-01T05:13:22.451Z] ---> ec6d4c6ee08a [2022-08-01T05:13:22.451Z] Step 9/23 : COPY . . [2022-08-01T05:13:23.443Z] ---> 6622ace45822 [2022-08-01T05:13:23.443Z] Step 10/23 : RUN ${MAKE} [2022-08-01T05:13:23.443Z] ---> Running in c676f172ec47 [2022-08-01T05:13:24.432Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-01T05:15:31.360Z] Removing intermediate container c676f172ec47 [2022-08-01T05:15:31.360Z] ---> be470889eed9 [2022-08-01T05:15:31.360Z] Step 11/23 : FROM alpine:3.14 [2022-08-01T05:15:31.360Z] 3.14: Pulling from library/alpine [2022-08-01T05:15:31.360Z] f4bf3852c6cc: Pulling fs layer [2022-08-01T05:15:31.360Z] f4bf3852c6cc: Download complete [2022-08-01T05:15:31.360Z] f4bf3852c6cc: Pull complete [2022-08-01T05:15:31.360Z] Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 [2022-08-01T05:15:31.360Z] Status: Downloaded newer image for alpine:3.14 [2022-08-01T05:15:31.360Z] ---> f19c924ebacc [2022-08-01T05:15:31.360Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-01T05:15:31.360Z] ---> Running in a0bbd4c24cd1 [2022-08-01T05:15:31.360Z] Removing intermediate container a0bbd4c24cd1 [2022-08-01T05:15:31.360Z] ---> fc6f66a6e7b6 [2022-08-01T05:15:31.360Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:15:31.360Z] ---> Running in 2dd12640155c [2022-08-01T05:15:31.960Z] Removing intermediate container 2dd12640155c [2022-08-01T05:15:31.960Z] ---> c9a1da674c2d [2022-08-01T05:15:31.960Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T05:15:31.960Z] ---> Running in 0f10bf345ff8 [2022-08-01T05:15:32.940Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:15:33.922Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:15:34.521Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T05:15:34.521Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-01T05:15:34.797Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T05:15:34.797Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-01T05:15:35.074Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T05:15:35.074Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T05:15:35.074Z] Executing busybox-1.33.1-r8.trigger [2022-08-01T05:15:35.074Z] OK: 8 MiB in 20 packages [2022-08-01T05:15:36.070Z] Removing intermediate container 0f10bf345ff8 [2022-08-01T05:15:36.071Z] ---> eb6bffac2595 [2022-08-01T05:15:36.071Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-01T05:15:37.513Z] ---> abc486609cb0 [2022-08-01T05:15:37.513Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-01T05:15:38.115Z] ---> bcccce67c3e9 [2022-08-01T05:15:38.115Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-01T05:15:38.401Z] ---> 842eddb66cb0 [2022-08-01T05:15:38.401Z] Step 18/23 : EXPOSE 59901 [2022-08-01T05:15:38.676Z] ---> Running in b9a6cc7f7766 [2022-08-01T05:15:38.951Z] Removing intermediate container b9a6cc7f7766 [2022-08-01T05:15:38.951Z] ---> a13a51c363fe [2022-08-01T05:15:38.951Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-01T05:15:38.951Z] ---> Running in 9af7c343bfe4 [2022-08-01T05:15:39.225Z] Removing intermediate container 9af7c343bfe4 [2022-08-01T05:15:39.225Z] ---> 3575bc985502 [2022-08-01T05:15:39.225Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T05:15:39.225Z] ---> Running in abf1b6b205d7 [2022-08-01T05:15:39.502Z] Removing intermediate container abf1b6b205d7 [2022-08-01T05:15:39.502Z] ---> b8765853e3b2 [2022-08-01T05:15:39.502Z] Step 21/23 : LABEL arch=arm64 [2022-08-01T05:15:39.779Z] ---> Running in accecc2b2069 [2022-08-01T05:15:40.053Z] Removing intermediate container accecc2b2069 [2022-08-01T05:15:40.053Z] ---> c4e3031d550d [2022-08-01T05:15:40.053Z] Step 22/23 : LABEL git_sha=4c096d5f14b4b354b9bb4b67799224ff13265870 [2022-08-01T05:15:40.053Z] ---> Running in 0e339454ba26 [2022-08-01T05:15:40.327Z] Removing intermediate container 0e339454ba26 [2022-08-01T05:15:40.327Z] ---> a63bc8a0fc5c [2022-08-01T05:15:40.327Z] Step 23/23 : LABEL version=0.0.0 [2022-08-01T05:15:40.327Z] ---> Running in c7cc1a1dc82e [2022-08-01T05:15:40.602Z] Removing intermediate container c7cc1a1dc82e [2022-08-01T05:15:40.602Z] ---> 764a8dd3aa5a [2022-08-01T05:15:40.602Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T05:15:40.879Z] Successfully built 764a8dd3aa5a [2022-08-01T05:15:40.879Z] 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 [2022-08-01T05:15:41.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:15:41.700Z] [2022-08-01T05:15:41.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:15:42.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:15:42.405Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-01T05:15:42.405Z] 8998bd30e6a1: Pulling fs layer [2022-08-01T05:15:42.405Z] 04944245beec: Pulling fs layer [2022-08-01T05:15:42.405Z] 699f458cf7ca: Pulling fs layer [2022-08-01T05:15:42.405Z] 765212b225bb: Pulling fs layer [2022-08-01T05:15:42.405Z] f23df028b6ca: Pulling fs layer [2022-08-01T05:15:42.405Z] d65c8cfc05b1: Pulling fs layer [2022-08-01T05:15:42.405Z] 2437ff75d9bd: Pulling fs layer [2022-08-01T05:15:42.405Z] f23df028b6ca: Waiting [2022-08-01T05:15:42.405Z] d65c8cfc05b1: Waiting [2022-08-01T05:15:42.405Z] 2437ff75d9bd: Waiting [2022-08-01T05:15:42.405Z] 765212b225bb: Waiting [2022-08-01T05:15:42.405Z] 04944245beec: Verifying Checksum [2022-08-01T05:15:42.405Z] 04944245beec: Download complete [2022-08-01T05:15:42.405Z] 765212b225bb: Verifying Checksum [2022-08-01T05:15:42.405Z] 765212b225bb: Download complete [2022-08-01T05:15:42.405Z] f23df028b6ca: Verifying Checksum [2022-08-01T05:15:42.405Z] f23df028b6ca: Download complete [2022-08-01T05:15:42.405Z] d65c8cfc05b1: Verifying Checksum [2022-08-01T05:15:42.405Z] d65c8cfc05b1: Download complete [2022-08-01T05:15:42.687Z] 699f458cf7ca: Verifying Checksum [2022-08-01T05:15:42.687Z] 699f458cf7ca: Download complete [2022-08-01T05:15:42.961Z] 8998bd30e6a1: Verifying Checksum [2022-08-01T05:15:42.961Z] 8998bd30e6a1: Download complete [2022-08-01T05:15:45.595Z] 2437ff75d9bd: Verifying Checksum [2022-08-01T05:15:45.595Z] 2437ff75d9bd: Download complete [2022-08-01T05:15:47.037Z] 8998bd30e6a1: Pull complete [2022-08-01T05:15:47.637Z] 04944245beec: Pull complete [2022-08-01T05:15:49.074Z] 699f458cf7ca: Pull complete [2022-08-01T05:15:49.349Z] 765212b225bb: Pull complete [2022-08-01T05:15:50.336Z] f23df028b6ca: Pull complete [2022-08-01T05:15:50.336Z] d65c8cfc05b1: Pull complete [2022-08-01T05:16:05.455Z] 2437ff75d9bd: Pull complete [2022-08-01T05:16:05.455Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-01T05:16:05.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:16:05.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:16:05.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-21641 does not seem to be running inside a container [2022-08-01T05:16:05.912Z] $ 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 [2022-08-01T05:16:08.436Z] $ docker top 2f3cea4445bf82ed18cc98abd49e993b9826dd2868640922b41c04546cbc1029 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:09.430Z] ---> job-cost.sh [2022-08-01T05:16:09.430Z] lf-activate-venv: SKIPPING [2022-08-01T05:16:09.430Z] INFO: No Stack... [2022-08-01T05:16:09.704Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-01T05:16:10.686Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T05:16:11.390Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-08-01T05:16:11.390Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T05:16:11.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [2022-08-01T05:16:11.480Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] did not exist. Created. [2022-08-01T05:16:11.480Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T05:16:12.240Z] /w/workspace/device-modbus-go/1@tmp/durable-6a40d61b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-01T05:16:12.941Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-01T05:16:12.980Z] Warning: overwriting stash ‘stack-cost’ [2022-08-01T05:16:13.026Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T05:16:13.041Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T05:16:13.123Z] $ docker stop --time=1 2f3cea4445bf82ed18cc98abd49e993b9826dd2868640922b41c04546cbc1029 [2022-08-01T05:16:14.641Z] $ docker rm -f 2f3cea4445bf82ed18cc98abd49e993b9826dd2868640922b41c04546cbc1029 [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 [2022-08-01T05:16:15.682Z] provisioning config files... [2022-08-01T05:16:15.693Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/config7904004766752914659tmp [Pipeline] { [Pipeline] sh [2022-08-01T05:16:16.031Z] + set +x [2022-08-01T05:16:16.031Z] + curl -s https://codecov.io/bash [2022-08-01T05:16:16.031Z] + bash -s -- [2022-08-01T05:16:16.031Z] [2022-08-01T05:16:16.031Z] _____ _ [2022-08-01T05:16:16.031Z] / ____| | | [2022-08-01T05:16:16.031Z] | | ___ __| | ___ ___ _____ __ [2022-08-01T05:16:16.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-01T05:16:16.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-01T05:16:16.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-01T05:16:16.031Z] Bash-1.0.6 [2022-08-01T05:16:16.031Z] [2022-08-01T05:16:16.031Z] [2022-08-01T05:16:16.031Z] ==> git version 2.25.1 found [2022-08-01T05:16:16.031Z] ==> 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 [2022-08-01T05:16:16.031Z] Release-Date: 2020-01-08 [2022-08-01T05:16:16.031Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-01T05:16:16.031Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-01T05:16:16.031Z] ==> Jenkins CI detected. [2022-08-01T05:16:16.031Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-366 [2022-08-01T05:16:16.031Z] project root: . [2022-08-01T05:16:16.031Z] --> token set from env [2022-08-01T05:16:16.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-01T05:16:16.031Z] ==> Running gcov in . (disable via -X gcov) [2022-08-01T05:16:16.031Z] ==> Python coveragepy not found [2022-08-01T05:16:16.031Z] ==> Searching for coverage reports in: [2022-08-01T05:16:16.031Z] + . [2022-08-01T05:16:16.031Z] -> Found 1 reports [2022-08-01T05:16:16.031Z] ==> Detecting git/mercurial file structure [2022-08-01T05:16:16.031Z] ==> Reading reports [2022-08-01T05:16:16.031Z] + ./coverage.out bytes=23241 [2022-08-01T05:16:16.031Z] ==> Appending adjustments [2022-08-01T05:16:16.031Z] https://docs.codecov.io/docs/fixing-reports [2022-08-01T05:16:16.292Z] + Found adjustments [2022-08-01T05:16:16.292Z] ==> Gzipping contents [2022-08-01T05:16:16.292Z] 4.0K /tmp/codecov.Tqw9CK.gz [2022-08-01T05:16:16.292Z] ==> Uploading reports [2022-08-01T05:16:16.292Z] url: https://codecov.io [2022-08-01T05:16:16.292Z] query: branch=PR-366&commit=4c096d5f14b4b354b9bb4b67799224ff13265870&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2022-08-01T05:16:16.292Z] -> Pinging Codecov [2022-08-01T05:16:16.292Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-366&commit=4c096d5f14b4b354b9bb4b67799224ff13265870&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2022-08-01T05:16:16.554Z] -> Uploading to [2022-08-01T05:16:16.554Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-01/55DBCA73C666E3227836607328DD7E49/4c096d5f14b4b354b9bb4b67799224ff13265870/caf39449-f48f-4f1d-9881-f02caf2fb76d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T051616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33125c01f324ed82e3027fdb37b871d1e155f46c55c91bc69cea2fb357edfefc [2022-08-01T05:16:16.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T05:16:16.554Z] Dload Upload Total Spent Left Speed [2022-08-01T05:16:16.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3926 0 0 100 3926 0 19435 --:--:-- --:--:-- --:--:-- 19339 100 3926 0 0 100 3926 0 14021 --:--:-- --:--:-- --:--:-- 13971 [2022-08-01T05:16:16.817Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/4c096d5f14b4b354b9bb4b67799224ff13265870 [Pipeline] } [2022-08-01T05:16:16.845Z] 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 [2022-08-01T05:16:18.626Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-366/archives ] [2022-08-01T05:16:18.626Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-366/archives [2022-08-01T05:16:18.626Z] total 16 [2022-08-01T05:16:18.626Z] drwxr-xr-x 3 root root 4096 Aug 1 05:08 . [2022-08-01T05:16:18.626Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 05:08 .. [2022-08-01T05:16:18.626Z] drwxr-xr-x 2 root root 4096 Aug 1 05:08 cost [2022-08-01T05:16:18.626Z] -rw-r--r-- 1 root root 88 Aug 1 05:08 cost.csv [2022-08-01T05:16:18.626Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-366/archives [2022-08-01T05:16:18.626Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-366/archives [2022-08-01T05:16:18.626Z] total 16 [2022-08-01T05:16:18.626Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:08 . [2022-08-01T05:16:18.626Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 05:08 .. [2022-08-01T05:16:18.626Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 05:08 cost [2022-08-01T05:16:18.626Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 1 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:18.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:19.855Z] ---> package-listing.sh [2022-08-01T05:16:19.855Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-01T05:16:19.855Z] ++ facter osfamily [2022-08-01T05:16:20.117Z] + OS_FAMILY=debian [2022-08-01T05:16:20.117Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-366 [2022-08-01T05:16:20.117Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-01T05:16:20.117Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-01T05:16:20.117Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-01T05:16:20.117Z] + PACKAGES=/tmp/packages_start.txt [2022-08-01T05:16:20.117Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-366 ']' [2022-08-01T05:16:20.117Z] + PACKAGES=/tmp/packages_end.txt [2022-08-01T05:16:20.117Z] + case "${OS_FAMILY}" in [2022-08-01T05:16:20.117Z] + dpkg -l [2022-08-01T05:16:20.117Z] + grep '^ii' [2022-08-01T05:16:20.117Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-01T05:16:20.117Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-01T05:16:20.117Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-01T05:16:20.117Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-366 ']' [2022-08-01T05:16:20.117Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-366/archives/ [2022-08-01T05:16:20.117Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-366/archives/ [Pipeline] echo [2022-08-01T05:16:20.150Z] 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-01T05:16:20.447Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:16:21.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:16:21.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:16:21.235Z] prd-ubuntu20.04-docker-8c-8g-21639 does not seem to be running inside a container [2022-08-01T05:16:21.274Z] $ 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-366/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-366 -v /w/workspace/xfoundry_device-modbus-go_PR-366:/w/workspace/xfoundry_device-modbus-go_PR-366:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-366@tmp:/w/workspace/xfoundry_device-modbus-go_PR-366@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 [2022-08-01T05:16:21.508Z] $ docker top 78dfc0041f46de94a719365621fdb6dbbdd46a22dc7b89a3b70b8db3de5654ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:16:21.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-01T05:16:22.229Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-01T05:16:22.547Z] + ls /var/log/sa-host [2022-08-01T05:16:22.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:16:22.681Z] provisioning config files... [2022-08-01T05:16:22.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-366@tmp/config1973306031460210966tmp [Pipeline] { [Pipeline] echo [2022-08-01T05:16:22.749Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:23.062Z] ---> create-netrc.sh [Pipeline] } [2022-08-01T05:16:23.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:23.495Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-01T05:16:23.527Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:23.838Z] ---> sudo-logs.sh [2022-08-01T05:16:23.839Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-01T05:16:23.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:24.244Z] ---> job-cost.sh [2022-08-01T05:16:24.244Z] lf-activate-venv: SKIPPING [2022-08-01T05:16:24.244Z] DEBUG: total: 0.2199999988079071 [2022-08-01T05:16:24.244Z] INFO: Retrieving Stack Cost... [2022-08-01T05:16:24.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T05:16:25.075Z] INFO: Archiving Costs [Pipeline] echo [2022-08-01T05:16:25.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:16:25.420Z] ---> logs-deploy.sh [2022-08-01T05:16:25.420Z] lf-activate-venv: SKIPPING [2022-08-01T05:16:25.420Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-366/1 [2022-08-01T05:16:25.420Z] INFO: archiving workspace using pattern(s): [2022-08-01T05:16:26.360Z] Archives upload complete. [2022-08-01T05:16:26.360Z] INFO: archiving logs to Nexus