Pull request #360 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 470ec608f475979ccd33d67c36fb1b94bacfc32d+df6ebf4862d29b15333f4a73058cc7861157986f (43fad3c296f9b56e3c0ed369db69bc868b51e85f) 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-ssh15371706722104930776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4554615673067708628.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-360/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-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4241870335970321074.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-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1186689163312668618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh14918314600130721028.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-360/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-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16395543958392240301.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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-17384 in /w/workspace/xfoundry_device-modbus-go_PR-360 [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-360 # 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 df6ebf4862d29b15333f4a73058cc7861157986f into PR head commit 470ec608f475979ccd33d67c36fb1b94bacfc32d Merge succeeded, producing 470ec608f475979ccd33d67c36fb1b94bacfc32d Checking out Revision 470ec608f475979ccd33d67c36fb1b94bacfc32d (PR-360) > 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/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470ec608f475979ccd33d67c36fb1b94bacfc32d # 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 df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470ec608f475979ccd33d67c36fb1b94bacfc32d # 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T05:03:28.791Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T05:03:28.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T05:03:29.084Z] ========================================================= [2022-07-11T05:03:29.084Z] EdgeX Global Pipelines Version Info [2022-07-11T05:03:29.084Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:03:29.885Z] ------------------- [2022-07-11T05:03:29.885Z] stable info: [2022-07-11T05:03:29.885Z] ------------------- [2022-07-11T05:03:29.885Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T05:03:29.885Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T05:03:29.885Z] Message: update stable to v1.0.234 [2022-07-11T05:03:30.457Z] ------------------- [2022-07-11T05:03:30.457Z] experimental info: [2022-07-11T05:03:30.457Z] ------------------- [2022-07-11T05:03:30.457Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T05:03:30.457Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T05:03:30.457Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T05:03:30.847Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-07-11T05:03:30.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-07-11T05:03:30.917Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T05:03:30.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T05:03:30.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T05:03:31.031Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T05:03:31.074Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T05:03:31.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T05:03:31.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T05:03:31.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T05:03:31.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T05:03:31.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-07-11T05:03:31.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T05:03:31.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T05:03:31.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T05:03:31.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T05:03:31.494Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T05:03:31.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T05:03:31.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T05:03:31.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T05:03:31.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T05:03:31.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T05:03:31.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T05:03:31.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T05:03:31.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T05:03:31.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T05:03:31.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T05:03:31.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo [2022-07-11T05:03:32.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo [2022-07-11T05:03:32.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo [2022-07-11T05:03:32.096Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 470ec608f475979ccd33d67c36fb1b94bacfc32d [Pipeline] echo [2022-07-11T05:03:32.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 470ec60 [Pipeline] echo [2022-07-11T05:03:32.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T05:03:32.299Z] provisioning config files... [2022-07-11T05:03:32.317Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/config7927072634356666607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:03:32.663Z] ---> docker-login.sh [2022-07-11T05:03:32.663Z] nexus3.edgexfoundry.org:10001 [2022-07-11T05:03:32.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:33.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:33.184Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:33.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:33.184Z] [2022-07-11T05:03:33.184Z] Login Succeeded [2022-07-11T05:03:33.184Z] nexus3.edgexfoundry.org:10002 [2022-07-11T05:03:33.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:33.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:33.184Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:33.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:33.184Z] [2022-07-11T05:03:33.184Z] Login Succeeded [2022-07-11T05:03:33.184Z] nexus3.edgexfoundry.org:10003 [2022-07-11T05:03:33.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:33.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:33.444Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:33.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:33.444Z] [2022-07-11T05:03:33.444Z] Login Succeeded [2022-07-11T05:03:33.444Z] nexus3.edgexfoundry.org:10004 [2022-07-11T05:03:33.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:33.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:33.444Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:33.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:33.444Z] [2022-07-11T05:03:33.444Z] Login Succeeded [2022-07-11T05:03:33.444Z] docker.io [2022-07-11T05:03:33.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:33.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:33.965Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:33.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:33.965Z] [2022-07-11T05:03:33.965Z] Login Succeeded [2022-07-11T05:03:33.965Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T05:03:34.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T05:03:34.619Z] + git rev-list -1 --merges 470ec608f475979ccd33d67c36fb1b94bacfc32d~1..470ec608f475979ccd33d67c36fb1b94bacfc32d [Pipeline] echo [2022-07-11T05:03:34.664Z] -----------> git rev-list -1 --merges 470ec608f475979ccd33d67c36fb1b94bacfc32d~1..470ec608f475979ccd33d67c36fb1b94bacfc32d 470ec608f475979ccd33d67c36fb1b94bacfc32d [false] [Pipeline] sh [2022-07-11T05:03:34.977Z] + git log --format=format:%s -1 470ec608f475979ccd33d67c36fb1b94bacfc32d [Pipeline] echo [2022-07-11T05:03:35.010Z] ========================================================= [2022-07-11T05:03:35.010Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T05:03:35.010Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T05:03:35.456Z] + git log --format=format:%s -1 470ec608f475979ccd33d67c36fb1b94bacfc32d [Pipeline] echo [2022-07-11T05:03:35.488Z] [semverPrep] GIT_COMMIT: 470ec608f475979ccd33d67c36fb1b94bacfc32d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-11T05:03:35.518Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T05:03:35.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T05:03:35.941Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T05:03:35.941Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T05:03:35.941Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T05:03:35.941Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T05:03:35.941Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T05:03:35.941Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:03:36.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T05:03:36.438Z] [2022-07-11T05:03:36.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:03:36.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T05:03:36.819Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T05:03:36.819Z] b85a868b505f: Pulling fs layer [2022-07-11T05:03:36.819Z] e2be974225ed: Pulling fs layer [2022-07-11T05:03:36.819Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T05:03:36.819Z] 988bab9f4d93: Pulling fs layer [2022-07-11T05:03:36.819Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T05:03:36.819Z] eaf3925da568: Pulling fs layer [2022-07-11T05:03:36.819Z] bab4dde63d76: Pulling fs layer [2022-07-11T05:03:36.819Z] bde34c3a00c8: Pulling fs layer [2022-07-11T05:03:36.819Z] b352a97aabf1: Pulling fs layer [2022-07-11T05:03:36.819Z] 4872d77fe225: Pulling fs layer [2022-07-11T05:03:36.819Z] 5851b861e8e6: Pulling fs layer [2022-07-11T05:03:36.819Z] 988bab9f4d93: Waiting [2022-07-11T05:03:36.819Z] bab4dde63d76: Waiting [2022-07-11T05:03:36.819Z] 1469e6f7b9e6: Waiting [2022-07-11T05:03:36.819Z] 4872d77fe225: Waiting [2022-07-11T05:03:36.819Z] bde34c3a00c8: Waiting [2022-07-11T05:03:36.819Z] eaf3925da568: Waiting [2022-07-11T05:03:36.819Z] b352a97aabf1: Waiting [2022-07-11T05:03:36.819Z] 5851b861e8e6: Waiting [2022-07-11T05:03:36.819Z] e2be974225ed: Verifying Checksum [2022-07-11T05:03:36.819Z] e2be974225ed: Download complete [2022-07-11T05:03:36.819Z] 988bab9f4d93: Download complete [2022-07-11T05:03:37.081Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T05:03:37.081Z] 1469e6f7b9e6: Download complete [2022-07-11T05:03:37.081Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T05:03:37.081Z] 339a4e72a1f5: Download complete [2022-07-11T05:03:37.081Z] eaf3925da568: Verifying Checksum [2022-07-11T05:03:37.081Z] eaf3925da568: Download complete [2022-07-11T05:03:37.081Z] bde34c3a00c8: Verifying Checksum [2022-07-11T05:03:37.081Z] bde34c3a00c8: Download complete [2022-07-11T05:03:37.081Z] b352a97aabf1: Download complete [2022-07-11T05:03:37.081Z] 4872d77fe225: Download complete [2022-07-11T05:03:37.081Z] 5851b861e8e6: Verifying Checksum [2022-07-11T05:03:37.081Z] 5851b861e8e6: Download complete [2022-07-11T05:03:37.081Z] b85a868b505f: Verifying Checksum [2022-07-11T05:03:37.081Z] b85a868b505f: Download complete [2022-07-11T05:03:37.340Z] bab4dde63d76: Verifying Checksum [2022-07-11T05:03:37.340Z] bab4dde63d76: Download complete [2022-07-11T05:03:38.288Z] b85a868b505f: Pull complete [2022-07-11T05:03:38.288Z] e2be974225ed: Pull complete [2022-07-11T05:03:38.864Z] 339a4e72a1f5: Pull complete [2022-07-11T05:03:38.864Z] 988bab9f4d93: Pull complete [2022-07-11T05:03:39.123Z] 1469e6f7b9e6: Pull complete [2022-07-11T05:03:39.123Z] eaf3925da568: Pull complete [2022-07-11T05:03:41.035Z] bab4dde63d76: Pull complete [2022-07-11T05:03:41.295Z] bde34c3a00c8: Pull complete [2022-07-11T05:03:41.295Z] b352a97aabf1: Pull complete [2022-07-11T05:03:41.295Z] 4872d77fe225: Pull complete [2022-07-11T05:03:41.560Z] 5851b861e8e6: Pull complete [2022-07-11T05:03:41.560Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T05:03:41.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T05:03:41.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:03:41.794Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2022-07-11T05:03:41.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-360 -v /w/workspace/xfoundry_device-modbus-go_PR-360:/w/workspace/xfoundry_device-modbus-go_PR-360:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-360@tmp:/w/workspace/xfoundry_device-modbus-go_PR-360@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-07-11T05:03:42.965Z] $ docker top a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 -eo pid,comm [2022-07-11T05:03:43.023Z] 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-07-11T05:03:43.023Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T05:03:43.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T05:03:43.155Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T05:03:43.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T05:03:43.287Z] $ docker exec a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 ssh-agent [2022-07-11T05:03:43.407Z] SSH_AUTH_SOCK=/tmp/ssh-ajGZihQhWaUJ/agent.34 [2022-07-11T05:03:43.407Z] SSH_AGENT_PID=40 [2022-07-11T05:03:43.414Z] Running ssh-add (command line suppressed) [2022-07-11T05:03:43.535Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-360@tmp/private_key_6863244345460484196.key (/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/private_key_6863244345460484196.key) [2022-07-11T05:03:43.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T05:03:43.879Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T05:03:43.908Z] $ docker exec --env ******** --env ******** a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 ssh-agent -k [2022-07-11T05:03:44.024Z] unset SSH_AUTH_SOCK; [2022-07-11T05:03:44.025Z] unset SSH_AGENT_PID; [2022-07-11T05:03:44.026Z] echo Agent pid 40 killed; [2022-07-11T05:03:44.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T05:03:44.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T05:03:44.117Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T05:03:44.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T05:03:44.241Z] $ docker exec a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 ssh-agent [2022-07-11T05:03:44.375Z] SSH_AUTH_SOCK=/tmp/ssh-ZAPJ0Hd9xke4/agent.74 [2022-07-11T05:03:44.375Z] SSH_AGENT_PID=80 [2022-07-11T05:03:44.381Z] Running ssh-add (command line suppressed) [2022-07-11T05:03:44.509Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-360@tmp/private_key_8985871237011797709.key (/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/private_key_8985871237011797709.key) [2022-07-11T05:03:44.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T05:03:44.853Z] + git semver init [2022-07-11T05:03:45.116Z] 2022-07-11 05:03:45,075 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T05:03:45.116Z] 2022-07-11 05:03:45,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-360/.semver [2022-07-11T05:03:45.116Z] 2022-07-11 05:03:45,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-360/.semver [2022-07-11T05:03:45.116Z] 2022-07-11 05:03:45,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-360/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-360, universal_newlines=False, shell=None, istream=None) [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,801 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-360/.git/info/exclude [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-360/.semver/PR-360 with force:False [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,801 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-360/.semver/PR-360 [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,804 [execute] INFO git cat-file --batch-check [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,811 [execute] INFO git cat-file --batch [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T05:03:46.062Z] 2022-07-11 05:03:45,816 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-360/.semver/PR-360 [2022-07-11T05:03:46.062Z] 0.0.0 [Pipeline] } [2022-07-11T05:03:46.091Z] $ docker exec --env ******** --env ******** a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 ssh-agent -k [2022-07-11T05:03:46.203Z] unset SSH_AUTH_SOCK; [2022-07-11T05:03:46.203Z] unset SSH_AGENT_PID; [2022-07-11T05:03:46.204Z] echo Agent pid 80 killed; [2022-07-11T05:03:46.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T05:03:46.633Z] + git semver [Pipeline] } [2022-07-11T05:03:46.923Z] $ docker stop --time=1 a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 [2022-07-11T05:03:48.240Z] $ docker rm -f a6968e30be78d2c99315d354cddb8019902cb289a360beeba75d4dd4ad5f52b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T05:03:48.650Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T05:03:48.980Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T05:03:48.997Z] [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-07-11T05:03:49.605Z] provisioning config files... [2022-07-11T05:03:49.617Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/config1505110459996476306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:03:49.958Z] ---> docker-login.sh [2022-07-11T05:03:49.958Z] nexus3.edgexfoundry.org:10001 [2022-07-11T05:03:49.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:49.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:49.958Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:49.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:49.958Z] [2022-07-11T05:03:49.958Z] Login Succeeded [2022-07-11T05:03:49.958Z] nexus3.edgexfoundry.org:10002 [2022-07-11T05:03:49.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:50.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:50.219Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:50.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:50.219Z] [2022-07-11T05:03:50.219Z] Login Succeeded [2022-07-11T05:03:50.219Z] nexus3.edgexfoundry.org:10003 [2022-07-11T05:03:50.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:50.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:50.220Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:50.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:50.220Z] [2022-07-11T05:03:50.220Z] Login Succeeded [2022-07-11T05:03:50.220Z] nexus3.edgexfoundry.org:10004 [2022-07-11T05:03:50.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:50.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:50.479Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:50.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:50.479Z] [2022-07-11T05:03:50.479Z] Login Succeeded [2022-07-11T05:03:50.479Z] docker.io [2022-07-11T05:03:50.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:03:50.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:03:50.747Z] Configure a credential helper to remove this warning. See [2022-07-11T05:03:50.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:03:50.747Z] [2022-07-11T05:03:50.747Z] Login Succeeded [2022-07-11T05:03:50.747Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T05:03:50.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T05:03:51.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T05:03:51.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T05:03:51.068Z] ========================================================= [2022-07-11T05:03:51.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T05:03:51.068Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:03:51.539Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T05:03:51.539Z] Sending build context to Docker daemon 6.058MB [2022-07-11T05:03:51.539Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T05:03:51.539Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-11T05:03:51.539Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T05:03:51.539Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T05:03:51.539Z] 666ba61612fd: Pulling fs layer [2022-07-11T05:03:51.539Z] 8ed8ca486205: Pulling fs layer [2022-07-11T05:03:51.539Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T05:03:51.539Z] c516ae0d96e1: Pulling fs layer [2022-07-11T05:03:51.539Z] 684cea983483: Pulling fs layer [2022-07-11T05:03:51.539Z] dd3240ac7de5: Pulling fs layer [2022-07-11T05:03:51.539Z] b1e948a4e11c: Pulling fs layer [2022-07-11T05:03:51.539Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T05:03:51.539Z] 646ad004c059: Pulling fs layer [2022-07-11T05:03:51.539Z] dd3240ac7de5: Waiting [2022-07-11T05:03:51.539Z] 684cea983483: Waiting [2022-07-11T05:03:51.539Z] b1e948a4e11c: Waiting [2022-07-11T05:03:51.539Z] a8fd76ee1af6: Waiting [2022-07-11T05:03:51.539Z] cc1cd167ecdc: Waiting [2022-07-11T05:03:51.539Z] 646ad004c059: Waiting [2022-07-11T05:03:51.539Z] c516ae0d96e1: Waiting [2022-07-11T05:03:51.539Z] 8ed8ca486205: Verifying Checksum [2022-07-11T05:03:51.539Z] 8ed8ca486205: Download complete [2022-07-11T05:03:51.539Z] 666ba61612fd: Download complete [2022-07-11T05:03:51.539Z] c516ae0d96e1: Verifying Checksum [2022-07-11T05:03:51.539Z] c516ae0d96e1: Download complete [2022-07-11T05:03:51.539Z] 684cea983483: Verifying Checksum [2022-07-11T05:03:51.539Z] 684cea983483: Download complete [2022-07-11T05:03:51.539Z] dd3240ac7de5: Download complete [2022-07-11T05:03:51.801Z] 59bf1c3509f3: Download complete [2022-07-11T05:03:51.801Z] b1e948a4e11c: Verifying Checksum [2022-07-11T05:03:51.801Z] b1e948a4e11c: Download complete [2022-07-11T05:03:51.801Z] 59bf1c3509f3: Pull complete [2022-07-11T05:03:52.060Z] 666ba61612fd: Pull complete [2022-07-11T05:03:52.060Z] 8ed8ca486205: Pull complete [2022-07-11T05:03:52.318Z] 646ad004c059: Verifying Checksum [2022-07-11T05:03:52.318Z] 646ad004c059: Download complete [2022-07-11T05:03:52.318Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T05:03:52.318Z] a8fd76ee1af6: Download complete [2022-07-11T05:03:52.318Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T05:03:52.318Z] cc1cd167ecdc: Download complete [2022-07-11T05:03:56.512Z] cc1cd167ecdc: Pull complete [2022-07-11T05:03:56.512Z] c516ae0d96e1: Pull complete [2022-07-11T05:03:56.512Z] 684cea983483: Pull complete [2022-07-11T05:03:56.512Z] dd3240ac7de5: Pull complete [2022-07-11T05:03:56.512Z] b1e948a4e11c: Pull complete [2022-07-11T05:03:58.413Z] a8fd76ee1af6: Pull complete [2022-07-11T05:03:58.979Z] 646ad004c059: Pull complete [2022-07-11T05:03:58.979Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T05:03:58.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T05:03:58.979Z] ---> 8f69c11f6b0c [2022-07-11T05:03:58.979Z] Step 3/10 : ARG MAKE='make build' [2022-07-11T05:04:00.362Z] ---> Running in ac2fb86893ea [2022-07-11T05:04:00.362Z] Removing intermediate container ac2fb86893ea [2022-07-11T05:04:00.362Z] ---> e7cd31de5362 [2022-07-11T05:04:00.362Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:04:00.362Z] ---> Running in c7d894c2eb24 [2022-07-11T05:04:00.932Z] Removing intermediate container c7d894c2eb24 [2022-07-11T05:04:00.932Z] ---> 645118c528b2 [2022-07-11T05:04:00.932Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T05:04:00.932Z] ---> Running in df18ea36ca72 [2022-07-11T05:04:00.932Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T05:04:02.321Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T05:04:02.321Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T05:04:02.583Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-11T05:04:02.583Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T05:04:02.583Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T05:04:02.845Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-11T05:04:02.845Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-11T05:04:03.105Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-11T05:04:03.105Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-11T05:04:03.105Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T05:04:03.105Z] OK: 226 MiB in 60 packages [2022-07-11T05:04:03.676Z] Removing intermediate container df18ea36ca72 [2022-07-11T05:04:03.676Z] ---> 1cdb80584652 [2022-07-11T05:04:03.676Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-11T05:04:03.676Z] ---> Running in 593908101dc2 [2022-07-11T05:04:03.676Z] Removing intermediate container 593908101dc2 [2022-07-11T05:04:03.676Z] ---> 882985a39ee8 [2022-07-11T05:04:03.676Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-11T05:04:03.936Z] ---> 6ffca7a74d35 [2022-07-11T05:04:03.936Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T05:04:03.936Z] ---> Running in 3477de0b19f8 [2022-07-11T05:04:04.421Z] Still waiting to schedule task [2022-07-11T05:04:04.421Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-11T05:04:22.054Z] Removing intermediate container 3477de0b19f8 [2022-07-11T05:04:22.054Z] ---> d9f350aab469 [2022-07-11T05:04:22.054Z] Step 9/10 : COPY . . [2022-07-11T05:04:22.054Z] ---> 01f1255b32e0 [2022-07-11T05:04:22.054Z] Step 10/10 : RUN ${MAKE} [2022-07-11T05:04:22.054Z] ---> Running in 83c3fd83b35e [2022-07-11T05:04:22.054Z] noop [2022-07-11T05:04:22.054Z] Removing intermediate container 83c3fd83b35e [2022-07-11T05:04:22.054Z] ---> c2aff3bc1d74 [2022-07-11T05:04:22.054Z] Successfully built c2aff3bc1d74 [2022-07-11T05:04:22.054Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:04:22.501Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T05:04:22.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:04:22.662Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2022-07-11T05:04:22.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-360 -v /w/workspace/xfoundry_device-modbus-go_PR-360:/w/workspace/xfoundry_device-modbus-go_PR-360:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-360@tmp:/w/workspace/xfoundry_device-modbus-go_PR-360@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-07-11T05:04:23.085Z] $ docker top bddba2a1db401972a425c49043812ec095c082758dd9dfc9421346a64608bdff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T05:04:23.485Z] + go version [2022-07-11T05:04:23.486Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T05:04:23.519Z] $ docker stop --time=1 bddba2a1db401972a425c49043812ec095c082758dd9dfc9421346a64608bdff [2022-07-11T05:04:24.820Z] $ docker rm -f bddba2a1db401972a425c49043812ec095c082758dd9dfc9421346a64608bdff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:04:25.535Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T05:04:25.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:04:25.722Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2022-07-11T05:04:25.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-360 -v /w/workspace/xfoundry_device-modbus-go_PR-360:/w/workspace/xfoundry_device-modbus-go_PR-360:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-360@tmp:/w/workspace/xfoundry_device-modbus-go_PR-360@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-07-11T05:04:26.216Z] $ docker top 3745bae225cf44377c08675985296d1049f81c219374b44f53c6fb4334507dec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T05:04:26.675Z] + make test [2022-07-11T05:04:26.675Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T05:04:26.938Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-11T05:04:36.917Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-11T05:04:36.917Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.025s coverage: 46.4% of statements [2022-07-11T05:04:43.490Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T05:04:47.687Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T05:04:47.687Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T05:04:47.687Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T05:04:48.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T05:04:48.321Z] $ docker stop --time=1 3745bae225cf44377c08675985296d1049f81c219374b44f53c6fb4334507dec [2022-07-11T05:04:49.975Z] $ docker rm -f 3745bae225cf44377c08675985296d1049f81c219374b44f53c6fb4334507dec [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T05:04:50.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T05:04:50.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T05:04:51.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T05:04:51.554Z] + ls -al . [2022-07-11T05:04:51.554Z] total 184 [2022-07-11T05:04:51.554Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 05:04 . [2022-07-11T05:04:51.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 05:03 .. [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 05:03 .dockerignore [2022-07-11T05:04:51.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 05:03 .git [2022-07-11T05:04:51.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:03 .github [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 11 05:03 .gitignore [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 05:03 .golangci.yml [2022-07-11T05:04:51.554Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 05:03 .semver [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 11 05:03 Attribution.txt [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 11 05:03 CHANGELOG.md [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 11 05:03 Dockerfile [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 05:03 GOVERNANCE.md [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 05:03 Jenkinsfile [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 05:03 LICENSE [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 11 05:03 Makefile [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 11 05:03 OWNERS.md [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 11 05:03 README.md [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 05:03 VERSION [2022-07-11T05:04:51.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 05:03 bin [2022-07-11T05:04:51.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:03 cmd [2022-07-11T05:04:51.554Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 11 05:04 coverage.out [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 11 05:03 go.mod [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 36106 Jul 11 05:03 go.sum [2022-07-11T05:04:51.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:03 internal [2022-07-11T05:04:51.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 05:03 simulator [2022-07-11T05:04:51.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 05:03 snap [2022-07-11T05:04:51.554Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 11 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:04:51.938Z] + 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=470ec608f475979ccd33d67c36fb1b94bacfc32d --label arch=amd64 --label version=0.0.0 . [2022-07-11T05:04:51.938Z] Sending build context to Docker daemon 6.084MB [2022-07-11T05:04:51.938Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T05:04:51.938Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-11T05:04:51.938Z] ---> c2aff3bc1d74 [2022-07-11T05:04:51.938Z] Step 3/23 : ARG MAKE='make build' [2022-07-11T05:04:51.938Z] ---> Running in 4f677639bd0d [2022-07-11T05:04:52.199Z] Removing intermediate container 4f677639bd0d [2022-07-11T05:04:52.199Z] ---> 3fe72595273d [2022-07-11T05:04:52.199Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:04:52.199Z] ---> Running in 7715ac9ddc63 [2022-07-11T05:04:52.769Z] Removing intermediate container 7715ac9ddc63 [2022-07-11T05:04:52.769Z] ---> e0622dc9b61b [2022-07-11T05:04:52.769Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T05:04:52.769Z] ---> Running in 7259e4831eb3 [2022-07-11T05:04:53.030Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T05:04:53.973Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T05:04:53.973Z] OK: 226 MiB in 60 packages [2022-07-11T05:04:54.548Z] Removing intermediate container 7259e4831eb3 [2022-07-11T05:04:54.548Z] ---> d76546aa1480 [2022-07-11T05:04:54.548Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-11T05:04:54.548Z] ---> Running in 53a558704566 [2022-07-11T05:04:54.548Z] Removing intermediate container 53a558704566 [2022-07-11T05:04:54.548Z] ---> 0fe8bc93bd56 [2022-07-11T05:04:54.548Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-11T05:04:54.811Z] ---> c7cf070712b7 [2022-07-11T05:04:54.811Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T05:04:54.811Z] ---> Running in bbd41aa39941 [2022-07-11T05:04:55.380Z] Removing intermediate container bbd41aa39941 [2022-07-11T05:04:55.380Z] ---> 36c5e9146e2d [2022-07-11T05:04:55.380Z] Step 9/23 : COPY . . [2022-07-11T05:04:55.642Z] ---> cd20764946ee [2022-07-11T05:04:55.642Z] Step 10/23 : RUN ${MAKE} [2022-07-11T05:04:55.642Z] ---> Running in 28ccac1c6a60 [2022-07-11T05:04:55.901Z] 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-07-11T05:05:17.853Z] Removing intermediate container 28ccac1c6a60 [2022-07-11T05:05:17.853Z] ---> 6a7d3da8b574 [2022-07-11T05:05:17.853Z] Step 11/23 : FROM alpine:3.14 [2022-07-11T05:05:17.853Z] 3.14: Pulling from library/alpine [2022-07-11T05:05:17.853Z] 8663204ce13b: Pulling fs layer [2022-07-11T05:05:17.853Z] 8663204ce13b: Verifying Checksum [2022-07-11T05:05:17.853Z] 8663204ce13b: Download complete [2022-07-11T05:05:17.853Z] 8663204ce13b: Pull complete [2022-07-11T05:05:17.853Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T05:05:17.853Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T05:05:17.853Z] ---> e04c818066af [2022-07-11T05:05:17.853Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-11T05:05:17.853Z] ---> Running in ca46321dbf1e [2022-07-11T05:05:17.853Z] Removing intermediate container ca46321dbf1e [2022-07-11T05:05:17.853Z] ---> 2949c3492d86 [2022-07-11T05:05:17.853Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:05:17.853Z] ---> Running in 826e53634cd0 [2022-07-11T05:05:17.853Z] Removing intermediate container 826e53634cd0 [2022-07-11T05:05:17.853Z] ---> cd272c4fa4d5 [2022-07-11T05:05:17.853Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T05:05:17.853Z] ---> Running in 0469695b6dc7 [2022-07-11T05:05:17.853Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-11T05:05:17.853Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-11T05:05:17.853Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T05:05:17.853Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T05:05:17.853Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T05:05:17.853Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T05:05:17.853Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T05:05:17.853Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T05:05:17.853Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T05:05:17.853Z] OK: 8 MiB in 20 packages [2022-07-11T05:05:18.426Z] Removing intermediate container 0469695b6dc7 [2022-07-11T05:05:18.426Z] ---> 9ade2123f7af [2022-07-11T05:05:18.426Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-11T05:05:18.687Z] ---> 51acf2249207 [2022-07-11T05:05:18.687Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-11T05:05:18.948Z] ---> 86d0afcf738a [2022-07-11T05:05:18.948Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-11T05:05:18.948Z] ---> 5a6da08f3b8d [2022-07-11T05:05:18.948Z] Step 18/23 : EXPOSE 59901 [2022-07-11T05:05:19.209Z] ---> Running in 790045c8e668 [2022-07-11T05:05:19.210Z] Removing intermediate container 790045c8e668 [2022-07-11T05:05:19.210Z] ---> 34901d674d8c [2022-07-11T05:05:19.210Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-11T05:05:19.210Z] ---> Running in 7a4101646490 [2022-07-11T05:05:19.210Z] Removing intermediate container 7a4101646490 [2022-07-11T05:05:19.210Z] ---> d2c7be04592c [2022-07-11T05:05:19.210Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T05:05:19.210Z] ---> Running in bcb659a44204 [2022-07-11T05:05:19.472Z] Removing intermediate container bcb659a44204 [2022-07-11T05:05:19.472Z] ---> 2b5298832b60 [2022-07-11T05:05:19.472Z] Step 21/23 : LABEL arch=amd64 [2022-07-11T05:05:19.472Z] ---> Running in 33dfa74bd1b8 [2022-07-11T05:05:19.472Z] Removing intermediate container 33dfa74bd1b8 [2022-07-11T05:05:19.472Z] ---> 38dc02c254df [2022-07-11T05:05:19.472Z] Step 22/23 : LABEL git_sha=470ec608f475979ccd33d67c36fb1b94bacfc32d [2022-07-11T05:05:19.472Z] ---> Running in d8f99c7b8b8d [2022-07-11T05:05:19.735Z] Removing intermediate container d8f99c7b8b8d [2022-07-11T05:05:19.735Z] ---> 8d2567809f19 [2022-07-11T05:05:19.735Z] Step 23/23 : LABEL version=0.0.0 [2022-07-11T05:05:19.735Z] ---> Running in 666b732257b2 [2022-07-11T05:05:19.735Z] Removing intermediate container 666b732257b2 [2022-07-11T05:05:19.735Z] ---> 9f352bf21b5a [2022-07-11T05:05:19.735Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T05:05:19.735Z] Successfully built 9f352bf21b5a [2022-07-11T05:05:19.735Z] 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-07-11T05:05:20.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T05:05:20.638Z] [2022-07-11T05:05:20.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:05:21.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T05:05:21.015Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T05:05:21.015Z] 5eb5b503b376: Pulling fs layer [2022-07-11T05:05:21.015Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T05:05:21.015Z] ec43610c2a17: Pulling fs layer [2022-07-11T05:05:21.015Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T05:05:21.015Z] 33b1e0a273af: Pulling fs layer [2022-07-11T05:05:21.015Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T05:05:21.015Z] 2f39f015ded8: Pulling fs layer [2022-07-11T05:05:21.015Z] 3a2ae6a8a46f: Waiting [2022-07-11T05:05:21.015Z] 33b1e0a273af: Waiting [2022-07-11T05:05:21.015Z] 5d3b04190fa2: Waiting [2022-07-11T05:05:21.015Z] 2f39f015ded8: Waiting [2022-07-11T05:05:21.015Z] 5c69ac0246d0: Verifying Checksum [2022-07-11T05:05:21.015Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T05:05:21.015Z] 3a2ae6a8a46f: Download complete [2022-07-11T05:05:21.015Z] 33b1e0a273af: Verifying Checksum [2022-07-11T05:05:21.015Z] 33b1e0a273af: Download complete [2022-07-11T05:05:21.015Z] ec43610c2a17: Verifying Checksum [2022-07-11T05:05:21.015Z] ec43610c2a17: Download complete [2022-07-11T05:05:21.015Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T05:05:21.015Z] 5d3b04190fa2: Download complete [2022-07-11T05:05:21.274Z] 5eb5b503b376: Verifying Checksum [2022-07-11T05:05:21.274Z] 5eb5b503b376: Download complete [2022-07-11T05:05:21.841Z] 2f39f015ded8: Download complete [2022-07-11T05:05:22.409Z] 5eb5b503b376: Pull complete [2022-07-11T05:05:22.409Z] 5c69ac0246d0: Pull complete [2022-07-11T05:05:22.976Z] ec43610c2a17: Pull complete [2022-07-11T05:05:22.976Z] 3a2ae6a8a46f: Pull complete [2022-07-11T05:05:23.235Z] 33b1e0a273af: Pull complete [2022-07-11T05:05:23.235Z] 5d3b04190fa2: Pull complete [2022-07-11T05:05:27.422Z] 2f39f015ded8: Pull complete [2022-07-11T05:05:27.422Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T05:05:27.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T05:05:27.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:05:27.651Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2022-07-11T05:05:27.690Z] $ 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-360 -v /w/workspace/xfoundry_device-modbus-go_PR-360:/w/workspace/xfoundry_device-modbus-go_PR-360:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-360@tmp:/w/workspace/xfoundry_device-modbus-go_PR-360@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-07-11T05:05:29.046Z] $ docker top e0662070855e49e53ca80a6ec880f7eb473e3e56f82627840dda8db6feaa333b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:05:29.509Z] ---> job-cost.sh [2022-07-11T05:05:29.510Z] lf-activate-venv: SKIPPING [2022-07-11T05:05:29.510Z] INFO: No Stack... [2022-07-11T05:05:29.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T05:05:30.341Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T05:05:30.659Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-360/archives/cost.csv [2022-07-11T05:05:30.659Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T05:05:30.702Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [2022-07-11T05:05:30.707Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] did not exist. Created. [2022-07-11T05:05:30.707Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T05:05:31.105Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T05:05:31.151Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T05:05:31.176Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T05:05:31.257Z] $ docker stop --time=1 e0662070855e49e53ca80a6ec880f7eb473e3e56f82627840dda8db6feaa333b [2022-07-11T05:05:32.422Z] $ docker rm -f e0662070855e49e53ca80a6ec880f7eb473e3e56f82627840dda8db6feaa333b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T05:05:37.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17387 in /w/workspace/xfoundry_device-modbus-go_PR-360 [Pipeline] { [Pipeline] ws [2022-07-11T05:05:37.368Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-07-11T05:05:37.457Z] Selected Git installation does not exist. Using Default [2022-07-11T05:05:37.457Z] The recommended git tool is: NONE [2022-07-11T05:05:44.408Z] using credential edgex-jenkins-ssh [2022-07-11T05:05:44.429Z] Cloning the remote Git repository [2022-07-11T05:05:44.514Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-07-11T05:05:44.608Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-07-11T05:05:44.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-11T05:05:44.730Z] > git --version # timeout=10 [2022-07-11T05:05:44.830Z] > git --version # 'git version 2.25.1' [2022-07-11T05:05:44.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T05:05:44.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T05:05:46.687Z] Merging remotes/origin/main commit df6ebf4862d29b15333f4a73058cc7861157986f into PR head commit 470ec608f475979ccd33d67c36fb1b94bacfc32d [2022-07-11T05:05:46.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-11T05:05:46.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T05:05:46.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-11T05:05:46.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-11T05:05:46.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T05:05:46.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T05:05:46.715Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T05:05:46.738Z] > git checkout -f 470ec608f475979ccd33d67c36fb1b94bacfc32d # timeout=10 [2022-07-11T05:05:46.835Z] > git remote # timeout=10 [2022-07-11T05:05:46.928Z] Merge succeeded, producing 470ec608f475979ccd33d67c36fb1b94bacfc32d [2022-07-11T05:05:46.929Z] Checking out Revision 470ec608f475979ccd33d67c36fb1b94bacfc32d (PR-360) [2022-07-11T05:05:46.857Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T05:05:46.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T05:05:46.885Z] > git merge df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 [2022-07-11T05:05:46.913Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T05:05:46.939Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T05:05:46.954Z] > git checkout -f 470ec608f475979ccd33d67c36fb1b94bacfc32d # timeout=10 [2022-07-11T05:05:51.092Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-11T05:05:51.151Z] > git --version # timeout=10 [2022-07-11T05:05:51.160Z] > git --version # 'git version 2.25.1' [2022-07-11T05:05:51.174Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T05:05:52.191Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T05:05:52.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T05:05:52.191Z] Dload Upload Total Spent Left Speed [2022-07-11T05:05:52.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-07-11T05:05:53.035Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T05:05:53.396Z] + sudo tee /etc/docker/daemon.new [2022-07-11T05:05:53.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T05:05:53.396Z] { [2022-07-11T05:05:53.396Z] "registry-mirrors": [ [2022-07-11T05:05:53.396Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T05:05:53.396Z] ], [2022-07-11T05:05:53.396Z] "bip": "10.250.0.254/24", [2022-07-11T05:05:53.396Z] "hosts": [ [2022-07-11T05:05:53.396Z] "tcp://0.0.0.0:5555", [2022-07-11T05:05:53.396Z] "unix:///var/run/docker.sock" [2022-07-11T05:05:53.396Z] ], [2022-07-11T05:05:53.396Z] "mtu": 1458, [2022-07-11T05:05:53.396Z] "selinux-enabled": true, [2022-07-11T05:05:53.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T05:05:53.396Z] } [Pipeline] sh [2022-07-11T05:05:53.756Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T05:05:54.101Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T05:06:12.606Z] provisioning config files... [2022-07-11T05:06:12.627Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config349326347487358891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:06:13.022Z] ---> docker-login.sh [2022-07-11T05:06:13.022Z] nexus3.edgexfoundry.org:10001 [2022-07-11T05:06:13.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:06:13.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:06:13.888Z] Configure a credential helper to remove this warning. See [2022-07-11T05:06:13.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:06:13.888Z] [2022-07-11T05:06:13.888Z] Login Succeeded [2022-07-11T05:06:14.161Z] nexus3.edgexfoundry.org:10002 [2022-07-11T05:06:14.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:06:14.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:06:14.433Z] Configure a credential helper to remove this warning. See [2022-07-11T05:06:14.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:06:14.433Z] [2022-07-11T05:06:14.433Z] Login Succeeded [2022-07-11T05:06:14.433Z] nexus3.edgexfoundry.org:10003 [2022-07-11T05:06:15.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:06:15.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:06:15.031Z] Configure a credential helper to remove this warning. See [2022-07-11T05:06:15.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:06:15.031Z] [2022-07-11T05:06:15.031Z] Login Succeeded [2022-07-11T05:06:15.031Z] nexus3.edgexfoundry.org:10004 [2022-07-11T05:06:15.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:06:15.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:06:15.578Z] Configure a credential helper to remove this warning. See [2022-07-11T05:06:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:06:15.578Z] [2022-07-11T05:06:15.578Z] Login Succeeded [2022-07-11T05:06:15.578Z] docker.io [2022-07-11T05:06:15.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T05:06:16.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T05:06:16.122Z] Configure a credential helper to remove this warning. See [2022-07-11T05:06:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T05:06:16.122Z] [2022-07-11T05:06:16.122Z] Login Succeeded [2022-07-11T05:06:16.122Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T05:06:16.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T05:06:16.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T05:06:16.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T05:06:16.643Z] ========================================================= [2022-07-11T05:06:16.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T05:06:16.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:06:17.156Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T05:06:17.446Z] Sending build context to Docker daemon 3.148MB [2022-07-11T05:06:17.446Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T05:06:17.446Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-11T05:06:17.721Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T05:06:17.721Z] 9b3977197b4f: Pulling fs layer [2022-07-11T05:06:17.721Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T05:06:17.721Z] 94645a83ff95: Pulling fs layer [2022-07-11T05:06:17.721Z] e6fb740bc735: Pulling fs layer [2022-07-11T05:06:17.721Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T05:06:17.721Z] 355e64cbe906: Pulling fs layer [2022-07-11T05:06:17.721Z] 63ab81a10011: Pulling fs layer [2022-07-11T05:06:17.721Z] 555d1d1c4555: Pulling fs layer [2022-07-11T05:06:17.721Z] 7d9057610161: Pulling fs layer [2022-07-11T05:06:17.721Z] 3a77bd46dcc9: Waiting [2022-07-11T05:06:17.721Z] 355e64cbe906: Waiting [2022-07-11T05:06:17.721Z] 63ab81a10011: Waiting [2022-07-11T05:06:17.721Z] 555d1d1c4555: Waiting [2022-07-11T05:06:17.721Z] 7d9057610161: Waiting [2022-07-11T05:06:17.721Z] e6fb740bc735: Waiting [2022-07-11T05:06:17.721Z] 94645a83ff95: Verifying Checksum [2022-07-11T05:06:17.721Z] 94645a83ff95: Download complete [2022-07-11T05:06:17.721Z] 1a89e8eeedd5: Verifying Checksum [2022-07-11T05:06:17.721Z] 1a89e8eeedd5: Download complete [2022-07-11T05:06:17.721Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T05:06:17.721Z] 3a77bd46dcc9: Download complete [2022-07-11T05:06:17.721Z] 355e64cbe906: Verifying Checksum [2022-07-11T05:06:17.721Z] 355e64cbe906: Download complete [2022-07-11T05:06:17.721Z] 9b3977197b4f: Download complete [2022-07-11T05:06:17.721Z] 63ab81a10011: Download complete [2022-07-11T05:06:18.707Z] 9b3977197b4f: Pull complete [2022-07-11T05:06:18.707Z] 7d9057610161: Verifying Checksum [2022-07-11T05:06:18.707Z] 7d9057610161: Download complete [2022-07-11T05:06:18.983Z] 1a89e8eeedd5: Pull complete [2022-07-11T05:06:19.578Z] 94645a83ff95: Pull complete [2022-07-11T05:06:19.849Z] 555d1d1c4555: Verifying Checksum [2022-07-11T05:06:19.850Z] 555d1d1c4555: Download complete [2022-07-11T05:06:20.450Z] e6fb740bc735: Verifying Checksum [2022-07-11T05:06:20.450Z] e6fb740bc735: Download complete [2022-07-11T05:06:32.842Z] e6fb740bc735: Pull complete [2022-07-11T05:06:32.842Z] 3a77bd46dcc9: Pull complete [2022-07-11T05:06:32.842Z] 355e64cbe906: Pull complete [2022-07-11T05:06:32.842Z] 63ab81a10011: Pull complete [2022-07-11T05:06:39.580Z] 555d1d1c4555: Pull complete [2022-07-11T05:06:40.565Z] 7d9057610161: Pull complete [2022-07-11T05:06:40.839Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T05:06:40.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T05:06:40.839Z] ---> 819e984ddca1 [2022-07-11T05:06:40.839Z] Step 3/10 : ARG MAKE='make build' [2022-07-11T05:06:41.443Z] ---> Running in 5f1d377fc548 [2022-07-11T05:06:41.717Z] Removing intermediate container 5f1d377fc548 [2022-07-11T05:06:41.717Z] ---> ab24fb2b7943 [2022-07-11T05:06:41.717Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:06:41.717Z] ---> Running in 82e3d58bc965 [2022-07-11T05:06:43.726Z] Removing intermediate container 82e3d58bc965 [2022-07-11T05:06:43.726Z] ---> 764e6060c3bf [2022-07-11T05:06:43.726Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T05:06:43.726Z] ---> Running in c6796552e721 [2022-07-11T05:06:44.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T05:06:45.697Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T05:06:46.294Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T05:06:46.294Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-11T05:06:46.569Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T05:06:46.569Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T05:06:46.842Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-11T05:06:46.842Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-11T05:06:46.842Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-11T05:06:47.123Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-11T05:06:47.123Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T05:06:47.123Z] OK: 226 MiB in 60 packages [2022-07-11T05:06:49.769Z] Removing intermediate container c6796552e721 [2022-07-11T05:06:49.770Z] ---> 17bd777c721b [2022-07-11T05:06:49.770Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-11T05:06:49.770Z] ---> Running in c665c814e1e0 [2022-07-11T05:06:49.770Z] Removing intermediate container c665c814e1e0 [2022-07-11T05:06:49.770Z] ---> 716e89c8e09c [2022-07-11T05:06:49.770Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-11T05:06:50.369Z] ---> a6590c95a807 [2022-07-11T05:06:50.369Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T05:06:50.369Z] ---> Running in 7ce56fb8ba43 [2022-07-11T05:07:37.358Z] Removing intermediate container 7ce56fb8ba43 [2022-07-11T05:07:37.358Z] ---> 13a11f25713a [2022-07-11T05:07:37.358Z] Step 9/10 : COPY . . [2022-07-11T05:07:37.358Z] ---> cffd4fda4a16 [2022-07-11T05:07:37.358Z] Step 10/10 : RUN ${MAKE} [2022-07-11T05:07:37.358Z] ---> Running in 40a3450358b4 [2022-07-11T05:07:37.358Z] noop [2022-07-11T05:07:37.633Z] Removing intermediate container 40a3450358b4 [2022-07-11T05:07:37.633Z] ---> c6b491481da7 [2022-07-11T05:07:37.633Z] Successfully built c6b491481da7 [2022-07-11T05:07:37.633Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:07:38.121Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T05:07:38.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:07:38.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-17387 does not seem to be running inside a container [2022-07-11T05:07:38.540Z] $ 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-07-11T05:07:39.839Z] $ docker top 2fdbdce32c91a90e4fe5b844d1b6b2867b40fa79989164ef04563075fcbf442a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T05:07:40.782Z] + go version [2022-07-11T05:07:40.782Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T05:07:40.824Z] $ docker stop --time=1 2fdbdce32c91a90e4fe5b844d1b6b2867b40fa79989164ef04563075fcbf442a [2022-07-11T05:07:42.463Z] $ docker rm -f 2fdbdce32c91a90e4fe5b844d1b6b2867b40fa79989164ef04563075fcbf442a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:07:43.362Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T05:07:43.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:07:43.674Z] prd-ubuntu20.04-docker-arm64-4c-16g-17387 does not seem to be running inside a container [2022-07-11T05:07:43.765Z] $ 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-07-11T05:07:45.031Z] $ docker top a57f599fddca88e44310de3317265f858c99b3abd21b3b3add74b8fb3626a809 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T05:07:46.010Z] + make test [2022-07-11T05:07:46.010Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T05:07:47.448Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-11T05:09:09.301Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-11T05:09:09.301Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements [2022-07-11T05:09:09.301Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T05:09:09.301Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T05:09:41.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T05:09:41.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T05:09:41.694Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T05:09:41.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T05:09:41.781Z] $ docker stop --time=1 a57f599fddca88e44310de3317265f858c99b3abd21b3b3add74b8fb3626a809 [2022-07-11T05:09:43.617Z] $ docker rm -f a57f599fddca88e44310de3317265f858c99b3abd21b3b3add74b8fb3626a809 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T05:09:44.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T05:09:44.728Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T05:09:45.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T05:09:45.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T05:09:46.218Z] + ls -al . [2022-07-11T05:09:46.218Z] total 180 [2022-07-11T05:09:46.218Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 05:09 . [2022-07-11T05:09:46.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 05:05 .. [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 05:05 .dockerignore [2022-07-11T05:09:46.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 05:05 .git [2022-07-11T05:09:46.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:05 .github [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 11 05:05 .gitignore [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 05:05 .golangci.yml [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 11 05:05 Attribution.txt [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 11 05:05 CHANGELOG.md [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 11 05:05 Dockerfile [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 05:05 GOVERNANCE.md [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 05:05 Jenkinsfile [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 05:05 LICENSE [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 11 05:05 Makefile [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 11 05:05 OWNERS.md [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 11 05:05 README.md [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 05:03 VERSION [2022-07-11T05:09:46.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 05:05 bin [2022-07-11T05:09:46.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:05 cmd [2022-07-11T05:09:46.218Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 11 05:09 coverage.out [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 11 05:05 go.mod [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 36106 Jul 11 05:05 go.sum [2022-07-11T05:09:46.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 05:05 internal [2022-07-11T05:09:46.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 05:05 simulator [2022-07-11T05:09:46.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 05:05 snap [2022-07-11T05:09:46.218Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 11 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:09:46.653Z] + 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=470ec608f475979ccd33d67c36fb1b94bacfc32d --label arch=arm64 --label version=0.0.0 . [2022-07-11T05:09:46.926Z] Sending build context to Docker daemon 3.173MB [2022-07-11T05:09:46.926Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T05:09:46.926Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-11T05:09:47.200Z] ---> c6b491481da7 [2022-07-11T05:09:47.200Z] Step 3/23 : ARG MAKE='make build' [2022-07-11T05:09:47.200Z] ---> Running in fef20744c6ad [2022-07-11T05:09:47.474Z] Removing intermediate container fef20744c6ad [2022-07-11T05:09:47.474Z] ---> d142d7b36154 [2022-07-11T05:09:47.474Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:09:47.474Z] ---> Running in 78617f0c04aa [2022-07-11T05:09:49.481Z] Removing intermediate container 78617f0c04aa [2022-07-11T05:09:49.481Z] ---> d5450bcd8f3d [2022-07-11T05:09:49.481Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T05:09:49.481Z] ---> Running in e96d06434c65 [2022-07-11T05:09:50.463Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T05:09:51.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T05:09:52.424Z] OK: 226 MiB in 60 packages [2022-07-11T05:09:53.411Z] Removing intermediate container e96d06434c65 [2022-07-11T05:09:53.411Z] ---> df06b6fa3485 [2022-07-11T05:09:53.411Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-11T05:09:53.411Z] ---> Running in b51bd1bd4a55 [2022-07-11T05:09:53.686Z] Removing intermediate container b51bd1bd4a55 [2022-07-11T05:09:53.686Z] ---> 29b24cbaa3e2 [2022-07-11T05:09:53.686Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-11T05:09:54.285Z] ---> 105a92be90c5 [2022-07-11T05:09:54.285Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T05:09:54.285Z] ---> Running in 40160f872aa7 [2022-07-11T05:09:56.268Z] Removing intermediate container 40160f872aa7 [2022-07-11T05:09:56.268Z] ---> 8fce452c42bd [2022-07-11T05:09:56.268Z] Step 9/23 : COPY . . [2022-07-11T05:09:57.260Z] ---> 2c84994b8e21 [2022-07-11T05:09:57.260Z] Step 10/23 : RUN ${MAKE} [2022-07-11T05:09:57.260Z] ---> Running in f1ce15439f7d [2022-07-11T05:09:58.243Z] 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-07-11T05:12:05.171Z] Removing intermediate container f1ce15439f7d [2022-07-11T05:12:05.171Z] ---> 91055874945f [2022-07-11T05:12:05.171Z] Step 11/23 : FROM alpine:3.14 [2022-07-11T05:12:05.171Z] 3.14: Pulling from library/alpine [2022-07-11T05:12:05.171Z] 455c02918c45: Pulling fs layer [2022-07-11T05:12:05.171Z] 455c02918c45: Verifying Checksum [2022-07-11T05:12:05.171Z] 455c02918c45: Download complete [2022-07-11T05:12:05.172Z] 455c02918c45: Pull complete [2022-07-11T05:12:05.172Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T05:12:05.172Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T05:12:05.172Z] ---> ac73e934f311 [2022-07-11T05:12:05.172Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-11T05:12:05.172Z] ---> Running in 8802bd05c19f [2022-07-11T05:12:05.172Z] Removing intermediate container 8802bd05c19f [2022-07-11T05:12:05.172Z] ---> ec9f713eff0d [2022-07-11T05:12:05.172Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T05:12:05.172Z] ---> Running in a3fa4fcfdd67 [2022-07-11T05:12:07.158Z] Removing intermediate container a3fa4fcfdd67 [2022-07-11T05:12:07.158Z] ---> f26d4f03df63 [2022-07-11T05:12:07.158Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T05:12:07.158Z] ---> Running in 80d73272d109 [2022-07-11T05:12:08.142Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-11T05:12:09.127Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-11T05:12:09.724Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T05:12:09.997Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T05:12:09.997Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T05:12:10.272Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T05:12:10.272Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T05:12:10.272Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T05:12:10.547Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T05:12:10.547Z] OK: 8 MiB in 20 packages [2022-07-11T05:12:11.540Z] Removing intermediate container 80d73272d109 [2022-07-11T05:12:11.541Z] ---> c25dd65c6360 [2022-07-11T05:12:11.541Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-11T05:12:12.981Z] ---> 81832db4e2b6 [2022-07-11T05:12:12.981Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-11T05:12:13.588Z] ---> cfad7e81acfd [2022-07-11T05:12:13.588Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-11T05:12:14.189Z] ---> 6add43832e37 [2022-07-11T05:12:14.189Z] Step 18/23 : EXPOSE 59901 [2022-07-11T05:12:14.189Z] ---> Running in 87c1226977e1 [2022-07-11T05:12:14.465Z] Removing intermediate container 87c1226977e1 [2022-07-11T05:12:14.465Z] ---> af7ff94a65f7 [2022-07-11T05:12:14.465Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-11T05:12:14.741Z] ---> Running in d5a9d0815b47 [2022-07-11T05:12:15.016Z] Removing intermediate container d5a9d0815b47 [2022-07-11T05:12:15.016Z] ---> fef05a177fe1 [2022-07-11T05:12:15.016Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T05:12:15.016Z] ---> Running in d270139fcd48 [2022-07-11T05:12:15.305Z] Removing intermediate container d270139fcd48 [2022-07-11T05:12:15.305Z] ---> 8a0fc8c64d97 [2022-07-11T05:12:15.305Z] Step 21/23 : LABEL arch=arm64 [2022-07-11T05:12:15.305Z] ---> Running in 3ec801738ff4 [2022-07-11T05:12:15.912Z] Removing intermediate container 3ec801738ff4 [2022-07-11T05:12:15.912Z] ---> 8a26aca775aa [2022-07-11T05:12:15.912Z] Step 22/23 : LABEL git_sha=470ec608f475979ccd33d67c36fb1b94bacfc32d [2022-07-11T05:12:15.912Z] ---> Running in c889d4bbef21 [2022-07-11T05:12:16.187Z] Removing intermediate container c889d4bbef21 [2022-07-11T05:12:16.187Z] ---> dd7527057479 [2022-07-11T05:12:16.187Z] Step 23/23 : LABEL version=0.0.0 [2022-07-11T05:12:16.187Z] ---> Running in 350f1eda85a2 [2022-07-11T05:12:16.461Z] Removing intermediate container 350f1eda85a2 [2022-07-11T05:12:16.461Z] ---> c5fb12d11be4 [2022-07-11T05:12:16.461Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T05:12:16.461Z] Successfully built c5fb12d11be4 [2022-07-11T05:12:16.461Z] 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-07-11T05:12:17.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T05:12:17.288Z] [2022-07-11T05:12:17.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:12:17.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T05:12:17.989Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T05:12:17.989Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T05:12:17.989Z] 04944245beec: Pulling fs layer [2022-07-11T05:12:17.989Z] 699f458cf7ca: Pulling fs layer [2022-07-11T05:12:17.989Z] 765212b225bb: Pulling fs layer [2022-07-11T05:12:17.989Z] f23df028b6ca: Pulling fs layer [2022-07-11T05:12:17.989Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T05:12:17.989Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T05:12:17.989Z] 765212b225bb: Waiting [2022-07-11T05:12:17.989Z] 2437ff75d9bd: Waiting [2022-07-11T05:12:17.989Z] f23df028b6ca: Waiting [2022-07-11T05:12:17.989Z] d65c8cfc05b1: Waiting [2022-07-11T05:12:17.989Z] 04944245beec: Verifying Checksum [2022-07-11T05:12:17.989Z] 04944245beec: Download complete [2022-07-11T05:12:17.989Z] 765212b225bb: Verifying Checksum [2022-07-11T05:12:17.989Z] 765212b225bb: Download complete [2022-07-11T05:12:17.989Z] f23df028b6ca: Download complete [2022-07-11T05:12:17.989Z] d65c8cfc05b1: Download complete [2022-07-11T05:12:18.272Z] 699f458cf7ca: Verifying Checksum [2022-07-11T05:12:18.272Z] 699f458cf7ca: Download complete [2022-07-11T05:12:18.549Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T05:12:18.549Z] 8998bd30e6a1: Download complete [2022-07-11T05:12:21.192Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T05:12:21.192Z] 2437ff75d9bd: Download complete [2022-07-11T05:12:23.180Z] 8998bd30e6a1: Pull complete [2022-07-11T05:12:23.457Z] 04944245beec: Pull complete [2022-07-11T05:12:24.905Z] 699f458cf7ca: Pull complete [2022-07-11T05:12:25.181Z] 765212b225bb: Pull complete [2022-07-11T05:12:26.170Z] f23df028b6ca: Pull complete [2022-07-11T05:12:26.170Z] d65c8cfc05b1: Pull complete [2022-07-11T05:12:41.289Z] 2437ff75d9bd: Pull complete [2022-07-11T05:12:41.289Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T05:12:41.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T05:12:41.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:12:41.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-17387 does not seem to be running inside a container [2022-07-11T05:12:41.793Z] $ 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-07-11T05:12:44.368Z] $ docker top bf49c2e0c0126e790ef9a96f7f9e8a539d0694ed444073685b17cf75949aabe0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:45.307Z] ---> job-cost.sh [2022-07-11T05:12:45.307Z] lf-activate-venv: SKIPPING [2022-07-11T05:12:45.307Z] INFO: No Stack... [2022-07-11T05:12:45.901Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T05:12:46.494Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T05:12:47.167Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-07-11T05:12:47.167Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T05:12:47.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [2022-07-11T05:12:47.253Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] did not exist. Created. [2022-07-11T05:12:47.254Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T05:12:47.995Z] /w/workspace/device-modbus-go/1@tmp/durable-22edb637/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T05:12:48.692Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T05:12:48.728Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T05:12:48.780Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T05:12:48.795Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-360-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T05:12:48.886Z] $ docker stop --time=1 bf49c2e0c0126e790ef9a96f7f9e8a539d0694ed444073685b17cf75949aabe0 [2022-07-11T05:12:50.379Z] $ docker rm -f bf49c2e0c0126e790ef9a96f7f9e8a539d0694ed444073685b17cf75949aabe0 [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-07-11T05:12:51.369Z] provisioning config files... [2022-07-11T05:12:51.379Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/config5199859150599758534tmp [Pipeline] { [Pipeline] sh [2022-07-11T05:12:51.718Z] + set +x [2022-07-11T05:12:51.718Z] + curl -s https://codecov.io/bash [2022-07-11T05:12:51.718Z] + bash -s -- [2022-07-11T05:12:51.718Z] [2022-07-11T05:12:51.718Z] _____ _ [2022-07-11T05:12:51.718Z] / ____| | | [2022-07-11T05:12:51.718Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T05:12:51.718Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T05:12:51.718Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T05:12:51.718Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T05:12:51.718Z] Bash-1.0.6 [2022-07-11T05:12:51.718Z] [2022-07-11T05:12:51.718Z] [2022-07-11T05:12:51.718Z] ==> git version 2.25.1 found [2022-07-11T05:12:51.718Z] ==> 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-07-11T05:12:51.718Z] Release-Date: 2020-01-08 [2022-07-11T05:12:51.718Z] 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-07-11T05:12:51.718Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T05:12:51.718Z] ==> Jenkins CI detected. [2022-07-11T05:12:51.718Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-360 [2022-07-11T05:12:51.718Z] project root: . [2022-07-11T05:12:51.718Z] --> token set from env [2022-07-11T05:12:51.718Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T05:12:51.718Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T05:12:51.718Z] ==> Python coveragepy not found [2022-07-11T05:12:51.718Z] ==> Searching for coverage reports in: [2022-07-11T05:12:51.718Z] + . [2022-07-11T05:12:51.980Z] -> Found 1 reports [2022-07-11T05:12:51.980Z] ==> Detecting git/mercurial file structure [2022-07-11T05:12:51.980Z] ==> Reading reports [2022-07-11T05:12:51.980Z] + ./coverage.out bytes=24065 [2022-07-11T05:12:51.980Z] ==> Appending adjustments [2022-07-11T05:12:51.980Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T05:12:51.980Z] + Found adjustments [2022-07-11T05:12:51.980Z] ==> Gzipping contents [2022-07-11T05:12:51.980Z] 4.0K /tmp/codecov.sM9Kex.gz [2022-07-11T05:12:51.980Z] ==> Uploading reports [2022-07-11T05:12:51.980Z] url: https://codecov.io [2022-07-11T05:12:51.980Z] query: branch=PR-360&commit=470ec608f475979ccd33d67c36fb1b94bacfc32d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=360&job=&cmd_args= [2022-07-11T05:12:51.980Z] -> Pinging Codecov [2022-07-11T05:12:51.980Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-360&commit=470ec608f475979ccd33d67c36fb1b94bacfc32d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=360&job=&cmd_args= [2022-07-11T05:12:52.242Z] -> Uploading to [2022-07-11T05:12:52.242Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/55DBCA73C666E3227836607328DD7E49/470ec608f475979ccd33d67c36fb1b94bacfc32d/300c691d-48e6-493a-976c-ef2a4f4c2db3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T051252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=186e19fd5c6578c5cd1f8b0e2d1360da4a3c1404131004dedbaed7e9ba33171c [2022-07-11T05:12:52.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T05:12:52.242Z] Dload Upload Total Spent Left Speed [2022-07-11T05:12:52.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 17205 --:--:-- --:--:-- --:--:-- 17131 100 4026 0 0 100 4026 0 17205 --:--:-- --:--:-- --:--:-- 17131 [2022-07-11T05:12:52.503Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/470ec608f475979ccd33d67c36fb1b94bacfc32d [Pipeline] } [2022-07-11T05:12:52.532Z] 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-07-11T05:12:54.178Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-360/archives ] [2022-07-11T05:12:54.178Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-360/archives [2022-07-11T05:12:54.178Z] total 16 [2022-07-11T05:12:54.178Z] drwxr-xr-x 3 root root 4096 Jul 11 05:05 . [2022-07-11T05:12:54.178Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 05:05 .. [2022-07-11T05:12:54.178Z] drwxr-xr-x 2 root root 4096 Jul 11 05:05 cost [2022-07-11T05:12:54.178Z] -rw-r--r-- 1 root root 87 Jul 11 05:05 cost.csv [2022-07-11T05:12:54.178Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-360/archives [2022-07-11T05:12:54.178Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-360/archives [2022-07-11T05:12:54.178Z] total 16 [2022-07-11T05:12:54.178Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 05:05 . [2022-07-11T05:12:54.178Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 05:05 .. [2022-07-11T05:12:54.178Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 05:05 cost [2022-07-11T05:12:54.178Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 11 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:54.508Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:55.404Z] ---> package-listing.sh [2022-07-11T05:12:55.404Z] ++ facter osfamily [2022-07-11T05:12:55.404Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T05:12:55.665Z] + OS_FAMILY=debian [2022-07-11T05:12:55.665Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-360 [2022-07-11T05:12:55.665Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T05:12:55.665Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T05:12:55.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T05:12:55.665Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T05:12:55.665Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-360 ']' [2022-07-11T05:12:55.665Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T05:12:55.665Z] + case "${OS_FAMILY}" in [2022-07-11T05:12:55.665Z] + dpkg -l [2022-07-11T05:12:55.665Z] + grep '^ii' [2022-07-11T05:12:55.665Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T05:12:55.665Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T05:12:55.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T05:12:55.665Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-360 ']' [2022-07-11T05:12:55.665Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-360/archives/ [2022-07-11T05:12:55.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-360/archives/ [Pipeline] echo [2022-07-11T05:12:55.698Z] 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-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T05:12:55.991Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T05:12:56.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T05:12:56.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T05:12:56.793Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2022-07-11T05:12:56.837Z] $ 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-360/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-360 -v /w/workspace/xfoundry_device-modbus-go_PR-360:/w/workspace/xfoundry_device-modbus-go_PR-360:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-360@tmp:/w/workspace/xfoundry_device-modbus-go_PR-360@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-07-11T05:12:57.054Z] $ docker top 0069cdbdc274a9d0e55ee14088c7cb9c4212d901a7b7cab59227c3dd0a0ad2d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T05:12:57.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T05:12:57.785Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T05:12:58.104Z] + ls /var/log/sa-host [2022-07-11T05:12:58.104Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T05:12:58.285Z] provisioning config files... [2022-07-11T05:12:58.295Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-360@tmp/config5685719688050492980tmp [Pipeline] { [Pipeline] echo [2022-07-11T05:12:58.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:58.673Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T05:12:58.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:59.120Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T05:12:59.153Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:59.469Z] ---> sudo-logs.sh [2022-07-11T05:12:59.469Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T05:12:59.553Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:12:59.870Z] ---> job-cost.sh [2022-07-11T05:12:59.870Z] lf-activate-venv: SKIPPING [2022-07-11T05:12:59.870Z] DEBUG: total: 0.2199999988079071 [2022-07-11T05:12:59.870Z] INFO: Retrieving Stack Cost... [2022-07-11T05:13:00.442Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T05:13:00.702Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T05:13:00.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T05:13:01.056Z] ---> logs-deploy.sh [2022-07-11T05:13:01.056Z] lf-activate-venv: SKIPPING [2022-07-11T05:13:01.056Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-360/1 [2022-07-11T05:13:01.056Z] INFO: archiving workspace using pattern(s): [2022-07-11T05:13:02.001Z] Archives upload complete. [2022-07-11T05:13:02.263Z] INFO: archiving logs to Nexus