Pull request #309 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2f3bfb005a92129d8d4c867e82a914f2f19db5b+4a13dc8cbc9452d90b2dd7765ba07908e93b105b (85d34d8a4d5d8d828efc3c00669501829541e4b2) 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-ssh18423869460121607172.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-ssh5559475139813288407.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-309/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-309/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9513750901554261078.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-309/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13452042465312682961.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-ssh7807201581068151738.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-309/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-309/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12402020335487579775.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4751 in /w/workspace/xfoundry_device-modbus-go_PR-309 [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-309 # 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-309@tmp/jenkins-gitclient-ssh5010327585662707311.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 d2f3bfb005a92129d8d4c867e82a914f2f19db5b Merge succeeded, producing d2f3bfb005a92129d8d4c867e82a914f2f19db5b Checking out Revision d2f3bfb005a92129d8d4c867e82a914f2f19db5b (PR-309) > 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-309@tmp/jenkins-gitclient-ssh6081449705335489262.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2f3bfb005a92129d8d4c867e82a914f2f19db5b # 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-309@tmp/jenkins-gitclient-ssh1102567424728446946.key > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2f3bfb005a92129d8d4c867e82a914f2f19db5b # 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-02-07T05:03:38.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-07T05:03:38.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-07T05:03:39.063Z] ========================================================= [2022-02-07T05:03:39.063Z] EdgeX Global Pipelines Version Info [2022-02-07T05:03:39.063Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:03:40.220Z] ------------------- [2022-02-07T05:03:40.220Z] stable info: [2022-02-07T05:03:40.220Z] ------------------- [2022-02-07T05:03:40.220Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T05:03:40.220Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T05:03:40.220Z] Message: update stable to v1.0.220 [2022-02-07T05:03:40.798Z] ------------------- [2022-02-07T05:03:40.798Z] experimental info: [2022-02-07T05:03:40.798Z] ------------------- [2022-02-07T05:03:40.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T05:03:40.798Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T05:03:40.798Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-07T05:03:41.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-02-07T05:03:41.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-02-07T05:03:41.136Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-07T05:03:41.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-07T05:03:41.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-07T05:03:41.254Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-07T05:03:41.293Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-07T05:03:41.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-07T05:03:41.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-07T05:03:41.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-07T05:03:41.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-07T05:03:41.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-02-07T05:03:41.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-07T05:03:41.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-07T05:03:41.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T05:03:41.702Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T05:03:41.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T05:03:41.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T05:03:41.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-07T05:03:41.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-07T05:03:41.893Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-07T05:03:41.929Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-07T05:03:41.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-07T05:03:42.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-07T05:03:42.039Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-07T05:03:42.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-07T05:03:42.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-309 [Pipeline] echo [2022-02-07T05:03:42.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-309 [Pipeline] echo [2022-02-07T05:03:42.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-309 [Pipeline] echo [2022-02-07T05:03:42.229Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2f3bfb005a92129d8d4c867e82a914f2f19db5b [Pipeline] echo [2022-02-07T05:03:42.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2f3bfb [Pipeline] echo [2022-02-07T05:03:42.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T05:03:42.426Z] provisioning config files... [2022-02-07T05:03:42.440Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-309@tmp/config3804460818285236540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:03:42.815Z] ---> docker-login.sh [2022-02-07T05:03:42.815Z] nexus3.edgexfoundry.org:10001 [2022-02-07T05:03:42.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:43.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:43.077Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:43.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:43.077Z] [2022-02-07T05:03:43.077Z] Login Succeeded [2022-02-07T05:03:43.077Z] nexus3.edgexfoundry.org:10002 [2022-02-07T05:03:43.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:43.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:43.077Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:43.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:43.077Z] [2022-02-07T05:03:43.077Z] Login Succeeded [2022-02-07T05:03:43.077Z] nexus3.edgexfoundry.org:10003 [2022-02-07T05:03:43.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:43.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:43.340Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:43.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:43.340Z] [2022-02-07T05:03:43.340Z] Login Succeeded [2022-02-07T05:03:43.340Z] nexus3.edgexfoundry.org:10004 [2022-02-07T05:03:43.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:43.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:43.340Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:43.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:43.340Z] [2022-02-07T05:03:43.340Z] Login Succeeded [2022-02-07T05:03:43.340Z] docker.io [2022-02-07T05:03:43.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:43.868Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:43.868Z] [2022-02-07T05:03:43.868Z] Login Succeeded [2022-02-07T05:03:43.868Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T05:03:43.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-07T05:03:44.540Z] + git rev-list -1 --merges d2f3bfb005a92129d8d4c867e82a914f2f19db5b~1..d2f3bfb005a92129d8d4c867e82a914f2f19db5b [Pipeline] echo [2022-02-07T05:03:44.585Z] -----------> git rev-list -1 --merges d2f3bfb005a92129d8d4c867e82a914f2f19db5b~1..d2f3bfb005a92129d8d4c867e82a914f2f19db5b d2f3bfb005a92129d8d4c867e82a914f2f19db5b [false] [Pipeline] sh [2022-02-07T05:03:44.917Z] + git log --format=format:%s -1 d2f3bfb005a92129d8d4c867e82a914f2f19db5b [Pipeline] echo [2022-02-07T05:03:44.951Z] ========================================================= [2022-02-07T05:03:44.951Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-07T05:03:44.951Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T05:03:45.397Z] + git log --format=format:%s -1 d2f3bfb005a92129d8d4c867e82a914f2f19db5b [Pipeline] echo [2022-02-07T05:03:45.426Z] [semverPrep] GIT_COMMIT: d2f3bfb005a92129d8d4c867e82a914f2f19db5b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-07T05:03:45.453Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-07T05:03:45.930Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-07T05:03:45.930Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-07T05:03:45.930Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-07T05:03:45.930Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-07T05:03:45.930Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-07T05:03:45.931Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-07T05:03:45.931Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:03:46.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T05:03:46.390Z] [2022-02-07T05:03:46.390Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:03:46.743Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T05:03:46.743Z] latest: Pulling from edgex-devops/git-semver [2022-02-07T05:03:46.743Z] a0d0a0d46f8b: Pulling fs layer [2022-02-07T05:03:46.743Z] 3e5f54012d9b: Pulling fs layer [2022-02-07T05:03:46.743Z] 4c7163046ea9: Pulling fs layer [2022-02-07T05:03:46.743Z] 0c2d73faf560: Pulling fs layer [2022-02-07T05:03:46.743Z] 0c2d73faf560: Waiting [2022-02-07T05:03:46.743Z] 3e5f54012d9b: Verifying Checksum [2022-02-07T05:03:46.743Z] 3e5f54012d9b: Download complete [2022-02-07T05:03:46.743Z] a0d0a0d46f8b: Verifying Checksum [2022-02-07T05:03:46.743Z] a0d0a0d46f8b: Download complete [2022-02-07T05:03:46.743Z] 4c7163046ea9: Verifying Checksum [2022-02-07T05:03:46.743Z] 4c7163046ea9: Download complete [2022-02-07T05:03:46.743Z] 0c2d73faf560: Verifying Checksum [2022-02-07T05:03:46.743Z] 0c2d73faf560: Download complete [2022-02-07T05:03:47.004Z] a0d0a0d46f8b: Pull complete [2022-02-07T05:03:47.004Z] 3e5f54012d9b: Pull complete [2022-02-07T05:03:47.267Z] 4c7163046ea9: Pull complete [2022-02-07T05:03:47.532Z] 0c2d73faf560: Pull complete [2022-02-07T05:03:47.532Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-07T05:03:47.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T05:03:47.532Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-07T05:03:47.635Z] prd-centos7-docker-4c-2g-4751 does not seem to be running inside a container [2022-02-07T05:03:47.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-309 -v /w/workspace/xfoundry_device-modbus-go_PR-309:/w/workspace/xfoundry_device-modbus-go_PR-309:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-309@tmp:/w/workspace/xfoundry_device-modbus-go_PR-309@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-02-07T05:03:48.264Z] $ docker top ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-07T05:03:48.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T05:03:48.468Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T05:03:48.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T05:03:48.588Z] $ docker exec ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 ssh-agent [2022-02-07T05:03:48.715Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJOjLlF/agent.14 [2022-02-07T05:03:48.715Z] SSH_AGENT_PID=21 [2022-02-07T05:03:48.727Z] Running ssh-add (command line suppressed) [2022-02-07T05:03:48.838Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-309@tmp/private_key_3319874782151197560.key (/w/workspace/xfoundry_device-modbus-go_PR-309@tmp/private_key_3319874782151197560.key) [2022-02-07T05:03:48.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T05:03:49.211Z] + git tag --points-at HEAD [Pipeline] } [2022-02-07T05:03:49.238Z] $ docker exec --env ******** --env ******** ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 ssh-agent -k [2022-02-07T05:03:49.351Z] unset SSH_AUTH_SOCK; [2022-02-07T05:03:49.352Z] unset SSH_AGENT_PID; [2022-02-07T05:03:49.352Z] echo Agent pid 21 killed; [2022-02-07T05:03:49.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-07T05:03:49.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T05:03:49.458Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T05:03:49.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T05:03:49.588Z] $ docker exec ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 ssh-agent [2022-02-07T05:03:49.717Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhlfhOo/agent.54 [2022-02-07T05:03:49.717Z] SSH_AGENT_PID=61 [2022-02-07T05:03:49.721Z] Running ssh-add (command line suppressed) [2022-02-07T05:03:49.852Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-309@tmp/private_key_2109326123994823864.key (/w/workspace/xfoundry_device-modbus-go_PR-309@tmp/private_key_2109326123994823864.key) [2022-02-07T05:03:49.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T05:03:50.202Z] + git semver init [2022-02-07T05:03:50.202Z] # -> Open(): unable to determine branch for HEAD [2022-02-07T05:03:50.202Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-309/.git [2022-02-07T05:03:50.202Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-309 [2022-02-07T05:03:50.202Z] # $SEMVER_REMOTE_NAME = origin [2022-02-07T05:03:50.202Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-07T05:03:50.202Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-07T05:03:50.202Z] # $SEMVER_BRANCH = PR-309 [2022-02-07T05:03:50.202Z] # $SEMVER_TEMP = /tmp/semver-489715162 [2022-02-07T05:03:50.202Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-02-07T05:03:51.154Z] # '/tmp/semver-489715162' -> '/w/workspace/xfoundry_device-modbus-go_PR-309/.semver' [2022-02-07T05:03:51.154Z] # -> Force: false [2022-02-07T05:03:51.154Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-309/.semver [Pipeline] } [2022-02-07T05:03:51.182Z] $ docker exec --env ******** --env ******** ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 ssh-agent -k [2022-02-07T05:03:51.281Z] unset SSH_AUTH_SOCK; [2022-02-07T05:03:51.281Z] unset SSH_AGENT_PID; [2022-02-07T05:03:51.281Z] echo Agent pid 61 killed; [2022-02-07T05:03:51.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-07T05:03:51.728Z] + git semver [Pipeline] } [2022-02-07T05:03:51.764Z] $ docker stop --time=1 ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 [2022-02-07T05:03:52.988Z] $ docker rm -f ff6586c2418d339e0eab7473999aa644ec53c08acf7941db358ea22b0b3ef7e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-07T05:03:53.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-07T05:03:53.709Z] Stashed 1 file(s) [Pipeline] echo [2022-02-07T05:03:53.724Z] [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-02-07T05:03:54.296Z] provisioning config files... [2022-02-07T05:03:54.307Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-309@tmp/config8501029413086289491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:03:54.656Z] ---> docker-login.sh [2022-02-07T05:03:54.656Z] nexus3.edgexfoundry.org:10001 [2022-02-07T05:03:54.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:54.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:54.656Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:54.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:54.656Z] [2022-02-07T05:03:54.656Z] Login Succeeded [2022-02-07T05:03:54.656Z] nexus3.edgexfoundry.org:10002 [2022-02-07T05:03:54.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:54.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:54.917Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:54.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:54.917Z] [2022-02-07T05:03:54.917Z] Login Succeeded [2022-02-07T05:03:54.917Z] nexus3.edgexfoundry.org:10003 [2022-02-07T05:03:54.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:54.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:54.917Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:54.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:54.917Z] [2022-02-07T05:03:54.917Z] Login Succeeded [2022-02-07T05:03:54.917Z] nexus3.edgexfoundry.org:10004 [2022-02-07T05:03:54.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:55.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:55.179Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:55.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:55.179Z] [2022-02-07T05:03:55.179Z] Login Succeeded [2022-02-07T05:03:55.179Z] docker.io [2022-02-07T05:03:55.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:03:55.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:03:55.440Z] Configure a credential helper to remove this warning. See [2022-02-07T05:03:55.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:03:55.440Z] [2022-02-07T05:03:55.440Z] Login Succeeded [2022-02-07T05:03:55.440Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T05:03:55.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T05:03:55.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T05:03:55.680Z] ========================================================= [2022-02-07T05:03:55.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-07T05:03:55.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:03:56.078Z] + 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-02-07T05:03:56.078Z] Sending build context to Docker daemon 5.723MB [2022-02-07T05:03:56.078Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T05:03:56.078Z] Step 2/10 : FROM ${BASE} AS builder [2022-02-07T05:03:56.078Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-07T05:03:56.078Z] 59bf1c3509f3: Pulling fs layer [2022-02-07T05:03:56.078Z] 666ba61612fd: Pulling fs layer [2022-02-07T05:03:56.078Z] 8ed8ca486205: Pulling fs layer [2022-02-07T05:03:56.078Z] 4fe6c5a15a65: Pulling fs layer [2022-02-07T05:03:56.078Z] 22a0e8bec74d: Pulling fs layer [2022-02-07T05:03:56.078Z] 640e595b4fbd: Pulling fs layer [2022-02-07T05:03:56.078Z] 763cafe07f6e: Pulling fs layer [2022-02-07T05:03:56.078Z] 0c0b528cf693: Pulling fs layer [2022-02-07T05:03:56.078Z] 10935f4eaf8b: Pulling fs layer [2022-02-07T05:03:56.078Z] 4fe6c5a15a65: Waiting [2022-02-07T05:03:56.078Z] 22a0e8bec74d: Waiting [2022-02-07T05:03:56.078Z] 640e595b4fbd: Waiting [2022-02-07T05:03:56.078Z] 763cafe07f6e: Waiting [2022-02-07T05:03:56.078Z] 0c0b528cf693: Waiting [2022-02-07T05:03:56.078Z] 10935f4eaf8b: Waiting [2022-02-07T05:03:56.078Z] 8ed8ca486205: Verifying Checksum [2022-02-07T05:03:56.078Z] 8ed8ca486205: Download complete [2022-02-07T05:03:56.357Z] 666ba61612fd: Verifying Checksum [2022-02-07T05:03:56.357Z] 666ba61612fd: Download complete [2022-02-07T05:03:56.357Z] 22a0e8bec74d: Verifying Checksum [2022-02-07T05:03:56.357Z] 22a0e8bec74d: Download complete [2022-02-07T05:03:56.357Z] 640e595b4fbd: Verifying Checksum [2022-02-07T05:03:56.357Z] 640e595b4fbd: Download complete [2022-02-07T05:03:56.357Z] 763cafe07f6e: Verifying Checksum [2022-02-07T05:03:56.357Z] 763cafe07f6e: Download complete [2022-02-07T05:03:56.357Z] 59bf1c3509f3: Verifying Checksum [2022-02-07T05:03:56.357Z] 59bf1c3509f3: Download complete [2022-02-07T05:03:56.357Z] 0c0b528cf693: Verifying Checksum [2022-02-07T05:03:56.357Z] 0c0b528cf693: Download complete [2022-02-07T05:03:56.623Z] 59bf1c3509f3: Pull complete [2022-02-07T05:03:56.890Z] 666ba61612fd: Pull complete [2022-02-07T05:03:56.890Z] 4fe6c5a15a65: Verifying Checksum [2022-02-07T05:03:56.890Z] 4fe6c5a15a65: Download complete [2022-02-07T05:03:56.890Z] 8ed8ca486205: Pull complete [2022-02-07T05:03:57.165Z] 10935f4eaf8b: Verifying Checksum [2022-02-07T05:03:57.165Z] 10935f4eaf8b: Download complete [2022-02-07T05:04:01.414Z] 4fe6c5a15a65: Pull complete [2022-02-07T05:04:01.414Z] 22a0e8bec74d: Pull complete [2022-02-07T05:04:01.414Z] 640e595b4fbd: Pull complete [2022-02-07T05:04:01.678Z] 763cafe07f6e: Pull complete [2022-02-07T05:04:01.678Z] 0c0b528cf693: Pull complete [2022-02-07T05:04:05.074Z] 10935f4eaf8b: Pull complete [2022-02-07T05:04:05.075Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-07T05:04:05.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-07T05:04:05.075Z] ---> 99d49a6021b9 [2022-02-07T05:04:05.075Z] Step 3/10 : ARG MAKE='make build' [2022-02-07T05:04:06.017Z] ---> Running in 395cafca8bde [2022-02-07T05:04:06.279Z] Removing intermediate container 395cafca8bde [2022-02-07T05:04:06.279Z] ---> 02d8029e68c4 [2022-02-07T05:04:06.279Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T05:04:06.279Z] ---> Running in 8078f5754c53 [2022-02-07T05:04:06.865Z] Removing intermediate container 8078f5754c53 [2022-02-07T05:04:06.865Z] ---> f340d5435460 [2022-02-07T05:04:06.865Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-02-07T05:04:06.865Z] ---> Running in 8dd98264f81e [2022-02-07T05:04:07.126Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-07T05:04:07.700Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-07T05:04:08.274Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T05:04:08.274Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-02-07T05:04:08.274Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T05:04:08.536Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T05:04:08.536Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-02-07T05:04:08.536Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-02-07T05:04:08.799Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-02-07T05:04:08.799Z] (8/8) Installing openssh (8.8_p1-r1) [2022-02-07T05:04:08.799Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T05:04:08.799Z] OK: 226 MiB in 60 packages [2022-02-07T05:04:09.118Z] Still waiting to schedule task [2022-02-07T05:04:09.119Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-07T05:04:09.372Z] Removing intermediate container 8dd98264f81e [2022-02-07T05:04:09.373Z] ---> 47da228ab5c2 [2022-02-07T05:04:09.373Z] Step 6/10 : WORKDIR /device-modbus-go [2022-02-07T05:04:09.373Z] ---> Running in bce5073b73b7 [2022-02-07T05:04:09.373Z] Removing intermediate container bce5073b73b7 [2022-02-07T05:04:09.373Z] ---> 9d40a182353c [2022-02-07T05:04:09.373Z] Step 7/10 : COPY go.mod vendor* ./ [2022-02-07T05:04:09.373Z] ---> 4c665491e769 [2022-02-07T05:04:09.373Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T05:04:09.373Z] ---> Running in 7ee8e789d1d6 [2022-02-07T05:04:41.570Z] Removing intermediate container 7ee8e789d1d6 [2022-02-07T05:04:41.570Z] ---> 0cb7033f2867 [2022-02-07T05:04:41.570Z] Step 9/10 : COPY . . [2022-02-07T05:04:41.570Z] ---> 158cf39fe3c4 [2022-02-07T05:04:41.570Z] Step 10/10 : RUN ${MAKE} [2022-02-07T05:04:41.570Z] ---> Running in cf5e398356c5 [2022-02-07T05:04:41.570Z] noop [2022-02-07T05:04:41.570Z] Removing intermediate container cf5e398356c5 [2022-02-07T05:04:41.570Z] ---> 6da22fcaf058 [2022-02-07T05:04:41.571Z] Successfully built 6da22fcaf058 [2022-02-07T05:04:41.571Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:04:41.920Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T05:04:41.920Z] . [Pipeline] withDockerContainer [2022-02-07T05:04:42.059Z] prd-centos7-docker-4c-2g-4751 does not seem to be running inside a container [2022-02-07T05:04:42.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-309 -v /w/workspace/xfoundry_device-modbus-go_PR-309:/w/workspace/xfoundry_device-modbus-go_PR-309:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-309@tmp:/w/workspace/xfoundry_device-modbus-go_PR-309@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-02-07T05:04:42.484Z] $ docker top 19cf619cd8a99b36d92453ada7378e5144022eb78f6b5c2dc2ed6c7b86d9af12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T05:04:42.901Z] + go version [2022-02-07T05:04:42.901Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-07T05:04:42.933Z] $ docker stop --time=1 19cf619cd8a99b36d92453ada7378e5144022eb78f6b5c2dc2ed6c7b86d9af12 [2022-02-07T05:04:44.117Z] $ docker rm -f 19cf619cd8a99b36d92453ada7378e5144022eb78f6b5c2dc2ed6c7b86d9af12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:04:44.835Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T05:04:44.836Z] . [Pipeline] withDockerContainer [2022-02-07T05:04:44.931Z] prd-centos7-docker-4c-2g-4751 does not seem to be running inside a container [2022-02-07T05:04:44.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-309 -v /w/workspace/xfoundry_device-modbus-go_PR-309:/w/workspace/xfoundry_device-modbus-go_PR-309:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-309@tmp:/w/workspace/xfoundry_device-modbus-go_PR-309@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-02-07T05:04:45.348Z] $ docker top f7a3201f52bad2713ff1af2e129caa7021ee0636834a88ce2f66c7d8f2360469 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T05:04:45.819Z] + make test [2022-02-07T05:04:45.819Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-07T05:04:46.078Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-02-07T05:05:04.397Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-02-07T05:05:04.397Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements [2022-02-07T05:05:04.397Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T05:05:08.631Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T05:05:08.631Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T05:05:08.631Z] ./bin/test-attribution-txt.sh [2022-02-07T05:05:08.892Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T05:05:08.892Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-02-07T05:05:08.933Z] $ docker stop --time=1 f7a3201f52bad2713ff1af2e129caa7021ee0636834a88ce2f66c7d8f2360469 [2022-02-07T05:05:10.368Z] $ docker rm -f f7a3201f52bad2713ff1af2e129caa7021ee0636834a88ce2f66c7d8f2360469 [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-02-07T05:05:11.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T05:05:11.464Z] [2022-02-07T05:05:11.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:05:11.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T05:05:11.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-07T05:05:11.823Z] b4d181a07f80: Pulling fs layer [2022-02-07T05:05:11.823Z] a1111a8f2ec3: Pulling fs layer [2022-02-07T05:05:11.823Z] ed53099fbce6: Pulling fs layer [2022-02-07T05:05:11.823Z] dc539afda2c1: Pulling fs layer [2022-02-07T05:05:11.823Z] 77bc0d833cb6: Pulling fs layer [2022-02-07T05:05:11.823Z] 9065ff56babe: Pulling fs layer [2022-02-07T05:05:11.823Z] d287ab97295c: Pulling fs layer [2022-02-07T05:05:11.823Z] dc539afda2c1: Waiting [2022-02-07T05:05:11.823Z] 77bc0d833cb6: Waiting [2022-02-07T05:05:11.823Z] 9065ff56babe: Waiting [2022-02-07T05:05:11.823Z] d287ab97295c: Waiting [2022-02-07T05:05:11.823Z] a1111a8f2ec3: Verifying Checksum [2022-02-07T05:05:11.823Z] a1111a8f2ec3: Download complete [2022-02-07T05:05:11.823Z] dc539afda2c1: Verifying Checksum [2022-02-07T05:05:11.823Z] dc539afda2c1: Download complete [2022-02-07T05:05:12.086Z] ed53099fbce6: Verifying Checksum [2022-02-07T05:05:12.086Z] ed53099fbce6: Download complete [2022-02-07T05:05:12.086Z] 9065ff56babe: Verifying Checksum [2022-02-07T05:05:12.086Z] 9065ff56babe: Download complete [2022-02-07T05:05:12.086Z] 77bc0d833cb6: Verifying Checksum [2022-02-07T05:05:12.086Z] 77bc0d833cb6: Download complete [2022-02-07T05:05:12.086Z] b4d181a07f80: Verifying Checksum [2022-02-07T05:05:12.086Z] b4d181a07f80: Download complete [2022-02-07T05:05:12.659Z] d287ab97295c: Verifying Checksum [2022-02-07T05:05:12.659Z] d287ab97295c: Download complete [2022-02-07T05:05:13.618Z] b4d181a07f80: Pull complete [2022-02-07T05:05:13.879Z] a1111a8f2ec3: Pull complete [2022-02-07T05:05:14.455Z] ed53099fbce6: Pull complete [2022-02-07T05:05:14.455Z] dc539afda2c1: Pull complete [2022-02-07T05:05:14.716Z] 77bc0d833cb6: Pull complete [2022-02-07T05:05:14.977Z] 9065ff56babe: Pull complete [2022-02-07T05:05:21.657Z] d287ab97295c: Pull complete [2022-02-07T05:05:21.657Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-07T05:05:21.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T05:05:21.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-07T05:05:21.752Z] prd-centos7-docker-4c-2g-4751 does not seem to be running inside a container [2022-02-07T05:05:21.791Z] $ 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-309 -v /w/workspace/xfoundry_device-modbus-go_PR-309:/w/workspace/xfoundry_device-modbus-go_PR-309:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-309@tmp:/w/workspace/xfoundry_device-modbus-go_PR-309@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-02-07T05:05:23.978Z] $ docker top eb92d36b78a0afb655539bcce6104b9adffaf7139f303c5879dedb13fe26d70a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:05:24.581Z] ---> job-cost.sh [2022-02-07T05:05:24.581Z] lf-activate-venv: SKIPPING [2022-02-07T05:05:24.581Z] INFO: No Stack... [2022-02-07T05:05:25.158Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T05:05:25.420Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T05:05:25.737Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-309/archives/cost.csv [2022-02-07T05:05:25.738Z] + cut -d, -f6 [Pipeline] lock [2022-02-07T05:05:25.779Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [2022-02-07T05:05:25.784Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] did not exist. Created. [2022-02-07T05:05:25.784Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T05:05:26.176Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-07T05:05:26.236Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T05:05:26.253Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T05:05:26.324Z] $ docker stop --time=1 eb92d36b78a0afb655539bcce6104b9adffaf7139f303c5879dedb13fe26d70a [2022-02-07T05:05:27.480Z] $ docker rm -f eb92d36b78a0afb655539bcce6104b9adffaf7139f303c5879dedb13fe26d70a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T05:05:27.819Z] Failed in branch amd64 [2022-02-07T05:05:36.269Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4754 in /w/workspace/xfoundry_device-modbus-go_PR-309 [Pipeline] { [Pipeline] ws [2022-02-07T05:05:36.312Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-02-07T05:05:36.548Z] Selected Git installation does not exist. Using Default [2022-02-07T05:05:36.549Z] The recommended git tool is: NONE [2022-02-07T05:05:40.973Z] using credential edgex-jenkins-ssh [2022-02-07T05:05:40.989Z] Cloning the remote Git repository [2022-02-07T05:05:41.041Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-02-07T05:05:41.121Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-02-07T05:05:41.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-02-07T05:05:41.211Z] > git --version # timeout=10 [2022-02-07T05:05:41.229Z] > git --version # 'git version 2.17.1' [2022-02-07T05:05:41.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T05:05:41.295Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T05:05:42.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-02-07T05:05:42.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T05:05:42.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-02-07T05:05:42.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-02-07T05:05:42.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T05:05:42.486Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-07T05:05:43.038Z] Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit d2f3bfb005a92129d8d4c867e82a914f2f19db5b [2022-02-07T05:05:43.219Z] Merge succeeded, producing d2f3bfb005a92129d8d4c867e82a914f2f19db5b [2022-02-07T05:05:43.220Z] Checking out Revision d2f3bfb005a92129d8d4c867e82a914f2f19db5b (PR-309) [2022-02-07T05:05:43.055Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T05:05:43.069Z] > git checkout -f d2f3bfb005a92129d8d4c867e82a914f2f19db5b # timeout=10 [2022-02-07T05:05:43.143Z] > git remote # timeout=10 [2022-02-07T05:05:43.158Z] > git config --get remote.origin.url # timeout=10 [2022-02-07T05:05:43.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T05:05:43.183Z] > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 [2022-02-07T05:05:43.203Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-07T05:05:43.224Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T05:05:43.247Z] > git checkout -f d2f3bfb005a92129d8d4c867e82a914f2f19db5b # timeout=10 [2022-02-07T05:05:47.382Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-07T05:05:47.438Z] > git --version # timeout=10 [2022-02-07T05:05:47.450Z] > git --version # 'git version 2.17.1' [2022-02-07T05:05:47.462Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T05:05:48.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-07T05:05:48.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-07T05:05:48.472Z] Dload Upload Total Spent Left Speed [2022-02-07T05:05:48.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh [2022-02-07T05:05:48.958Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-07T05:05:49.311Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-07T05:05:49.311Z] + sudo tee /etc/docker/daemon.new [2022-02-07T05:05:49.311Z] { [2022-02-07T05:05:49.311Z] "registry-mirrors": [ [2022-02-07T05:05:49.311Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-07T05:05:49.311Z] ], [2022-02-07T05:05:49.311Z] "bip": "10.250.0.254/24", [2022-02-07T05:05:49.311Z] "hosts": [ [2022-02-07T05:05:49.311Z] "tcp://0.0.0.0:5555", [2022-02-07T05:05:49.311Z] "unix:///var/run/docker.sock" [2022-02-07T05:05:49.311Z] ], [2022-02-07T05:05:49.311Z] "mtu": 1458, [2022-02-07T05:05:49.311Z] "selinux-enabled": true, [2022-02-07T05:05:49.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-07T05:05:49.311Z] } [Pipeline] sh [2022-02-07T05:05:49.670Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-07T05:05:50.029Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T05:06:08.458Z] provisioning config files... [2022-02-07T05:06:08.482Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4649333573931808835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:06:09.056Z] ---> docker-login.sh [2022-02-07T05:06:09.056Z] nexus3.edgexfoundry.org:10001 [2022-02-07T05:06:09.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:06:09.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:06:09.923Z] Configure a credential helper to remove this warning. See [2022-02-07T05:06:09.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:06:09.923Z] [2022-02-07T05:06:09.923Z] Login Succeeded [2022-02-07T05:06:09.923Z] nexus3.edgexfoundry.org:10002 [2022-02-07T05:06:10.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:06:10.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:06:10.477Z] Configure a credential helper to remove this warning. See [2022-02-07T05:06:10.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:06:10.477Z] [2022-02-07T05:06:10.477Z] Login Succeeded [2022-02-07T05:06:10.477Z] nexus3.edgexfoundry.org:10003 [2022-02-07T05:06:10.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:06:10.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:06:10.754Z] Configure a credential helper to remove this warning. See [2022-02-07T05:06:10.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:06:10.754Z] [2022-02-07T05:06:10.754Z] Login Succeeded [2022-02-07T05:06:10.754Z] nexus3.edgexfoundry.org:10004 [2022-02-07T05:06:11.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:06:11.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:06:11.301Z] Configure a credential helper to remove this warning. See [2022-02-07T05:06:11.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:06:11.301Z] [2022-02-07T05:06:11.301Z] Login Succeeded [2022-02-07T05:06:11.301Z] docker.io [2022-02-07T05:06:11.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T05:06:12.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T05:06:12.162Z] Configure a credential helper to remove this warning. See [2022-02-07T05:06:12.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T05:06:12.162Z] [2022-02-07T05:06:12.162Z] Login Succeeded [2022-02-07T05:06:12.162Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T05:06:12.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T05:06:12.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T05:06:12.601Z] ========================================================= [2022-02-07T05:06:12.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-07T05:06:12.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:06:13.047Z] + 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-02-07T05:06:13.334Z] Sending build context to Docker daemon 2.995MB [2022-02-07T05:06:13.334Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T05:06:13.334Z] Step 2/10 : FROM ${BASE} AS builder [2022-02-07T05:06:13.626Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-07T05:06:13.626Z] 9b3977197b4f: Pulling fs layer [2022-02-07T05:06:13.626Z] 1a89e8eeedd5: Pulling fs layer [2022-02-07T05:06:13.627Z] 94645a83ff95: Pulling fs layer [2022-02-07T05:06:13.627Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-07T05:06:13.627Z] 0c92f367c5e7: Pulling fs layer [2022-02-07T05:06:13.627Z] f7c0051592d6: Pulling fs layer [2022-02-07T05:06:13.627Z] a227ed2f7395: Pulling fs layer [2022-02-07T05:06:13.627Z] 7b1c46037f91: Pulling fs layer [2022-02-07T05:06:13.627Z] f7c0051592d6: Waiting [2022-02-07T05:06:13.627Z] 3f3a8bcf1eab: Waiting [2022-02-07T05:06:13.627Z] a227ed2f7395: Waiting [2022-02-07T05:06:13.627Z] 0c92f367c5e7: Waiting [2022-02-07T05:06:13.627Z] 7b1c46037f91: Waiting [2022-02-07T05:06:13.627Z] 94645a83ff95: Download complete [2022-02-07T05:06:13.627Z] 1a89e8eeedd5: Verifying Checksum [2022-02-07T05:06:13.627Z] 1a89e8eeedd5: Download complete [2022-02-07T05:06:13.627Z] 0c92f367c5e7: Verifying Checksum [2022-02-07T05:06:13.627Z] 0c92f367c5e7: Download complete [2022-02-07T05:06:13.627Z] f7c0051592d6: Download complete [2022-02-07T05:06:13.627Z] a227ed2f7395: Verifying Checksum [2022-02-07T05:06:13.627Z] a227ed2f7395: Download complete [2022-02-07T05:06:13.627Z] 9b3977197b4f: Verifying Checksum [2022-02-07T05:06:13.627Z] 9b3977197b4f: Download complete [2022-02-07T05:06:14.611Z] 9b3977197b4f: Pull complete [2022-02-07T05:06:14.886Z] 1a89e8eeedd5: Pull complete [2022-02-07T05:06:15.162Z] 94645a83ff95: Pull complete [2022-02-07T05:06:15.443Z] 7b1c46037f91: Verifying Checksum [2022-02-07T05:06:15.443Z] 7b1c46037f91: Download complete [2022-02-07T05:06:16.037Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-07T05:06:16.038Z] 3f3a8bcf1eab: Download complete [2022-02-07T05:06:28.434Z] 3f3a8bcf1eab: Pull complete [2022-02-07T05:06:28.434Z] 0c92f367c5e7: Pull complete [2022-02-07T05:06:28.434Z] f7c0051592d6: Pull complete [2022-02-07T05:06:28.434Z] a227ed2f7395: Pull complete [2022-02-07T05:06:33.837Z] 7b1c46037f91: Pull complete [2022-02-07T05:06:33.837Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-07T05:06:33.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-07T05:06:33.837Z] ---> f79e39bc4007 [2022-02-07T05:06:33.837Z] Step 3/10 : ARG MAKE='make build' [2022-02-07T05:06:35.807Z] ---> Running in bcdbcc95760e [2022-02-07T05:06:35.807Z] Removing intermediate container bcdbcc95760e [2022-02-07T05:06:35.807Z] ---> 48d2427ec14d [2022-02-07T05:06:35.807Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T05:06:35.807Z] ---> Running in 6d7ccc9643b5 [2022-02-07T05:06:37.779Z] Removing intermediate container 6d7ccc9643b5 [2022-02-07T05:06:37.779Z] ---> 873e61bcbbf5 [2022-02-07T05:06:37.779Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-02-07T05:06:37.779Z] ---> Running in d8190205e833 [2022-02-07T05:06:38.758Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-07T05:06:39.730Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-07T05:06:40.710Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T05:06:40.710Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-02-07T05:06:40.710Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T05:06:40.710Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T05:06:40.982Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-02-07T05:06:40.982Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-02-07T05:06:40.982Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-02-07T05:06:41.257Z] (8/8) Installing openssh (8.8_p1-r1) [2022-02-07T05:06:41.257Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T05:06:41.257Z] OK: 226 MiB in 60 packages [2022-02-07T05:06:42.690Z] Removing intermediate container d8190205e833 [2022-02-07T05:06:42.690Z] ---> 3920d3ab47e6 [2022-02-07T05:06:42.690Z] Step 6/10 : WORKDIR /device-modbus-go [2022-02-07T05:06:42.690Z] ---> Running in 8b1055986e46 [2022-02-07T05:06:42.964Z] Removing intermediate container 8b1055986e46 [2022-02-07T05:06:42.964Z] ---> 49fa75812c70 [2022-02-07T05:06:42.964Z] Step 7/10 : COPY go.mod vendor* ./ [2022-02-07T05:06:43.559Z] ---> 188780e9eb04 [2022-02-07T05:06:43.559Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T05:06:43.559Z] ---> Running in efc84d07660f [2022-02-07T05:08:05.381Z] Removing intermediate container efc84d07660f [2022-02-07T05:08:05.381Z] ---> 73c2cff53fdd [2022-02-07T05:08:05.381Z] Step 9/10 : COPY . . [2022-02-07T05:08:05.381Z] ---> f913df106f34 [2022-02-07T05:08:05.381Z] Step 10/10 : RUN ${MAKE} [2022-02-07T05:08:05.381Z] ---> Running in aca197bc4a6a [2022-02-07T05:08:05.381Z] noop [2022-02-07T05:08:05.381Z] Removing intermediate container aca197bc4a6a [2022-02-07T05:08:05.381Z] ---> 1fc0a9b42deb [2022-02-07T05:08:05.381Z] Successfully built 1fc0a9b42deb [2022-02-07T05:08:05.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:08:05.754Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T05:08:05.754Z] . [Pipeline] withDockerContainer [2022-02-07T05:08:05.988Z] prd-ubuntu18.04-docker-arm64-4c-16g-4754 does not seem to be running inside a container [2022-02-07T05:08:06.064Z] $ 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-02-07T05:08:07.473Z] $ docker top b9cefb209ae13e4cdc71e81802a82cee75731908d0a45f0dcf6f0d65f175da60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T05:08:08.448Z] + go version [2022-02-07T05:08:08.448Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-07T05:08:08.480Z] $ docker stop --time=1 b9cefb209ae13e4cdc71e81802a82cee75731908d0a45f0dcf6f0d65f175da60 [2022-02-07T05:08:10.167Z] $ docker rm -f b9cefb209ae13e4cdc71e81802a82cee75731908d0a45f0dcf6f0d65f175da60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:08:11.033Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T05:08:11.033Z] . [Pipeline] withDockerContainer [2022-02-07T05:08:11.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-4754 does not seem to be running inside a container [2022-02-07T05:08:11.346Z] $ 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-02-07T05:08:12.706Z] $ docker top 85f496138fe882630da73405566adb30bee7c78ac00859f846ff4057aa45f692 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T05:08:13.727Z] + make test [2022-02-07T05:08:13.727Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-07T05:08:15.163Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-02-07T05:09:02.135Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-02-07T05:09:04.107Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 46.6% of statements [2022-02-07T05:09:04.107Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T05:09:26.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T05:09:26.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T05:09:26.269Z] ./bin/test-attribution-txt.sh [2022-02-07T05:09:26.269Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T05:09:26.269Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-02-07T05:09:26.311Z] $ docker stop --time=1 85f496138fe882630da73405566adb30bee7c78ac00859f846ff4057aa45f692 [2022-02-07T05:09:28.030Z] $ docker rm -f 85f496138fe882630da73405566adb30bee7c78ac00859f846ff4057aa45f692 [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-02-07T05:09:29.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T05:09:29.389Z] [2022-02-07T05:09:29.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:09:29.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T05:09:29.773Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-07T05:09:29.773Z] 448f6bf000e3: Pulling fs layer [2022-02-07T05:09:29.773Z] f757da607395: Pulling fs layer [2022-02-07T05:09:29.773Z] 05883995daec: Pulling fs layer [2022-02-07T05:09:29.773Z] 8603b9c90790: Pulling fs layer [2022-02-07T05:09:29.773Z] 1560dd03e051: Pulling fs layer [2022-02-07T05:09:29.773Z] 27f5ce0e4adf: Pulling fs layer [2022-02-07T05:09:29.773Z] c2d8d7efcc4b: Pulling fs layer [2022-02-07T05:09:29.773Z] 8603b9c90790: Waiting [2022-02-07T05:09:29.773Z] 1560dd03e051: Waiting [2022-02-07T05:09:29.773Z] 27f5ce0e4adf: Waiting [2022-02-07T05:09:29.773Z] c2d8d7efcc4b: Waiting [2022-02-07T05:09:30.045Z] f757da607395: Verifying Checksum [2022-02-07T05:09:30.045Z] f757da607395: Download complete [2022-02-07T05:09:30.045Z] 8603b9c90790: Verifying Checksum [2022-02-07T05:09:30.045Z] 8603b9c90790: Download complete [2022-02-07T05:09:30.045Z] 1560dd03e051: Verifying Checksum [2022-02-07T05:09:30.045Z] 1560dd03e051: Download complete [2022-02-07T05:09:30.045Z] 05883995daec: Verifying Checksum [2022-02-07T05:09:30.045Z] 05883995daec: Download complete [2022-02-07T05:09:30.045Z] 27f5ce0e4adf: Verifying Checksum [2022-02-07T05:09:30.045Z] 27f5ce0e4adf: Download complete [2022-02-07T05:09:30.645Z] 448f6bf000e3: Verifying Checksum [2022-02-07T05:09:33.263Z] c2d8d7efcc4b: Verifying Checksum [2022-02-07T05:09:33.263Z] c2d8d7efcc4b: Download complete [2022-02-07T05:09:34.241Z] 448f6bf000e3: Pull complete [2022-02-07T05:09:34.515Z] f757da607395: Pull complete [2022-02-07T05:09:35.957Z] 05883995daec: Pull complete [2022-02-07T05:09:36.229Z] 8603b9c90790: Pull complete [2022-02-07T05:09:37.218Z] 1560dd03e051: Pull complete [2022-02-07T05:09:37.497Z] 27f5ce0e4adf: Pull complete [2022-02-07T05:09:52.581Z] c2d8d7efcc4b: Pull complete [2022-02-07T05:09:52.581Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-07T05:09:52.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T05:09:52.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-07T05:09:52.851Z] prd-ubuntu18.04-docker-arm64-4c-16g-4754 does not seem to be running inside a container [2022-02-07T05:09:52.976Z] $ 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-02-07T05:09:56.034Z] $ docker top d2fd72ba7e6753a34e0b4ecb10228c9d124972e967447dcef1b030034e8e3af8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:09:57.295Z] ---> job-cost.sh [2022-02-07T05:09:57.295Z] lf-activate-venv: SKIPPING [2022-02-07T05:09:57.295Z] INFO: No Stack... [2022-02-07T05:09:57.577Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-07T05:09:58.175Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T05:09:58.860Z] + cut -d, -f6 [2022-02-07T05:09:58.860Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-02-07T05:09:58.947Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [2022-02-07T05:09:58.952Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] did not exist. Created. [2022-02-07T05:09:58.952Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T05:09:59.697Z] /w/workspace/device-modbus-go/1@tmp/durable-4de835bd/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-4de835bd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-07T05:10:00.394Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-07T05:10:00.434Z] Warning: overwriting stash ‘stack-cost’ [2022-02-07T05:10:00.913Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T05:10:00.928Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-309-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T05:10:01.000Z] $ docker stop --time=1 d2fd72ba7e6753a34e0b4ecb10228c9d124972e967447dcef1b030034e8e3af8 [2022-02-07T05:10:02.509Z] $ docker rm -f d2fd72ba7e6753a34e0b4ecb10228c9d124972e967447dcef1b030034e8e3af8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T05:10:03.235Z] 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-02-07T05:10:05.260Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-309/archives ']' [2022-02-07T05:10:05.260Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-309/archives [2022-02-07T05:10:05.260Z] total 8 [2022-02-07T05:10:05.260Z] drwxr-xr-x. 3 root root 34 Feb 7 05:05 . [2022-02-07T05:10:05.260Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 7 05:05 .. [2022-02-07T05:10:05.260Z] drwxr-xr-x. 2 root root 6 Feb 7 05:05 cost [2022-02-07T05:10:05.260Z] -rw-r--r--. 1 root root 87 Feb 7 05:05 cost.csv [2022-02-07T05:10:05.260Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-309/archives [2022-02-07T05:10:05.260Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-309/archives [2022-02-07T05:10:05.260Z] total 8 [2022-02-07T05:10:05.260Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 7 05:05 . [2022-02-07T05:10:05.260Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 7 05:05 .. [2022-02-07T05:10:05.260Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 7 05:05 cost [2022-02-07T05:10:05.260Z] -rw-r--r--. 1 jenkins jenkins 87 Feb 7 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:05.609Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:06.196Z] ---> package-listing.sh [2022-02-07T05:10:06.196Z] ++ facter osfamily [2022-02-07T05:10:06.196Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-07T05:10:06.458Z] + OS_FAMILY=redhat [2022-02-07T05:10:06.458Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-309 [2022-02-07T05:10:06.458Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-07T05:10:06.458Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-07T05:10:06.458Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-07T05:10:06.458Z] + PACKAGES=/tmp/packages_start.txt [2022-02-07T05:10:06.458Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-309 ']' [2022-02-07T05:10:06.458Z] + PACKAGES=/tmp/packages_end.txt [2022-02-07T05:10:06.458Z] + case "${OS_FAMILY}" in [2022-02-07T05:10:06.458Z] + sort [2022-02-07T05:10:06.458Z] + rpm -qa [2022-02-07T05:10:07.039Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-07T05:10:07.039Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-07T05:10:07.039Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-07T05:10:07.039Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-309 ']' [2022-02-07T05:10:07.039Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-309/archives/ [2022-02-07T05:10:07.039Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-309/archives/ [Pipeline] echo [2022-02-07T05:10:07.080Z] 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-309/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-07T05:10:07.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-07T05:10:07.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T05:10:07.989Z] . [Pipeline] withDockerContainer [2022-02-07T05:10:08.088Z] prd-centos7-docker-4c-2g-4751 does not seem to be running inside a container [2022-02-07T05:10:08.120Z] $ 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-309/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-309 -v /w/workspace/xfoundry_device-modbus-go_PR-309:/w/workspace/xfoundry_device-modbus-go_PR-309:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-309@tmp:/w/workspace/xfoundry_device-modbus-go_PR-309@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-02-07T05:10:08.286Z] $ docker top 5a6e8aa6a10ece06bbccffbea3e9c57c37803c6dcea50ab0e41ca22499107547 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T05:10:08.901Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-07T05:10:09.238Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-07T05:10:09.553Z] + ls /var/log/sa-host [2022-02-07T05:10:09.553Z] + sadf -c /var/log/sa-host/sa07 [2022-02-07T05:10:09.553Z] file_magic: OK [2022-02-07T05:10:09.553Z] HZ: Using current value: 100 [2022-02-07T05:10:09.553Z] file_header: OK [2022-02-07T05:10:09.553Z] 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-02-07T05:10:09.553Z] Statistics: [2022-02-07T05:10:09.553Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T05:10:09.553Z] File successfully converted to sysstat format version 12.0.3 [2022-02-07T05:10:09.553Z] + sadf -c /var/log/sa-host/sa17 [2022-02-07T05:10:09.553Z] file_magic: OK [2022-02-07T05:10:09.553Z] HZ: Using current value: 100 [2022-02-07T05:10:09.553Z] file_header: OK [2022-02-07T05:10:09.553Z] 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-02-07T05:10:09.553Z] Statistics: [2022-02-07T05:10:09.553Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T05:10:09.553Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T05:10:09.867Z] provisioning config files... [2022-02-07T05:10:09.877Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-309@tmp/config382804685727564470tmp [Pipeline] { [Pipeline] echo [2022-02-07T05:10:09.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:10.260Z] ---> create-netrc.sh [Pipeline] } [2022-02-07T05:10:10.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:10.727Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-07T05:10:10.764Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:11.083Z] ---> sudo-logs.sh [2022-02-07T05:10:11.083Z] Archiving 'sudo' log.. [2022-02-07T05:10:11.083Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4751.novalocal: Name or service not known [2022-02-07T05:10:11.083Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4751.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-07T05:10:11.169Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:11.489Z] ---> job-cost.sh [2022-02-07T05:10:11.489Z] lf-activate-venv: SKIPPING [2022-02-07T05:10:11.489Z] DEBUG: total: 0.05999999865889549 [2022-02-07T05:10:11.489Z] INFO: Retrieving Stack Cost... [2022-02-07T05:10:11.749Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T05:10:12.322Z] INFO: Archiving Costs [Pipeline] echo [2022-02-07T05:10:12.360Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T05:10:12.687Z] ---> logs-deploy.sh [2022-02-07T05:10:12.687Z] lf-activate-venv: SKIPPING [2022-02-07T05:10:12.687Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-309/1 [2022-02-07T05:10:12.687Z] INFO: archiving workspace using pattern(s): [2022-02-07T05:10:13.261Z] Archives upload complete. [2022-02-07T05:10:13.520Z] INFO: archiving logs to Nexus