Pull request #352 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1abeae38e887ff13cc6928578f959dcb4ab1b53f+20ae4d4bf545de990beb7ae1865291efdf0a2142 (62aceda02ffab532c26581fc4b1ebe3bdf232f38) 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-ssh2020043889435941755.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-ssh11002472160097652027.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-352/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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8464120723758616026.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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2629899897134968748.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-ssh4437884701487737968.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-352/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-352/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5019676528712318995.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-2318 in /w/workspace/xfoundry_device-modbus-go_PR-352 [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-352 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 20ae4d4bf545de990beb7ae1865291efdf0a2142 into PR head commit 1abeae38e887ff13cc6928578f959dcb4ab1b53f Merge succeeded, producing 1abeae38e887ff13cc6928578f959dcb4ab1b53f Checking out Revision 1abeae38e887ff13cc6928578f959dcb4ab1b53f (PR-352) > git config core.sparsecheckout # timeout=10 > git checkout -f 1abeae38e887ff13cc6928578f959dcb4ab1b53f # 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 20ae4d4bf545de990beb7ae1865291efdf0a2142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1abeae38e887ff13cc6928578f959dcb4ab1b53f # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2" 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-06-13T05:04:55.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T05:04:55.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T05:04:55.741Z] ========================================================= [2022-06-13T05:04:55.741Z] EdgeX Global Pipelines Version Info [2022-06-13T05:04:55.741Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:04:56.517Z] ------------------- [2022-06-13T05:04:56.517Z] stable info: [2022-06-13T05:04:56.517Z] ------------------- [2022-06-13T05:04:56.517Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T05:04:56.517Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T05:04:56.517Z] Message: update stable to v1.0.234 [2022-06-13T05:04:57.094Z] ------------------- [2022-06-13T05:04:57.094Z] experimental info: [2022-06-13T05:04:57.094Z] ------------------- [2022-06-13T05:04:57.094Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T05:04:57.094Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T05:04:57.094Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T05:04:57.523Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-13T05:04:57.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-13T05:04:57.607Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T05:04:57.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T05:04:57.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T05:04:57.734Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T05:04:57.781Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T05:04:57.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T05:04:57.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T05:04:57.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T05:04:57.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T05:04:57.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-13T05:04:58.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T05:04:58.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T05:04:58.115Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T05:04:58.155Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T05:04:58.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T05:04:58.244Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T05:04:58.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T05:04:58.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T05:04:58.372Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T05:04:58.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T05:04:58.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T05:04:58.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T05:04:58.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T05:04:58.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T05:04:58.603Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T05:04:58.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo [2022-06-13T05:04:58.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo [2022-06-13T05:04:58.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo [2022-06-13T05:04:58.768Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1abeae38e887ff13cc6928578f959dcb4ab1b53f [Pipeline] echo [2022-06-13T05:04:58.807Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1abeae3 [Pipeline] echo [2022-06-13T05:04:58.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T05:04:58.964Z] provisioning config files... [2022-06-13T05:04:58.978Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/config2673726092905307756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:04:59.323Z] ---> docker-login.sh [2022-06-13T05:04:59.323Z] nexus3.edgexfoundry.org:10001 [2022-06-13T05:04:59.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:04:59.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:04:59.584Z] Configure a credential helper to remove this warning. See [2022-06-13T05:04:59.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:04:59.584Z] [2022-06-13T05:04:59.584Z] Login Succeeded [2022-06-13T05:04:59.584Z] nexus3.edgexfoundry.org:10002 [2022-06-13T05:04:59.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:04:59.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:04:59.844Z] Configure a credential helper to remove this warning. See [2022-06-13T05:04:59.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:04:59.844Z] [2022-06-13T05:04:59.844Z] Login Succeeded [2022-06-13T05:04:59.844Z] nexus3.edgexfoundry.org:10003 [2022-06-13T05:04:59.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:04:59.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:04:59.844Z] Configure a credential helper to remove this warning. See [2022-06-13T05:04:59.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:04:59.844Z] [2022-06-13T05:04:59.844Z] Login Succeeded [2022-06-13T05:04:59.844Z] nexus3.edgexfoundry.org:10004 [2022-06-13T05:05:00.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:00.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:00.105Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:00.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:00.105Z] [2022-06-13T05:05:00.105Z] Login Succeeded [2022-06-13T05:05:00.105Z] docker.io [2022-06-13T05:05:00.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:00.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:00.674Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:00.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:00.674Z] [2022-06-13T05:05:00.674Z] Login Succeeded [2022-06-13T05:05:00.674Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T05:05:00.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T05:05:01.338Z] + git rev-list -1 --merges 1abeae38e887ff13cc6928578f959dcb4ab1b53f~1..1abeae38e887ff13cc6928578f959dcb4ab1b53f [Pipeline] echo [2022-06-13T05:05:01.386Z] -----------> git rev-list -1 --merges 1abeae38e887ff13cc6928578f959dcb4ab1b53f~1..1abeae38e887ff13cc6928578f959dcb4ab1b53f 1abeae38e887ff13cc6928578f959dcb4ab1b53f [false] [Pipeline] sh [2022-06-13T05:05:01.702Z] + git log --format=format:%s -1 1abeae38e887ff13cc6928578f959dcb4ab1b53f [Pipeline] echo [2022-06-13T05:05:01.746Z] ========================================================= [2022-06-13T05:05:01.746Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T05:05:01.746Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T05:05:02.199Z] + git log --format=format:%s -1 1abeae38e887ff13cc6928578f959dcb4ab1b53f [Pipeline] echo [2022-06-13T05:05:02.232Z] [semverPrep] GIT_COMMIT: 1abeae38e887ff13cc6928578f959dcb4ab1b53f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo [2022-06-13T05:05:02.259Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T05:05:02.645Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T05:05:02.645Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T05:05:02.645Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T05:05:02.645Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T05:05:02.645Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-13T05:05:02.645Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-13T05:05:02.645Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:05:03.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T05:05:03.090Z] [2022-06-13T05:05:03.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:05:03.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T05:05:03.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T05:05:03.479Z] 42c077c10790: Pulling fs layer [2022-06-13T05:05:03.479Z] f63e77b7563a: Pulling fs layer [2022-06-13T05:05:03.479Z] bd5fdadae976: Pulling fs layer [2022-06-13T05:05:03.479Z] 205491f53016: Pulling fs layer [2022-06-13T05:05:03.479Z] df18705c85c3: Pulling fs layer [2022-06-13T05:05:03.479Z] bdb3f477010e: Pulling fs layer [2022-06-13T05:05:03.479Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T05:05:03.479Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T05:05:03.479Z] bdb8f0575790: Pulling fs layer [2022-06-13T05:05:03.479Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T05:05:03.479Z] 2343380bae48: Pulling fs layer [2022-06-13T05:05:03.479Z] df18705c85c3: Waiting [2022-06-13T05:05:03.479Z] bdb3f477010e: Waiting [2022-06-13T05:05:03.479Z] 386e3cb2ff24: Waiting [2022-06-13T05:05:03.479Z] 2343380bae48: Waiting [2022-06-13T05:05:03.479Z] c8a8fc8e1c8f: Waiting [2022-06-13T05:05:03.479Z] 2c6e9b1d212d: Waiting [2022-06-13T05:05:03.479Z] bdb8f0575790: Waiting [2022-06-13T05:05:03.479Z] 205491f53016: Waiting [2022-06-13T05:05:03.479Z] f63e77b7563a: Download complete [2022-06-13T05:05:03.479Z] 205491f53016: Download complete [2022-06-13T05:05:03.739Z] df18705c85c3: Verifying Checksum [2022-06-13T05:05:03.739Z] df18705c85c3: Download complete [2022-06-13T05:05:03.739Z] bd5fdadae976: Verifying Checksum [2022-06-13T05:05:03.739Z] bd5fdadae976: Download complete [2022-06-13T05:05:03.739Z] bdb3f477010e: Verifying Checksum [2022-06-13T05:05:03.739Z] bdb3f477010e: Download complete [2022-06-13T05:05:03.739Z] 2c6e9b1d212d: Download complete [2022-06-13T05:05:03.739Z] bdb8f0575790: Download complete [2022-06-13T05:05:03.739Z] 386e3cb2ff24: Verifying Checksum [2022-06-13T05:05:03.739Z] 386e3cb2ff24: Download complete [2022-06-13T05:05:03.739Z] 2343380bae48: Download complete [2022-06-13T05:05:03.739Z] 42c077c10790: Verifying Checksum [2022-06-13T05:05:03.739Z] 42c077c10790: Download complete [2022-06-13T05:05:04.005Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-13T05:05:04.006Z] c8a8fc8e1c8f: Download complete [2022-06-13T05:05:05.387Z] 42c077c10790: Pull complete [2022-06-13T05:05:05.387Z] f63e77b7563a: Pull complete [2022-06-13T05:05:05.959Z] bd5fdadae976: Pull complete [2022-06-13T05:05:05.959Z] 205491f53016: Pull complete [2022-06-13T05:05:06.219Z] df18705c85c3: Pull complete [2022-06-13T05:05:06.219Z] bdb3f477010e: Pull complete [2022-06-13T05:05:08.772Z] c8a8fc8e1c8f: Pull complete [2022-06-13T05:05:08.772Z] 2c6e9b1d212d: Pull complete [2022-06-13T05:05:08.772Z] bdb8f0575790: Pull complete [2022-06-13T05:05:08.772Z] 386e3cb2ff24: Pull complete [2022-06-13T05:05:08.772Z] 2343380bae48: Pull complete [2022-06-13T05:05:08.772Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T05:05:08.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T05:05:08.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:05:09.006Z] prd-ubuntu20.04-docker-8c-8g-2318 does not seem to be running inside a container [2022-06-13T05:05:09.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-352 -v /w/workspace/xfoundry_device-modbus-go_PR-352:/w/workspace/xfoundry_device-modbus-go_PR-352:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-352@tmp:/w/workspace/xfoundry_device-modbus-go_PR-352@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T05:05:10.310Z] $ docker top abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 -eo pid,comm [2022-06-13T05:05:10.384Z] 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-06-13T05:05:10.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T05:05:10.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T05:05:10.519Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T05:05:10.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T05:05:10.651Z] $ docker exec abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 ssh-agent [2022-06-13T05:05:10.778Z] SSH_AUTH_SOCK=/tmp/ssh-UgipoJ7I1rDu/agent.33 [2022-06-13T05:05:10.778Z] SSH_AGENT_PID=39 [2022-06-13T05:05:10.786Z] Running ssh-add (command line suppressed) [2022-06-13T05:05:10.918Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-352@tmp/private_key_4117764662834839085.key (/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/private_key_4117764662834839085.key) [2022-06-13T05:05:10.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T05:05:11.261Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T05:05:11.288Z] $ docker exec --env ******** --env ******** abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 ssh-agent -k [2022-06-13T05:05:11.395Z] unset SSH_AUTH_SOCK; [2022-06-13T05:05:11.395Z] unset SSH_AGENT_PID; [2022-06-13T05:05:11.395Z] echo Agent pid 39 killed; [2022-06-13T05:05:11.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T05:05:11.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T05:05:11.495Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T05:05:11.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T05:05:11.633Z] $ docker exec abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 ssh-agent [2022-06-13T05:05:11.756Z] SSH_AUTH_SOCK=/tmp/ssh-d8wE8juEUn6O/agent.72 [2022-06-13T05:05:11.756Z] SSH_AGENT_PID=78 [2022-06-13T05:05:11.762Z] Running ssh-add (command line suppressed) [2022-06-13T05:05:11.906Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-352@tmp/private_key_8971087035342525164.key (/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/private_key_8971087035342525164.key) [2022-06-13T05:05:11.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T05:05:12.258Z] + git semver init [2022-06-13T05:05:12.517Z] 2022-06-13 05:05:12,462 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T05:05:12.517Z] 2022-06-13 05:05:12,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-352/.semver [2022-06-13T05:05:12.517Z] 2022-06-13 05:05:12,463 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-352/.semver [2022-06-13T05:05:12.517Z] 2022-06-13 05:05:12,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-352/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-352, universal_newlines=False, shell=None, istream=None) [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,118 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-352/.git/info/exclude [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-352/.semver/PR-352 with force:False [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,119 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-352/.semver/PR-352 [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,124 [execute] INFO git cat-file --batch-check [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,132 [execute] INFO git cat-file --batch [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T05:05:13.457Z] 2022-06-13 05:05:13,139 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-352/.semver/PR-352 [2022-06-13T05:05:13.457Z] 0.0.0 [Pipeline] } [2022-06-13T05:05:13.485Z] $ docker exec --env ******** --env ******** abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 ssh-agent -k [2022-06-13T05:05:13.589Z] unset SSH_AUTH_SOCK; [2022-06-13T05:05:13.590Z] unset SSH_AGENT_PID; [2022-06-13T05:05:13.590Z] echo Agent pid 78 killed; [2022-06-13T05:05:13.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T05:05:14.027Z] + git semver [Pipeline] } [2022-06-13T05:05:14.628Z] $ docker stop --time=1 abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 [2022-06-13T05:05:15.912Z] $ docker rm -f abf6bcd8c61dfc78f2cddfba027e4bc4b1f58e9c2901bca4ce85ca8cfc1f6707 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T05:05:16.336Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T05:05:16.644Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T05:05:16.660Z] [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-06-13T05:05:17.231Z] provisioning config files... [2022-06-13T05:05:17.244Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/config6394869189996008145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:05:17.588Z] ---> docker-login.sh [2022-06-13T05:05:17.588Z] nexus3.edgexfoundry.org:10001 [2022-06-13T05:05:17.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:17.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:17.588Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:17.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:17.588Z] [2022-06-13T05:05:17.588Z] Login Succeeded [2022-06-13T05:05:17.588Z] nexus3.edgexfoundry.org:10002 [2022-06-13T05:05:17.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:17.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:17.850Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:17.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:17.850Z] [2022-06-13T05:05:17.850Z] Login Succeeded [2022-06-13T05:05:17.850Z] nexus3.edgexfoundry.org:10003 [2022-06-13T05:05:17.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:17.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:17.850Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:17.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:17.850Z] [2022-06-13T05:05:17.850Z] Login Succeeded [2022-06-13T05:05:17.850Z] nexus3.edgexfoundry.org:10004 [2022-06-13T05:05:18.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:18.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:18.112Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:18.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:18.112Z] [2022-06-13T05:05:18.112Z] Login Succeeded [2022-06-13T05:05:18.112Z] docker.io [2022-06-13T05:05:18.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:05:18.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:05:18.373Z] Configure a credential helper to remove this warning. See [2022-06-13T05:05:18.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:05:18.373Z] [2022-06-13T05:05:18.373Z] Login Succeeded [2022-06-13T05:05:18.373Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T05:05:18.404Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T05:05:18.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T05:05:18.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T05:05:18.658Z] ========================================================= [2022-06-13T05:05:18.658Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T05:05:18.658Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:05:19.119Z] + 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-06-13T05:05:19.119Z] Sending build context to Docker daemon 6.024MB [2022-06-13T05:05:19.119Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T05:05:19.119Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-13T05:05:19.119Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T05:05:19.119Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T05:05:19.119Z] 666ba61612fd: Pulling fs layer [2022-06-13T05:05:19.119Z] 8ed8ca486205: Pulling fs layer [2022-06-13T05:05:19.119Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T05:05:19.119Z] c516ae0d96e1: Pulling fs layer [2022-06-13T05:05:19.119Z] 684cea983483: Pulling fs layer [2022-06-13T05:05:19.119Z] dd3240ac7de5: Pulling fs layer [2022-06-13T05:05:19.119Z] b1e948a4e11c: Pulling fs layer [2022-06-13T05:05:19.119Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T05:05:19.119Z] 646ad004c059: Pulling fs layer [2022-06-13T05:05:19.119Z] 684cea983483: Waiting [2022-06-13T05:05:19.119Z] dd3240ac7de5: Waiting [2022-06-13T05:05:19.119Z] b1e948a4e11c: Waiting [2022-06-13T05:05:19.119Z] c516ae0d96e1: Waiting [2022-06-13T05:05:19.119Z] cc1cd167ecdc: Waiting [2022-06-13T05:05:19.119Z] a8fd76ee1af6: Waiting [2022-06-13T05:05:19.119Z] 646ad004c059: Waiting [2022-06-13T05:05:19.119Z] 8ed8ca486205: Download complete [2022-06-13T05:05:19.119Z] 666ba61612fd: Download complete [2022-06-13T05:05:19.119Z] c516ae0d96e1: Verifying Checksum [2022-06-13T05:05:19.119Z] c516ae0d96e1: Download complete [2022-06-13T05:05:19.378Z] 684cea983483: Verifying Checksum [2022-06-13T05:05:19.378Z] 684cea983483: Download complete [2022-06-13T05:05:19.378Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T05:05:19.378Z] dd3240ac7de5: Verifying Checksum [2022-06-13T05:05:19.378Z] dd3240ac7de5: Download complete [2022-06-13T05:05:19.378Z] b1e948a4e11c: Verifying Checksum [2022-06-13T05:05:19.378Z] b1e948a4e11c: Download complete [2022-06-13T05:05:19.378Z] 59bf1c3509f3: Pull complete [2022-06-13T05:05:19.640Z] 666ba61612fd: Pull complete [2022-06-13T05:05:19.641Z] 8ed8ca486205: Pull complete [2022-06-13T05:05:19.902Z] a8fd76ee1af6: Download complete [2022-06-13T05:05:19.902Z] 646ad004c059: Verifying Checksum [2022-06-13T05:05:19.902Z] 646ad004c059: Download complete [2022-06-13T05:05:20.161Z] cc1cd167ecdc: Download complete [2022-06-13T05:05:24.367Z] cc1cd167ecdc: Pull complete [2022-06-13T05:05:24.367Z] c516ae0d96e1: Pull complete [2022-06-13T05:05:24.367Z] 684cea983483: Pull complete [2022-06-13T05:05:24.367Z] dd3240ac7de5: Pull complete [2022-06-13T05:05:24.627Z] b1e948a4e11c: Pull complete [2022-06-13T05:05:27.173Z] a8fd76ee1af6: Pull complete [2022-06-13T05:05:27.742Z] 646ad004c059: Pull complete [2022-06-13T05:05:27.742Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T05:05:27.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T05:05:27.742Z] ---> 8f69c11f6b0c [2022-06-13T05:05:27.742Z] Step 3/10 : ARG MAKE='make build' [2022-06-13T05:05:29.125Z] ---> Running in caf34633c669 [2022-06-13T05:05:29.125Z] Removing intermediate container caf34633c669 [2022-06-13T05:05:29.125Z] ---> 9fd8e359cd08 [2022-06-13T05:05:29.125Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:05:29.125Z] ---> Running in 772d52d18b28 [2022-06-13T05:05:29.699Z] Removing intermediate container 772d52d18b28 [2022-06-13T05:05:29.699Z] ---> 50849cbc33c5 [2022-06-13T05:05:29.699Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-13T05:05:29.699Z] ---> Running in a7b47f9c0d77 [2022-06-13T05:05:29.958Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T05:05:31.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T05:05:31.340Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T05:05:31.602Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-13T05:05:31.602Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T05:05:31.862Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T05:05:31.862Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-13T05:05:32.051Z] Still waiting to schedule task [2022-06-13T05:05:32.051Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-13T05:05:32.122Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-13T05:05:32.122Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-13T05:05:32.122Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-13T05:05:32.383Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T05:05:32.383Z] OK: 226 MiB in 60 packages [2022-06-13T05:05:32.642Z] Removing intermediate container a7b47f9c0d77 [2022-06-13T05:05:32.642Z] ---> 78c2946f9b6f [2022-06-13T05:05:32.642Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-13T05:05:32.642Z] ---> Running in 1f18fc303eef [2022-06-13T05:05:32.904Z] Removing intermediate container 1f18fc303eef [2022-06-13T05:05:32.904Z] ---> b6ac02075479 [2022-06-13T05:05:32.904Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-13T05:05:32.904Z] ---> c3aab4589acc [2022-06-13T05:05:32.904Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T05:05:32.904Z] ---> Running in ab1dbe2e852b [2022-06-13T05:05:47.817Z] Removing intermediate container ab1dbe2e852b [2022-06-13T05:05:47.817Z] ---> 52ca99c73cb0 [2022-06-13T05:05:47.817Z] Step 9/10 : COPY . . [2022-06-13T05:05:47.817Z] ---> 3f412b3ce445 [2022-06-13T05:05:47.817Z] Step 10/10 : RUN ${MAKE} [2022-06-13T05:05:47.817Z] ---> Running in 8a536690e539 [2022-06-13T05:05:47.817Z] noop [2022-06-13T05:05:47.817Z] Removing intermediate container 8a536690e539 [2022-06-13T05:05:47.817Z] ---> c8326bb0b239 [2022-06-13T05:05:47.817Z] Successfully built c8326bb0b239 [2022-06-13T05:05:47.817Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:05:48.261Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T05:05:48.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:05:48.424Z] prd-ubuntu20.04-docker-8c-8g-2318 does not seem to be running inside a container [2022-06-13T05:05:48.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-352 -v /w/workspace/xfoundry_device-modbus-go_PR-352:/w/workspace/xfoundry_device-modbus-go_PR-352:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-352@tmp:/w/workspace/xfoundry_device-modbus-go_PR-352@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 ******** ci-base-image-x86_64 cat [2022-06-13T05:05:48.844Z] $ docker top 9bbb6e6526dd488d98ccef90b362eb10f40aac8f7392093f2bd9b29ed68735b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T05:05:49.293Z] + go version [2022-06-13T05:05:49.293Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T05:05:49.341Z] $ docker stop --time=1 9bbb6e6526dd488d98ccef90b362eb10f40aac8f7392093f2bd9b29ed68735b2 [2022-06-13T05:05:50.662Z] $ docker rm -f 9bbb6e6526dd488d98ccef90b362eb10f40aac8f7392093f2bd9b29ed68735b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:05:51.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T05:05:51.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:05:51.527Z] prd-ubuntu20.04-docker-8c-8g-2318 does not seem to be running inside a container [2022-06-13T05:05:51.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-352 -v /w/workspace/xfoundry_device-modbus-go_PR-352:/w/workspace/xfoundry_device-modbus-go_PR-352:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-352@tmp:/w/workspace/xfoundry_device-modbus-go_PR-352@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 ******** ci-base-image-x86_64 cat [2022-06-13T05:05:51.925Z] $ docker top 9b0a0dc0e895e5ed6f9c7c0b2ca6c67cdb272f29cabdda644b8d866ffb4c6ab6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T05:05:52.381Z] + make test [2022-06-13T05:05:52.381Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-13T05:05:52.951Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-13T05:06:02.951Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-13T05:06:02.951Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-06-13T05:06:11.087Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T05:06:15.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T05:06:15.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T05:06:15.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T05:06:15.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T05:06:15.359Z] $ docker stop --time=1 9b0a0dc0e895e5ed6f9c7c0b2ca6c67cdb272f29cabdda644b8d866ffb4c6ab6 [2022-06-13T05:06:17.013Z] $ docker rm -f 9b0a0dc0e895e5ed6f9c7c0b2ca6c67cdb272f29cabdda644b8d866ffb4c6ab6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T05:06:17.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T05:06:17.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-13T05:06:18.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T05:06:18.569Z] + ls -al . [2022-06-13T05:06:18.569Z] total 184 [2022-06-13T05:06:18.569Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 05:06 . [2022-06-13T05:06:18.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 05:04 .. [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 05:04 .dockerignore [2022-06-13T05:06:18.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 05:05 .git [2022-06-13T05:06:18.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:04 .github [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 13 05:04 .gitignore [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 05:04 .golangci.yml [2022-06-13T05:06:18.569Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 05:05 .semver [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 9510 Jun 13 05:04 Attribution.txt [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 13 05:04 CHANGELOG.md [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 13 05:04 Dockerfile [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 05:04 GOVERNANCE.md [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 13 05:04 Jenkinsfile [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 05:04 LICENSE [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 13 05:04 Makefile [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 13 05:04 OWNERS.md [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 13 05:04 README.md [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 05:05 VERSION [2022-06-13T05:06:18.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 05:04 bin [2022-06-13T05:06:18.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:04 cmd [2022-06-13T05:06:18.569Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 13 05:06 coverage.out [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 3325 Jun 13 05:04 go.mod [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 35489 Jun 13 05:04 go.sum [2022-06-13T05:06:18.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:04 internal [2022-06-13T05:06:18.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 05:04 simulator [2022-06-13T05:06:18.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 05:04 snap [2022-06-13T05:06:18.569Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 13 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:06:18.968Z] + 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=1abeae38e887ff13cc6928578f959dcb4ab1b53f --label arch=amd64 --label version=0.0.0 . [2022-06-13T05:06:18.968Z] Sending build context to Docker daemon 6.049MB [2022-06-13T05:06:18.968Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T05:06:18.968Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-13T05:06:18.968Z] ---> c8326bb0b239 [2022-06-13T05:06:18.968Z] Step 3/23 : ARG MAKE='make build' [2022-06-13T05:06:18.968Z] ---> Running in 2bfcb3532683 [2022-06-13T05:06:19.227Z] Removing intermediate container 2bfcb3532683 [2022-06-13T05:06:19.227Z] ---> 4b452e41c014 [2022-06-13T05:06:19.227Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:06:19.227Z] ---> Running in bbf3f9abc47f [2022-06-13T05:06:19.795Z] Removing intermediate container bbf3f9abc47f [2022-06-13T05:06:19.795Z] ---> 2be803c427b9 [2022-06-13T05:06:19.795Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-13T05:06:19.795Z] ---> Running in 66928083a0ed [2022-06-13T05:06:20.055Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T05:06:20.995Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T05:06:21.256Z] OK: 226 MiB in 60 packages [2022-06-13T05:06:21.516Z] Removing intermediate container 66928083a0ed [2022-06-13T05:06:21.516Z] ---> 040bf64cea70 [2022-06-13T05:06:21.516Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-13T05:06:21.516Z] ---> Running in 1040e504c04a [2022-06-13T05:06:21.777Z] Removing intermediate container 1040e504c04a [2022-06-13T05:06:21.777Z] ---> 0bbfc28b52db [2022-06-13T05:06:21.777Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-13T05:06:21.777Z] ---> 7c140f85cb5a [2022-06-13T05:06:21.777Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T05:06:21.777Z] ---> Running in d004d04fca05 [2022-06-13T05:06:22.725Z] Removing intermediate container d004d04fca05 [2022-06-13T05:06:22.725Z] ---> 1c8bc71c88db [2022-06-13T05:06:22.725Z] Step 9/23 : COPY . . [2022-06-13T05:06:22.725Z] ---> 06f4d95d0c1e [2022-06-13T05:06:22.725Z] Step 10/23 : RUN ${MAKE} [2022-06-13T05:06:22.985Z] ---> Running in 9ac37f08589c [2022-06-13T05:06:23.245Z] 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-06-13T05:06:45.194Z] Removing intermediate container 9ac37f08589c [2022-06-13T05:06:45.194Z] ---> 8bd6e33f55d4 [2022-06-13T05:06:45.194Z] Step 11/23 : FROM alpine:3.14 [2022-06-13T05:06:45.194Z] 3.14: Pulling from library/alpine [2022-06-13T05:06:45.194Z] 8663204ce13b: Pulling fs layer [2022-06-13T05:06:45.194Z] 8663204ce13b: Verifying Checksum [2022-06-13T05:06:45.194Z] 8663204ce13b: Pull complete [2022-06-13T05:06:45.194Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T05:06:45.194Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T05:06:45.194Z] ---> e04c818066af [2022-06-13T05:06:45.194Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-13T05:06:45.194Z] ---> Running in 2dfbf103155d [2022-06-13T05:06:45.194Z] Removing intermediate container 2dfbf103155d [2022-06-13T05:06:45.194Z] ---> bd2f839448af [2022-06-13T05:06:45.194Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:06:45.194Z] ---> Running in b95e813b9a76 [2022-06-13T05:06:45.194Z] Removing intermediate container b95e813b9a76 [2022-06-13T05:06:45.194Z] ---> 48bd70028f25 [2022-06-13T05:06:45.194Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T05:06:45.194Z] ---> Running in 2adef2aa7230 [2022-06-13T05:06:45.194Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-13T05:06:46.138Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-13T05:06:46.397Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T05:06:46.397Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T05:06:46.657Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T05:06:46.657Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T05:06:46.657Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T05:06:46.917Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T05:06:46.917Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T05:06:46.917Z] OK: 8 MiB in 20 packages [2022-06-13T05:06:47.485Z] Removing intermediate container 2adef2aa7230 [2022-06-13T05:06:47.485Z] ---> 6f86d2fa8bda [2022-06-13T05:06:47.485Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-13T05:06:47.745Z] ---> a34bf0690bdd [2022-06-13T05:06:47.745Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-13T05:06:48.005Z] ---> 8bcadcdb0f42 [2022-06-13T05:06:48.005Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-13T05:06:48.005Z] ---> 693fb1e7b051 [2022-06-13T05:06:48.005Z] Step 18/23 : EXPOSE 59901 [2022-06-13T05:06:48.268Z] ---> Running in 7b69acd6aa38 [2022-06-13T05:06:48.268Z] Removing intermediate container 7b69acd6aa38 [2022-06-13T05:06:48.268Z] ---> 5f38408af85b [2022-06-13T05:06:48.268Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-13T05:06:48.268Z] ---> Running in 1d4f2a03c125 [2022-06-13T05:06:48.268Z] Removing intermediate container 1d4f2a03c125 [2022-06-13T05:06:48.268Z] ---> 047f0cd5dd72 [2022-06-13T05:06:48.268Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T05:06:48.268Z] ---> Running in 6715c1c2b7c1 [2022-06-13T05:06:48.528Z] Removing intermediate container 6715c1c2b7c1 [2022-06-13T05:06:48.528Z] ---> f4809d8b6f38 [2022-06-13T05:06:48.528Z] Step 21/23 : LABEL arch=amd64 [2022-06-13T05:06:48.528Z] ---> Running in d1eec4644762 [2022-06-13T05:06:48.528Z] Removing intermediate container d1eec4644762 [2022-06-13T05:06:48.528Z] ---> 2db9b861d426 [2022-06-13T05:06:48.528Z] Step 22/23 : LABEL git_sha=1abeae38e887ff13cc6928578f959dcb4ab1b53f [2022-06-13T05:06:48.528Z] ---> Running in 8df40acdc437 [2022-06-13T05:06:48.789Z] Removing intermediate container 8df40acdc437 [2022-06-13T05:06:48.789Z] ---> 16d13f792ad3 [2022-06-13T05:06:48.789Z] Step 23/23 : LABEL version=0.0.0 [2022-06-13T05:06:48.789Z] ---> Running in 5c72f4b384c2 [2022-06-13T05:06:48.789Z] Removing intermediate container 5c72f4b384c2 [2022-06-13T05:06:48.789Z] ---> f11053d63a74 [2022-06-13T05:06:48.789Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T05:06:48.789Z] Successfully built f11053d63a74 [2022-06-13T05:06:48.789Z] 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-06-13T05:06:49.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T05:06:49.632Z] [2022-06-13T05:06:49.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:06:50.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T05:06:50.005Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T05:06:50.005Z] 5eb5b503b376: Pulling fs layer [2022-06-13T05:06:50.005Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T05:06:50.005Z] ec43610c2a17: Pulling fs layer [2022-06-13T05:06:50.005Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T05:06:50.005Z] 33b1e0a273af: Pulling fs layer [2022-06-13T05:06:50.005Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T05:06:50.005Z] 3a2ae6a8a46f: Waiting [2022-06-13T05:06:50.005Z] 33b1e0a273af: Waiting [2022-06-13T05:06:50.005Z] 2f39f015ded8: Pulling fs layer [2022-06-13T05:06:50.005Z] 2f39f015ded8: Waiting [2022-06-13T05:06:50.005Z] 5d3b04190fa2: Waiting [2022-06-13T05:06:50.005Z] 5c69ac0246d0: Verifying Checksum [2022-06-13T05:06:50.005Z] 5c69ac0246d0: Download complete [2022-06-13T05:06:50.005Z] 3a2ae6a8a46f: Download complete [2022-06-13T05:06:50.005Z] 33b1e0a273af: Verifying Checksum [2022-06-13T05:06:50.005Z] 33b1e0a273af: Download complete [2022-06-13T05:06:50.005Z] ec43610c2a17: Verifying Checksum [2022-06-13T05:06:50.005Z] ec43610c2a17: Download complete [2022-06-13T05:06:50.005Z] 5d3b04190fa2: Verifying Checksum [2022-06-13T05:06:50.005Z] 5d3b04190fa2: Download complete [2022-06-13T05:06:50.263Z] 5eb5b503b376: Verifying Checksum [2022-06-13T05:06:50.263Z] 5eb5b503b376: Download complete [2022-06-13T05:06:50.832Z] 2f39f015ded8: Download complete [2022-06-13T05:06:51.402Z] 5eb5b503b376: Pull complete [2022-06-13T05:06:51.661Z] 5c69ac0246d0: Pull complete [2022-06-13T05:06:52.228Z] ec43610c2a17: Pull complete [2022-06-13T05:06:52.228Z] 3a2ae6a8a46f: Pull complete [2022-06-13T05:06:52.488Z] 33b1e0a273af: Pull complete [2022-06-13T05:06:52.488Z] 5d3b04190fa2: Pull complete [2022-06-13T05:06:57.768Z] 2f39f015ded8: Pull complete [2022-06-13T05:06:57.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T05:06:57.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T05:06:57.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:06:58.002Z] prd-ubuntu20.04-docker-8c-8g-2318 does not seem to be running inside a container [2022-06-13T05:06:58.038Z] $ 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-352 -v /w/workspace/xfoundry_device-modbus-go_PR-352:/w/workspace/xfoundry_device-modbus-go_PR-352:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-352@tmp:/w/workspace/xfoundry_device-modbus-go_PR-352@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-06-13T05:06:59.460Z] $ docker top b58dbbb8edadc646ff1eaa64b0607b4146106fadffff3d5469e1ab1286042984 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:06:59.956Z] ---> job-cost.sh [2022-06-13T05:06:59.956Z] lf-activate-venv: SKIPPING [2022-06-13T05:06:59.956Z] INFO: No Stack... [2022-06-13T05:07:00.270Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T05:07:00.837Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T05:07:01.152Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-352/archives/cost.csv [2022-06-13T05:07:01.152Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T05:07:01.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [2022-06-13T05:07:01.196Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] did not exist. Created. [2022-06-13T05:07:01.196Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T05:07:01.638Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T05:07:01.682Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T05:07:01.712Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T05:07:01.790Z] $ docker stop --time=1 b58dbbb8edadc646ff1eaa64b0607b4146106fadffff3d5469e1ab1286042984 [2022-06-13T05:07:02.953Z] $ docker rm -f b58dbbb8edadc646ff1eaa64b0607b4146106fadffff3d5469e1ab1286042984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T05:08:12.839Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2320 in /w/workspace/xfoundry_device-modbus-go_PR-352 [Pipeline] { [Pipeline] ws [2022-06-13T05:08:12.883Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-06-13T05:08:12.970Z] Selected Git installation does not exist. Using Default [2022-06-13T05:08:12.971Z] The recommended git tool is: NONE [2022-06-13T05:08:19.618Z] using credential edgex-jenkins-ssh [2022-06-13T05:08:19.635Z] Cloning the remote Git repository [2022-06-13T05:08:19.692Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-13T05:08:19.769Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-06-13T05:08:19.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-13T05:08:19.841Z] > git --version # timeout=10 [2022-06-13T05:08:19.861Z] > git --version # 'git version 2.25.1' [2022-06-13T05:08:19.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T05:08:19.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T05:08:21.554Z] Merging remotes/origin/main commit 20ae4d4bf545de990beb7ae1865291efdf0a2142 into PR head commit 1abeae38e887ff13cc6928578f959dcb4ab1b53f [2022-06-13T05:08:21.767Z] Merge succeeded, producing 1abeae38e887ff13cc6928578f959dcb4ab1b53f [2022-06-13T05:08:21.767Z] Checking out Revision 1abeae38e887ff13cc6928578f959dcb4ab1b53f (PR-352) [2022-06-13T05:08:21.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-13T05:08:21.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T05:08:21.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-13T05:08:21.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-13T05:08:21.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T05:08:21.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-13T05:08:21.578Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T05:08:21.605Z] > git checkout -f 1abeae38e887ff13cc6928578f959dcb4ab1b53f # timeout=10 [2022-06-13T05:08:21.689Z] > git remote # timeout=10 [2022-06-13T05:08:21.704Z] > git config --get remote.origin.url # timeout=10 [2022-06-13T05:08:21.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T05:08:21.730Z] > git merge 20ae4d4bf545de990beb7ae1865291efdf0a2142 # timeout=10 [2022-06-13T05:08:21.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-13T05:08:21.778Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T05:08:21.793Z] > git checkout -f 1abeae38e887ff13cc6928578f959dcb4ab1b53f # timeout=10 [2022-06-13T05:08:26.004Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2" [2022-06-13T05:08:26.073Z] > git --version # timeout=10 [2022-06-13T05:08:26.084Z] > git --version # 'git version 2.25.1' [2022-06-13T05:08:26.098Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T05:08:27.136Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T05:08:27.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T05:08:27.136Z] Dload Upload Total Spent Left Speed [2022-06-13T05:08:27.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2022-06-13T05:08:28.107Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T05:08:28.488Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T05:08:28.488Z] + sudo tee /etc/docker/daemon.new [2022-06-13T05:08:28.488Z] { [2022-06-13T05:08:28.488Z] "registry-mirrors": [ [2022-06-13T05:08:28.488Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T05:08:28.488Z] ], [2022-06-13T05:08:28.488Z] "bip": "10.250.0.254/24", [2022-06-13T05:08:28.488Z] "hosts": [ [2022-06-13T05:08:28.488Z] "tcp://0.0.0.0:5555", [2022-06-13T05:08:28.488Z] "unix:///var/run/docker.sock" [2022-06-13T05:08:28.488Z] ], [2022-06-13T05:08:28.488Z] "mtu": 1458, [2022-06-13T05:08:28.488Z] "selinux-enabled": true, [2022-06-13T05:08:28.488Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T05:08:28.488Z] } [Pipeline] sh [2022-06-13T05:08:28.847Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T05:08:29.201Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T05:08:47.616Z] provisioning config files... [2022-06-13T05:08:47.643Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2045593950962104098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:08:48.053Z] ---> docker-login.sh [2022-06-13T05:08:48.053Z] nexus3.edgexfoundry.org:10001 [2022-06-13T05:08:48.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:08:49.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:08:49.008Z] Configure a credential helper to remove this warning. See [2022-06-13T05:08:49.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:08:49.008Z] [2022-06-13T05:08:49.008Z] Login Succeeded [2022-06-13T05:08:49.008Z] nexus3.edgexfoundry.org:10002 [2022-06-13T05:08:49.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:08:49.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:08:49.561Z] Configure a credential helper to remove this warning. See [2022-06-13T05:08:49.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:08:49.561Z] [2022-06-13T05:08:49.561Z] Login Succeeded [2022-06-13T05:08:49.561Z] nexus3.edgexfoundry.org:10003 [2022-06-13T05:08:49.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:08:50.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:08:50.119Z] Configure a credential helper to remove this warning. See [2022-06-13T05:08:50.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:08:50.119Z] [2022-06-13T05:08:50.119Z] Login Succeeded [2022-06-13T05:08:50.119Z] nexus3.edgexfoundry.org:10004 [2022-06-13T05:08:50.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:08:50.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:08:50.673Z] Configure a credential helper to remove this warning. See [2022-06-13T05:08:50.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:08:50.673Z] [2022-06-13T05:08:50.673Z] Login Succeeded [2022-06-13T05:08:50.673Z] docker.io [2022-06-13T05:08:50.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T05:08:51.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T05:08:51.226Z] Configure a credential helper to remove this warning. See [2022-06-13T05:08:51.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T05:08:51.226Z] [2022-06-13T05:08:51.226Z] Login Succeeded [2022-06-13T05:08:51.226Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T05:08:51.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T05:08:51.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T05:08:51.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T05:08:51.746Z] ========================================================= [2022-06-13T05:08:51.746Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T05:08:51.746Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:08:52.249Z] + 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-06-13T05:08:52.523Z] Sending build context to Docker daemon 3.127MB [2022-06-13T05:08:52.817Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T05:08:52.817Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-13T05:08:52.817Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T05:08:52.817Z] 9b3977197b4f: Pulling fs layer [2022-06-13T05:08:52.817Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T05:08:52.817Z] 94645a83ff95: Pulling fs layer [2022-06-13T05:08:52.817Z] e6fb740bc735: Pulling fs layer [2022-06-13T05:08:52.817Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T05:08:52.817Z] 355e64cbe906: Pulling fs layer [2022-06-13T05:08:52.817Z] 63ab81a10011: Pulling fs layer [2022-06-13T05:08:52.817Z] 555d1d1c4555: Pulling fs layer [2022-06-13T05:08:52.817Z] 7d9057610161: Pulling fs layer [2022-06-13T05:08:52.817Z] 355e64cbe906: Waiting [2022-06-13T05:08:52.817Z] 63ab81a10011: Waiting [2022-06-13T05:08:52.817Z] e6fb740bc735: Waiting [2022-06-13T05:08:52.817Z] 555d1d1c4555: Waiting [2022-06-13T05:08:52.817Z] 7d9057610161: Waiting [2022-06-13T05:08:52.817Z] 3a77bd46dcc9: Waiting [2022-06-13T05:08:52.817Z] 94645a83ff95: Verifying Checksum [2022-06-13T05:08:52.817Z] 94645a83ff95: Download complete [2022-06-13T05:08:52.817Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T05:08:52.818Z] 1a89e8eeedd5: Download complete [2022-06-13T05:08:52.818Z] 3a77bd46dcc9: Verifying Checksum [2022-06-13T05:08:52.818Z] 3a77bd46dcc9: Download complete [2022-06-13T05:08:53.101Z] 355e64cbe906: Verifying Checksum [2022-06-13T05:08:53.101Z] 355e64cbe906: Download complete [2022-06-13T05:08:53.101Z] 63ab81a10011: Verifying Checksum [2022-06-13T05:08:53.101Z] 63ab81a10011: Download complete [2022-06-13T05:08:53.101Z] 9b3977197b4f: Download complete [2022-06-13T05:08:54.113Z] 9b3977197b4f: Pull complete [2022-06-13T05:08:54.113Z] 7d9057610161: Verifying Checksum [2022-06-13T05:08:54.113Z] 7d9057610161: Download complete [2022-06-13T05:08:55.623Z] 1a89e8eeedd5: Pull complete [2022-06-13T05:08:55.623Z] 94645a83ff95: Pull complete [2022-06-13T05:08:55.623Z] 555d1d1c4555: Verifying Checksum [2022-06-13T05:08:55.623Z] 555d1d1c4555: Download complete [2022-06-13T05:08:55.906Z] e6fb740bc735: Verifying Checksum [2022-06-13T05:08:55.906Z] e6fb740bc735: Download complete [2022-06-13T05:09:08.326Z] e6fb740bc735: Pull complete [2022-06-13T05:09:08.326Z] 3a77bd46dcc9: Pull complete [2022-06-13T05:09:08.326Z] 355e64cbe906: Pull complete [2022-06-13T05:09:08.326Z] 63ab81a10011: Pull complete [2022-06-13T05:09:15.065Z] 555d1d1c4555: Pull complete [2022-06-13T05:09:17.050Z] 7d9057610161: Pull complete [2022-06-13T05:09:17.050Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T05:09:17.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T05:09:17.050Z] ---> 819e984ddca1 [2022-06-13T05:09:17.050Z] Step 3/10 : ARG MAKE='make build' [2022-06-13T05:09:17.651Z] ---> Running in 1e63e8ae52f0 [2022-06-13T05:09:17.929Z] Removing intermediate container 1e63e8ae52f0 [2022-06-13T05:09:17.929Z] ---> f07bfa92aaac [2022-06-13T05:09:17.929Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:09:18.208Z] ---> Running in 360f0d869c04 [2022-06-13T05:09:20.200Z] Removing intermediate container 360f0d869c04 [2022-06-13T05:09:20.200Z] ---> 3460ccfd8875 [2022-06-13T05:09:20.200Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-13T05:09:20.200Z] ---> Running in 4baebcbbeef2 [2022-06-13T05:09:21.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T05:09:22.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T05:09:23.183Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T05:09:23.183Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-13T05:09:23.183Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T05:09:23.464Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T05:09:23.464Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-13T05:09:23.738Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-13T05:09:23.738Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-13T05:09:23.738Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-13T05:09:24.017Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T05:09:24.017Z] OK: 226 MiB in 60 packages [2022-06-13T05:09:24.996Z] Removing intermediate container 4baebcbbeef2 [2022-06-13T05:09:24.996Z] ---> 2a68021934d9 [2022-06-13T05:09:24.996Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-13T05:09:24.996Z] ---> Running in a2d65a9bd991 [2022-06-13T05:09:25.269Z] Removing intermediate container a2d65a9bd991 [2022-06-13T05:09:25.269Z] ---> d5c59cec4442 [2022-06-13T05:09:25.269Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-13T05:09:25.866Z] ---> e089f7da9304 [2022-06-13T05:09:25.866Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T05:09:25.866Z] ---> Running in 6f9b034e12f6 [2022-06-13T05:10:12.878Z] Removing intermediate container 6f9b034e12f6 [2022-06-13T05:10:12.878Z] ---> 3844ae044352 [2022-06-13T05:10:12.878Z] Step 9/10 : COPY . . [2022-06-13T05:10:12.878Z] ---> ac93e29d5bb2 [2022-06-13T05:10:12.878Z] Step 10/10 : RUN ${MAKE} [2022-06-13T05:10:12.878Z] ---> Running in 1a960c16b8cc [2022-06-13T05:10:12.878Z] noop [2022-06-13T05:10:12.878Z] Removing intermediate container 1a960c16b8cc [2022-06-13T05:10:12.878Z] ---> afc29c94a78c [2022-06-13T05:10:12.878Z] Successfully built afc29c94a78c [2022-06-13T05:10:12.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:10:13.367Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T05:10:13.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:10:13.697Z] prd-ubuntu20.04-docker-arm64-4c-16g-2320 does not seem to be running inside a container [2022-06-13T05:10:13.780Z] $ 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-06-13T05:10:15.131Z] $ docker top b9218f09fe2c4e918ef95ffc9aa402ad618234def21b91a21c59c2e226f2e8df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T05:10:16.105Z] + go version [2022-06-13T05:10:16.105Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T05:10:16.148Z] $ docker stop --time=1 b9218f09fe2c4e918ef95ffc9aa402ad618234def21b91a21c59c2e226f2e8df [2022-06-13T05:10:17.859Z] $ docker rm -f b9218f09fe2c4e918ef95ffc9aa402ad618234def21b91a21c59c2e226f2e8df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:10:18.792Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T05:10:18.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:10:19.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-2320 does not seem to be running inside a container [2022-06-13T05:10:19.208Z] $ 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-06-13T05:10:20.540Z] $ docker top ceadf48c078dd1a00c340d38dcf772eab1cfc020910167686a12834821fb4559 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T05:10:21.539Z] + make test [2022-06-13T05:10:21.539Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-13T05:10:23.524Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-13T05:11:45.373Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-13T05:11:45.373Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 46.4% of statements [2022-06-13T05:11:45.373Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T05:11:45.373Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T05:12:07.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T05:12:07.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T05:12:07.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T05:12:11.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T05:12:11.331Z] $ docker stop --time=1 ceadf48c078dd1a00c340d38dcf772eab1cfc020910167686a12834821fb4559 [2022-06-13T05:12:13.094Z] $ docker rm -f ceadf48c078dd1a00c340d38dcf772eab1cfc020910167686a12834821fb4559 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T05:12:14.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T05:12:14.116Z] Warning: overwriting stash ‘coverage-report’ [2022-06-13T05:12:14.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T05:12:15.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T05:12:15.531Z] + ls -al . [2022-06-13T05:12:15.531Z] total 180 [2022-06-13T05:12:15.531Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 05:12 . [2022-06-13T05:12:15.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 05:08 .. [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 05:08 .dockerignore [2022-06-13T05:12:15.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 05:08 .git [2022-06-13T05:12:15.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:08 .github [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 13 05:08 .gitignore [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 05:08 .golangci.yml [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 9510 Jun 13 05:08 Attribution.txt [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 13 05:08 CHANGELOG.md [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 13 05:08 Dockerfile [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 05:08 GOVERNANCE.md [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 13 05:08 Jenkinsfile [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 05:08 LICENSE [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 13 05:08 Makefile [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 13 05:08 OWNERS.md [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 13 05:08 README.md [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 05:05 VERSION [2022-06-13T05:12:15.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 05:08 bin [2022-06-13T05:12:15.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:08 cmd [2022-06-13T05:12:15.531Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 13 05:11 coverage.out [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 3325 Jun 13 05:08 go.mod [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 35489 Jun 13 05:08 go.sum [2022-06-13T05:12:15.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 05:08 internal [2022-06-13T05:12:15.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 05:08 simulator [2022-06-13T05:12:15.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 05:08 snap [2022-06-13T05:12:15.531Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 13 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:12:15.959Z] + 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=1abeae38e887ff13cc6928578f959dcb4ab1b53f --label arch=arm64 --label version=0.0.0 . [2022-06-13T05:12:16.236Z] Sending build context to Docker daemon 3.152MB [2022-06-13T05:12:16.236Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T05:12:16.236Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-13T05:12:16.236Z] ---> afc29c94a78c [2022-06-13T05:12:16.236Z] Step 3/23 : ARG MAKE='make build' [2022-06-13T05:12:16.510Z] ---> Running in 074dbe4ad1d7 [2022-06-13T05:12:16.785Z] Removing intermediate container 074dbe4ad1d7 [2022-06-13T05:12:16.785Z] ---> 2aeb7857bac1 [2022-06-13T05:12:16.785Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:12:16.785Z] ---> Running in 18c4fb12a3e9 [2022-06-13T05:12:18.769Z] Removing intermediate container 18c4fb12a3e9 [2022-06-13T05:12:18.769Z] ---> 94137d2ea1e5 [2022-06-13T05:12:18.769Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-13T05:12:18.769Z] ---> Running in cb78f92e9ff7 [2022-06-13T05:12:19.367Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T05:12:20.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T05:12:21.331Z] OK: 226 MiB in 60 packages [2022-06-13T05:12:21.931Z] Removing intermediate container cb78f92e9ff7 [2022-06-13T05:12:21.931Z] ---> 2b2054431433 [2022-06-13T05:12:21.931Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-13T05:12:21.931Z] ---> Running in fae307ba3c0a [2022-06-13T05:12:22.556Z] Removing intermediate container fae307ba3c0a [2022-06-13T05:12:22.556Z] ---> 63917da4540b [2022-06-13T05:12:22.556Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-13T05:12:22.831Z] ---> d72054e75c12 [2022-06-13T05:12:22.831Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T05:12:23.109Z] ---> Running in 214e9300f671 [2022-06-13T05:12:25.089Z] Removing intermediate container 214e9300f671 [2022-06-13T05:12:25.089Z] ---> cff7860c2428 [2022-06-13T05:12:25.089Z] Step 9/23 : COPY . . [2022-06-13T05:12:25.687Z] ---> ea92835d0263 [2022-06-13T05:12:25.687Z] Step 10/23 : RUN ${MAKE} [2022-06-13T05:12:25.687Z] ---> Running in 361be956a9c6 [2022-06-13T05:12:26.669Z] 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-06-13T05:14:33.541Z] Removing intermediate container 361be956a9c6 [2022-06-13T05:14:33.541Z] ---> 1ef582ada1b5 [2022-06-13T05:14:33.541Z] Step 11/23 : FROM alpine:3.14 [2022-06-13T05:14:33.541Z] 3.14: Pulling from library/alpine [2022-06-13T05:14:33.541Z] 455c02918c45: Pulling fs layer [2022-06-13T05:14:33.541Z] 455c02918c45: Verifying Checksum [2022-06-13T05:14:33.541Z] 455c02918c45: Download complete [2022-06-13T05:14:33.541Z] 455c02918c45: Pull complete [2022-06-13T05:14:33.541Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T05:14:33.541Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T05:14:33.541Z] ---> ac73e934f311 [2022-06-13T05:14:33.541Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-13T05:14:33.541Z] ---> Running in 9a56b92a9ebd [2022-06-13T05:14:33.541Z] Removing intermediate container 9a56b92a9ebd [2022-06-13T05:14:33.541Z] ---> a4f0844290dc [2022-06-13T05:14:33.541Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T05:14:33.541Z] ---> Running in 7a4beaba1df0 [2022-06-13T05:14:33.541Z] Removing intermediate container 7a4beaba1df0 [2022-06-13T05:14:33.541Z] ---> 59bc593059e7 [2022-06-13T05:14:33.541Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T05:14:33.541Z] ---> Running in bb5495d1a548 [2022-06-13T05:14:33.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-13T05:14:33.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-13T05:14:33.541Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T05:14:33.541Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T05:14:33.541Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T05:14:33.541Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T05:14:33.541Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T05:14:33.541Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T05:14:33.541Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T05:14:33.541Z] OK: 8 MiB in 20 packages [2022-06-13T05:14:33.541Z] Removing intermediate container bb5495d1a548 [2022-06-13T05:14:33.541Z] ---> 5e07245b4d5e [2022-06-13T05:14:33.541Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-13T05:14:33.541Z] ---> 4f9b69b51968 [2022-06-13T05:14:33.541Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-13T05:14:33.541Z] ---> 6f8dfd1b02fe [2022-06-13T05:14:33.541Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-13T05:14:33.541Z] ---> 059957161872 [2022-06-13T05:14:33.541Z] Step 18/23 : EXPOSE 59901 [2022-06-13T05:14:33.541Z] ---> Running in f22af018916a [2022-06-13T05:14:33.541Z] Removing intermediate container f22af018916a [2022-06-13T05:14:33.541Z] ---> 088c68da4616 [2022-06-13T05:14:33.541Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-13T05:14:33.541Z] ---> Running in 246072cb2d1e [2022-06-13T05:14:33.541Z] Removing intermediate container 246072cb2d1e [2022-06-13T05:14:33.541Z] ---> 0f0a0eed24be [2022-06-13T05:14:33.541Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T05:14:33.541Z] ---> Running in 439ff004b079 [2022-06-13T05:14:33.541Z] Removing intermediate container 439ff004b079 [2022-06-13T05:14:33.541Z] ---> a1832cb1af7d [2022-06-13T05:14:33.541Z] Step 21/23 : LABEL arch=arm64 [2022-06-13T05:14:33.541Z] ---> Running in e2af632c7db6 [2022-06-13T05:14:33.541Z] Removing intermediate container e2af632c7db6 [2022-06-13T05:14:33.541Z] ---> 806dbc82915b [2022-06-13T05:14:33.541Z] Step 22/23 : LABEL git_sha=1abeae38e887ff13cc6928578f959dcb4ab1b53f [2022-06-13T05:14:33.541Z] ---> Running in 3e8b03f27c15 [2022-06-13T05:14:33.541Z] Removing intermediate container 3e8b03f27c15 [2022-06-13T05:14:33.541Z] ---> 8d57f3f4b755 [2022-06-13T05:14:33.541Z] Step 23/23 : LABEL version=0.0.0 [2022-06-13T05:14:33.541Z] ---> Running in ce372dbe93bb [2022-06-13T05:14:33.541Z] Removing intermediate container ce372dbe93bb [2022-06-13T05:14:33.541Z] ---> 34e9936b3feb [2022-06-13T05:14:33.541Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T05:14:33.541Z] Successfully built 34e9936b3feb [2022-06-13T05:14:33.541Z] 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-06-13T05:14:34.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T05:14:34.346Z] [2022-06-13T05:14:34.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:14:34.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T05:14:35.042Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T05:14:35.043Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T05:14:35.043Z] 04944245beec: Pulling fs layer [2022-06-13T05:14:35.043Z] 699f458cf7ca: Pulling fs layer [2022-06-13T05:14:35.043Z] 765212b225bb: Pulling fs layer [2022-06-13T05:14:35.043Z] f23df028b6ca: Pulling fs layer [2022-06-13T05:14:35.043Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T05:14:35.043Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T05:14:35.043Z] f23df028b6ca: Waiting [2022-06-13T05:14:35.043Z] 765212b225bb: Waiting [2022-06-13T05:14:35.043Z] 2437ff75d9bd: Waiting [2022-06-13T05:14:35.043Z] 04944245beec: Verifying Checksum [2022-06-13T05:14:35.043Z] 04944245beec: Download complete [2022-06-13T05:14:35.043Z] 765212b225bb: Verifying Checksum [2022-06-13T05:14:35.043Z] 765212b225bb: Download complete [2022-06-13T05:14:35.043Z] f23df028b6ca: Verifying Checksum [2022-06-13T05:14:35.043Z] f23df028b6ca: Download complete [2022-06-13T05:14:35.043Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T05:14:35.043Z] d65c8cfc05b1: Download complete [2022-06-13T05:14:35.322Z] 699f458cf7ca: Verifying Checksum [2022-06-13T05:14:35.322Z] 699f458cf7ca: Download complete [2022-06-13T05:14:35.598Z] 8998bd30e6a1: Download complete [2022-06-13T05:14:38.235Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T05:14:38.235Z] 2437ff75d9bd: Download complete [2022-06-13T05:14:39.675Z] 8998bd30e6a1: Pull complete [2022-06-13T05:14:40.269Z] 04944245beec: Pull complete [2022-06-13T05:14:41.710Z] 699f458cf7ca: Pull complete [2022-06-13T05:14:41.985Z] 765212b225bb: Pull complete [2022-06-13T05:14:42.966Z] f23df028b6ca: Pull complete [2022-06-13T05:14:42.966Z] d65c8cfc05b1: Pull complete [2022-06-13T05:14:58.064Z] 2437ff75d9bd: Pull complete [2022-06-13T05:14:58.064Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T05:14:58.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T05:14:58.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:14:58.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-2320 does not seem to be running inside a container [2022-06-13T05:14:58.543Z] $ 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-06-13T05:15:01.018Z] $ docker top d9bcaeec1286f17c4236ec62a6c122a924b987df0fc16fe09e4f385eb6b8f923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:02.034Z] ---> job-cost.sh [2022-06-13T05:15:02.035Z] lf-activate-venv: SKIPPING [2022-06-13T05:15:02.035Z] INFO: No Stack... [2022-06-13T05:15:02.631Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T05:15:03.224Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T05:15:03.909Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-06-13T05:15:03.909Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T05:15:03.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [2022-06-13T05:15:03.962Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] did not exist. Created. [2022-06-13T05:15:03.962Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T05:15:04.709Z] /w/workspace/device-modbus-go/1@tmp/durable-52b14a05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T05:15:05.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T05:15:05.444Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T05:15:05.496Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T05:15:05.510Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T05:15:05.595Z] $ docker stop --time=1 d9bcaeec1286f17c4236ec62a6c122a924b987df0fc16fe09e4f385eb6b8f923 [2022-06-13T05:15:07.109Z] $ docker rm -f d9bcaeec1286f17c4236ec62a6c122a924b987df0fc16fe09e4f385eb6b8f923 [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-06-13T05:15:08.194Z] provisioning config files... [2022-06-13T05:15:08.205Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/config631396407829592279tmp [Pipeline] { [Pipeline] sh [2022-06-13T05:15:08.545Z] + set +x [2022-06-13T05:15:08.545Z] + curl -s https://codecov.io/bash [2022-06-13T05:15:08.545Z] + bash -s -- [2022-06-13T05:15:08.545Z] [2022-06-13T05:15:08.545Z] _____ _ [2022-06-13T05:15:08.545Z] / ____| | | [2022-06-13T05:15:08.545Z] | | ___ __| | ___ ___ _____ __ [2022-06-13T05:15:08.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-13T05:15:08.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-13T05:15:08.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-13T05:15:08.545Z] Bash-1.0.6 [2022-06-13T05:15:08.545Z] [2022-06-13T05:15:08.545Z] [2022-06-13T05:15:08.545Z] ==> git version 2.25.1 found [2022-06-13T05:15:08.545Z] ==> 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-06-13T05:15:08.545Z] Release-Date: 2020-01-08 [2022-06-13T05:15:08.545Z] 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-06-13T05:15:08.545Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-13T05:15:08.545Z] ==> Jenkins CI detected. [2022-06-13T05:15:08.545Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-352 [2022-06-13T05:15:08.545Z] project root: . [2022-06-13T05:15:08.545Z] --> token set from env [2022-06-13T05:15:08.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-13T05:15:08.545Z] ==> Running gcov in . (disable via -X gcov) [2022-06-13T05:15:08.545Z] ==> Python coveragepy not found [2022-06-13T05:15:08.545Z] ==> Searching for coverage reports in: [2022-06-13T05:15:08.545Z] + . [2022-06-13T05:15:08.545Z] -> Found 1 reports [2022-06-13T05:15:08.545Z] ==> Detecting git/mercurial file structure [2022-06-13T05:15:08.545Z] ==> Reading reports [2022-06-13T05:15:08.545Z] + ./coverage.out bytes=24065 [2022-06-13T05:15:08.545Z] ==> Appending adjustments [2022-06-13T05:15:08.545Z] https://docs.codecov.io/docs/fixing-reports [2022-06-13T05:15:08.545Z] + Found adjustments [2022-06-13T05:15:08.545Z] ==> Gzipping contents [2022-06-13T05:15:08.806Z] 4.0K /tmp/codecov.nplLG2.gz [2022-06-13T05:15:08.806Z] ==> Uploading reports [2022-06-13T05:15:08.806Z] url: https://codecov.io [2022-06-13T05:15:08.806Z] query: branch=PR-352&commit=1abeae38e887ff13cc6928578f959dcb4ab1b53f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=352&job=&cmd_args= [2022-06-13T05:15:08.806Z] -> Pinging Codecov [2022-06-13T05:15:08.806Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-352&commit=1abeae38e887ff13cc6928578f959dcb4ab1b53f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=352&job=&cmd_args= [2022-06-13T05:15:09.069Z] -> Uploading to [2022-06-13T05:15:09.069Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-13/55DBCA73C666E3227836607328DD7E49/1abeae38e887ff13cc6928578f959dcb4ab1b53f/a23c36d6-6015-41de-9630-dc50022195f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T051509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddf780d5cb3c4d3c3680f8e40f4e137d112be1005ac1194c0450615475af41c2 [2022-06-13T05:15:09.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T05:15:09.069Z] Dload Upload Total Spent Left Speed [2022-06-13T05:15:09.332Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 19631 --:--:-- --:--:-- --:--:-- 19631 [2022-06-13T05:15:09.332Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1abeae38e887ff13cc6928578f959dcb4ab1b53f [Pipeline] } [2022-06-13T05:15:09.362Z] 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-06-13T05:15:11.117Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-352/archives ] [2022-06-13T05:15:11.117Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-352/archives [2022-06-13T05:15:11.117Z] total 16 [2022-06-13T05:15:11.117Z] drwxr-xr-x 3 root root 4096 Jun 13 05:07 . [2022-06-13T05:15:11.117Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 05:07 .. [2022-06-13T05:15:11.117Z] drwxr-xr-x 2 root root 4096 Jun 13 05:07 cost [2022-06-13T05:15:11.117Z] -rw-r--r-- 1 root root 87 Jun 13 05:07 cost.csv [2022-06-13T05:15:11.117Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-352/archives [2022-06-13T05:15:11.117Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-352/archives [2022-06-13T05:15:11.117Z] total 16 [2022-06-13T05:15:11.117Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 05:07 . [2022-06-13T05:15:11.117Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 05:07 .. [2022-06-13T05:15:11.117Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 05:07 cost [2022-06-13T05:15:11.117Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 13 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:11.445Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:12.339Z] ---> package-listing.sh [2022-06-13T05:15:12.339Z] ++ facter osfamily [2022-06-13T05:15:12.339Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T05:15:12.600Z] + OS_FAMILY=debian [2022-06-13T05:15:12.600Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-352 [2022-06-13T05:15:12.600Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T05:15:12.600Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T05:15:12.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T05:15:12.600Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T05:15:12.600Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-352 ']' [2022-06-13T05:15:12.600Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T05:15:12.600Z] + case "${OS_FAMILY}" in [2022-06-13T05:15:12.600Z] + dpkg -l [2022-06-13T05:15:12.600Z] + grep '^ii' [2022-06-13T05:15:12.600Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T05:15:12.600Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T05:15:12.600Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T05:15:12.600Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-352 ']' [2022-06-13T05:15:12.600Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-352/archives/ [2022-06-13T05:15:12.600Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-352/archives/ [Pipeline] echo [2022-06-13T05:15:12.635Z] 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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-13T05:15:12.927Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T05:15:13.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T05:15:13.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T05:15:13.712Z] prd-ubuntu20.04-docker-8c-8g-2318 does not seem to be running inside a container [2022-06-13T05:15:13.754Z] $ 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-352/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-352 -v /w/workspace/xfoundry_device-modbus-go_PR-352:/w/workspace/xfoundry_device-modbus-go_PR-352:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-352@tmp:/w/workspace/xfoundry_device-modbus-go_PR-352@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T05:15:13.964Z] $ docker top c802f6758db9983e5fbf11fa99081865c92046abfe8d7bc6e1e8a28c1835e7d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T05:15:14.357Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T05:15:14.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T05:15:14.984Z] + ls /var/log/sa-host [2022-06-13T05:15:14.984Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T05:15:15.111Z] provisioning config files... [2022-06-13T05:15:15.120Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-352@tmp/config769497863311599655tmp [Pipeline] { [Pipeline] echo [2022-06-13T05:15:15.174Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:15.481Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T05:15:15.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:15.895Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T05:15:15.927Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:16.241Z] ---> sudo-logs.sh [2022-06-13T05:15:16.241Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T05:15:16.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:16.635Z] ---> job-cost.sh [2022-06-13T05:15:16.635Z] lf-activate-venv: SKIPPING [2022-06-13T05:15:16.635Z] DEBUG: total: 0.2199999988079071 [2022-06-13T05:15:16.635Z] INFO: Retrieving Stack Cost... [2022-06-13T05:15:16.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T05:15:17.467Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T05:15:17.503Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T05:15:17.816Z] ---> logs-deploy.sh [2022-06-13T05:15:17.816Z] lf-activate-venv: SKIPPING [2022-06-13T05:15:17.816Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-352/1 [2022-06-13T05:15:17.816Z] INFO: archiving workspace using pattern(s): [2022-06-13T05:15:18.754Z] Archives upload complete. [2022-06-13T05:15:18.754Z] INFO: archiving logs to Nexus