Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ffad701eed76b077b9514e94842a0f91ccbb1d43+4a13dc8cbc9452d90b2dd7765ba07908e93b105b (dccbfb4c6bf7634148a73868b6139a0a655b0482) 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-ssh5003361145870647195.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh15334139347672509157.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-312/workspace@libs/edgex-global-pipelines # 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-312/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12910421233824465051.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-312/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16724064071488410899.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh5149546508898379139.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-312/workspace@libs/lf-pipelines # 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-312/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8762232349880299851.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-6504 in /w/workspace/xfoundry_device-modbus-go_PR-312 [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-312 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh1723869178792412335.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit ffad701eed76b077b9514e94842a0f91ccbb1d43 Merge succeeded, producing ffad701eed76b077b9514e94842a0f91ccbb1d43 Checking out Revision ffad701eed76b077b9514e94842a0f91ccbb1d43 (PR-312) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh3511466443925047437.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh2250413226048843985.key > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-07T05:03:20.941Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-07T05:03:21.103Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-07T05:03:21.188Z] ========================================================= [2022-03-07T05:03:21.188Z] EdgeX Global Pipelines Version Info [2022-03-07T05:03:21.188Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:03:22.338Z] ------------------- [2022-03-07T05:03:22.338Z] stable info: [2022-03-07T05:03:22.338Z] ------------------- [2022-03-07T05:03:22.338Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-07T05:03:22.338Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-07T05:03:22.338Z] Message: update stable to v1.0.220 [2022-03-07T05:03:22.910Z] ------------------- [2022-03-07T05:03:22.910Z] experimental info: [2022-03-07T05:03:22.910Z] ------------------- [2022-03-07T05:03:22.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-07T05:03:22.910Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-07T05:03:22.910Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-07T05:03:23.138Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-03-07T05:03:23.171Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-03-07T05:03:23.211Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-07T05:03:23.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-07T05:03:23.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-07T05:03:23.318Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-07T05:03:23.378Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-07T05:03:23.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-07T05:03:23.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-07T05:03:23.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-07T05:03:23.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-07T05:03:23.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-03-07T05:03:23.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-07T05:03:23.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-07T05:03:23.669Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-07T05:03:23.710Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-07T05:03:23.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-07T05:03:23.795Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-07T05:03:23.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-07T05:03:23.880Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-07T05:03:23.925Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-07T05:03:23.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-07T05:03:24.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-07T05:03:24.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-07T05:03:24.083Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-07T05:03:24.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-07T05:03:24.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo [2022-03-07T05:03:24.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo [2022-03-07T05:03:24.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo [2022-03-07T05:03:24.339Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo [2022-03-07T05:03:24.381Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffad701 [Pipeline] echo [2022-03-07T05:03:24.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-07T05:03:24.557Z] provisioning config files... [2022-03-07T05:03:24.572Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config4446637051213503600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:03:24.923Z] ---> docker-login.sh [2022-03-07T05:03:24.923Z] nexus3.edgexfoundry.org:10001 [2022-03-07T05:03:24.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:25.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:25.185Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:25.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:25.185Z] [2022-03-07T05:03:25.185Z] Login Succeeded [2022-03-07T05:03:25.185Z] nexus3.edgexfoundry.org:10002 [2022-03-07T05:03:25.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:25.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:25.185Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:25.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:25.185Z] [2022-03-07T05:03:25.185Z] Login Succeeded [2022-03-07T05:03:25.185Z] nexus3.edgexfoundry.org:10003 [2022-03-07T05:03:25.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:25.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:25.451Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:25.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:25.451Z] [2022-03-07T05:03:25.451Z] Login Succeeded [2022-03-07T05:03:25.451Z] nexus3.edgexfoundry.org:10004 [2022-03-07T05:03:25.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:25.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:25.451Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:25.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:25.451Z] [2022-03-07T05:03:25.451Z] Login Succeeded [2022-03-07T05:03:25.451Z] docker.io [2022-03-07T05:03:25.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:25.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:25.974Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:25.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:25.974Z] [2022-03-07T05:03:25.974Z] Login Succeeded [2022-03-07T05:03:25.974Z] ---> docker-login.sh ends [Pipeline] } [2022-03-07T05:03:26.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-07T05:03:26.658Z] + git rev-list -1 --merges ffad701eed76b077b9514e94842a0f91ccbb1d43~1..ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo [2022-03-07T05:03:26.708Z] -----------> git rev-list -1 --merges ffad701eed76b077b9514e94842a0f91ccbb1d43~1..ffad701eed76b077b9514e94842a0f91ccbb1d43 ffad701eed76b077b9514e94842a0f91ccbb1d43 [false] [Pipeline] sh [2022-03-07T05:03:27.040Z] + git log --format=format:%s -1 ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo [2022-03-07T05:03:27.082Z] ========================================================= [2022-03-07T05:03:27.082Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-07T05:03:27.082Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-07T05:03:27.534Z] + git log --format=format:%s -1 ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo [2022-03-07T05:03:27.569Z] [semverPrep] GIT_COMMIT: ffad701eed76b077b9514e94842a0f91ccbb1d43, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-03-07T05:03:27.597Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-07T05:03:28.054Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-07T05:03:28.054Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-07T05:03:28.054Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-07T05:03:28.054Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-07T05:03:28.054Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-07T05:03:28.054Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-07T05:03:28.054Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:03:28.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-07T05:03:28.518Z] [2022-03-07T05:03:28.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:03:28.872Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-07T05:03:28.872Z] latest: Pulling from edgex-devops/git-semver [2022-03-07T05:03:28.872Z] a0d0a0d46f8b: Pulling fs layer [2022-03-07T05:03:28.872Z] 3e5f54012d9b: Pulling fs layer [2022-03-07T05:03:28.872Z] 4c7163046ea9: Pulling fs layer [2022-03-07T05:03:28.872Z] 0c2d73faf560: Pulling fs layer [2022-03-07T05:03:28.872Z] 0c2d73faf560: Waiting [2022-03-07T05:03:28.872Z] 3e5f54012d9b: Verifying Checksum [2022-03-07T05:03:28.872Z] 3e5f54012d9b: Download complete [2022-03-07T05:03:28.872Z] a0d0a0d46f8b: Verifying Checksum [2022-03-07T05:03:28.872Z] a0d0a0d46f8b: Download complete [2022-03-07T05:03:28.872Z] 0c2d73faf560: Verifying Checksum [2022-03-07T05:03:28.872Z] 0c2d73faf560: Download complete [2022-03-07T05:03:29.132Z] 4c7163046ea9: Verifying Checksum [2022-03-07T05:03:29.132Z] 4c7163046ea9: Download complete [2022-03-07T05:03:29.132Z] a0d0a0d46f8b: Pull complete [2022-03-07T05:03:29.132Z] 3e5f54012d9b: Pull complete [2022-03-07T05:03:29.392Z] 4c7163046ea9: Pull complete [2022-03-07T05:03:29.653Z] 0c2d73faf560: Pull complete [2022-03-07T05:03:29.653Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-07T05:03:29.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-07T05:03:29.653Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-07T05:03:29.767Z] prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container [2022-03-07T05:03:29.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-07T05:03:30.436Z] $ docker top 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-07T05:03:30.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-07T05:03:30.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-07T05:03:30.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-07T05:03:30.737Z] $ docker exec 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent [2022-03-07T05:03:30.838Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIGbaN/agent.14 [2022-03-07T05:03:30.838Z] SSH_AGENT_PID=21 [2022-03-07T05:03:30.845Z] Running ssh-add (command line suppressed) [2022-03-07T05:03:30.935Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_5975633477783227491.key (/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_5975633477783227491.key) [2022-03-07T05:03:30.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-07T05:03:31.284Z] + git tag --points-at HEAD [Pipeline] } [2022-03-07T05:03:31.309Z] $ docker exec --env ******** --env ******** 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent -k [2022-03-07T05:03:31.403Z] unset SSH_AUTH_SOCK; [2022-03-07T05:03:31.404Z] unset SSH_AGENT_PID; [2022-03-07T05:03:31.404Z] echo Agent pid 21 killed; [2022-03-07T05:03:31.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-07T05:03:31.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-07T05:03:31.504Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-07T05:03:31.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-07T05:03:31.611Z] $ docker exec 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent [2022-03-07T05:03:31.713Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIMdaa/agent.57 [2022-03-07T05:03:31.713Z] SSH_AGENT_PID=63 [2022-03-07T05:03:31.718Z] Running ssh-add (command line suppressed) [2022-03-07T05:03:31.805Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_939081018392516806.key (/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_939081018392516806.key) [2022-03-07T05:03:31.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-07T05:03:32.150Z] + git semver init [2022-03-07T05:03:32.150Z] # -> Open(): unable to determine branch for HEAD [2022-03-07T05:03:32.150Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-312/.git [2022-03-07T05:03:32.150Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-312 [2022-03-07T05:03:32.150Z] # $SEMVER_REMOTE_NAME = origin [2022-03-07T05:03:32.150Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-07T05:03:32.150Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-07T05:03:32.150Z] # $SEMVER_BRANCH = PR-312 [2022-03-07T05:03:32.150Z] # $SEMVER_TEMP = /tmp/semver-054454704 [2022-03-07T05:03:32.150Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-03-07T05:03:33.097Z] # '/tmp/semver-054454704' -> '/w/workspace/xfoundry_device-modbus-go_PR-312/.semver' [2022-03-07T05:03:33.097Z] # -> Force: false [2022-03-07T05:03:33.097Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-312/.semver [Pipeline] } [2022-03-07T05:03:33.123Z] $ docker exec --env ******** --env ******** 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent -k [2022-03-07T05:03:33.234Z] unset SSH_AUTH_SOCK; [2022-03-07T05:03:33.236Z] unset SSH_AGENT_PID; [2022-03-07T05:03:33.237Z] echo Agent pid 63 killed; [2022-03-07T05:03:33.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-07T05:03:33.690Z] + git semver [Pipeline] } [2022-03-07T05:03:33.724Z] $ docker stop --time=1 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e [2022-03-07T05:03:34.956Z] $ docker rm -f 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-07T05:03:35.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-07T05:03:35.654Z] Stashed 1 file(s) [Pipeline] echo [2022-03-07T05:03:35.671Z] [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-03-07T05:03:36.278Z] provisioning config files... [2022-03-07T05:03:36.289Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config4441307369442654551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:03:36.649Z] ---> docker-login.sh [2022-03-07T05:03:36.649Z] nexus3.edgexfoundry.org:10001 [2022-03-07T05:03:36.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:36.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:36.649Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:36.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:36.649Z] [2022-03-07T05:03:36.649Z] Login Succeeded [2022-03-07T05:03:36.649Z] nexus3.edgexfoundry.org:10002 [2022-03-07T05:03:36.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:36.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:36.649Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:36.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:36.649Z] [2022-03-07T05:03:36.649Z] Login Succeeded [2022-03-07T05:03:36.649Z] nexus3.edgexfoundry.org:10003 [2022-03-07T05:03:36.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:36.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:36.911Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:36.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:36.911Z] [2022-03-07T05:03:36.911Z] Login Succeeded [2022-03-07T05:03:36.911Z] nexus3.edgexfoundry.org:10004 [2022-03-07T05:03:36.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:36.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:36.911Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:36.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:36.911Z] [2022-03-07T05:03:36.911Z] Login Succeeded [2022-03-07T05:03:36.911Z] docker.io [2022-03-07T05:03:37.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:03:37.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:03:37.432Z] Configure a credential helper to remove this warning. See [2022-03-07T05:03:37.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:03:37.432Z] [2022-03-07T05:03:37.432Z] Login Succeeded [2022-03-07T05:03:37.432Z] ---> docker-login.sh ends [Pipeline] } [2022-03-07T05:03:37.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-07T05:03:37.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-07T05:03:37.664Z] ========================================================= [2022-03-07T05:03:37.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-07T05:03:37.664Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:03:38.073Z] + 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-03-07T05:03:38.073Z] Sending build context to Docker daemon 5.722MB [2022-03-07T05:03:38.073Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-03-07T05:03:38.073Z] Step 2/10 : FROM ${BASE} AS builder [2022-03-07T05:03:38.073Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-07T05:03:38.073Z] 59bf1c3509f3: Pulling fs layer [2022-03-07T05:03:38.073Z] 666ba61612fd: Pulling fs layer [2022-03-07T05:03:38.073Z] 8ed8ca486205: Pulling fs layer [2022-03-07T05:03:38.073Z] 4fe6c5a15a65: Pulling fs layer [2022-03-07T05:03:38.073Z] 22a0e8bec74d: Pulling fs layer [2022-03-07T05:03:38.073Z] 640e595b4fbd: Pulling fs layer [2022-03-07T05:03:38.073Z] 763cafe07f6e: Pulling fs layer [2022-03-07T05:03:38.073Z] 0c0b528cf693: Pulling fs layer [2022-03-07T05:03:38.073Z] 10935f4eaf8b: Pulling fs layer [2022-03-07T05:03:38.073Z] 4fe6c5a15a65: Waiting [2022-03-07T05:03:38.073Z] 22a0e8bec74d: Waiting [2022-03-07T05:03:38.073Z] 640e595b4fbd: Waiting [2022-03-07T05:03:38.073Z] 763cafe07f6e: Waiting [2022-03-07T05:03:38.073Z] 0c0b528cf693: Waiting [2022-03-07T05:03:38.073Z] 10935f4eaf8b: Waiting [2022-03-07T05:03:38.073Z] 8ed8ca486205: Verifying Checksum [2022-03-07T05:03:38.073Z] 8ed8ca486205: Download complete [2022-03-07T05:03:38.073Z] 666ba61612fd: Verifying Checksum [2022-03-07T05:03:38.073Z] 666ba61612fd: Download complete [2022-03-07T05:03:38.335Z] 22a0e8bec74d: Verifying Checksum [2022-03-07T05:03:38.335Z] 22a0e8bec74d: Download complete [2022-03-07T05:03:38.335Z] 640e595b4fbd: Verifying Checksum [2022-03-07T05:03:38.335Z] 640e595b4fbd: Download complete [2022-03-07T05:03:38.335Z] 763cafe07f6e: Verifying Checksum [2022-03-07T05:03:38.335Z] 763cafe07f6e: Download complete [2022-03-07T05:03:38.335Z] 59bf1c3509f3: Verifying Checksum [2022-03-07T05:03:38.335Z] 59bf1c3509f3: Download complete [2022-03-07T05:03:38.335Z] 0c0b528cf693: Verifying Checksum [2022-03-07T05:03:38.335Z] 0c0b528cf693: Download complete [2022-03-07T05:03:38.596Z] 59bf1c3509f3: Pull complete [2022-03-07T05:03:38.858Z] 4fe6c5a15a65: Verifying Checksum [2022-03-07T05:03:38.858Z] 4fe6c5a15a65: Download complete [2022-03-07T05:03:38.858Z] 666ba61612fd: Pull complete [2022-03-07T05:03:38.858Z] 8ed8ca486205: Pull complete [2022-03-07T05:03:38.858Z] 10935f4eaf8b: Verifying Checksum [2022-03-07T05:03:38.858Z] 10935f4eaf8b: Download complete [2022-03-07T05:03:43.113Z] 4fe6c5a15a65: Pull complete [2022-03-07T05:03:43.113Z] 22a0e8bec74d: Pull complete [2022-03-07T05:03:43.113Z] 640e595b4fbd: Pull complete [2022-03-07T05:03:43.113Z] 763cafe07f6e: Pull complete [2022-03-07T05:03:43.113Z] 0c0b528cf693: Pull complete [2022-03-07T05:03:45.681Z] 10935f4eaf8b: Pull complete [2022-03-07T05:03:45.681Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-07T05:03:45.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-07T05:03:45.681Z] ---> 99d49a6021b9 [2022-03-07T05:03:45.681Z] Step 3/10 : ARG MAKE='make build' [2022-03-07T05:03:47.594Z] ---> Running in 6bfb17cfbf55 [2022-03-07T05:03:47.594Z] Removing intermediate container 6bfb17cfbf55 [2022-03-07T05:03:47.594Z] ---> 7ddf0f712797 [2022-03-07T05:03:47.594Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-07T05:03:47.594Z] ---> Running in 78d1bc96ac55 [2022-03-07T05:03:48.166Z] Removing intermediate container 78d1bc96ac55 [2022-03-07T05:03:48.166Z] ---> 5a96275769b0 [2022-03-07T05:03:48.166Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-07T05:03:48.166Z] ---> Running in c5ee21655a75 [2022-03-07T05:03:48.166Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-07T05:03:49.115Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-07T05:03:49.374Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-03-07T05:03:49.639Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-03-07T05:03:49.639Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-03-07T05:03:49.904Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-03-07T05:03:49.904Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-03-07T05:03:49.904Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-03-07T05:03:50.166Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-03-07T05:03:50.166Z] (8/8) Installing openssh (8.8_p1-r1) [2022-03-07T05:03:50.166Z] Executing busybox-1.34.1-r3.trigger [2022-03-07T05:03:50.166Z] OK: 226 MiB in 60 packages [2022-03-07T05:03:50.736Z] Removing intermediate container c5ee21655a75 [2022-03-07T05:03:50.736Z] ---> 063ff08d07b5 [2022-03-07T05:03:50.736Z] Step 6/10 : WORKDIR /device-modbus-go [2022-03-07T05:03:50.736Z] ---> Running in 209bcc90c467 [2022-03-07T05:03:50.736Z] Removing intermediate container 209bcc90c467 [2022-03-07T05:03:50.736Z] ---> e7ada0ebef08 [2022-03-07T05:03:50.736Z] Step 7/10 : COPY go.mod vendor* ./ [2022-03-07T05:03:50.997Z] ---> 72a2c40c2bd6 [2022-03-07T05:03:50.997Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-07T05:03:50.997Z] ---> Running in ecd11c8ebfce [2022-03-07T05:03:51.090Z] Still waiting to schedule task [2022-03-07T05:03:51.091Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-07T05:04:37.742Z] Removing intermediate container ecd11c8ebfce [2022-03-07T05:04:37.742Z] ---> f55e108c7f83 [2022-03-07T05:04:37.742Z] Step 9/10 : COPY . . [2022-03-07T05:04:37.742Z] ---> 69d8a22d0dc6 [2022-03-07T05:04:37.742Z] Step 10/10 : RUN ${MAKE} [2022-03-07T05:04:37.742Z] ---> Running in 8e3c8960072d [2022-03-07T05:04:37.742Z] noop [2022-03-07T05:04:37.742Z] Removing intermediate container 8e3c8960072d [2022-03-07T05:04:37.742Z] ---> e6da87781f4c [2022-03-07T05:04:37.742Z] Successfully built e6da87781f4c [2022-03-07T05:04:37.742Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:04:38.082Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-07T05:04:38.082Z] . [Pipeline] withDockerContainer [2022-03-07T05:04:38.168Z] prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container [2022-03-07T05:04:38.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@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 ******** ci-base-image-x86_64 cat [2022-03-07T05:04:38.518Z] $ docker top c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-07T05:04:38.923Z] + go version [2022-03-07T05:04:38.923Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-07T05:04:38.954Z] $ docker stop --time=1 c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 [2022-03-07T05:04:40.116Z] $ docker rm -f c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:04:40.782Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-07T05:04:40.782Z] . [Pipeline] withDockerContainer [2022-03-07T05:04:40.870Z] prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container [2022-03-07T05:04:40.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@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 ******** ci-base-image-x86_64 cat [2022-03-07T05:04:41.274Z] $ docker top e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-07T05:04:41.745Z] + make test [2022-03-07T05:04:41.745Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-07T05:04:42.007Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-03-07T05:04:50.224Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-07T05:04:50.224Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-07T05:04:50.224Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-07T05:04:50.224Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-07T05:04:50.224Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-07T05:04:50.224Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-07T05:04:56.874Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements [2022-03-07T05:04:56.874Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-03-07T05:04:56.916Z] $ docker stop --time=1 e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 [2022-03-07T05:04:58.427Z] $ docker rm -f e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:04:59.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-07T05:04:59.473Z] [2022-03-07T05:04:59.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:04:59.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-07T05:04:59.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-07T05:04:59.823Z] 5eb5b503b376: Pulling fs layer [2022-03-07T05:04:59.823Z] 5c69ac0246d0: Pulling fs layer [2022-03-07T05:04:59.823Z] ec43610c2a17: Pulling fs layer [2022-03-07T05:04:59.823Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-07T05:04:59.823Z] 33b1e0a273af: Pulling fs layer [2022-03-07T05:04:59.823Z] 5d3b04190fa2: Pulling fs layer [2022-03-07T05:04:59.823Z] 2f39f015ded8: Pulling fs layer [2022-03-07T05:04:59.823Z] 33b1e0a273af: Waiting [2022-03-07T05:04:59.823Z] 5d3b04190fa2: Waiting [2022-03-07T05:04:59.823Z] 2f39f015ded8: Waiting [2022-03-07T05:04:59.823Z] 3a2ae6a8a46f: Waiting [2022-03-07T05:04:59.823Z] 5c69ac0246d0: Verifying Checksum [2022-03-07T05:04:59.823Z] 5c69ac0246d0: Download complete [2022-03-07T05:04:59.823Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-07T05:04:59.823Z] 3a2ae6a8a46f: Download complete [2022-03-07T05:04:59.823Z] 33b1e0a273af: Verifying Checksum [2022-03-07T05:04:59.823Z] 33b1e0a273af: Download complete [2022-03-07T05:05:00.090Z] ec43610c2a17: Verifying Checksum [2022-03-07T05:05:00.090Z] ec43610c2a17: Download complete [2022-03-07T05:05:00.090Z] 5d3b04190fa2: Verifying Checksum [2022-03-07T05:05:00.090Z] 5d3b04190fa2: Download complete [2022-03-07T05:05:00.090Z] 5eb5b503b376: Verifying Checksum [2022-03-07T05:05:00.090Z] 5eb5b503b376: Download complete [2022-03-07T05:05:00.669Z] 2f39f015ded8: Verifying Checksum [2022-03-07T05:05:00.669Z] 2f39f015ded8: Download complete [2022-03-07T05:05:01.622Z] 5eb5b503b376: Pull complete [2022-03-07T05:05:01.622Z] 5c69ac0246d0: Pull complete [2022-03-07T05:05:02.564Z] ec43610c2a17: Pull complete [2022-03-07T05:05:02.564Z] 3a2ae6a8a46f: Pull complete [2022-03-07T05:05:02.564Z] 33b1e0a273af: Pull complete [2022-03-07T05:05:02.830Z] 5d3b04190fa2: Pull complete [2022-03-07T05:05:08.168Z] 2f39f015ded8: Pull complete [2022-03-07T05:05:08.168Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-07T05:05:08.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-07T05:05:08.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-07T05:05:08.260Z] prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container [2022-03-07T05:05:08.298Z] $ 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-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@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-03-07T05:05:10.558Z] $ docker top ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:05:11.086Z] ---> job-cost.sh [2022-03-07T05:05:11.086Z] lf-activate-venv: SKIPPING [2022-03-07T05:05:11.086Z] INFO: No Stack... [2022-03-07T05:05:11.346Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-07T05:05:11.919Z] INFO: Archiving Costs [Pipeline] sh [2022-03-07T05:05:12.240Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-312/archives/cost.csv [2022-03-07T05:05:12.240Z] + cut -d, -f6 [Pipeline] lock [2022-03-07T05:05:12.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [2022-03-07T05:05:12.288Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] did not exist. Created. [2022-03-07T05:05:12.289Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-07T05:05:12.690Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-07T05:05:12.751Z] Stashed 1 file(s) [Pipeline] } [2022-03-07T05:05:12.770Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-07T05:05:12.855Z] $ docker stop --time=1 ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa [2022-03-07T05:05:14.008Z] $ docker rm -f ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-07T05:05:14.349Z] Failed in branch amd64 [2022-03-07T05:05:16.910Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6507 in /w/workspace/xfoundry_device-modbus-go_PR-312 [Pipeline] { [Pipeline] ws [2022-03-07T05:05:16.953Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-03-07T05:05:17.195Z] Selected Git installation does not exist. Using Default [2022-03-07T05:05:17.195Z] The recommended git tool is: NONE [2022-03-07T05:05:21.883Z] using credential edgex-jenkins-ssh [2022-03-07T05:05:21.901Z] Cloning the remote Git repository [2022-03-07T05:05:21.957Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-03-07T05:05:22.039Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-03-07T05:05:22.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-03-07T05:05:22.110Z] > git --version # timeout=10 [2022-03-07T05:05:22.134Z] > git --version # 'git version 2.17.1' [2022-03-07T05:05:22.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-07T05:05:22.227Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-07T05:05:23.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-03-07T05:05:23.311Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-07T05:05:23.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-03-07T05:05:24.109Z] Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit ffad701eed76b077b9514e94842a0f91ccbb1d43 [2022-03-07T05:05:24.320Z] Merge succeeded, producing ffad701eed76b077b9514e94842a0f91ccbb1d43 [2022-03-07T05:05:24.321Z] Checking out Revision ffad701eed76b077b9514e94842a0f91ccbb1d43 (PR-312) [2022-03-07T05:05:23.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-03-07T05:05:23.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-07T05:05:23.501Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-07T05:05:24.129Z] > git config core.sparsecheckout # timeout=10 [2022-03-07T05:05:24.149Z] > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 [2022-03-07T05:05:24.240Z] > git remote # timeout=10 [2022-03-07T05:05:24.255Z] > git config --get remote.origin.url # timeout=10 [2022-03-07T05:05:24.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-07T05:05:24.282Z] > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 [2022-03-07T05:05:24.306Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-07T05:05:24.329Z] > git config core.sparsecheckout # timeout=10 [2022-03-07T05:05:24.347Z] > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 [2022-03-07T05:05:28.477Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-03-07T05:05:28.538Z] > git --version # timeout=10 [2022-03-07T05:05:28.547Z] > git --version # 'git version 2.17.1' [2022-03-07T05:05:28.561Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-07T05:05:29.573Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-07T05:05:29.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-07T05:05:29.573Z] Dload Upload Total Spent Left Speed [2022-03-07T05:05:29.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46810 0 --:--:-- --:--:-- --:--:-- 46810 [Pipeline] sh [2022-03-07T05:05:30.123Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-07T05:05:30.495Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-07T05:05:30.495Z] + sudo tee /etc/docker/daemon.new [2022-03-07T05:05:30.495Z] { [2022-03-07T05:05:30.495Z] "registry-mirrors": [ [2022-03-07T05:05:30.495Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-07T05:05:30.495Z] ], [2022-03-07T05:05:30.495Z] "bip": "10.250.0.254/24", [2022-03-07T05:05:30.495Z] "hosts": [ [2022-03-07T05:05:30.495Z] "tcp://0.0.0.0:5555", [2022-03-07T05:05:30.495Z] "unix:///var/run/docker.sock" [2022-03-07T05:05:30.495Z] ], [2022-03-07T05:05:30.495Z] "mtu": 1458, [2022-03-07T05:05:30.495Z] "selinux-enabled": true, [2022-03-07T05:05:30.495Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-07T05:05:30.495Z] } [Pipeline] sh [2022-03-07T05:05:30.914Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-07T05:05:31.283Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-07T05:05:49.686Z] provisioning config files... [2022-03-07T05:05:49.712Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5632962517448584818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:05:50.294Z] ---> docker-login.sh [2022-03-07T05:05:50.294Z] nexus3.edgexfoundry.org:10001 [2022-03-07T05:05:50.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:05:51.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:05:51.163Z] Configure a credential helper to remove this warning. See [2022-03-07T05:05:51.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:05:51.163Z] [2022-03-07T05:05:51.163Z] Login Succeeded [2022-03-07T05:05:51.163Z] nexus3.edgexfoundry.org:10002 [2022-03-07T05:05:51.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:05:51.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:05:51.440Z] Configure a credential helper to remove this warning. See [2022-03-07T05:05:51.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:05:51.440Z] [2022-03-07T05:05:51.440Z] Login Succeeded [2022-03-07T05:05:51.440Z] nexus3.edgexfoundry.org:10003 [2022-03-07T05:05:52.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:05:52.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:05:52.040Z] Configure a credential helper to remove this warning. See [2022-03-07T05:05:52.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:05:52.040Z] [2022-03-07T05:05:52.040Z] Login Succeeded [2022-03-07T05:05:52.040Z] nexus3.edgexfoundry.org:10004 [2022-03-07T05:05:52.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:05:52.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:05:52.320Z] Configure a credential helper to remove this warning. See [2022-03-07T05:05:52.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:05:52.320Z] [2022-03-07T05:05:52.320Z] Login Succeeded [2022-03-07T05:05:52.320Z] docker.io [2022-03-07T05:05:52.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-07T05:05:53.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-07T05:05:53.191Z] Configure a credential helper to remove this warning. See [2022-03-07T05:05:53.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-07T05:05:53.191Z] [2022-03-07T05:05:53.191Z] Login Succeeded [2022-03-07T05:05:53.191Z] ---> docker-login.sh ends [Pipeline] } [2022-03-07T05:05:53.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-07T05:05:53.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-07T05:05:53.634Z] ========================================================= [2022-03-07T05:05:53.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-07T05:05:53.634Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:05:54.081Z] + 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-03-07T05:05:54.358Z] Sending build context to Docker daemon 2.995MB [2022-03-07T05:05:54.358Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-03-07T05:05:54.358Z] Step 2/10 : FROM ${BASE} AS builder [2022-03-07T05:05:54.634Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-07T05:05:54.634Z] 9b3977197b4f: Pulling fs layer [2022-03-07T05:05:54.634Z] 1a89e8eeedd5: Pulling fs layer [2022-03-07T05:05:54.634Z] 94645a83ff95: Pulling fs layer [2022-03-07T05:05:54.634Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-07T05:05:54.634Z] 0c92f367c5e7: Pulling fs layer [2022-03-07T05:05:54.634Z] f7c0051592d6: Pulling fs layer [2022-03-07T05:05:54.634Z] a227ed2f7395: Pulling fs layer [2022-03-07T05:05:54.634Z] 7b1c46037f91: Pulling fs layer [2022-03-07T05:05:54.634Z] f7c0051592d6: Waiting [2022-03-07T05:05:54.634Z] 7b1c46037f91: Waiting [2022-03-07T05:05:54.634Z] a227ed2f7395: Waiting [2022-03-07T05:05:54.634Z] 3f3a8bcf1eab: Waiting [2022-03-07T05:05:54.634Z] 0c92f367c5e7: Waiting [2022-03-07T05:05:54.634Z] 94645a83ff95: Verifying Checksum [2022-03-07T05:05:54.634Z] 94645a83ff95: Download complete [2022-03-07T05:05:54.634Z] 1a89e8eeedd5: Download complete [2022-03-07T05:05:54.634Z] 0c92f367c5e7: Verifying Checksum [2022-03-07T05:05:54.634Z] 0c92f367c5e7: Download complete [2022-03-07T05:05:54.634Z] f7c0051592d6: Verifying Checksum [2022-03-07T05:05:54.634Z] f7c0051592d6: Download complete [2022-03-07T05:05:54.634Z] 9b3977197b4f: Download complete [2022-03-07T05:05:54.634Z] a227ed2f7395: Verifying Checksum [2022-03-07T05:05:54.634Z] a227ed2f7395: Download complete [2022-03-07T05:05:55.234Z] 9b3977197b4f: Pull complete [2022-03-07T05:05:55.839Z] 1a89e8eeedd5: Pull complete [2022-03-07T05:05:56.445Z] 94645a83ff95: Pull complete [2022-03-07T05:05:56.445Z] 7b1c46037f91: Verifying Checksum [2022-03-07T05:05:56.445Z] 7b1c46037f91: Download complete [2022-03-07T05:05:57.046Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-07T05:05:57.047Z] 3f3a8bcf1eab: Download complete [2022-03-07T05:06:09.472Z] 3f3a8bcf1eab: Pull complete [2022-03-07T05:06:09.472Z] 0c92f367c5e7: Pull complete [2022-03-07T05:06:09.472Z] f7c0051592d6: Pull complete [2022-03-07T05:06:09.472Z] a227ed2f7395: Pull complete [2022-03-07T05:06:14.893Z] 7b1c46037f91: Pull complete [2022-03-07T05:06:14.893Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-07T05:06:14.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-07T05:06:14.893Z] ---> f79e39bc4007 [2022-03-07T05:06:14.893Z] Step 3/10 : ARG MAKE='make build' [2022-03-07T05:06:16.871Z] ---> Running in 10142fd84601 [2022-03-07T05:06:17.154Z] Removing intermediate container 10142fd84601 [2022-03-07T05:06:17.154Z] ---> ca54343ea4b9 [2022-03-07T05:06:17.154Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-07T05:06:17.154Z] ---> Running in 395c845ece37 [2022-03-07T05:06:19.140Z] Removing intermediate container 395c845ece37 [2022-03-07T05:06:19.140Z] ---> 395af11f2e3d [2022-03-07T05:06:19.140Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-07T05:06:19.140Z] ---> Running in 75e84887237e [2022-03-07T05:06:20.122Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-07T05:06:21.100Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-07T05:06:22.078Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-03-07T05:06:22.078Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-03-07T05:06:22.078Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-03-07T05:06:22.349Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-03-07T05:06:22.349Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-03-07T05:06:22.629Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-03-07T05:06:22.629Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-03-07T05:06:22.629Z] (8/8) Installing openssh (8.8_p1-r1) [2022-03-07T05:06:22.902Z] Executing busybox-1.34.1-r3.trigger [2022-03-07T05:06:22.902Z] OK: 226 MiB in 60 packages [2022-03-07T05:06:23.879Z] Removing intermediate container 75e84887237e [2022-03-07T05:06:23.879Z] ---> 0da0bec1ccf6 [2022-03-07T05:06:23.879Z] Step 6/10 : WORKDIR /device-modbus-go [2022-03-07T05:06:23.879Z] ---> Running in 4e783593b335 [2022-03-07T05:06:24.475Z] Removing intermediate container 4e783593b335 [2022-03-07T05:06:24.475Z] ---> 07a6c7fa3f1f [2022-03-07T05:06:24.475Z] Step 7/10 : COPY go.mod vendor* ./ [2022-03-07T05:06:25.069Z] ---> f5b4c44268d2 [2022-03-07T05:06:25.069Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-07T05:06:25.069Z] ---> Running in 2c8cfffa559b [2022-03-07T05:07:46.858Z] Removing intermediate container 2c8cfffa559b [2022-03-07T05:07:46.858Z] ---> d2474963a70e [2022-03-07T05:07:46.858Z] Step 9/10 : COPY . . [2022-03-07T05:07:46.858Z] ---> 281be8804cb2 [2022-03-07T05:07:46.858Z] Step 10/10 : RUN ${MAKE} [2022-03-07T05:07:46.858Z] ---> Running in 03cdab22f543 [2022-03-07T05:07:46.858Z] noop [2022-03-07T05:07:46.858Z] Removing intermediate container 03cdab22f543 [2022-03-07T05:07:46.858Z] ---> ffb1ddcb8963 [2022-03-07T05:07:46.858Z] Successfully built ffb1ddcb8963 [2022-03-07T05:07:46.858Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:07:47.224Z] + docker inspect -f . ci-base-image-arm64 [2022-03-07T05:07:47.224Z] . [Pipeline] withDockerContainer [2022-03-07T05:07:47.482Z] prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container [2022-03-07T05:07:47.568Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-07T05:07:48.967Z] $ docker top 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-07T05:07:49.943Z] + go version [2022-03-07T05:07:49.943Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-07T05:07:49.978Z] $ docker stop --time=1 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 [2022-03-07T05:07:51.671Z] $ docker rm -f 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:07:52.530Z] + docker inspect -f . ci-base-image-arm64 [2022-03-07T05:07:52.530Z] . [Pipeline] withDockerContainer [2022-03-07T05:07:52.773Z] prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container [2022-03-07T05:07:52.846Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-07T05:07:54.179Z] $ docker top 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-07T05:07:55.191Z] + make test [2022-03-07T05:07:55.191Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-07T05:07:56.641Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-03-07T05:08:29.053Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-07T05:08:29.053Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-07T05:08:29.053Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-07T05:08:29.053Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-07T05:08:33.374Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-07T05:08:33.374Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-07T05:08:45.788Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 46.6% of statements [2022-03-07T05:08:45.788Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-03-07T05:08:45.837Z] $ docker stop --time=1 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 [2022-03-07T05:08:47.707Z] $ docker rm -f 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:08:49.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-07T05:08:49.095Z] [2022-03-07T05:08:49.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:08:49.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-07T05:08:49.749Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-07T05:08:49.749Z] 8998bd30e6a1: Pulling fs layer [2022-03-07T05:08:49.749Z] 04944245beec: Pulling fs layer [2022-03-07T05:08:49.749Z] 699f458cf7ca: Pulling fs layer [2022-03-07T05:08:49.749Z] 765212b225bb: Pulling fs layer [2022-03-07T05:08:49.749Z] f23df028b6ca: Pulling fs layer [2022-03-07T05:08:49.749Z] d65c8cfc05b1: Pulling fs layer [2022-03-07T05:08:49.749Z] 2437ff75d9bd: Pulling fs layer [2022-03-07T05:08:49.749Z] d65c8cfc05b1: Waiting [2022-03-07T05:08:49.749Z] 2437ff75d9bd: Waiting [2022-03-07T05:08:49.749Z] 765212b225bb: Waiting [2022-03-07T05:08:49.749Z] f23df028b6ca: Waiting [2022-03-07T05:08:49.749Z] 04944245beec: Download complete [2022-03-07T05:08:49.749Z] 765212b225bb: Verifying Checksum [2022-03-07T05:08:49.749Z] 765212b225bb: Download complete [2022-03-07T05:08:49.749Z] f23df028b6ca: Verifying Checksum [2022-03-07T05:08:49.749Z] f23df028b6ca: Download complete [2022-03-07T05:08:49.749Z] d65c8cfc05b1: Verifying Checksum [2022-03-07T05:08:49.749Z] d65c8cfc05b1: Download complete [2022-03-07T05:08:50.027Z] 699f458cf7ca: Verifying Checksum [2022-03-07T05:08:50.027Z] 699f458cf7ca: Download complete [2022-03-07T05:08:50.301Z] 8998bd30e6a1: Verifying Checksum [2022-03-07T05:08:50.301Z] 8998bd30e6a1: Download complete [2022-03-07T05:08:52.277Z] 2437ff75d9bd: Verifying Checksum [2022-03-07T05:08:52.277Z] 2437ff75d9bd: Download complete [2022-03-07T05:08:54.907Z] 8998bd30e6a1: Pull complete [2022-03-07T05:08:54.907Z] 04944245beec: Pull complete [2022-03-07T05:08:56.346Z] 699f458cf7ca: Pull complete [2022-03-07T05:08:56.621Z] 765212b225bb: Pull complete [2022-03-07T05:08:57.602Z] f23df028b6ca: Pull complete [2022-03-07T05:08:57.876Z] d65c8cfc05b1: Pull complete [2022-03-07T05:09:12.966Z] 2437ff75d9bd: Pull complete [2022-03-07T05:09:12.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-07T05:09:12.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-07T05:09:12.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-07T05:09:13.206Z] prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container [2022-03-07T05:09:13.290Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-07T05:09:15.940Z] $ docker top 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:16.922Z] ---> job-cost.sh [2022-03-07T05:09:16.923Z] lf-activate-venv: SKIPPING [2022-03-07T05:09:16.923Z] INFO: No Stack... [2022-03-07T05:09:17.194Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-07T05:09:18.167Z] INFO: Archiving Costs [Pipeline] sh [2022-03-07T05:09:18.841Z] + cut -d, -f6 [2022-03-07T05:09:18.841Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-03-07T05:09:18.928Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [2022-03-07T05:09:18.933Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] did not exist. Created. [2022-03-07T05:09:18.933Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-07T05:09:19.690Z] /w/workspace/device-modbus-go/1@tmp/durable-7d2f0f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-07T05:09:20.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-07T05:09:20.425Z] Warning: overwriting stash ‘stack-cost’ [2022-03-07T05:09:20.886Z] Stashed 1 file(s) [Pipeline] } [2022-03-07T05:09:20.903Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-07T05:09:20.983Z] $ docker stop --time=1 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f [2022-03-07T05:09:22.441Z] $ docker rm -f 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-07T05:09:23.137Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-07T05:09:25.154Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-312/archives ']' [2022-03-07T05:09:25.154Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-312/archives [2022-03-07T05:09:25.154Z] total 8 [2022-03-07T05:09:25.154Z] drwxr-xr-x. 3 root root 34 Mar 7 05:05 . [2022-03-07T05:09:25.154Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 7 05:05 .. [2022-03-07T05:09:25.154Z] drwxr-xr-x. 2 root root 6 Mar 7 05:05 cost [2022-03-07T05:09:25.154Z] -rw-r--r--. 1 root root 87 Mar 7 05:05 cost.csv [2022-03-07T05:09:25.154Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-312/archives [2022-03-07T05:09:25.154Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-312/archives [2022-03-07T05:09:25.154Z] total 8 [2022-03-07T05:09:25.154Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 7 05:05 . [2022-03-07T05:09:25.154Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 7 05:05 .. [2022-03-07T05:09:25.154Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 7 05:05 cost [2022-03-07T05:09:25.154Z] -rw-r--r--. 1 jenkins jenkins 87 Mar 7 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:25.500Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:26.092Z] ---> package-listing.sh [2022-03-07T05:09:26.092Z] ++ facter osfamily [2022-03-07T05:09:26.092Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-07T05:09:26.353Z] + OS_FAMILY=redhat [2022-03-07T05:09:26.353Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-312 [2022-03-07T05:09:26.353Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-07T05:09:26.353Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-07T05:09:26.353Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-07T05:09:26.353Z] + PACKAGES=/tmp/packages_start.txt [2022-03-07T05:09:26.353Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-312 ']' [2022-03-07T05:09:26.353Z] + PACKAGES=/tmp/packages_end.txt [2022-03-07T05:09:26.353Z] + case "${OS_FAMILY}" in [2022-03-07T05:09:26.353Z] + rpm -qa [2022-03-07T05:09:26.353Z] + sort [2022-03-07T05:09:26.924Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-07T05:09:26.924Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-07T05:09:26.924Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-07T05:09:26.924Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-312 ']' [2022-03-07T05:09:26.924Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-312/archives/ [2022-03-07T05:09:26.924Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-312/archives/ [Pipeline] echo [2022-03-07T05:09:26.959Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-07T05:09:27.260Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-07T05:09:27.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-07T05:09:27.845Z] . [Pipeline] withDockerContainer [2022-03-07T05:09:27.937Z] prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container [2022-03-07T05:09:27.978Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-312/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-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-07T05:09:28.273Z] $ docker top 6a2d188bb8ea647821de297fb4070e471ae34d7daa82150afce9257342f0b290 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-07T05:09:28.832Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-07T05:09:29.147Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-07T05:09:29.457Z] + ls /var/log/sa-host [2022-03-07T05:09:29.457Z] + sadf -c /var/log/sa-host/sa07 [2022-03-07T05:09:29.457Z] file_magic: OK [2022-03-07T05:09:29.457Z] HZ: Using current value: 100 [2022-03-07T05:09:29.457Z] file_header: OK [2022-03-07T05:09:29.457Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-03-07T05:09:29.457Z] Statistics: [2022-03-07T05:09:29.457Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-07T05:09:29.457Z] File successfully converted to sysstat format version 12.5.2 [2022-03-07T05:09:29.457Z] + sadf -c /var/log/sa-host/sa17 [2022-03-07T05:09:29.457Z] file_magic: OK [2022-03-07T05:09:29.457Z] HZ: Using current value: 100 [2022-03-07T05:09:29.457Z] file_header: OK [2022-03-07T05:09:29.457Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-03-07T05:09:29.457Z] Statistics: [2022-03-07T05:09:29.457Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-07T05:09:29.457Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-07T05:09:29.752Z] provisioning config files... [2022-03-07T05:09:29.762Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config3482396848723720085tmp [Pipeline] { [Pipeline] echo [2022-03-07T05:09:29.807Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:30.119Z] ---> create-netrc.sh [Pipeline] } [2022-03-07T05:09:30.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:30.567Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-07T05:09:30.608Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:30.928Z] ---> sudo-logs.sh [2022-03-07T05:09:30.928Z] Archiving 'sudo' log.. [2022-03-07T05:09:30.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6504.novalocal: Name or service not known [2022-03-07T05:09:30.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6504.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-07T05:09:31.007Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:31.319Z] ---> job-cost.sh [2022-03-07T05:09:31.319Z] lf-activate-venv: SKIPPING [2022-03-07T05:09:31.319Z] DEBUG: total: 0.05999999865889549 [2022-03-07T05:09:31.319Z] INFO: Retrieving Stack Cost... [2022-03-07T05:09:31.890Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-07T05:09:32.460Z] INFO: Archiving Costs [Pipeline] echo [2022-03-07T05:09:32.507Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-07T05:09:32.830Z] ---> logs-deploy.sh [2022-03-07T05:09:32.830Z] lf-activate-venv: SKIPPING [2022-03-07T05:09:32.830Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-312/1 [2022-03-07T05:09:32.830Z] INFO: archiving workspace using pattern(s): [2022-03-07T05:09:33.774Z] Archives upload complete. [2022-03-07T05:09:33.774Z] INFO: archiving logs to Nexus