Pull request #311 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 388638a318acbf20cb652da5cc0d9ab090bf3f12+4a13dc8cbc9452d90b2dd7765ba07908e93b105b (2289f062ac3df14d4d042c5b7ecef743ecb3f062) 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-ssh11042037772330827633.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-ssh17361907000205884178.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-311/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-311/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6714450598009114052.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-311/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14892924632565467375.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-ssh3338265376699535220.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-311/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-311/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9802689706281524275.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-5202 in /w/workspace/xfoundry_device-modbus-go_PR-311 [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-311 # 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-311@tmp/jenkins-gitclient-ssh186305811842836070.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 388638a318acbf20cb652da5cc0d9ab090bf3f12 Merge succeeded, producing 388638a318acbf20cb652da5cc0d9ab090bf3f12 Checking out Revision 388638a318acbf20cb652da5cc0d9ab090bf3f12 (PR-311) > 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-311@tmp/jenkins-gitclient-ssh1176008283144623872.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388638a318acbf20cb652da5cc0d9ab090bf3f12 # 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-311@tmp/jenkins-gitclient-ssh858306982458705027.key > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388638a318acbf20cb652da5cc0d9ab090bf3f12 # 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-14T05:03:24.182Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-14T05:03:24.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-14T05:03:24.457Z] ========================================================= [2022-02-14T05:03:24.457Z] EdgeX Global Pipelines Version Info [2022-02-14T05:03:24.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:03:25.603Z] ------------------- [2022-02-14T05:03:25.603Z] stable info: [2022-02-14T05:03:25.603Z] ------------------- [2022-02-14T05:03:25.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T05:03:25.603Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T05:03:25.603Z] Message: update stable to v1.0.220 [2022-02-14T05:03:26.548Z] ------------------- [2022-02-14T05:03:26.548Z] experimental info: [2022-02-14T05:03:26.548Z] ------------------- [2022-02-14T05:03:26.548Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T05:03:26.548Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T05:03:26.548Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-14T05:03:26.783Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-02-14T05:03:26.820Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-02-14T05:03:26.855Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-14T05:03:26.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-14T05:03:26.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-14T05:03:26.967Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-14T05:03:27.001Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-14T05:03:27.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-14T05:03:27.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-14T05:03:27.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-14T05:03:27.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-14T05:03:27.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-02-14T05:03:27.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-14T05:03:27.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-14T05:03:27.294Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T05:03:27.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T05:03:27.367Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T05:03:27.409Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T05:03:27.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-14T05:03:27.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-14T05:03:27.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-14T05:03:27.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-14T05:03:27.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-14T05:03:27.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-14T05:03:27.698Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-14T05:03:27.742Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-14T05:03:27.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-311 [Pipeline] echo [2022-02-14T05:03:27.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-311 [Pipeline] echo [2022-02-14T05:03:27.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-311 [Pipeline] echo [2022-02-14T05:03:27.913Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 388638a318acbf20cb652da5cc0d9ab090bf3f12 [Pipeline] echo [2022-02-14T05:03:27.950Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 388638a [Pipeline] echo [2022-02-14T05:03:27.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:03:28.105Z] provisioning config files... [2022-02-14T05:03:28.118Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp/config8100614757466009288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:03:28.488Z] ---> docker-login.sh [2022-02-14T05:03:28.488Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:03:28.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:28.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:28.759Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:28.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:28.759Z] [2022-02-14T05:03:28.759Z] Login Succeeded [2022-02-14T05:03:28.759Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:03:28.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:28.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:28.759Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:28.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:28.759Z] [2022-02-14T05:03:28.759Z] Login Succeeded [2022-02-14T05:03:28.759Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:03:29.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:29.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:29.034Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:29.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:29.034Z] [2022-02-14T05:03:29.034Z] Login Succeeded [2022-02-14T05:03:29.034Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:03:29.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:29.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:29.034Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:29.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:29.034Z] [2022-02-14T05:03:29.034Z] Login Succeeded [2022-02-14T05:03:29.034Z] docker.io [2022-02-14T05:03:29.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:29.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:29.607Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:29.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:29.607Z] [2022-02-14T05:03:29.607Z] Login Succeeded [2022-02-14T05:03:29.607Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:03:29.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-14T05:03:30.257Z] + git rev-list -1 --merges 388638a318acbf20cb652da5cc0d9ab090bf3f12~1..388638a318acbf20cb652da5cc0d9ab090bf3f12 [Pipeline] echo [2022-02-14T05:03:30.308Z] -----------> git rev-list -1 --merges 388638a318acbf20cb652da5cc0d9ab090bf3f12~1..388638a318acbf20cb652da5cc0d9ab090bf3f12 388638a318acbf20cb652da5cc0d9ab090bf3f12 [false] [Pipeline] sh [2022-02-14T05:03:30.631Z] + git log --format=format:%s -1 388638a318acbf20cb652da5cc0d9ab090bf3f12 [Pipeline] echo [2022-02-14T05:03:30.668Z] ========================================================= [2022-02-14T05:03:30.668Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-14T05:03:30.668Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T05:03:31.118Z] + git log --format=format:%s -1 388638a318acbf20cb652da5cc0d9ab090bf3f12 [Pipeline] echo [2022-02-14T05:03:31.150Z] [semverPrep] GIT_COMMIT: 388638a318acbf20cb652da5cc0d9ab090bf3f12, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-14T05:03:31.179Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-14T05:03:31.634Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-14T05:03:31.634Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-14T05:03:31.634Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-14T05:03:31.634Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-14T05:03:31.634Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-14T05:03:31.634Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-14T05:03:31.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:03:32.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:03:32.093Z] [2022-02-14T05:03:32.093Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:03:32.447Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:03:32.447Z] latest: Pulling from edgex-devops/git-semver [2022-02-14T05:03:32.447Z] a0d0a0d46f8b: Pulling fs layer [2022-02-14T05:03:32.447Z] 3e5f54012d9b: Pulling fs layer [2022-02-14T05:03:32.447Z] 4c7163046ea9: Pulling fs layer [2022-02-14T05:03:32.447Z] 0c2d73faf560: Pulling fs layer [2022-02-14T05:03:32.447Z] 0c2d73faf560: Waiting [2022-02-14T05:03:32.447Z] 3e5f54012d9b: Verifying Checksum [2022-02-14T05:03:32.447Z] 3e5f54012d9b: Download complete [2022-02-14T05:03:32.447Z] a0d0a0d46f8b: Verifying Checksum [2022-02-14T05:03:32.447Z] a0d0a0d46f8b: Download complete [2022-02-14T05:03:32.447Z] 0c2d73faf560: Verifying Checksum [2022-02-14T05:03:32.447Z] 0c2d73faf560: Download complete [2022-02-14T05:03:32.447Z] 4c7163046ea9: Verifying Checksum [2022-02-14T05:03:32.447Z] 4c7163046ea9: Download complete [2022-02-14T05:03:32.720Z] a0d0a0d46f8b: Pull complete [2022-02-14T05:03:32.720Z] 3e5f54012d9b: Pull complete [2022-02-14T05:03:32.991Z] 4c7163046ea9: Pull complete [2022-02-14T05:03:33.260Z] 0c2d73faf560: Pull complete [2022-02-14T05:03:33.260Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-14T05:03:33.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:03:33.260Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-14T05:03:33.353Z] prd-centos7-docker-4c-2g-5202 does not seem to be running inside a container [2022-02-14T05:03:33.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-311 -v /w/workspace/xfoundry_device-modbus-go_PR-311:/w/workspace/xfoundry_device-modbus-go_PR-311:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-311@tmp:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-14T05:03:34.094Z] $ docker top 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-14T05:03:34.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T05:03:34.286Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T05:03:34.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T05:03:34.394Z] $ docker exec 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 ssh-agent [2022-02-14T05:03:34.504Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEHjjCI/agent.14 [2022-02-14T05:03:34.504Z] SSH_AGENT_PID=21 [2022-02-14T05:03:34.511Z] Running ssh-add (command line suppressed) [2022-02-14T05:03:34.606Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-311@tmp/private_key_5221310865291976747.key (/w/workspace/xfoundry_device-modbus-go_PR-311@tmp/private_key_5221310865291976747.key) [2022-02-14T05:03:34.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T05:03:34.958Z] + git tag --points-at HEAD [Pipeline] } [2022-02-14T05:03:34.979Z] $ docker exec --env ******** --env ******** 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 ssh-agent -k [2022-02-14T05:03:35.066Z] unset SSH_AUTH_SOCK; [2022-02-14T05:03:35.066Z] unset SSH_AGENT_PID; [2022-02-14T05:03:35.066Z] echo Agent pid 21 killed; [2022-02-14T05:03:35.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-14T05:03:35.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T05:03:35.149Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T05:03:35.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T05:03:35.261Z] $ docker exec 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 ssh-agent [2022-02-14T05:03:35.354Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEajdHA/agent.54 [2022-02-14T05:03:35.354Z] SSH_AGENT_PID=60 [2022-02-14T05:03:35.360Z] Running ssh-add (command line suppressed) [2022-02-14T05:03:35.449Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-311@tmp/private_key_5063652862517592248.key (/w/workspace/xfoundry_device-modbus-go_PR-311@tmp/private_key_5063652862517592248.key) [2022-02-14T05:03:35.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T05:03:35.805Z] + git semver init [2022-02-14T05:03:35.805Z] # -> Open(): unable to determine branch for HEAD [2022-02-14T05:03:35.805Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-311/.git [2022-02-14T05:03:35.805Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-311 [2022-02-14T05:03:35.805Z] # $SEMVER_REMOTE_NAME = origin [2022-02-14T05:03:35.805Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-14T05:03:35.805Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-14T05:03:35.805Z] # $SEMVER_BRANCH = PR-311 [2022-02-14T05:03:35.805Z] # $SEMVER_TEMP = /tmp/semver-298625573 [2022-02-14T05:03:35.805Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-02-14T05:03:36.746Z] # '/tmp/semver-298625573' -> '/w/workspace/xfoundry_device-modbus-go_PR-311/.semver' [2022-02-14T05:03:36.746Z] # -> Force: false [2022-02-14T05:03:36.746Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-311/.semver [Pipeline] } [2022-02-14T05:03:36.770Z] $ docker exec --env ******** --env ******** 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 ssh-agent -k [2022-02-14T05:03:36.870Z] unset SSH_AUTH_SOCK; [2022-02-14T05:03:36.870Z] unset SSH_AGENT_PID; [2022-02-14T05:03:36.870Z] echo Agent pid 60 killed; [2022-02-14T05:03:36.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-14T05:03:37.312Z] + git semver [Pipeline] } [2022-02-14T05:03:37.343Z] $ docker stop --time=1 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 [2022-02-14T05:03:38.582Z] $ docker rm -f 9243a6336e737775e415806f5152a7fa76fa8d4c7e19b509080240cd8d912318 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-14T05:03:38.998Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-14T05:03:39.301Z] Stashed 1 file(s) [Pipeline] echo [2022-02-14T05:03:39.317Z] [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-14T05:03:39.825Z] provisioning config files... [2022-02-14T05:03:39.837Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp/config13501027354651364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:03:40.199Z] ---> docker-login.sh [2022-02-14T05:03:40.199Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:03:40.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:40.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:40.199Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:40.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:40.199Z] [2022-02-14T05:03:40.199Z] Login Succeeded [2022-02-14T05:03:40.199Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:03:40.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:40.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:40.459Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:40.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:40.459Z] [2022-02-14T05:03:40.459Z] Login Succeeded [2022-02-14T05:03:40.459Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:03:40.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:40.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:40.459Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:40.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:40.459Z] [2022-02-14T05:03:40.459Z] Login Succeeded [2022-02-14T05:03:40.459Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:03:40.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:40.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:40.721Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:40.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:40.721Z] [2022-02-14T05:03:40.721Z] Login Succeeded [2022-02-14T05:03:40.721Z] docker.io [2022-02-14T05:03:40.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:03:40.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:03:40.983Z] Configure a credential helper to remove this warning. See [2022-02-14T05:03:40.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:03:40.983Z] [2022-02-14T05:03:40.983Z] Login Succeeded [2022-02-14T05:03:40.983Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:03:41.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T05:03:41.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T05:03:41.233Z] ========================================================= [2022-02-14T05:03:41.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-14T05:03:41.233Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:03:41.648Z] + 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-14T05:03:41.648Z] Sending build context to Docker daemon 5.722MB [2022-02-14T05:03:41.648Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T05:03:41.648Z] Step 2/10 : FROM ${BASE} AS builder [2022-02-14T05:03:41.648Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-14T05:03:41.648Z] 59bf1c3509f3: Pulling fs layer [2022-02-14T05:03:41.648Z] 666ba61612fd: Pulling fs layer [2022-02-14T05:03:41.648Z] 8ed8ca486205: Pulling fs layer [2022-02-14T05:03:41.648Z] 4fe6c5a15a65: Pulling fs layer [2022-02-14T05:03:41.648Z] 22a0e8bec74d: Pulling fs layer [2022-02-14T05:03:41.648Z] 640e595b4fbd: Pulling fs layer [2022-02-14T05:03:41.648Z] 763cafe07f6e: Pulling fs layer [2022-02-14T05:03:41.648Z] 0c0b528cf693: Pulling fs layer [2022-02-14T05:03:41.648Z] 10935f4eaf8b: Pulling fs layer [2022-02-14T05:03:41.648Z] 4fe6c5a15a65: Waiting [2022-02-14T05:03:41.648Z] 22a0e8bec74d: Waiting [2022-02-14T05:03:41.648Z] 640e595b4fbd: Waiting [2022-02-14T05:03:41.648Z] 763cafe07f6e: Waiting [2022-02-14T05:03:41.648Z] 0c0b528cf693: Waiting [2022-02-14T05:03:41.648Z] 10935f4eaf8b: Waiting [2022-02-14T05:03:41.648Z] 8ed8ca486205: Verifying Checksum [2022-02-14T05:03:41.648Z] 8ed8ca486205: Download complete [2022-02-14T05:03:41.909Z] 666ba61612fd: Verifying Checksum [2022-02-14T05:03:41.909Z] 666ba61612fd: Download complete [2022-02-14T05:03:41.909Z] 22a0e8bec74d: Verifying Checksum [2022-02-14T05:03:41.909Z] 22a0e8bec74d: Download complete [2022-02-14T05:03:41.909Z] 640e595b4fbd: Verifying Checksum [2022-02-14T05:03:41.909Z] 640e595b4fbd: Download complete [2022-02-14T05:03:41.909Z] 763cafe07f6e: Verifying Checksum [2022-02-14T05:03:41.909Z] 763cafe07f6e: Download complete [2022-02-14T05:03:41.909Z] 59bf1c3509f3: Verifying Checksum [2022-02-14T05:03:41.909Z] 59bf1c3509f3: Download complete [2022-02-14T05:03:41.909Z] 0c0b528cf693: Verifying Checksum [2022-02-14T05:03:41.909Z] 0c0b528cf693: Download complete [2022-02-14T05:03:42.174Z] 59bf1c3509f3: Pull complete [2022-02-14T05:03:42.174Z] 666ba61612fd: Pull complete [2022-02-14T05:03:42.440Z] 8ed8ca486205: Pull complete [2022-02-14T05:03:43.044Z] 4fe6c5a15a65: Verifying Checksum [2022-02-14T05:03:43.044Z] 4fe6c5a15a65: Download complete [2022-02-14T05:03:43.044Z] 10935f4eaf8b: Verifying Checksum [2022-02-14T05:03:43.044Z] 10935f4eaf8b: Download complete [2022-02-14T05:03:47.304Z] 4fe6c5a15a65: Pull complete [2022-02-14T05:03:47.304Z] 22a0e8bec74d: Pull complete [2022-02-14T05:03:47.304Z] 640e595b4fbd: Pull complete [2022-02-14T05:03:47.304Z] 763cafe07f6e: Pull complete [2022-02-14T05:03:47.304Z] 0c0b528cf693: Pull complete [2022-02-14T05:03:50.619Z] 10935f4eaf8b: Pull complete [2022-02-14T05:03:50.619Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-14T05:03:50.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-14T05:03:50.619Z] ---> 99d49a6021b9 [2022-02-14T05:03:50.619Z] Step 3/10 : ARG MAKE='make build' [2022-02-14T05:03:52.541Z] ---> Running in ec872f5ac087 [2022-02-14T05:03:52.541Z] Removing intermediate container ec872f5ac087 [2022-02-14T05:03:52.541Z] ---> b05ae0f6a134 [2022-02-14T05:03:52.541Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T05:03:52.541Z] ---> Running in 62a3dd986ccb [2022-02-14T05:03:52.804Z] Removing intermediate container 62a3dd986ccb [2022-02-14T05:03:52.804Z] ---> 71126eea9f84 [2022-02-14T05:03:52.804Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-02-14T05:03:52.804Z] ---> Running in 251dab98231a [2022-02-14T05:03:53.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-14T05:03:54.013Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-14T05:03:54.275Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T05:03:54.275Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-02-14T05:03:54.536Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T05:03:54.536Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T05:03:54.675Z] Still waiting to schedule task [2022-02-14T05:03:54.675Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-14T05:03:54.798Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-02-14T05:03:54.798Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-02-14T05:03:54.799Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-02-14T05:03:55.060Z] (8/8) Installing openssh (8.8_p1-r1) [2022-02-14T05:03:55.060Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T05:03:55.060Z] OK: 226 MiB in 60 packages [2022-02-14T05:03:55.321Z] Removing intermediate container 251dab98231a [2022-02-14T05:03:55.321Z] ---> 0e3ef6bd06f9 [2022-02-14T05:03:55.321Z] Step 6/10 : WORKDIR /device-modbus-go [2022-02-14T05:03:55.321Z] ---> Running in e678678544d4 [2022-02-14T05:03:55.580Z] Removing intermediate container e678678544d4 [2022-02-14T05:03:55.580Z] ---> d8a583d1da0b [2022-02-14T05:03:55.580Z] Step 7/10 : COPY go.mod vendor* ./ [2022-02-14T05:03:55.580Z] ---> 2bee055d4098 [2022-02-14T05:03:55.580Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T05:03:55.580Z] ---> Running in 49db703d9f4d [2022-02-14T05:04:34.361Z] Removing intermediate container 49db703d9f4d [2022-02-14T05:04:34.361Z] ---> 5339f55dee7d [2022-02-14T05:04:34.361Z] Step 9/10 : COPY . . [2022-02-14T05:04:34.361Z] ---> 72370e1267e6 [2022-02-14T05:04:34.361Z] Step 10/10 : RUN ${MAKE} [2022-02-14T05:04:34.361Z] ---> Running in 4b0ca8439db3 [2022-02-14T05:04:34.361Z] noop [2022-02-14T05:04:34.361Z] Removing intermediate container 4b0ca8439db3 [2022-02-14T05:04:34.361Z] ---> b7ecd14b4866 [2022-02-14T05:04:34.361Z] Successfully built b7ecd14b4866 [2022-02-14T05:04:34.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:04:34.691Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T05:04:34.691Z] . [Pipeline] withDockerContainer [2022-02-14T05:04:34.782Z] prd-centos7-docker-4c-2g-5202 does not seem to be running inside a container [2022-02-14T05:04:34.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-311 -v /w/workspace/xfoundry_device-modbus-go_PR-311:/w/workspace/xfoundry_device-modbus-go_PR-311:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-311@tmp:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-14T05:04:35.155Z] $ docker top fef3a1a9f2505f470ac4655971c06d69337797039dd36f1b8625e5014a3977a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:04:35.561Z] + go version [2022-02-14T05:04:35.561Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-14T05:04:35.588Z] $ docker stop --time=1 fef3a1a9f2505f470ac4655971c06d69337797039dd36f1b8625e5014a3977a8 [2022-02-14T05:04:36.791Z] $ docker rm -f fef3a1a9f2505f470ac4655971c06d69337797039dd36f1b8625e5014a3977a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:04:37.475Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T05:04:37.475Z] . [Pipeline] withDockerContainer [2022-02-14T05:04:37.578Z] prd-centos7-docker-4c-2g-5202 does not seem to be running inside a container [2022-02-14T05:04:37.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-311 -v /w/workspace/xfoundry_device-modbus-go_PR-311:/w/workspace/xfoundry_device-modbus-go_PR-311:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-311@tmp:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-14T05:04:37.944Z] $ docker top af44624467c3c231c103cec11001cfc381f8f73cd4e9f2361816820fbf28e78f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T05:04:38.403Z] + make test [2022-02-14T05:04:38.403Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-14T05:04:38.665Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-02-14T05:04:48.739Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T05:04:48.739Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T05:04:48.739Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T05:04:48.739Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T05:04:48.739Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T05:04:48.739Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T05:04:54.078Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2022-02-14T05:04:54.078Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-02-14T05:04:54.118Z] $ docker stop --time=1 af44624467c3c231c103cec11001cfc381f8f73cd4e9f2361816820fbf28e78f [2022-02-14T05:04:55.559Z] $ docker rm -f af44624467c3c231c103cec11001cfc381f8f73cd4e9f2361816820fbf28e78f [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-14T05:04:56.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:04:56.621Z] [2022-02-14T05:04:56.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:04:56.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:04:56.963Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-14T05:04:56.963Z] b4d181a07f80: Pulling fs layer [2022-02-14T05:04:56.963Z] a1111a8f2ec3: Pulling fs layer [2022-02-14T05:04:56.963Z] ed53099fbce6: Pulling fs layer [2022-02-14T05:04:56.963Z] dc539afda2c1: Pulling fs layer [2022-02-14T05:04:56.963Z] 77bc0d833cb6: Pulling fs layer [2022-02-14T05:04:56.963Z] 9065ff56babe: Pulling fs layer [2022-02-14T05:04:56.963Z] d287ab97295c: Pulling fs layer [2022-02-14T05:04:56.963Z] 77bc0d833cb6: Waiting [2022-02-14T05:04:56.963Z] 9065ff56babe: Waiting [2022-02-14T05:04:56.963Z] d287ab97295c: Waiting [2022-02-14T05:04:56.963Z] dc539afda2c1: Waiting [2022-02-14T05:04:56.963Z] a1111a8f2ec3: Download complete [2022-02-14T05:04:56.963Z] dc539afda2c1: Verifying Checksum [2022-02-14T05:04:56.963Z] dc539afda2c1: Download complete [2022-02-14T05:04:56.963Z] ed53099fbce6: Verifying Checksum [2022-02-14T05:04:56.963Z] ed53099fbce6: Download complete [2022-02-14T05:04:56.963Z] 9065ff56babe: Verifying Checksum [2022-02-14T05:04:56.963Z] 9065ff56babe: Download complete [2022-02-14T05:04:57.226Z] 77bc0d833cb6: Verifying Checksum [2022-02-14T05:04:57.226Z] 77bc0d833cb6: Download complete [2022-02-14T05:04:57.226Z] b4d181a07f80: Verifying Checksum [2022-02-14T05:04:57.226Z] b4d181a07f80: Download complete [2022-02-14T05:04:57.814Z] d287ab97295c: Verifying Checksum [2022-02-14T05:04:57.814Z] d287ab97295c: Download complete [2022-02-14T05:04:58.767Z] b4d181a07f80: Pull complete [2022-02-14T05:04:58.767Z] a1111a8f2ec3: Pull complete [2022-02-14T05:04:59.339Z] ed53099fbce6: Pull complete [2022-02-14T05:04:59.339Z] dc539afda2c1: Pull complete [2022-02-14T05:04:59.600Z] 77bc0d833cb6: Pull complete [2022-02-14T05:04:59.871Z] 9065ff56babe: Pull complete [2022-02-14T05:05:05.236Z] d287ab97295c: Pull complete [2022-02-14T05:05:05.236Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-14T05:05:05.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:05:05.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-14T05:05:05.324Z] prd-centos7-docker-4c-2g-5202 does not seem to be running inside a container [2022-02-14T05:05:05.356Z] $ 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-311 -v /w/workspace/xfoundry_device-modbus-go_PR-311:/w/workspace/xfoundry_device-modbus-go_PR-311:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-311@tmp:/w/workspace/xfoundry_device-modbus-go_PR-311@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-14T05:05:07.674Z] $ docker top a57bf2d5de6d6ac0cb6d3190efbaef791fd101cd06f831895080f9c7680b0c4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:05:08.189Z] ---> job-cost.sh [2022-02-14T05:05:08.189Z] lf-activate-venv: SKIPPING [2022-02-14T05:05:08.189Z] INFO: No Stack... [2022-02-14T05:05:08.449Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T05:05:08.709Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T05:05:09.031Z] + cut -d, -f6 [2022-02-14T05:05:09.032Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-311/archives/cost.csv [Pipeline] lock [2022-02-14T05:05:09.071Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [2022-02-14T05:05:09.075Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] did not exist. Created. [2022-02-14T05:05:09.076Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T05:05:09.461Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-14T05:05:09.516Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T05:05:09.537Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T05:05:09.608Z] $ docker stop --time=1 a57bf2d5de6d6ac0cb6d3190efbaef791fd101cd06f831895080f9c7680b0c4a [2022-02-14T05:05:10.736Z] $ docker rm -f a57bf2d5de6d6ac0cb6d3190efbaef791fd101cd06f831895080f9c7680b0c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T05:05:11.104Z] Failed in branch amd64 [2022-02-14T05:05:15.952Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5205 in /w/workspace/xfoundry_device-modbus-go_PR-311 [Pipeline] { [Pipeline] ws [2022-02-14T05:05:15.995Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-02-14T05:05:16.237Z] Selected Git installation does not exist. Using Default [2022-02-14T05:05:16.237Z] The recommended git tool is: NONE [2022-02-14T05:05:20.681Z] using credential edgex-jenkins-ssh [2022-02-14T05:05:20.700Z] Cloning the remote Git repository [2022-02-14T05:05:20.746Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-02-14T05:05:20.818Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-02-14T05:05:20.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-02-14T05:05:20.896Z] > git --version # timeout=10 [2022-02-14T05:05:20.916Z] > git --version # 'git version 2.17.1' [2022-02-14T05:05:20.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:05:21.030Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T05:05:22.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-02-14T05:05:22.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T05:05:22.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-02-14T05:05:22.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-02-14T05:05:22.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:05:22.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-14T05:05:22.775Z] Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit 388638a318acbf20cb652da5cc0d9ab090bf3f12 [2022-02-14T05:05:22.973Z] Merge succeeded, producing 388638a318acbf20cb652da5cc0d9ab090bf3f12 [2022-02-14T05:05:22.974Z] Checking out Revision 388638a318acbf20cb652da5cc0d9ab090bf3f12 (PR-311) [2022-02-14T05:05:22.791Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T05:05:22.810Z] > git checkout -f 388638a318acbf20cb652da5cc0d9ab090bf3f12 # timeout=10 [2022-02-14T05:05:22.896Z] > git remote # timeout=10 [2022-02-14T05:05:22.912Z] > git config --get remote.origin.url # timeout=10 [2022-02-14T05:05:22.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:05:22.934Z] > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 [2022-02-14T05:05:22.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-14T05:05:22.977Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T05:05:22.989Z] > git checkout -f 388638a318acbf20cb652da5cc0d9ab090bf3f12 # timeout=10 [2022-02-14T05:05:27.109Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-14T05:05:27.156Z] > git --version # timeout=10 [2022-02-14T05:05:27.166Z] > git --version # 'git version 2.17.1' [2022-02-14T05:05:27.190Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T05:05:28.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-14T05:05:28.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-14T05:05:28.181Z] Dload Upload Total Spent Left Speed [2022-02-14T05:05:28.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 95508 [Pipeline] sh [2022-02-14T05:05:28.711Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-14T05:05:29.122Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-14T05:05:29.123Z] sudo tee /etc/docker/daemon.new [2022-02-14T05:05:29.123Z] { [2022-02-14T05:05:29.123Z] "registry-mirrors": [ [2022-02-14T05:05:29.123Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-14T05:05:29.123Z] ], [2022-02-14T05:05:29.123Z] "bip": "10.250.0.254/24", [2022-02-14T05:05:29.123Z] "hosts": [ [2022-02-14T05:05:29.123Z] "tcp://0.0.0.0:5555", [2022-02-14T05:05:29.123Z] "unix:///var/run/docker.sock" [2022-02-14T05:05:29.123Z] ], [2022-02-14T05:05:29.123Z] "mtu": 1458, [2022-02-14T05:05:29.123Z] "selinux-enabled": true, [2022-02-14T05:05:29.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-14T05:05:29.123Z] } [Pipeline] sh [2022-02-14T05:05:29.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-14T05:05:29.828Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:05:48.201Z] provisioning config files... [2022-02-14T05:05:48.221Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4396824131713892252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:05:48.762Z] ---> docker-login.sh [2022-02-14T05:05:48.762Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:05:49.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:49.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:49.627Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:49.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:49.627Z] [2022-02-14T05:05:49.627Z] Login Succeeded [2022-02-14T05:05:49.627Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:05:49.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:49.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:49.897Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:49.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:49.897Z] [2022-02-14T05:05:49.897Z] Login Succeeded [2022-02-14T05:05:49.897Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:05:50.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:50.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:50.170Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:50.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:50.170Z] [2022-02-14T05:05:50.170Z] Login Succeeded [2022-02-14T05:05:50.170Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:05:50.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:50.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:50.721Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:50.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:50.721Z] [2022-02-14T05:05:50.721Z] Login Succeeded [2022-02-14T05:05:50.721Z] docker.io [2022-02-14T05:05:50.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:51.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:51.260Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:51.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:51.260Z] [2022-02-14T05:05:51.260Z] Login Succeeded [2022-02-14T05:05:51.260Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:05:51.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T05:05:51.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T05:05:51.668Z] ========================================================= [2022-02-14T05:05:51.668Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-14T05:05:51.668Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:05:52.098Z] + 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-14T05:05:52.368Z] Sending build context to Docker daemon 2.995MB [2022-02-14T05:05:52.368Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T05:05:52.368Z] Step 2/10 : FROM ${BASE} AS builder [2022-02-14T05:05:52.641Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-14T05:05:52.641Z] 9b3977197b4f: Pulling fs layer [2022-02-14T05:05:52.641Z] 1a89e8eeedd5: Pulling fs layer [2022-02-14T05:05:52.641Z] 94645a83ff95: Pulling fs layer [2022-02-14T05:05:52.641Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-14T05:05:52.641Z] 0c92f367c5e7: Pulling fs layer [2022-02-14T05:05:52.641Z] f7c0051592d6: Pulling fs layer [2022-02-14T05:05:52.641Z] a227ed2f7395: Pulling fs layer [2022-02-14T05:05:52.641Z] 7b1c46037f91: Pulling fs layer [2022-02-14T05:05:52.641Z] 3f3a8bcf1eab: Waiting [2022-02-14T05:05:52.641Z] 0c92f367c5e7: Waiting [2022-02-14T05:05:52.641Z] f7c0051592d6: Waiting [2022-02-14T05:05:52.641Z] 7b1c46037f91: Waiting [2022-02-14T05:05:52.641Z] a227ed2f7395: Waiting [2022-02-14T05:05:52.641Z] 94645a83ff95: Verifying Checksum [2022-02-14T05:05:52.641Z] 94645a83ff95: Download complete [2022-02-14T05:05:52.641Z] 1a89e8eeedd5: Verifying Checksum [2022-02-14T05:05:52.641Z] 1a89e8eeedd5: Download complete [2022-02-14T05:05:52.641Z] 0c92f367c5e7: Verifying Checksum [2022-02-14T05:05:52.641Z] 0c92f367c5e7: Download complete [2022-02-14T05:05:52.641Z] f7c0051592d6: Verifying Checksum [2022-02-14T05:05:52.641Z] f7c0051592d6: Download complete [2022-02-14T05:05:52.641Z] 9b3977197b4f: Verifying Checksum [2022-02-14T05:05:52.641Z] 9b3977197b4f: Download complete [2022-02-14T05:05:52.641Z] a227ed2f7395: Verifying Checksum [2022-02-14T05:05:52.641Z] a227ed2f7395: Download complete [2022-02-14T05:05:53.252Z] 9b3977197b4f: Pull complete [2022-02-14T05:05:53.848Z] 1a89e8eeedd5: Pull complete [2022-02-14T05:05:54.124Z] 94645a83ff95: Pull complete [2022-02-14T05:05:54.717Z] 7b1c46037f91: Verifying Checksum [2022-02-14T05:05:54.717Z] 7b1c46037f91: Download complete [2022-02-14T05:05:54.989Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-14T05:05:54.989Z] 3f3a8bcf1eab: Download complete [2022-02-14T05:06:07.384Z] 3f3a8bcf1eab: Pull complete [2022-02-14T05:06:07.384Z] 0c92f367c5e7: Pull complete [2022-02-14T05:06:07.384Z] f7c0051592d6: Pull complete [2022-02-14T05:06:07.384Z] a227ed2f7395: Pull complete [2022-02-14T05:06:12.780Z] 7b1c46037f91: Pull complete [2022-02-14T05:06:12.780Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-14T05:06:12.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-14T05:06:12.780Z] ---> f79e39bc4007 [2022-02-14T05:06:12.780Z] Step 3/10 : ARG MAKE='make build' [2022-02-14T05:06:14.752Z] ---> Running in 0370360d9694 [2022-02-14T05:06:15.026Z] Removing intermediate container 0370360d9694 [2022-02-14T05:06:15.026Z] ---> 6eba30d382fa [2022-02-14T05:06:15.026Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T05:06:15.026Z] ---> Running in 7e53798eb50d [2022-02-14T05:06:16.999Z] Removing intermediate container 7e53798eb50d [2022-02-14T05:06:16.999Z] ---> 06af0c80e8f9 [2022-02-14T05:06:16.999Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-02-14T05:06:16.999Z] ---> Running in 0bf8ce98d2af [2022-02-14T05:06:17.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-14T05:06:18.960Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-14T05:06:19.557Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T05:06:19.829Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-02-14T05:06:19.829Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T05:06:19.829Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T05:06:20.099Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-02-14T05:06:20.099Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-02-14T05:06:20.099Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-02-14T05:06:20.382Z] (8/8) Installing openssh (8.8_p1-r1) [2022-02-14T05:06:20.382Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T05:06:20.382Z] OK: 226 MiB in 60 packages [2022-02-14T05:06:21.361Z] Removing intermediate container 0bf8ce98d2af [2022-02-14T05:06:21.361Z] ---> 60b64bee262f [2022-02-14T05:06:21.361Z] Step 6/10 : WORKDIR /device-modbus-go [2022-02-14T05:06:21.634Z] ---> Running in a41e2ac3fe80 [2022-02-14T05:06:21.908Z] Removing intermediate container a41e2ac3fe80 [2022-02-14T05:06:21.908Z] ---> 63cf6e900f93 [2022-02-14T05:06:21.908Z] Step 7/10 : COPY go.mod vendor* ./ [2022-02-14T05:06:22.504Z] ---> a9cd2b33b76e [2022-02-14T05:06:22.504Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T05:06:22.504Z] ---> Running in 93d958cf55ee [2022-02-14T05:07:44.393Z] Removing intermediate container 93d958cf55ee [2022-02-14T05:07:44.393Z] ---> 9379f7dcfe85 [2022-02-14T05:07:44.393Z] Step 9/10 : COPY . . [2022-02-14T05:07:44.393Z] ---> 71c0411cf2c0 [2022-02-14T05:07:44.393Z] Step 10/10 : RUN ${MAKE} [2022-02-14T05:07:44.393Z] ---> Running in 0b4e55cb909d [2022-02-14T05:07:44.393Z] noop [2022-02-14T05:07:44.393Z] Removing intermediate container 0b4e55cb909d [2022-02-14T05:07:44.393Z] ---> 24d2efcb3cce [2022-02-14T05:07:44.393Z] Successfully built 24d2efcb3cce [2022-02-14T05:07:44.393Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:07:44.769Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T05:07:44.769Z] . [Pipeline] withDockerContainer [2022-02-14T05:07:45.011Z] prd-ubuntu18.04-docker-arm64-4c-16g-5205 does not seem to be running inside a container [2022-02-14T05:07:45.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-14T05:07:46.452Z] $ docker top 9377c496085005669321c9b254c1260f2347ad8268cc1f5b594426aa2b899282 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:07:47.404Z] + go version [2022-02-14T05:07:47.404Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-14T05:07:47.445Z] $ docker stop --time=1 9377c496085005669321c9b254c1260f2347ad8268cc1f5b594426aa2b899282 [2022-02-14T05:07:49.119Z] $ docker rm -f 9377c496085005669321c9b254c1260f2347ad8268cc1f5b594426aa2b899282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:07:49.995Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T05:07:49.995Z] . [Pipeline] withDockerContainer [2022-02-14T05:07:50.237Z] prd-ubuntu18.04-docker-arm64-4c-16g-5205 does not seem to be running inside a container [2022-02-14T05:07:50.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-14T05:07:51.678Z] $ docker top c195c82fec76a5df5c17247d3e6d03aa0dd163f5ab7636e940d9ba7a49375f19 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T05:07:52.678Z] + make test [2022-02-14T05:07:52.678Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-14T05:07:53.656Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-02-14T05:08:20.438Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T05:08:20.438Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T05:08:20.438Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T05:08:20.438Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T05:08:28.724Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T05:08:28.724Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T05:08:38.877Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 46.6% of statements [2022-02-14T05:08:39.471Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-02-14T05:08:39.518Z] $ docker stop --time=1 c195c82fec76a5df5c17247d3e6d03aa0dd163f5ab7636e940d9ba7a49375f19 [2022-02-14T05:08:41.387Z] $ docker rm -f c195c82fec76a5df5c17247d3e6d03aa0dd163f5ab7636e940d9ba7a49375f19 [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-14T05:08:42.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:08:42.723Z] [2022-02-14T05:08:42.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:08:43.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:08:43.365Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-14T05:08:43.365Z] 448f6bf000e3: Pulling fs layer [2022-02-14T05:08:43.365Z] f757da607395: Pulling fs layer [2022-02-14T05:08:43.365Z] 05883995daec: Pulling fs layer [2022-02-14T05:08:43.365Z] 8603b9c90790: Pulling fs layer [2022-02-14T05:08:43.365Z] 1560dd03e051: Pulling fs layer [2022-02-14T05:08:43.365Z] 27f5ce0e4adf: Pulling fs layer [2022-02-14T05:08:43.365Z] c2d8d7efcc4b: Pulling fs layer [2022-02-14T05:08:43.365Z] 8603b9c90790: Waiting [2022-02-14T05:08:43.365Z] 1560dd03e051: Waiting [2022-02-14T05:08:43.365Z] 27f5ce0e4adf: Waiting [2022-02-14T05:08:43.365Z] c2d8d7efcc4b: Waiting [2022-02-14T05:08:43.365Z] f757da607395: Verifying Checksum [2022-02-14T05:08:43.365Z] f757da607395: Download complete [2022-02-14T05:08:43.365Z] 8603b9c90790: Download complete [2022-02-14T05:08:43.365Z] 1560dd03e051: Verifying Checksum [2022-02-14T05:08:43.365Z] 1560dd03e051: Download complete [2022-02-14T05:08:43.640Z] 27f5ce0e4adf: Verifying Checksum [2022-02-14T05:08:43.640Z] 27f5ce0e4adf: Download complete [2022-02-14T05:08:43.640Z] 05883995daec: Verifying Checksum [2022-02-14T05:08:43.640Z] 05883995daec: Download complete [2022-02-14T05:08:43.915Z] 448f6bf000e3: Download complete [2022-02-14T05:08:46.537Z] c2d8d7efcc4b: Verifying Checksum [2022-02-14T05:08:46.537Z] c2d8d7efcc4b: Download complete [2022-02-14T05:08:47.516Z] 448f6bf000e3: Pull complete [2022-02-14T05:08:48.118Z] f757da607395: Pull complete [2022-02-14T05:08:49.549Z] 05883995daec: Pull complete [2022-02-14T05:08:49.823Z] 8603b9c90790: Pull complete [2022-02-14T05:08:50.805Z] 1560dd03e051: Pull complete [2022-02-14T05:08:51.084Z] 27f5ce0e4adf: Pull complete [2022-02-14T05:09:06.166Z] c2d8d7efcc4b: Pull complete [2022-02-14T05:09:06.167Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-14T05:09:06.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:09:06.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-14T05:09:06.417Z] prd-ubuntu18.04-docker-arm64-4c-16g-5205 does not seem to be running inside a container [2022-02-14T05:09:06.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-14T05:09:09.443Z] $ docker top 4baf576cd227ecb255ed9d77da4f28caa407ac48dc979fdc9a4bb3665e1578db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:10.446Z] ---> job-cost.sh [2022-02-14T05:09:10.446Z] lf-activate-venv: SKIPPING [2022-02-14T05:09:10.446Z] INFO: No Stack... [2022-02-14T05:09:10.720Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-14T05:09:10.993Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T05:09:11.669Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-02-14T05:09:11.669Z] + cut -d, -f6 [Pipeline] lock [2022-02-14T05:09:11.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [2022-02-14T05:09:11.763Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] did not exist. Created. [2022-02-14T05:09:11.763Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T05:09:12.514Z] /w/workspace/device-modbus-go/1@tmp/durable-02653f77/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-02653f77/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-14T05:09:13.209Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-14T05:09:13.243Z] Warning: overwriting stash ‘stack-cost’ [2022-02-14T05:09:13.697Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T05:09:13.711Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T05:09:13.794Z] $ docker stop --time=1 4baf576cd227ecb255ed9d77da4f28caa407ac48dc979fdc9a4bb3665e1578db [2022-02-14T05:09:15.296Z] $ docker rm -f 4baf576cd227ecb255ed9d77da4f28caa407ac48dc979fdc9a4bb3665e1578db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T05:09:16.060Z] 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-14T05:09:18.052Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-311/archives ']' [2022-02-14T05:09:18.052Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-311/archives [2022-02-14T05:09:18.052Z] total 8 [2022-02-14T05:09:18.052Z] drwxr-xr-x. 3 root root 34 Feb 14 05:05 . [2022-02-14T05:09:18.052Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 14 05:05 .. [2022-02-14T05:09:18.052Z] drwxr-xr-x. 2 root root 6 Feb 14 05:05 cost [2022-02-14T05:09:18.052Z] -rw-r--r--. 1 root root 87 Feb 14 05:05 cost.csv [2022-02-14T05:09:18.052Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-311/archives [2022-02-14T05:09:18.052Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-311/archives [2022-02-14T05:09:18.052Z] total 8 [2022-02-14T05:09:18.052Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 14 05:05 . [2022-02-14T05:09:18.052Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 14 05:05 .. [2022-02-14T05:09:18.052Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 14 05:05 cost [2022-02-14T05:09:18.052Z] -rw-r--r--. 1 jenkins jenkins 87 Feb 14 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:18.388Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:18.981Z] ---> package-listing.sh [2022-02-14T05:09:18.981Z] ++ facter osfamily [2022-02-14T05:09:18.981Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-14T05:09:19.248Z] + OS_FAMILY=redhat [2022-02-14T05:09:19.248Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-311 [2022-02-14T05:09:19.248Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-14T05:09:19.248Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-14T05:09:19.248Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-14T05:09:19.248Z] + PACKAGES=/tmp/packages_start.txt [2022-02-14T05:09:19.248Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-311 ']' [2022-02-14T05:09:19.248Z] + PACKAGES=/tmp/packages_end.txt [2022-02-14T05:09:19.248Z] + case "${OS_FAMILY}" in [2022-02-14T05:09:19.248Z] + sort [2022-02-14T05:09:19.248Z] + rpm -qa [2022-02-14T05:09:19.820Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-14T05:09:19.820Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-14T05:09:19.820Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-14T05:09:19.820Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-311 ']' [2022-02-14T05:09:19.820Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-311/archives/ [2022-02-14T05:09:19.820Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-311/archives/ [Pipeline] echo [2022-02-14T05:09:19.853Z] 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-311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-14T05:09:20.152Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:09:20.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:09:20.761Z] . [Pipeline] withDockerContainer [2022-02-14T05:09:20.843Z] prd-centos7-docker-4c-2g-5202 does not seem to be running inside a container [2022-02-14T05:09:20.880Z] $ 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-311/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-311 -v /w/workspace/xfoundry_device-modbus-go_PR-311:/w/workspace/xfoundry_device-modbus-go_PR-311:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-311@tmp:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-14T05:09:21.087Z] $ docker top 41d16fc60bac8d4623cbb601761b5eb5f3c0adb49df3d785d0f7776a65c69cf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:09:21.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-14T05:09:22.123Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-14T05:09:22.438Z] + ls /var/log/sa-host [2022-02-14T05:09:22.438Z] + sadf -c /var/log/sa-host/sa14 [2022-02-14T05:09:22.438Z] file_magic: OK [2022-02-14T05:09:22.438Z] HZ: Using current value: 100 [2022-02-14T05:09:22.438Z] file_header: OK [2022-02-14T05:09:22.438Z] 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-14T05:09:22.438Z] Statistics: [2022-02-14T05:09:22.438Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T05:09:22.438Z] File successfully converted to sysstat format version 12.0.3 [2022-02-14T05:09:22.438Z] + sadf -c /var/log/sa-host/sa17 [2022-02-14T05:09:22.438Z] file_magic: OK [2022-02-14T05:09:22.438Z] HZ: Using current value: 100 [2022-02-14T05:09:22.438Z] file_header: OK [2022-02-14T05:09:22.438Z] 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-14T05:09:22.438Z] Statistics: [2022-02-14T05:09:22.438Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T05:09:22.438Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:09:22.710Z] provisioning config files... [2022-02-14T05:09:22.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-311@tmp/config2516680754280153535tmp [Pipeline] { [Pipeline] echo [2022-02-14T05:09:22.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:23.089Z] ---> create-netrc.sh [Pipeline] } [2022-02-14T05:09:23.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:23.558Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-14T05:09:23.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:23.905Z] ---> sudo-logs.sh [2022-02-14T05:09:23.905Z] Archiving 'sudo' log.. [2022-02-14T05:09:23.905Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5202.novalocal: Name or service not known [2022-02-14T05:09:23.905Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5202.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-14T05:09:23.998Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:24.317Z] ---> job-cost.sh [2022-02-14T05:09:24.317Z] lf-activate-venv: SKIPPING [2022-02-14T05:09:24.317Z] DEBUG: total: 0.05999999865889549 [2022-02-14T05:09:24.317Z] INFO: Retrieving Stack Cost... [2022-02-14T05:09:24.578Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T05:09:24.842Z] INFO: Archiving Costs [Pipeline] echo [2022-02-14T05:09:24.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:09:25.210Z] ---> logs-deploy.sh [2022-02-14T05:09:25.210Z] lf-activate-venv: SKIPPING [2022-02-14T05:09:25.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-311/1 [2022-02-14T05:09:25.210Z] INFO: archiving workspace using pattern(s): [2022-02-14T05:09:25.785Z] Archives upload complete. [2022-02-14T05:09:26.045Z] INFO: archiving logs to Nexus