Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ffad701eed76b077b9514e94842a0f91ccbb1d43+4a13dc8cbc9452d90b2dd7765ba07908e93b105b (dccbfb4c6bf7634148a73868b6139a0a655b0482) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5003361145870647195.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15334139347672509157.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-312/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-312/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12910421233824465051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-312/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16724064071488410899.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5149546508898379139.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-312/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-312/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8762232349880299851.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-6504 in /w/workspace/xfoundry_device-modbus-go_PR-312 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-312 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh1723869178792412335.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit ffad701eed76b077b9514e94842a0f91ccbb1d43 Merge succeeded, producing ffad701eed76b077b9514e94842a0f91ccbb1d43 Checking out Revision ffad701eed76b077b9514e94842a0f91ccbb1d43 (PR-312) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh3511466443925047437.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/jenkins-gitclient-ssh2250413226048843985.key > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:21 ========================================================= 05:03:21 EdgeX Global Pipelines Version Info 05:03:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:22 ------------------- 05:03:22 stable info: 05:03:22 ------------------- 05:03:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:22 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 05:03:22 Message: update stable to v1.0.220 05:03:22 ------------------- 05:03:22 experimental info: 05:03:22 ------------------- 05:03:22 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:03:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffad701 [Pipeline] echo 05:03:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:24 provisioning config files... 05:03:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config4446637051213503600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:24 ---> docker-login.sh 05:03:24 nexus3.edgexfoundry.org:10001 05:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 nexus3.edgexfoundry.org:10002 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 nexus3.edgexfoundry.org:10003 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 nexus3.edgexfoundry.org:10004 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 docker.io 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 ---> docker-login.sh ends [Pipeline] } 05:03:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:26 + git rev-list -1 --merges ffad701eed76b077b9514e94842a0f91ccbb1d43~1..ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo 05:03:26 -----------> git rev-list -1 --merges ffad701eed76b077b9514e94842a0f91ccbb1d43~1..ffad701eed76b077b9514e94842a0f91ccbb1d43 ffad701eed76b077b9514e94842a0f91ccbb1d43 [false] [Pipeline] sh 05:03:27 + git log --format=format:%s -1 ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo 05:03:27 ========================================================= 05:03:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:27 + git log --format=format:%s -1 ffad701eed76b077b9514e94842a0f91ccbb1d43 [Pipeline] echo 05:03:27 [semverPrep] GIT_COMMIT: ffad701eed76b077b9514e94842a0f91ccbb1d43, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:03:27 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:03:28 + grep -v github /etc/ssh/ssh_known_hosts 05:03:28 + '[' -e /tmp/ssh_known_hosts ']' 05:03:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:03:28 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:28 05:03:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:03:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:28 latest: Pulling from edgex-devops/git-semver 05:03:28 a0d0a0d46f8b: Pulling fs layer 05:03:28 3e5f54012d9b: Pulling fs layer 05:03:28 4c7163046ea9: Pulling fs layer 05:03:28 0c2d73faf560: Pulling fs layer 05:03:28 0c2d73faf560: Waiting 05:03:28 3e5f54012d9b: Verifying Checksum 05:03:28 3e5f54012d9b: Download complete 05:03:28 a0d0a0d46f8b: Verifying Checksum 05:03:28 a0d0a0d46f8b: Download complete 05:03:28 0c2d73faf560: Verifying Checksum 05:03:28 0c2d73faf560: Download complete 05:03:29 4c7163046ea9: Verifying Checksum 05:03:29 4c7163046ea9: Download complete 05:03:29 a0d0a0d46f8b: Pull complete 05:03:29 3e5f54012d9b: Pull complete 05:03:29 4c7163046ea9: Pull complete 05:03:29 0c2d73faf560: Pull complete 05:03:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:03:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:03:29 prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container 05:03:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:03:30 $ docker top 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:30 [ssh-agent] Looking for ssh-agent implementation... 05:03:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:30 $ docker exec 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent 05:03:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIGbaN/agent.14 05:03:30 SSH_AGENT_PID=21 05:03:30 Running ssh-add (command line suppressed) 05:03:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_5975633477783227491.key (/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_5975633477783227491.key) 05:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:31 + git tag --points-at HEAD [Pipeline] } 05:03:31 $ docker exec --env ******** --env ******** 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent -k 05:03:31 unset SSH_AUTH_SOCK; 05:03:31 unset SSH_AGENT_PID; 05:03:31 echo Agent pid 21 killed; 05:03:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:31 [ssh-agent] Looking for ssh-agent implementation... 05:03:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:31 $ docker exec 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent 05:03:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIMdaa/agent.57 05:03:31 SSH_AGENT_PID=63 05:03:31 Running ssh-add (command line suppressed) 05:03:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_939081018392516806.key (/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/private_key_939081018392516806.key) 05:03:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:32 + git semver init 05:03:32 # -> Open(): unable to determine branch for HEAD 05:03:32 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-312/.git 05:03:32 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-312 05:03:32 # $SEMVER_REMOTE_NAME = origin 05:03:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:03:32 # $SEMVER_USER_NAME = edgex-jenkins 05:03:32 # $SEMVER_BRANCH = PR-312 05:03:32 # $SEMVER_TEMP = /tmp/semver-054454704 05:03:32 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:03:33 # '/tmp/semver-054454704' -> '/w/workspace/xfoundry_device-modbus-go_PR-312/.semver' 05:03:33 # -> Force: false 05:03:33 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-312/.semver [Pipeline] } 05:03:33 $ docker exec --env ******** --env ******** 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e ssh-agent -k 05:03:33 unset SSH_AUTH_SOCK; 05:03:33 unset SSH_AGENT_PID; 05:03:33 echo Agent pid 63 killed; 05:03:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:33 + git semver [Pipeline] } 05:03:33 $ docker stop --time=1 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e 05:03:34 $ docker rm -f 0bfb86c7fc5f4269cb5792f181f61f64b09291bbb875d8a0995b862ecb098c7e [Pipeline] // withDockerContainer [Pipeline] sh 05:03:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:35 Stashed 1 file(s) [Pipeline] echo 05:03:35 [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 05:03:36 provisioning config files... 05:03:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config4441307369442654551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:36 ---> docker-login.sh 05:03:36 nexus3.edgexfoundry.org:10001 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10002 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10003 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10004 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 docker.io 05:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:37 Configure a credential helper to remove this warning. See 05:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:37 05:03:37 Login Succeeded 05:03:37 ---> docker-login.sh ends [Pipeline] } 05:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:37 ========================================================= 05:03:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:03:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:03:38 + 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 . 05:03:38 Sending build context to Docker daemon 5.722MB 05:03:38 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:03:38 Step 2/10 : FROM ${BASE} AS builder 05:03:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:38 59bf1c3509f3: Pulling fs layer 05:03:38 666ba61612fd: Pulling fs layer 05:03:38 8ed8ca486205: Pulling fs layer 05:03:38 4fe6c5a15a65: Pulling fs layer 05:03:38 22a0e8bec74d: Pulling fs layer 05:03:38 640e595b4fbd: Pulling fs layer 05:03:38 763cafe07f6e: Pulling fs layer 05:03:38 0c0b528cf693: Pulling fs layer 05:03:38 10935f4eaf8b: Pulling fs layer 05:03:38 4fe6c5a15a65: Waiting 05:03:38 22a0e8bec74d: Waiting 05:03:38 640e595b4fbd: Waiting 05:03:38 763cafe07f6e: Waiting 05:03:38 0c0b528cf693: Waiting 05:03:38 10935f4eaf8b: Waiting 05:03:38 8ed8ca486205: Verifying Checksum 05:03:38 8ed8ca486205: Download complete 05:03:38 666ba61612fd: Verifying Checksum 05:03:38 666ba61612fd: Download complete 05:03:38 22a0e8bec74d: Verifying Checksum 05:03:38 22a0e8bec74d: Download complete 05:03:38 640e595b4fbd: Verifying Checksum 05:03:38 640e595b4fbd: Download complete 05:03:38 763cafe07f6e: Verifying Checksum 05:03:38 763cafe07f6e: Download complete 05:03:38 59bf1c3509f3: Verifying Checksum 05:03:38 59bf1c3509f3: Download complete 05:03:38 0c0b528cf693: Verifying Checksum 05:03:38 0c0b528cf693: Download complete 05:03:38 59bf1c3509f3: Pull complete 05:03:38 4fe6c5a15a65: Verifying Checksum 05:03:38 4fe6c5a15a65: Download complete 05:03:38 666ba61612fd: Pull complete 05:03:38 8ed8ca486205: Pull complete 05:03:38 10935f4eaf8b: Verifying Checksum 05:03:38 10935f4eaf8b: Download complete 05:03:43 4fe6c5a15a65: Pull complete 05:03:43 22a0e8bec74d: Pull complete 05:03:43 640e595b4fbd: Pull complete 05:03:43 763cafe07f6e: Pull complete 05:03:43 0c0b528cf693: Pull complete 05:03:45 10935f4eaf8b: Pull complete 05:03:45 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:03:45 ---> 99d49a6021b9 05:03:45 Step 3/10 : ARG MAKE='make build' 05:03:47 ---> Running in 6bfb17cfbf55 05:03:47 Removing intermediate container 6bfb17cfbf55 05:03:47 ---> 7ddf0f712797 05:03:47 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:47 ---> Running in 78d1bc96ac55 05:03:48 Removing intermediate container 78d1bc96ac55 05:03:48 ---> 5a96275769b0 05:03:48 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:03:48 ---> Running in c5ee21655a75 05:03:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:03:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:03:49 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:03:49 (2/8) Installing libedit (20210910.3.1-r0) 05:03:49 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:03:49 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:03:49 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:03:49 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:03:50 (7/8) Installing openssh-server (8.8_p1-r1) 05:03:50 (8/8) Installing openssh (8.8_p1-r1) 05:03:50 Executing busybox-1.34.1-r3.trigger 05:03:50 OK: 226 MiB in 60 packages 05:03:50 Removing intermediate container c5ee21655a75 05:03:50 ---> 063ff08d07b5 05:03:50 Step 6/10 : WORKDIR /device-modbus-go 05:03:50 ---> Running in 209bcc90c467 05:03:50 Removing intermediate container 209bcc90c467 05:03:50 ---> e7ada0ebef08 05:03:50 Step 7/10 : COPY go.mod vendor* ./ 05:03:50 ---> 72a2c40c2bd6 05:03:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:50 ---> Running in ecd11c8ebfce 05:03:51 Still waiting to schedule task 05:03:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:04:37 Removing intermediate container ecd11c8ebfce 05:04:37 ---> f55e108c7f83 05:04:37 Step 9/10 : COPY . . 05:04:37 ---> 69d8a22d0dc6 05:04:37 Step 10/10 : RUN ${MAKE} 05:04:37 ---> Running in 8e3c8960072d 05:04:37 noop 05:04:37 Removing intermediate container 8e3c8960072d 05:04:37 ---> e6da87781f4c 05:04:37 Successfully built e6da87781f4c 05:04:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:04:38 + docker inspect -f . ci-base-image-x86_64 05:04:38 . [Pipeline] withDockerContainer 05:04:38 prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container 05:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:38 $ docker top c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:38 + go version 05:04:38 go version go1.17.6 linux/amd64 [Pipeline] } 05:04:38 $ docker stop --time=1 c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 05:04:40 $ docker rm -f c7ee8c137849541a87b7d3695dce1fb3e693f3503d4b9e68ebeb45164c1e5056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:40 + docker inspect -f . ci-base-image-x86_64 05:04:40 . [Pipeline] withDockerContainer 05:04:40 prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container 05:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:41 $ docker top e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:41 + make test 05:04:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:04:50 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 05:04:50 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 05:04:50 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 05:04:50 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 05:04:50 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 05:04:50 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 05:04:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements 05:04:56 make: *** [Makefile:27: test] Error 2 [Pipeline] } 05:04:56 $ docker stop --time=1 e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 05:04:58 $ docker rm -f e4e132b91c3ead1d1df12923ecac6a73ba03303d8eff2b6a716c5dd2f88b3c10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:59 05:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:59 latest: Pulling from edgex-lftools-log-publisher 05:04:59 5eb5b503b376: Pulling fs layer 05:04:59 5c69ac0246d0: Pulling fs layer 05:04:59 ec43610c2a17: Pulling fs layer 05:04:59 3a2ae6a8a46f: Pulling fs layer 05:04:59 33b1e0a273af: Pulling fs layer 05:04:59 5d3b04190fa2: Pulling fs layer 05:04:59 2f39f015ded8: Pulling fs layer 05:04:59 33b1e0a273af: Waiting 05:04:59 5d3b04190fa2: Waiting 05:04:59 2f39f015ded8: Waiting 05:04:59 3a2ae6a8a46f: Waiting 05:04:59 5c69ac0246d0: Verifying Checksum 05:04:59 5c69ac0246d0: Download complete 05:04:59 3a2ae6a8a46f: Verifying Checksum 05:04:59 3a2ae6a8a46f: Download complete 05:04:59 33b1e0a273af: Verifying Checksum 05:04:59 33b1e0a273af: Download complete 05:05:00 ec43610c2a17: Verifying Checksum 05:05:00 ec43610c2a17: Download complete 05:05:00 5d3b04190fa2: Verifying Checksum 05:05:00 5d3b04190fa2: Download complete 05:05:00 5eb5b503b376: Verifying Checksum 05:05:00 5eb5b503b376: Download complete 05:05:00 2f39f015ded8: Verifying Checksum 05:05:00 2f39f015ded8: Download complete 05:05:01 5eb5b503b376: Pull complete 05:05:01 5c69ac0246d0: Pull complete 05:05:02 ec43610c2a17: Pull complete 05:05:02 3a2ae6a8a46f: Pull complete 05:05:02 33b1e0a273af: Pull complete 05:05:02 5d3b04190fa2: Pull complete 05:05:08 2f39f015ded8: Pull complete 05:05:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:05:08 prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container 05:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:10 $ docker top ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:11 ---> job-cost.sh 05:05:11 lf-activate-venv: SKIPPING 05:05:11 INFO: No Stack... 05:05:11 INFO: Retrieving Pricing Info for: v3-standard-2 05:05:11 INFO: Archiving Costs [Pipeline] sh 05:05:12 + cat /w/workspace/xfoundry_device-modbus-go_PR-312/archives/cost.csv 05:05:12 + cut -d, -f6 [Pipeline] lock 05:05:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] 05:05:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] did not exist. Created. 05:05:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:12 + echo total: 0.05999999865889549 [Pipeline] stash 05:05:12 Stashed 1 file(s) [Pipeline] } 05:05:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:12 $ docker stop --time=1 ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa 05:05:14 $ docker rm -f ee51060b386ae03d88fc408a70722bca869875fe51aeaefcc7b857e9959596fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:14 Failed in branch amd64 05:05:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6507 in /w/workspace/xfoundry_device-modbus-go_PR-312 [Pipeline] { [Pipeline] ws 05:05:16 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:05:17 Selected Git installation does not exist. Using Default 05:05:17 The recommended git tool is: NONE 05:05:21 using credential edgex-jenkins-ssh 05:05:21 Cloning the remote Git repository 05:05:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:05:22 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:05:22 > git --version # timeout=10 05:05:22 > git --version # 'git version 2.17.1' 05:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:24 Merging remotes/origin/main commit 4a13dc8cbc9452d90b2dd7765ba07908e93b105b into PR head commit ffad701eed76b077b9514e94842a0f91ccbb1d43 05:05:24 Merge succeeded, producing ffad701eed76b077b9514e94842a0f91ccbb1d43 05:05:24 Checking out Revision ffad701eed76b077b9514e94842a0f91ccbb1d43 (PR-312) 05:05:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:05:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:05:24 > git config core.sparsecheckout # timeout=10 05:05:24 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 05:05:24 > git remote # timeout=10 05:05:24 > git config --get remote.origin.url # timeout=10 05:05:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:24 > git merge 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 05:05:24 > git rev-parse HEAD^{commit} # timeout=10 05:05:24 > git config core.sparsecheckout # timeout=10 05:05:24 > git checkout -f ffad701eed76b077b9514e94842a0f91ccbb1d43 # timeout=10 05:05:28 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:05:28 > git --version # timeout=10 05:05:28 > git --version # 'git version 2.17.1' 05:05:28 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:29 Dload Upload Total Spent Left Speed 05:05:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46810 0 --:--:-- --:--:-- --:--:-- 46810 [Pipeline] sh 05:05:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:30 + sudo tee /etc/docker/daemon.new 05:05:30 { 05:05:30 "registry-mirrors": [ 05:05:30 "https://nexus3.edgexfoundry.org:10001" 05:05:30 ], 05:05:30 "bip": "10.250.0.254/24", 05:05:30 "hosts": [ 05:05:30 "tcp://0.0.0.0:5555", 05:05:30 "unix:///var/run/docker.sock" 05:05:30 ], 05:05:30 "mtu": 1458, 05:05:30 "selinux-enabled": true, 05:05:30 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:30 } [Pipeline] sh 05:05:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:49 provisioning config files... 05:05:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5632962517448584818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:50 ---> docker-login.sh 05:05:50 nexus3.edgexfoundry.org:10001 05:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:51 Configure a credential helper to remove this warning. See 05:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:51 05:05:51 Login Succeeded 05:05:51 nexus3.edgexfoundry.org:10002 05:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:51 Configure a credential helper to remove this warning. See 05:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:51 05:05:51 Login Succeeded 05:05:51 nexus3.edgexfoundry.org:10003 05:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:52 Configure a credential helper to remove this warning. See 05:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:52 05:05:52 Login Succeeded 05:05:52 nexus3.edgexfoundry.org:10004 05:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:52 Configure a credential helper to remove this warning. See 05:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:52 05:05:52 Login Succeeded 05:05:52 docker.io 05:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 ---> docker-login.sh ends [Pipeline] } 05:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:53 ========================================================= 05:05:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:05:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:54 + 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 . 05:05:54 Sending build context to Docker daemon 2.995MB 05:05:54 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:05:54 Step 2/10 : FROM ${BASE} AS builder 05:05:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:05:54 9b3977197b4f: Pulling fs layer 05:05:54 1a89e8eeedd5: Pulling fs layer 05:05:54 94645a83ff95: Pulling fs layer 05:05:54 3f3a8bcf1eab: Pulling fs layer 05:05:54 0c92f367c5e7: Pulling fs layer 05:05:54 f7c0051592d6: Pulling fs layer 05:05:54 a227ed2f7395: Pulling fs layer 05:05:54 7b1c46037f91: Pulling fs layer 05:05:54 f7c0051592d6: Waiting 05:05:54 7b1c46037f91: Waiting 05:05:54 a227ed2f7395: Waiting 05:05:54 3f3a8bcf1eab: Waiting 05:05:54 0c92f367c5e7: Waiting 05:05:54 94645a83ff95: Verifying Checksum 05:05:54 94645a83ff95: Download complete 05:05:54 1a89e8eeedd5: Download complete 05:05:54 0c92f367c5e7: Verifying Checksum 05:05:54 0c92f367c5e7: Download complete 05:05:54 f7c0051592d6: Verifying Checksum 05:05:54 f7c0051592d6: Download complete 05:05:54 9b3977197b4f: Download complete 05:05:54 a227ed2f7395: Verifying Checksum 05:05:54 a227ed2f7395: Download complete 05:05:55 9b3977197b4f: Pull complete 05:05:55 1a89e8eeedd5: Pull complete 05:05:56 94645a83ff95: Pull complete 05:05:56 7b1c46037f91: Verifying Checksum 05:05:56 7b1c46037f91: Download complete 05:05:57 3f3a8bcf1eab: Verifying Checksum 05:05:57 3f3a8bcf1eab: Download complete 05:06:09 3f3a8bcf1eab: Pull complete 05:06:09 0c92f367c5e7: Pull complete 05:06:09 f7c0051592d6: Pull complete 05:06:09 a227ed2f7395: Pull complete 05:06:14 7b1c46037f91: Pull complete 05:06:14 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:06:14 ---> f79e39bc4007 05:06:14 Step 3/10 : ARG MAKE='make build' 05:06:16 ---> Running in 10142fd84601 05:06:17 Removing intermediate container 10142fd84601 05:06:17 ---> ca54343ea4b9 05:06:17 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:17 ---> Running in 395c845ece37 05:06:19 Removing intermediate container 395c845ece37 05:06:19 ---> 395af11f2e3d 05:06:19 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:19 ---> Running in 75e84887237e 05:06:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:06:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:06:22 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:06:22 (2/8) Installing libedit (20210910.3.1-r0) 05:06:22 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:06:22 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:06:22 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:06:22 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:06:22 (7/8) Installing openssh-server (8.8_p1-r1) 05:06:22 (8/8) Installing openssh (8.8_p1-r1) 05:06:22 Executing busybox-1.34.1-r3.trigger 05:06:22 OK: 226 MiB in 60 packages 05:06:23 Removing intermediate container 75e84887237e 05:06:23 ---> 0da0bec1ccf6 05:06:23 Step 6/10 : WORKDIR /device-modbus-go 05:06:23 ---> Running in 4e783593b335 05:06:24 Removing intermediate container 4e783593b335 05:06:24 ---> 07a6c7fa3f1f 05:06:24 Step 7/10 : COPY go.mod vendor* ./ 05:06:25 ---> f5b4c44268d2 05:06:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:25 ---> Running in 2c8cfffa559b 05:07:46 Removing intermediate container 2c8cfffa559b 05:07:46 ---> d2474963a70e 05:07:46 Step 9/10 : COPY . . 05:07:46 ---> 281be8804cb2 05:07:46 Step 10/10 : RUN ${MAKE} 05:07:46 ---> Running in 03cdab22f543 05:07:46 noop 05:07:46 Removing intermediate container 03cdab22f543 05:07:46 ---> ffb1ddcb8963 05:07:46 Successfully built ffb1ddcb8963 05:07:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:07:47 + docker inspect -f . ci-base-image-arm64 05:07:47 . [Pipeline] withDockerContainer 05:07:47 prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 05:07:47 $ 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 05:07:48 $ docker top 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:49 + go version 05:07:49 go version go1.17.6 linux/arm64 [Pipeline] } 05:07:49 $ docker stop --time=1 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 05:07:51 $ docker rm -f 5cf34522b78748ae19854fc6c6a7c198564229ef0e5107e4da54fdcf7147e916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:52 + docker inspect -f . ci-base-image-arm64 05:07:52 . [Pipeline] withDockerContainer 05:07:52 prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 05:07:52 $ 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 05:07:54 $ docker top 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:07:55 + make test 05:07:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:07:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:08:29 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 05:08:29 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 05:08:29 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 05:08:29 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 05:08:33 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 05:08:33 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.16/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 05:08:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 46.6% of statements 05:08:45 make: *** [Makefile:27: test] Error 2 [Pipeline] } 05:08:45 $ docker stop --time=1 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 05:08:47 $ docker rm -f 142c448bcfde421470f534d1cd682cb42b760f7d74a249e6fe65ca9c0f4ab693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:49 05:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:49 arm64: Pulling from edgex-lftools-log-publisher 05:08:49 8998bd30e6a1: Pulling fs layer 05:08:49 04944245beec: Pulling fs layer 05:08:49 699f458cf7ca: Pulling fs layer 05:08:49 765212b225bb: Pulling fs layer 05:08:49 f23df028b6ca: Pulling fs layer 05:08:49 d65c8cfc05b1: Pulling fs layer 05:08:49 2437ff75d9bd: Pulling fs layer 05:08:49 d65c8cfc05b1: Waiting 05:08:49 2437ff75d9bd: Waiting 05:08:49 765212b225bb: Waiting 05:08:49 f23df028b6ca: Waiting 05:08:49 04944245beec: Download complete 05:08:49 765212b225bb: Verifying Checksum 05:08:49 765212b225bb: Download complete 05:08:49 f23df028b6ca: Verifying Checksum 05:08:49 f23df028b6ca: Download complete 05:08:49 d65c8cfc05b1: Verifying Checksum 05:08:49 d65c8cfc05b1: Download complete 05:08:50 699f458cf7ca: Verifying Checksum 05:08:50 699f458cf7ca: Download complete 05:08:50 8998bd30e6a1: Verifying Checksum 05:08:50 8998bd30e6a1: Download complete 05:08:52 2437ff75d9bd: Verifying Checksum 05:08:52 2437ff75d9bd: Download complete 05:08:54 8998bd30e6a1: Pull complete 05:08:54 04944245beec: Pull complete 05:08:56 699f458cf7ca: Pull complete 05:08:56 765212b225bb: Pull complete 05:08:57 f23df028b6ca: Pull complete 05:08:57 d65c8cfc05b1: Pull complete 05:09:12 2437ff75d9bd: Pull complete 05:09:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:09:13 prd-ubuntu18.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 05:09:13 $ 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 05:09:15 $ docker top 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:16 ---> job-cost.sh 05:09:16 lf-activate-venv: SKIPPING 05:09:16 INFO: No Stack... 05:09:17 INFO: Retrieving Pricing Info for: v3-standard-4 05:09:18 INFO: Archiving Costs [Pipeline] sh 05:09:18 + cut -d, -f6 05:09:18 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:09:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] 05:09:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] did not exist. Created. 05:09:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:19 /w/workspace/device-modbus-go/1@tmp/durable-7d2f0f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:09:20 + echo total: 0.10999999940395355 [Pipeline] stash 05:09:20 Warning: overwriting stash ‘stack-cost’ 05:09:20 Stashed 1 file(s) [Pipeline] } 05:09:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:20 $ docker stop --time=1 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f 05:09:22 $ docker rm -f 51f4926c25b5f6d79ac3e59ae67f76957a09f2b2ed1bd0c32ef56e6b621b0a9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:23 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 05:09:25 + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-312/archives ']' 05:09:25 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-312/archives 05:09:25 total 8 05:09:25 drwxr-xr-x. 3 root root 34 Mar 7 05:05 . 05:09:25 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 7 05:05 .. 05:09:25 drwxr-xr-x. 2 root root 6 Mar 7 05:05 cost 05:09:25 -rw-r--r--. 1 root root 87 Mar 7 05:05 cost.csv 05:09:25 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-312/archives 05:09:25 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-312/archives 05:09:25 total 8 05:09:25 drwxr-xr-x. 3 jenkins jenkins 34 Mar 7 05:05 . 05:09:25 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 7 05:05 .. 05:09:25 drwxr-xr-x. 2 jenkins jenkins 6 Mar 7 05:05 cost 05:09:25 -rw-r--r--. 1 jenkins jenkins 87 Mar 7 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:09:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:09:26 ---> package-listing.sh 05:09:26 ++ facter osfamily 05:09:26 ++ tr '[:upper:]' '[:lower:]' 05:09:26 + OS_FAMILY=redhat 05:09:26 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-312 05:09:26 + START_PACKAGES=/tmp/packages_start.txt 05:09:26 + END_PACKAGES=/tmp/packages_end.txt 05:09:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:09:26 + PACKAGES=/tmp/packages_start.txt 05:09:26 + '[' /w/workspace/xfoundry_device-modbus-go_PR-312 ']' 05:09:26 + PACKAGES=/tmp/packages_end.txt 05:09:26 + case "${OS_FAMILY}" in 05:09:26 + rpm -qa 05:09:26 + sort 05:09:26 + '[' -f /tmp/packages_start.txt ']' 05:09:26 + '[' -f /tmp/packages_end.txt ']' 05:09:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:09:26 + '[' /w/workspace/xfoundry_device-modbus-go_PR-312 ']' 05:09:26 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-312/archives/ 05:09:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-312/archives/ [Pipeline] echo 05:09:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:09:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:27 . [Pipeline] withDockerContainer 05:09:27 prd-centos7-docker-4c-2g-6504 does not seem to be running inside a container 05:09:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-312 -v /w/workspace/xfoundry_device-modbus-go_PR-312:/w/workspace/xfoundry_device-modbus-go_PR-312:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-312@tmp:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:09:28 $ docker top 6a2d188bb8ea647821de297fb4070e471ae34d7daa82150afce9257342f0b290 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:28 + touch /tmp/pre-build-complete [Pipeline] sh 05:09:29 + mkdir -p /var/log/sysstat [Pipeline] sh 05:09:29 + ls /var/log/sa-host 05:09:29 + sadf -c /var/log/sa-host/sa07 05:09:29 file_magic: OK 05:09:29 HZ: Using current value: 100 05:09:29 file_header: OK 05:09:29 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 05:09:29 Statistics: 05:09:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:09:29 File successfully converted to sysstat format version 12.5.2 05:09:29 + sadf -c /var/log/sa-host/sa17 05:09:29 file_magic: OK 05:09:29 HZ: Using current value: 100 05:09:29 file_header: OK 05:09:29 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 05:09:29 Statistics: 05:09:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:09:29 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:29 provisioning config files... 05:09:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-312@tmp/config3482396848723720085tmp [Pipeline] { [Pipeline] echo 05:09:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:09:30 ---> create-netrc.sh [Pipeline] } 05:09:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:09:30 ---> python-tools-install.sh [Pipeline] echo 05:09:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:09:30 ---> sudo-logs.sh 05:09:30 Archiving 'sudo' log.. 05:09:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-6504.novalocal: Name or service not known 05:09:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-6504.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:09:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:09:31 ---> job-cost.sh 05:09:31 lf-activate-venv: SKIPPING 05:09:31 DEBUG: total: 0.05999999865889549 05:09:31 INFO: Retrieving Stack Cost... 05:09:31 INFO: Retrieving Pricing Info for: v3-standard-2 05:09:32 INFO: Archiving Costs [Pipeline] echo 05:09:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:09:32 ---> logs-deploy.sh 05:09:32 lf-activate-venv: SKIPPING 05:09:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-312/1 05:09:32 INFO: archiving workspace using pattern(s): 05:09:33 Archives upload complete. 05:09:33 INFO: archiving logs to Nexus