Pull request #308 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26a5405512586f35284a99a5f19a7b1b4f92c644+4a13dc8cbc9452d90b2dd7765ba07908e93b105b (270c0cd3977594e8023b67b1483bf7e717743977) 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-ssh18430107366531182153.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh17990578664697448677.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-308/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-308/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1249800918000592561.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-308/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4273334851915456659.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh6763513013475745022.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-308/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-308/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4094276049005987519.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 dae07dc806156effb2cae02074e2f5f64a063e83 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4287 in /w/workspace/xfoundry_device-modbus-go_PR-308 [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-308 # 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-308@tmp/jenkins-gitclient-ssh7747085321860406082.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 26a5405512586f35284a99a5f19a7b1b4f92c644 Merge succeeded, producing 26a5405512586f35284a99a5f19a7b1b4f92c644 Checking out Revision 26a5405512586f35284a99a5f19a7b1b4f92c644 (PR-308) > 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-308@tmp/jenkins-gitclient-ssh6215288794249025650.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26a5405512586f35284a99a5f19a7b1b4f92c644 # 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-308@tmp/jenkins-gitclient-ssh1124263059410093390.key > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26a5405512586f35284a99a5f19a7b1b4f92c644 # 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 dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-31T05:03:15.271Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-31T05:03:15.455Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-31T05:03:15.562Z] ========================================================= [2022-01-31T05:03:15.562Z] EdgeX Global Pipelines Version Info [2022-01-31T05:03:15.562Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:03:16.726Z] ------------------- [2022-01-31T05:03:16.726Z] stable info: [2022-01-31T05:03:16.726Z] ------------------- [2022-01-31T05:03:16.726Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-31T05:03:16.726Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T05:03:16.726Z] Message: update stable to v1.0.219 [2022-01-31T05:03:17.300Z] ------------------- [2022-01-31T05:03:17.300Z] experimental info: [2022-01-31T05:03:17.300Z] ------------------- [2022-01-31T05:03:17.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-31T05:03:17.300Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T05:03:17.300Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-31T05:03:17.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-01-31T05:03:17.604Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-01-31T05:03:17.646Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-31T05:03:17.689Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-31T05:03:17.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-31T05:03:17.770Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-31T05:03:17.810Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-31T05:03:17.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-31T05:03:17.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-31T05:03:17.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-31T05:03:17.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-31T05:03:18.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-01-31T05:03:18.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-31T05:03:18.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-31T05:03:18.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T05:03:18.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T05:03:18.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T05:03:18.269Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T05:03:18.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-31T05:03:18.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-31T05:03:18.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-31T05:03:18.436Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-31T05:03:18.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-31T05:03:18.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-31T05:03:18.570Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-31T05:03:18.612Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-31T05:03:18.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-308 [Pipeline] echo [2022-01-31T05:03:18.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-308 [Pipeline] echo [2022-01-31T05:03:18.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-308 [Pipeline] echo [2022-01-31T05:03:18.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26a5405512586f35284a99a5f19a7b1b4f92c644 [Pipeline] echo [2022-01-31T05:03:18.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26a5405 [Pipeline] echo [2022-01-31T05:03:18.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:03:18.988Z] provisioning config files... [2022-01-31T05:03:19.003Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-308@tmp/config6057221522414196973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:03:19.368Z] ---> docker-login.sh [2022-01-31T05:03:19.368Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:03:19.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:19.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:19.632Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:19.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:19.632Z] [2022-01-31T05:03:19.632Z] Login Succeeded [2022-01-31T05:03:19.632Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:03:19.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:19.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:19.632Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:19.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:19.632Z] [2022-01-31T05:03:19.632Z] Login Succeeded [2022-01-31T05:03:19.632Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:03:19.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:19.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:19.897Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:19.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:19.897Z] [2022-01-31T05:03:19.897Z] Login Succeeded [2022-01-31T05:03:19.897Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:03:19.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:19.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:19.897Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:19.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:19.897Z] [2022-01-31T05:03:19.897Z] Login Succeeded [2022-01-31T05:03:19.897Z] docker.io [2022-01-31T05:03:19.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:20.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:20.473Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:20.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:20.473Z] [2022-01-31T05:03:20.473Z] Login Succeeded [2022-01-31T05:03:20.473Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:03:20.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-31T05:03:21.130Z] + git rev-list -1 --merges 26a5405512586f35284a99a5f19a7b1b4f92c644~1..26a5405512586f35284a99a5f19a7b1b4f92c644 [Pipeline] echo [2022-01-31T05:03:21.188Z] -----------> git rev-list -1 --merges 26a5405512586f35284a99a5f19a7b1b4f92c644~1..26a5405512586f35284a99a5f19a7b1b4f92c644 26a5405512586f35284a99a5f19a7b1b4f92c644 [false] [Pipeline] sh [2022-01-31T05:03:21.503Z] + git log --format=format:%s -1 26a5405512586f35284a99a5f19a7b1b4f92c644 [Pipeline] echo [2022-01-31T05:03:21.533Z] ========================================================= [2022-01-31T05:03:21.533Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-31T05:03:21.533Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T05:03:21.988Z] + git log --format=format:%s -1 26a5405512586f35284a99a5f19a7b1b4f92c644 [Pipeline] echo [2022-01-31T05:03:22.023Z] [semverPrep] GIT_COMMIT: 26a5405512586f35284a99a5f19a7b1b4f92c644, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-01-31T05:03:22.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-31T05:03:22.526Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-31T05:03:22.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-31T05:03:22.526Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-31T05:03:22.526Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-31T05:03:22.527Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-31T05:03:22.527Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-31T05:03:22.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:03:23.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:03:23.017Z] [2022-01-31T05:03:23.017Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:03:23.387Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:03:23.387Z] latest: Pulling from edgex-devops/git-semver [2022-01-31T05:03:23.387Z] a0d0a0d46f8b: Pulling fs layer [2022-01-31T05:03:23.387Z] 3e5f54012d9b: Pulling fs layer [2022-01-31T05:03:23.387Z] 4c7163046ea9: Pulling fs layer [2022-01-31T05:03:23.387Z] 0c2d73faf560: Pulling fs layer [2022-01-31T05:03:23.387Z] 0c2d73faf560: Waiting [2022-01-31T05:03:23.387Z] 3e5f54012d9b: Verifying Checksum [2022-01-31T05:03:23.387Z] 3e5f54012d9b: Download complete [2022-01-31T05:03:23.387Z] a0d0a0d46f8b: Verifying Checksum [2022-01-31T05:03:23.387Z] a0d0a0d46f8b: Download complete [2022-01-31T05:03:23.387Z] 0c2d73faf560: Verifying Checksum [2022-01-31T05:03:23.387Z] 0c2d73faf560: Download complete [2022-01-31T05:03:23.387Z] 4c7163046ea9: Verifying Checksum [2022-01-31T05:03:23.387Z] 4c7163046ea9: Download complete [2022-01-31T05:03:23.652Z] a0d0a0d46f8b: Pull complete [2022-01-31T05:03:23.652Z] 3e5f54012d9b: Pull complete [2022-01-31T05:03:23.912Z] 4c7163046ea9: Pull complete [2022-01-31T05:03:24.175Z] 0c2d73faf560: Pull complete [2022-01-31T05:03:24.175Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-31T05:03:24.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:03:24.175Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-31T05:03:24.273Z] prd-centos7-docker-4c-2g-4287 does not seem to be running inside a container [2022-01-31T05:03:24.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-308 -v /w/workspace/xfoundry_device-modbus-go_PR-308:/w/workspace/xfoundry_device-modbus-go_PR-308:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-308@tmp:/w/workspace/xfoundry_device-modbus-go_PR-308@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:10004/edgex-devops/git-semver:latest cat [2022-01-31T05:03:24.926Z] $ docker top 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-31T05:03:25.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T05:03:25.117Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T05:03:25.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T05:03:25.222Z] $ docker exec 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 ssh-agent [2022-01-31T05:03:25.316Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKCeCcA/agent.14 [2022-01-31T05:03:25.316Z] SSH_AGENT_PID=20 [2022-01-31T05:03:25.324Z] Running ssh-add (command line suppressed) [2022-01-31T05:03:25.418Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-308@tmp/private_key_7176600889037028740.key (/w/workspace/xfoundry_device-modbus-go_PR-308@tmp/private_key_7176600889037028740.key) [2022-01-31T05:03:25.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T05:03:25.778Z] + git tag --points-at HEAD [Pipeline] } [2022-01-31T05:03:25.805Z] $ docker exec --env ******** --env ******** 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 ssh-agent -k [2022-01-31T05:03:25.890Z] unset SSH_AUTH_SOCK; [2022-01-31T05:03:25.890Z] unset SSH_AGENT_PID; [2022-01-31T05:03:25.890Z] echo Agent pid 20 killed; [2022-01-31T05:03:25.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-31T05:03:25.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T05:03:25.999Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T05:03:26.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T05:03:26.096Z] $ docker exec 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 ssh-agent [2022-01-31T05:03:26.194Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiFakEi/agent.52 [2022-01-31T05:03:26.194Z] SSH_AGENT_PID=59 [2022-01-31T05:03:26.199Z] Running ssh-add (command line suppressed) [2022-01-31T05:03:26.286Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-308@tmp/private_key_2890384451177945903.key (/w/workspace/xfoundry_device-modbus-go_PR-308@tmp/private_key_2890384451177945903.key) [2022-01-31T05:03:26.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T05:03:26.633Z] + git semver init [2022-01-31T05:03:26.633Z] # -> Open(): unable to determine branch for HEAD [2022-01-31T05:03:26.633Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-308/.git [2022-01-31T05:03:26.633Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-308 [2022-01-31T05:03:26.633Z] # $SEMVER_REMOTE_NAME = origin [2022-01-31T05:03:26.633Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-31T05:03:26.633Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-31T05:03:26.633Z] # $SEMVER_BRANCH = PR-308 [2022-01-31T05:03:26.633Z] # $SEMVER_TEMP = /tmp/semver-725556660 [2022-01-31T05:03:26.633Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-01-31T05:03:27.573Z] # '/tmp/semver-725556660' -> '/w/workspace/xfoundry_device-modbus-go_PR-308/.semver' [2022-01-31T05:03:27.573Z] # -> Force: false [2022-01-31T05:03:27.573Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-308/.semver [Pipeline] } [2022-01-31T05:03:27.598Z] $ docker exec --env ******** --env ******** 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 ssh-agent -k [2022-01-31T05:03:27.676Z] unset SSH_AUTH_SOCK; [2022-01-31T05:03:27.676Z] unset SSH_AGENT_PID; [2022-01-31T05:03:27.676Z] echo Agent pid 59 killed; [2022-01-31T05:03:27.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-31T05:03:28.126Z] + git semver [Pipeline] } [2022-01-31T05:03:28.156Z] $ docker stop --time=1 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 [2022-01-31T05:03:29.366Z] $ docker rm -f 8fba87ab5733de68de2c644b55dbc29ea4c414ee726142b6954db1a6914bce11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-31T05:03:29.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-31T05:03:30.072Z] Stashed 1 file(s) [Pipeline] echo [2022-01-31T05:03:30.089Z] [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-01-31T05:03:30.658Z] provisioning config files... [2022-01-31T05:03:30.669Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-308@tmp/config3612597010696235154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:03:31.013Z] ---> docker-login.sh [2022-01-31T05:03:31.013Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:03:31.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:31.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:31.013Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:31.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:31.013Z] [2022-01-31T05:03:31.013Z] Login Succeeded [2022-01-31T05:03:31.013Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:03:31.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:31.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:31.013Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:31.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:31.013Z] [2022-01-31T05:03:31.013Z] Login Succeeded [2022-01-31T05:03:31.013Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:03:31.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:31.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:31.273Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:31.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:31.273Z] [2022-01-31T05:03:31.273Z] Login Succeeded [2022-01-31T05:03:31.273Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:03:31.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:31.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:31.273Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:31.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:31.273Z] [2022-01-31T05:03:31.273Z] Login Succeeded [2022-01-31T05:03:31.273Z] docker.io [2022-01-31T05:03:31.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:03:31.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:03:31.843Z] Configure a credential helper to remove this warning. See [2022-01-31T05:03:31.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:03:31.843Z] [2022-01-31T05:03:31.843Z] Login Succeeded [2022-01-31T05:03:31.843Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:03:31.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T05:03:32.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T05:03:32.097Z] ========================================================= [2022-01-31T05:03:32.097Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-31T05:03:32.097Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:03:32.513Z] + 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-01-31T05:03:32.513Z] Sending build context to Docker daemon 5.722MB [2022-01-31T05:03:32.513Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T05:03:32.513Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-31T05:03:32.513Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-31T05:03:32.513Z] 59bf1c3509f3: Pulling fs layer [2022-01-31T05:03:32.513Z] 666ba61612fd: Pulling fs layer [2022-01-31T05:03:32.513Z] 8ed8ca486205: Pulling fs layer [2022-01-31T05:03:32.513Z] 4fe6c5a15a65: Pulling fs layer [2022-01-31T05:03:32.513Z] 22a0e8bec74d: Pulling fs layer [2022-01-31T05:03:32.513Z] f965cba54748: Pulling fs layer [2022-01-31T05:03:32.513Z] 861ffc35075e: Pulling fs layer [2022-01-31T05:03:32.513Z] 4b385c91608e: Pulling fs layer [2022-01-31T05:03:32.513Z] 560528eb2ebb: Pulling fs layer [2022-01-31T05:03:32.513Z] f965cba54748: Waiting [2022-01-31T05:03:32.513Z] 861ffc35075e: Waiting [2022-01-31T05:03:32.513Z] 4b385c91608e: Waiting [2022-01-31T05:03:32.513Z] 560528eb2ebb: Waiting [2022-01-31T05:03:32.513Z] 4fe6c5a15a65: Waiting [2022-01-31T05:03:32.513Z] 22a0e8bec74d: Waiting [2022-01-31T05:03:32.775Z] 8ed8ca486205: Verifying Checksum [2022-01-31T05:03:32.775Z] 8ed8ca486205: Download complete [2022-01-31T05:03:32.775Z] 666ba61612fd: Verifying Checksum [2022-01-31T05:03:32.775Z] 666ba61612fd: Download complete [2022-01-31T05:03:32.775Z] 22a0e8bec74d: Verifying Checksum [2022-01-31T05:03:32.775Z] 22a0e8bec74d: Download complete [2022-01-31T05:03:32.775Z] f965cba54748: Verifying Checksum [2022-01-31T05:03:32.775Z] f965cba54748: Download complete [2022-01-31T05:03:32.775Z] 59bf1c3509f3: Verifying Checksum [2022-01-31T05:03:32.775Z] 59bf1c3509f3: Download complete [2022-01-31T05:03:32.775Z] 861ffc35075e: Verifying Checksum [2022-01-31T05:03:32.775Z] 861ffc35075e: Download complete [2022-01-31T05:03:32.775Z] 4b385c91608e: Verifying Checksum [2022-01-31T05:03:32.775Z] 4b385c91608e: Download complete [2022-01-31T05:03:33.036Z] 59bf1c3509f3: Pull complete [2022-01-31T05:03:33.295Z] 560528eb2ebb: Verifying Checksum [2022-01-31T05:03:33.295Z] 560528eb2ebb: Download complete [2022-01-31T05:03:33.295Z] 666ba61612fd: Pull complete [2022-01-31T05:03:33.295Z] 4fe6c5a15a65: Verifying Checksum [2022-01-31T05:03:33.295Z] 4fe6c5a15a65: Download complete [2022-01-31T05:03:33.561Z] 8ed8ca486205: Pull complete [2022-01-31T05:03:37.795Z] 4fe6c5a15a65: Pull complete [2022-01-31T05:03:37.795Z] 22a0e8bec74d: Pull complete [2022-01-31T05:03:37.795Z] f965cba54748: Pull complete [2022-01-31T05:03:37.795Z] 861ffc35075e: Pull complete [2022-01-31T05:03:37.795Z] 4b385c91608e: Pull complete [2022-01-31T05:03:40.381Z] 560528eb2ebb: Pull complete [2022-01-31T05:03:40.381Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-31T05:03:40.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-31T05:03:40.381Z] ---> dd4a08f94e63 [2022-01-31T05:03:40.381Z] Step 3/10 : ARG MAKE='make build' [2022-01-31T05:03:42.429Z] ---> Running in 4ba99b1ca6d1 [2022-01-31T05:03:42.429Z] Removing intermediate container 4ba99b1ca6d1 [2022-01-31T05:03:42.429Z] ---> 141836ab9c26 [2022-01-31T05:03:42.429Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T05:03:42.429Z] ---> Running in 7939ed40cc51 [2022-01-31T05:03:42.692Z] Removing intermediate container 7939ed40cc51 [2022-01-31T05:03:42.692Z] ---> 6950bc9f9759 [2022-01-31T05:03:42.692Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-31T05:03:42.692Z] ---> Running in 44112f39e872 [2022-01-31T05:03:42.956Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-31T05:03:43.935Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-31T05:03:44.196Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T05:03:44.196Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-31T05:03:44.196Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T05:03:44.457Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T05:03:44.457Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-31T05:03:44.717Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-31T05:03:44.717Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-31T05:03:44.717Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-31T05:03:44.979Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T05:03:44.979Z] OK: 226 MiB in 60 packages [2022-01-31T05:03:45.240Z] Removing intermediate container 44112f39e872 [2022-01-31T05:03:45.240Z] ---> cb4c1a8063b6 [2022-01-31T05:03:45.240Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-31T05:03:45.240Z] ---> Running in 106fc7208607 [2022-01-31T05:03:45.240Z] Removing intermediate container 106fc7208607 [2022-01-31T05:03:45.240Z] ---> 52a11222028c [2022-01-31T05:03:45.240Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-31T05:03:45.486Z] Still waiting to schedule task [2022-01-31T05:03:45.487Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-31T05:03:45.504Z] ---> 160bb0d84e73 [2022-01-31T05:03:45.504Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T05:03:45.504Z] ---> Running in 8447bdb78304 [2022-01-31T05:04:24.272Z] Removing intermediate container 8447bdb78304 [2022-01-31T05:04:24.272Z] ---> bdb4f6788fd6 [2022-01-31T05:04:24.272Z] Step 9/10 : COPY . . [2022-01-31T05:04:24.272Z] ---> c4d447149014 [2022-01-31T05:04:24.272Z] Step 10/10 : RUN ${MAKE} [2022-01-31T05:04:24.272Z] ---> Running in 2a0e82fca7a6 [2022-01-31T05:04:24.272Z] noop [2022-01-31T05:04:24.272Z] Removing intermediate container 2a0e82fca7a6 [2022-01-31T05:04:24.272Z] ---> 6d9718d81577 [2022-01-31T05:04:24.272Z] Successfully built 6d9718d81577 [2022-01-31T05:04:24.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:24.619Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T05:04:24.619Z] . [Pipeline] withDockerContainer [2022-01-31T05:04:24.711Z] prd-centos7-docker-4c-2g-4287 does not seem to be running inside a container [2022-01-31T05:04:24.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-308 -v /w/workspace/xfoundry_device-modbus-go_PR-308:/w/workspace/xfoundry_device-modbus-go_PR-308:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-308@tmp:/w/workspace/xfoundry_device-modbus-go_PR-308@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-01-31T05:04:25.074Z] $ docker top 55a0c92e4f6f72f71e669d11fa3685caa38bd78f04538f95e0b5116f52a8e496 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:04:25.471Z] + go version [2022-01-31T05:04:25.471Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-31T05:04:25.505Z] $ docker stop --time=1 55a0c92e4f6f72f71e669d11fa3685caa38bd78f04538f95e0b5116f52a8e496 [2022-01-31T05:04:26.682Z] $ docker rm -f 55a0c92e4f6f72f71e669d11fa3685caa38bd78f04538f95e0b5116f52a8e496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:27.357Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T05:04:27.357Z] . [Pipeline] withDockerContainer [2022-01-31T05:04:27.447Z] prd-centos7-docker-4c-2g-4287 does not seem to be running inside a container [2022-01-31T05:04:27.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-308 -v /w/workspace/xfoundry_device-modbus-go_PR-308:/w/workspace/xfoundry_device-modbus-go_PR-308:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-308@tmp:/w/workspace/xfoundry_device-modbus-go_PR-308@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-01-31T05:04:27.873Z] $ docker top 748ebc2c835bc9bce0d5fc22544967b81ab9f60b40df603efb255002d5b1980c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T05:04:28.326Z] + make test [2022-01-31T05:04:28.326Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T05:04:28.593Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-31T05:04:43.574Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-31T05:04:43.574Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2022-01-31T05:04:43.574Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T05:04:47.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T05:04:47.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T05:04:47.806Z] ./bin/test-attribution-txt.sh [2022-01-31T05:04:47.806Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T05:04:47.806Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-01-31T05:04:47.851Z] $ docker stop --time=1 748ebc2c835bc9bce0d5fc22544967b81ab9f60b40df603efb255002d5b1980c [2022-01-31T05:04:49.319Z] $ docker rm -f 748ebc2c835bc9bce0d5fc22544967b81ab9f60b40df603efb255002d5b1980c [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-01-31T05:04:50.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:04:50.393Z] [2022-01-31T05:04:50.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:50.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:04:50.731Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-31T05:04:50.731Z] b4d181a07f80: Pulling fs layer [2022-01-31T05:04:50.731Z] a1111a8f2ec3: Pulling fs layer [2022-01-31T05:04:50.731Z] ed53099fbce6: Pulling fs layer [2022-01-31T05:04:50.731Z] dc539afda2c1: Pulling fs layer [2022-01-31T05:04:50.731Z] 77bc0d833cb6: Pulling fs layer [2022-01-31T05:04:50.731Z] 9065ff56babe: Pulling fs layer [2022-01-31T05:04:50.731Z] d287ab97295c: Pulling fs layer [2022-01-31T05:04:50.731Z] dc539afda2c1: Waiting [2022-01-31T05:04:50.731Z] 77bc0d833cb6: Waiting [2022-01-31T05:04:50.731Z] 9065ff56babe: Waiting [2022-01-31T05:04:50.731Z] d287ab97295c: Waiting [2022-01-31T05:04:50.731Z] a1111a8f2ec3: Verifying Checksum [2022-01-31T05:04:50.731Z] a1111a8f2ec3: Download complete [2022-01-31T05:04:50.731Z] dc539afda2c1: Verifying Checksum [2022-01-31T05:04:50.731Z] dc539afda2c1: Download complete [2022-01-31T05:04:50.995Z] ed53099fbce6: Verifying Checksum [2022-01-31T05:04:50.995Z] ed53099fbce6: Download complete [2022-01-31T05:04:50.995Z] 77bc0d833cb6: Verifying Checksum [2022-01-31T05:04:50.995Z] 77bc0d833cb6: Download complete [2022-01-31T05:04:50.995Z] 9065ff56babe: Verifying Checksum [2022-01-31T05:04:50.995Z] 9065ff56babe: Download complete [2022-01-31T05:04:50.995Z] b4d181a07f80: Verifying Checksum [2022-01-31T05:04:50.995Z] b4d181a07f80: Download complete [2022-01-31T05:04:51.572Z] d287ab97295c: Verifying Checksum [2022-01-31T05:04:51.572Z] d287ab97295c: Download complete [2022-01-31T05:04:52.523Z] b4d181a07f80: Pull complete [2022-01-31T05:04:52.523Z] a1111a8f2ec3: Pull complete [2022-01-31T05:04:53.105Z] ed53099fbce6: Pull complete [2022-01-31T05:04:53.105Z] dc539afda2c1: Pull complete [2022-01-31T05:04:53.367Z] 77bc0d833cb6: Pull complete [2022-01-31T05:04:53.635Z] 9065ff56babe: Pull complete [2022-01-31T05:04:58.977Z] d287ab97295c: Pull complete [2022-01-31T05:04:58.977Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-31T05:04:58.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:04:58.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-31T05:04:59.058Z] prd-centos7-docker-4c-2g-4287 does not seem to be running inside a container [2022-01-31T05:04:59.308Z] $ 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-308 -v /w/workspace/xfoundry_device-modbus-go_PR-308:/w/workspace/xfoundry_device-modbus-go_PR-308:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-308@tmp:/w/workspace/xfoundry_device-modbus-go_PR-308@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-01-31T05:05:02.309Z] $ docker top 2c62d788213a838c50cc484f57eccef1fdcba558e17558ae8d04b855b4e1b9d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:05:02.809Z] ---> job-cost.sh [2022-01-31T05:05:02.809Z] lf-activate-venv: SKIPPING [2022-01-31T05:05:02.809Z] INFO: No Stack... [2022-01-31T05:05:03.069Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T05:05:03.328Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T05:05:03.653Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-308/archives/cost.csv [2022-01-31T05:05:03.653Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T05:05:03.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [2022-01-31T05:05:03.695Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] did not exist. Created. [2022-01-31T05:05:03.695Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T05:05:04.100Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-31T05:05:04.154Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T05:05:04.174Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T05:05:04.246Z] $ docker stop --time=1 2c62d788213a838c50cc484f57eccef1fdcba558e17558ae8d04b855b4e1b9d4 [2022-01-31T05:05:05.387Z] $ docker rm -f 2c62d788213a838c50cc484f57eccef1fdcba558e17558ae8d04b855b4e1b9d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T05:05:05.768Z] Failed in branch amd64 [2022-01-31T05:05:06.106Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4290 in /w/workspace/xfoundry_device-modbus-go_PR-308 [Pipeline] { [Pipeline] ws [2022-01-31T05:05:06.148Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-01-31T05:05:06.359Z] Selected Git installation does not exist. Using Default [2022-01-31T05:05:06.359Z] The recommended git tool is: NONE [2022-01-31T05:05:10.957Z] using credential edgex-jenkins-ssh [2022-01-31T05:05:10.975Z] Cloning the remote Git repository [2022-01-31T05:05:11.043Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-01-31T05:05:11.125Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-01-31T05:05:11.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-01-31T05:05:11.225Z] > git --version # timeout=10 [2022-01-31T05:05:11.255Z] > git --version # 'git version 2.17.1' [2022-01-31T05:05:11.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:05:11.317Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T05:05:13.143Z] Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit 26a5405512586f35284a99a5f19a7b1b4f92c644 [2022-01-31T05:05:13.370Z] Merge succeeded, producing 26a5405512586f35284a99a5f19a7b1b4f92c644 [2022-01-31T05:05:13.371Z] Checking out Revision 26a5405512586f35284a99a5f19a7b1b4f92c644 (PR-308) [2022-01-31T05:05:12.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-01-31T05:05:12.430Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T05:05:12.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-01-31T05:05:12.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-01-31T05:05:12.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:05:12.567Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-31T05:05:13.163Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T05:05:13.181Z] > git checkout -f 26a5405512586f35284a99a5f19a7b1b4f92c644 # timeout=10 [2022-01-31T05:05:13.270Z] > git remote # timeout=10 [2022-01-31T05:05:13.286Z] > git config --get remote.origin.url # timeout=10 [2022-01-31T05:05:13.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:05:13.321Z] > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 [2022-01-31T05:05:13.355Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-31T05:05:13.377Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T05:05:13.387Z] > git checkout -f 26a5405512586f35284a99a5f19a7b1b4f92c644 # timeout=10 [2022-01-31T05:05:17.582Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-31T05:05:17.637Z] > git --version # timeout=10 [2022-01-31T05:05:17.647Z] > git --version # 'git version 2.17.1' [2022-01-31T05:05:17.664Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T05:05:18.693Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-31T05:05:18.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-31T05:05:18.693Z] Dload Upload Total Spent Left Speed [2022-01-31T05:05:18.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh [2022-01-31T05:05:19.223Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-31T05:05:19.571Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-01-31T05:05:19.571Z] sudo tee /etc/docker/daemon.new [2022-01-31T05:05:19.571Z] { [2022-01-31T05:05:19.571Z] "registry-mirrors": [ [2022-01-31T05:05:19.571Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-31T05:05:19.571Z] ], [2022-01-31T05:05:19.571Z] "bip": "10.250.0.254/24", [2022-01-31T05:05:19.571Z] "hosts": [ [2022-01-31T05:05:19.571Z] "tcp://0.0.0.0:5555", [2022-01-31T05:05:19.571Z] "unix:///var/run/docker.sock" [2022-01-31T05:05:19.571Z] ], [2022-01-31T05:05:19.571Z] "mtu": 1458, [2022-01-31T05:05:19.571Z] "selinux-enabled": true, [2022-01-31T05:05:19.571Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-31T05:05:19.571Z] } [Pipeline] sh [2022-01-31T05:05:19.933Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-31T05:05:20.344Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:05:38.728Z] provisioning config files... [2022-01-31T05:05:38.752Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3823736325286059071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:05:39.294Z] ---> docker-login.sh [2022-01-31T05:05:39.294Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:05:39.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:05:40.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:05:40.159Z] Configure a credential helper to remove this warning. See [2022-01-31T05:05:40.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:05:40.159Z] [2022-01-31T05:05:40.159Z] Login Succeeded [2022-01-31T05:05:40.159Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:05:40.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:05:40.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:05:40.433Z] Configure a credential helper to remove this warning. See [2022-01-31T05:05:40.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:05:40.433Z] [2022-01-31T05:05:40.433Z] Login Succeeded [2022-01-31T05:05:40.433Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:05:40.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:05:40.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:05:40.706Z] Configure a credential helper to remove this warning. See [2022-01-31T05:05:40.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:05:40.706Z] [2022-01-31T05:05:40.706Z] Login Succeeded [2022-01-31T05:05:40.706Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:05:41.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:05:41.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:05:41.311Z] Configure a credential helper to remove this warning. See [2022-01-31T05:05:41.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:05:41.311Z] [2022-01-31T05:05:41.311Z] Login Succeeded [2022-01-31T05:05:41.311Z] docker.io [2022-01-31T05:05:41.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:05:41.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:05:41.855Z] Configure a credential helper to remove this warning. See [2022-01-31T05:05:41.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:05:41.855Z] [2022-01-31T05:05:41.855Z] Login Succeeded [2022-01-31T05:05:41.855Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:05:41.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T05:05:42.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T05:05:42.317Z] ========================================================= [2022-01-31T05:05:42.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-31T05:05:42.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:05:42.771Z] + 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-01-31T05:05:43.043Z] Sending build context to Docker daemon 2.995MB [2022-01-31T05:05:43.043Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T05:05:43.318Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-31T05:05:43.318Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-31T05:05:43.318Z] 9b3977197b4f: Pulling fs layer [2022-01-31T05:05:43.318Z] 1a89e8eeedd5: Pulling fs layer [2022-01-31T05:05:43.318Z] 94645a83ff95: Pulling fs layer [2022-01-31T05:05:43.318Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-31T05:05:43.318Z] 0c92f367c5e7: Pulling fs layer [2022-01-31T05:05:43.318Z] 4b8299f9d1f4: Pulling fs layer [2022-01-31T05:05:43.318Z] 9a6b49a46696: Pulling fs layer [2022-01-31T05:05:43.318Z] cf05db05a679: Pulling fs layer [2022-01-31T05:05:43.318Z] 3f3a8bcf1eab: Waiting [2022-01-31T05:05:43.318Z] 0c92f367c5e7: Waiting [2022-01-31T05:05:43.318Z] 4b8299f9d1f4: Waiting [2022-01-31T05:05:43.318Z] cf05db05a679: Waiting [2022-01-31T05:05:43.318Z] 9a6b49a46696: Waiting [2022-01-31T05:05:43.318Z] 94645a83ff95: Download complete [2022-01-31T05:05:43.318Z] 1a89e8eeedd5: Verifying Checksum [2022-01-31T05:05:43.318Z] 1a89e8eeedd5: Download complete [2022-01-31T05:05:43.318Z] 0c92f367c5e7: Verifying Checksum [2022-01-31T05:05:43.318Z] 0c92f367c5e7: Download complete [2022-01-31T05:05:43.318Z] 4b8299f9d1f4: Verifying Checksum [2022-01-31T05:05:43.318Z] 4b8299f9d1f4: Download complete [2022-01-31T05:05:43.597Z] 9a6b49a46696: Verifying Checksum [2022-01-31T05:05:43.597Z] 9a6b49a46696: Download complete [2022-01-31T05:05:43.597Z] 9b3977197b4f: Verifying Checksum [2022-01-31T05:05:43.597Z] 9b3977197b4f: Download complete [2022-01-31T05:05:44.203Z] 9b3977197b4f: Pull complete [2022-01-31T05:05:44.808Z] 1a89e8eeedd5: Pull complete [2022-01-31T05:05:45.088Z] 94645a83ff95: Pull complete [2022-01-31T05:05:45.364Z] cf05db05a679: Verifying Checksum [2022-01-31T05:05:45.364Z] cf05db05a679: Download complete [2022-01-31T05:05:45.967Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-31T05:05:45.967Z] 3f3a8bcf1eab: Download complete [2022-01-31T05:05:58.370Z] 3f3a8bcf1eab: Pull complete [2022-01-31T05:05:58.370Z] 0c92f367c5e7: Pull complete [2022-01-31T05:05:58.370Z] 4b8299f9d1f4: Pull complete [2022-01-31T05:05:58.370Z] 9a6b49a46696: Pull complete [2022-01-31T05:06:03.772Z] cf05db05a679: Pull complete [2022-01-31T05:06:03.772Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-31T05:06:03.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-31T05:06:03.772Z] ---> 0ccda1f7e2ee [2022-01-31T05:06:03.772Z] Step 3/10 : ARG MAKE='make build' [2022-01-31T05:06:05.742Z] ---> Running in 9e62e2bb62c0 [2022-01-31T05:06:06.017Z] Removing intermediate container 9e62e2bb62c0 [2022-01-31T05:06:06.017Z] ---> c2d3c3db1174 [2022-01-31T05:06:06.017Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T05:06:06.017Z] ---> Running in 16e48939c1b4 [2022-01-31T05:06:07.990Z] Removing intermediate container 16e48939c1b4 [2022-01-31T05:06:07.990Z] ---> 124b79d6ecc5 [2022-01-31T05:06:07.990Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-31T05:06:07.990Z] ---> Running in 75f03fa865c6 [2022-01-31T05:06:08.968Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-31T05:06:09.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-31T05:06:10.532Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T05:06:10.804Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-31T05:06:10.804Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T05:06:11.075Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T05:06:11.075Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-31T05:06:11.075Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-31T05:06:11.349Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-31T05:06:11.349Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-31T05:06:11.349Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T05:06:11.349Z] OK: 226 MiB in 60 packages [2022-01-31T05:06:12.792Z] Removing intermediate container 75f03fa865c6 [2022-01-31T05:06:12.792Z] ---> 006d257bc513 [2022-01-31T05:06:12.792Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-31T05:06:12.792Z] ---> Running in 11d0293218c8 [2022-01-31T05:06:13.066Z] Removing intermediate container 11d0293218c8 [2022-01-31T05:06:13.066Z] ---> a49486b67dcc [2022-01-31T05:06:13.066Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-31T05:06:13.661Z] ---> 9b8a7078b1e8 [2022-01-31T05:06:13.661Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T05:06:13.661Z] ---> Running in 38703add54c5 [2022-01-31T05:07:21.692Z] Removing intermediate container 38703add54c5 [2022-01-31T05:07:21.692Z] ---> 8d1f2cdcb038 [2022-01-31T05:07:21.692Z] Step 9/10 : COPY . . [2022-01-31T05:07:21.965Z] ---> f16fbe3d8b72 [2022-01-31T05:07:21.965Z] Step 10/10 : RUN ${MAKE} [2022-01-31T05:07:21.965Z] ---> Running in b98602eff820 [2022-01-31T05:07:22.954Z] noop [2022-01-31T05:07:23.933Z] Removing intermediate container b98602eff820 [2022-01-31T05:07:23.933Z] ---> 762f80749baf [2022-01-31T05:07:23.933Z] Successfully built 762f80749baf [2022-01-31T05:07:23.933Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:07:24.303Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T05:07:24.303Z] . [Pipeline] withDockerContainer [2022-01-31T05:07:24.523Z] prd-ubuntu18.04-docker-arm64-4c-16g-4290 does not seem to be running inside a container [2022-01-31T05:07:24.602Z] $ 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-01-31T05:07:25.887Z] $ docker top 669abdd856ecc78be49eaf94fcb0a3c59265eacd4aab3bdfe8d7284ab93c9530 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:07:26.866Z] + go version [2022-01-31T05:07:26.866Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-31T05:07:26.901Z] $ docker stop --time=1 669abdd856ecc78be49eaf94fcb0a3c59265eacd4aab3bdfe8d7284ab93c9530 [2022-01-31T05:07:28.544Z] $ docker rm -f 669abdd856ecc78be49eaf94fcb0a3c59265eacd4aab3bdfe8d7284ab93c9530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:07:29.427Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T05:07:29.427Z] . [Pipeline] withDockerContainer [2022-01-31T05:07:29.689Z] prd-ubuntu18.04-docker-arm64-4c-16g-4290 does not seem to be running inside a container [2022-01-31T05:07:29.766Z] $ 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-01-31T05:07:31.135Z] $ docker top 0ae70d459969e2e07565dcd3f64d6aac0a63f37d903a37d637ba4a6464d8c052 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T05:07:32.204Z] + make test [2022-01-31T05:07:32.204Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T05:07:33.194Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-31T05:08:20.192Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-31T05:08:22.814Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2022-01-31T05:08:22.814Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T05:08:41.144Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T05:08:41.144Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T05:08:41.144Z] ./bin/test-attribution-txt.sh [2022-01-31T05:08:43.123Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T05:08:43.396Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-01-31T05:08:43.439Z] $ docker stop --time=1 0ae70d459969e2e07565dcd3f64d6aac0a63f37d903a37d637ba4a6464d8c052 [2022-01-31T05:08:45.189Z] $ docker rm -f 0ae70d459969e2e07565dcd3f64d6aac0a63f37d903a37d637ba4a6464d8c052 [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-01-31T05:08:46.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:08:46.564Z] [2022-01-31T05:08:46.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:08:46.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:08:47.216Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-31T05:08:47.216Z] 448f6bf000e3: Pulling fs layer [2022-01-31T05:08:47.216Z] f757da607395: Pulling fs layer [2022-01-31T05:08:47.216Z] 05883995daec: Pulling fs layer [2022-01-31T05:08:47.216Z] 8603b9c90790: Pulling fs layer [2022-01-31T05:08:47.216Z] 1560dd03e051: Pulling fs layer [2022-01-31T05:08:47.216Z] 27f5ce0e4adf: Pulling fs layer [2022-01-31T05:08:47.216Z] c2d8d7efcc4b: Pulling fs layer [2022-01-31T05:08:47.216Z] 1560dd03e051: Waiting [2022-01-31T05:08:47.216Z] 27f5ce0e4adf: Waiting [2022-01-31T05:08:47.216Z] c2d8d7efcc4b: Waiting [2022-01-31T05:08:47.216Z] 8603b9c90790: Waiting [2022-01-31T05:08:47.216Z] f757da607395: Verifying Checksum [2022-01-31T05:08:47.216Z] f757da607395: Download complete [2022-01-31T05:08:47.216Z] 8603b9c90790: Verifying Checksum [2022-01-31T05:08:47.216Z] 8603b9c90790: Download complete [2022-01-31T05:08:47.216Z] 1560dd03e051: Verifying Checksum [2022-01-31T05:08:47.216Z] 1560dd03e051: Download complete [2022-01-31T05:08:47.489Z] 27f5ce0e4adf: Verifying Checksum [2022-01-31T05:08:47.489Z] 27f5ce0e4adf: Download complete [2022-01-31T05:08:47.489Z] 05883995daec: Verifying Checksum [2022-01-31T05:08:47.489Z] 05883995daec: Download complete [2022-01-31T05:08:47.767Z] 448f6bf000e3: Verifying Checksum [2022-01-31T05:08:47.767Z] 448f6bf000e3: Download complete [2022-01-31T05:08:50.405Z] c2d8d7efcc4b: Verifying Checksum [2022-01-31T05:08:50.405Z] c2d8d7efcc4b: Download complete [2022-01-31T05:08:51.393Z] 448f6bf000e3: Pull complete [2022-01-31T05:08:52.378Z] f757da607395: Pull complete [2022-01-31T05:08:53.821Z] 05883995daec: Pull complete [2022-01-31T05:08:53.821Z] 8603b9c90790: Pull complete [2022-01-31T05:08:54.796Z] 1560dd03e051: Pull complete [2022-01-31T05:08:55.074Z] 27f5ce0e4adf: Pull complete [2022-01-31T05:09:10.167Z] c2d8d7efcc4b: Pull complete [2022-01-31T05:09:10.167Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-31T05:09:10.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:09:10.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-31T05:09:10.389Z] prd-ubuntu18.04-docker-arm64-4c-16g-4290 does not seem to be running inside a container [2022-01-31T05:09:10.467Z] $ 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-01-31T05:09:13.197Z] $ docker top cf18acbb57660d81533e504ca6e3124882929fba3ec23980bef5ab6f7b26c36a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:14.168Z] ---> job-cost.sh [2022-01-31T05:09:14.168Z] lf-activate-venv: SKIPPING [2022-01-31T05:09:14.168Z] INFO: No Stack... [2022-01-31T05:09:14.441Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-31T05:09:15.035Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T05:09:15.714Z] + + cut -d,cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-01-31T05:09:15.714Z] -f6 [Pipeline] lock [2022-01-31T05:09:15.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [2022-01-31T05:09:15.803Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] did not exist. Created. [2022-01-31T05:09:15.803Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T05:09:16.548Z] /w/workspace/device-modbus-go/1@tmp/durable-18d2bd8f/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-18d2bd8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-31T05:09:17.244Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-31T05:09:17.284Z] Warning: overwriting stash ‘stack-cost’ [2022-01-31T05:09:17.707Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T05:09:17.750Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T05:09:17.842Z] $ docker stop --time=1 cf18acbb57660d81533e504ca6e3124882929fba3ec23980bef5ab6f7b26c36a [2022-01-31T05:09:19.333Z] $ docker rm -f cf18acbb57660d81533e504ca6e3124882929fba3ec23980bef5ab6f7b26c36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T05:09:20.088Z] 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-01-31T05:09:22.021Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-308/archives ']' [2022-01-31T05:09:22.021Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-308/archives [2022-01-31T05:09:22.021Z] total 8 [2022-01-31T05:09:22.021Z] drwxr-xr-x. 3 root root 34 Jan 31 05:05 . [2022-01-31T05:09:22.021Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 31 05:05 .. [2022-01-31T05:09:22.021Z] drwxr-xr-x. 2 root root 6 Jan 31 05:05 cost [2022-01-31T05:09:22.021Z] -rw-r--r--. 1 root root 87 Jan 31 05:05 cost.csv [2022-01-31T05:09:22.021Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-308/archives [2022-01-31T05:09:22.021Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-308/archives [2022-01-31T05:09:22.021Z] total 8 [2022-01-31T05:09:22.021Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 31 05:05 . [2022-01-31T05:09:22.021Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 31 05:05 .. [2022-01-31T05:09:22.021Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 31 05:05 cost [2022-01-31T05:09:22.021Z] -rw-r--r--. 1 jenkins jenkins 87 Jan 31 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:22.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:22.958Z] ---> package-listing.sh [2022-01-31T05:09:22.958Z] ++ facter osfamily [2022-01-31T05:09:22.958Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-31T05:09:23.221Z] + OS_FAMILY=redhat [2022-01-31T05:09:23.221Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-308 [2022-01-31T05:09:23.221Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-31T05:09:23.221Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-31T05:09:23.221Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-31T05:09:23.221Z] + PACKAGES=/tmp/packages_start.txt [2022-01-31T05:09:23.221Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-308 ']' [2022-01-31T05:09:23.221Z] + PACKAGES=/tmp/packages_end.txt [2022-01-31T05:09:23.221Z] + case "${OS_FAMILY}" in [2022-01-31T05:09:23.221Z] + rpm -qa [2022-01-31T05:09:23.221Z] + sort [2022-01-31T05:09:23.808Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-31T05:09:23.808Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-31T05:09:23.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-31T05:09:23.808Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-308 ']' [2022-01-31T05:09:23.808Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-308/archives/ [2022-01-31T05:09:23.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-308/archives/ [Pipeline] echo [2022-01-31T05:09:23.844Z] 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-308/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-31T05:09:24.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:09:24.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:09:24.722Z] . [Pipeline] withDockerContainer [2022-01-31T05:09:24.814Z] prd-centos7-docker-4c-2g-4287 does not seem to be running inside a container [2022-01-31T05:09:24.844Z] $ 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-308/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-308 -v /w/workspace/xfoundry_device-modbus-go_PR-308:/w/workspace/xfoundry_device-modbus-go_PR-308:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-308@tmp:/w/workspace/xfoundry_device-modbus-go_PR-308@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-01-31T05:09:25.034Z] $ docker top 7121a87a1c935168ae82cf234fc3c6fe513bb90890c78b086c2c48ec845b2a66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:09:25.472Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-31T05:09:25.975Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-31T05:09:26.287Z] + ls /var/log/sa-host [2022-01-31T05:09:26.287Z] + sadf -c /var/log/sa-host/sa17 [2022-01-31T05:09:26.287Z] file_magic: OK [2022-01-31T05:09:26.287Z] HZ: Using current value: 100 [2022-01-31T05:09:26.287Z] file_header: OK [2022-01-31T05:09:26.287Z] 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-01-31T05:09:26.287Z] Statistics: [2022-01-31T05:09:26.287Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T05:09:26.287Z] File successfully converted to sysstat format version 12.0.3 [2022-01-31T05:09:26.287Z] + sadf -c /var/log/sa-host/sa31 [2022-01-31T05:09:26.287Z] file_magic: OK [2022-01-31T05:09:26.287Z] HZ: Using current value: 100 [2022-01-31T05:09:26.287Z] file_header: OK [2022-01-31T05:09:26.287Z] 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-01-31T05:09:26.287Z] Statistics: [2022-01-31T05:09:26.287Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T05:09:26.287Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:09:26.567Z] provisioning config files... [2022-01-31T05:09:26.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-308@tmp/config5303609653684145883tmp [Pipeline] { [Pipeline] echo [2022-01-31T05:09:26.625Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:26.940Z] ---> create-netrc.sh [Pipeline] } [2022-01-31T05:09:26.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:27.375Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-31T05:09:27.408Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:27.733Z] ---> sudo-logs.sh [2022-01-31T05:09:27.733Z] Archiving 'sudo' log.. [2022-01-31T05:09:27.733Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4287.novalocal: Name or service not known [2022-01-31T05:09:27.733Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4287.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-31T05:09:27.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:28.148Z] ---> job-cost.sh [2022-01-31T05:09:28.148Z] lf-activate-venv: SKIPPING [2022-01-31T05:09:28.148Z] DEBUG: total: 0.05999999865889549 [2022-01-31T05:09:28.148Z] INFO: Retrieving Stack Cost... [2022-01-31T05:09:28.409Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T05:09:28.670Z] INFO: Archiving Costs [Pipeline] echo [2022-01-31T05:09:28.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:09:29.031Z] ---> logs-deploy.sh [2022-01-31T05:09:29.031Z] lf-activate-venv: SKIPPING [2022-01-31T05:09:29.031Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-308/1 [2022-01-31T05:09:29.031Z] INFO: archiving workspace using pattern(s): [2022-01-31T05:09:29.619Z] Archives upload complete. [2022-01-31T05:09:29.881Z] INFO: archiving logs to Nexus