Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b3e87d61f0bcd0d218ec3220218b232dd862071+94aa4268434e23c8f700f751c1eb2cf3b0794e00 (5047dc17500bfbb0a64b5462e6e02466a35038a1) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-228/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-228/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go 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 ‘prd-centos7-docker-4c-2g-1715’ is offline; ‘prd-centos7-docker-4c-2g-1718’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1717’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1722 in /w/workspace/xfoundry_device-modbus-go_PR-228 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-228 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit 5b3e87d61f0bcd0d218ec3220218b232dd862071 Merge succeeded, producing 5b3e87d61f0bcd0d218ec3220218b232dd862071 Checking out Revision 5b3e87d61f0bcd0d218ec3220218b232dd862071 (PR-228) > git config core.sparsecheckout # timeout=10 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # 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.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:18 ========================================================= 05:59:18 EdgeX Global Pipelines Version Info 05:59:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:19 ------------------- 05:59:19 stable info: 05:59:19 ------------------- 05:59:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:19 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:59:19 Message: update stable to v1.0.186 05:59:20 ------------------- 05:59:20 experimental info: 05:59:20 ------------------- 05:59:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:20 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:59:20 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b3e87d61f0bcd0d218ec3220218b232dd862071 [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b3e87d [Pipeline] echo 05:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:23 provisioning config files... 05:59:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-228@tmp/config2810793851503845695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:23 ---> docker-login.sh 05:59:23 nexus3.edgexfoundry.org:10001 05:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 nexus3.edgexfoundry.org:10002 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 nexus3.edgexfoundry.org:10003 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 nexus3.edgexfoundry.org:10004 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 docker.io 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 ---> docker-login.sh ends [Pipeline] } 05:59:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:25 + git log --format=format:%s -1 5b3e87d61f0bcd0d218ec3220218b232dd862071 [Pipeline] echo 05:59:25 GIT_COMMIT: 5b3e87d61f0bcd0d218ec3220218b232dd862071, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:59:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:59:26 05:59:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:59:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:59:26 latest: Pulling from edgex-devops/git-semver 05:59:26 31603596830f: Pulling fs layer 05:59:26 2a8b12db71e7: Pulling fs layer 05:59:26 6ca5941a6612: Pulling fs layer 05:59:26 ecc8261a40a4: Pulling fs layer 05:59:26 ecc8261a40a4: Waiting 05:59:26 2a8b12db71e7: Verifying Checksum 05:59:26 2a8b12db71e7: Download complete 05:59:26 31603596830f: Verifying Checksum 05:59:26 31603596830f: Download complete 05:59:26 ecc8261a40a4: Verifying Checksum 05:59:26 ecc8261a40a4: Download complete 05:59:26 6ca5941a6612: Verifying Checksum 05:59:26 6ca5941a6612: Download complete 05:59:27 31603596830f: Pull complete 05:59:27 2a8b12db71e7: Pull complete 05:59:28 6ca5941a6612: Pull complete 05:59:28 ecc8261a40a4: Pull complete 05:59:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:59:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:59:28 prd-centos7-docker-4c-2g-1722 does not seem to be running inside a container 05:59:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-228 -v /w/workspace/xfoundry_device-modbus-go_PR-228:/w/workspace/xfoundry_device-modbus-go_PR-228:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-228@tmp:/w/workspace/xfoundry_device-modbus-go_PR-228@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:59:30 $ docker top 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:31 [ssh-agent] Looking for ssh-agent implementation... 05:59:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:31 $ docker exec 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e ssh-agent 05:59:31 SSH_AUTH_SOCK=/tmp/ssh-cvRXpbXUEgoj/agent.11 05:59:31 SSH_AGENT_PID=17 05:59:31 Running ssh-add (command line suppressed) 05:59:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-228@tmp/private_key_1044615399141215708.key (/w/workspace/xfoundry_device-modbus-go_PR-228@tmp/private_key_1044615399141215708.key) 05:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:32 + git tag --points-at HEAD [Pipeline] } 05:59:32 $ docker exec --env ******** --env ******** 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e ssh-agent -k 05:59:32 unset SSH_AUTH_SOCK; 05:59:32 unset SSH_AGENT_PID; 05:59:32 echo Agent pid 17 killed; 05:59:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:32 [ssh-agent] Looking for ssh-agent implementation... 05:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:32 $ docker exec 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e ssh-agent 05:59:32 SSH_AUTH_SOCK=/tmp/ssh-HjeOJSQ5igCz/agent.47 05:59:32 SSH_AGENT_PID=52 05:59:32 Running ssh-add (command line suppressed) 05:59:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-228@tmp/private_key_8323695579803293345.key (/w/workspace/xfoundry_device-modbus-go_PR-228@tmp/private_key_8323695579803293345.key) 05:59:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:33 + git semver init 05:59:33 # -> Open(): unable to determine branch for HEAD 05:59:33 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-228/.git 05:59:33 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-228 05:59:33 # $SEMVER_REMOTE_NAME = origin 05:59:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:59:33 # $SEMVER_USER_NAME = edgex-jenkins 05:59:33 # $SEMVER_BRANCH = PR-228 05:59:33 # $SEMVER_TEMP = /tmp/semver-104141283 05:59:33 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:59:34 # '/tmp/semver-104141283' -> '/w/workspace/xfoundry_device-modbus-go_PR-228/.semver' 05:59:34 # -> Force: false 05:59:34 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-228/.semver [Pipeline] } 05:59:34 $ docker exec --env ******** --env ******** 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e ssh-agent -k 05:59:34 unset SSH_AUTH_SOCK; 05:59:34 unset SSH_AGENT_PID; 05:59:34 echo Agent pid 52 killed; 05:59:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:34 + git semver [Pipeline] } 05:59:34 $ docker stop --time=1 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e 05:59:36 $ docker rm -f 00f805359c660f5f40a8128a2ce082400cdef80e6eec18058ede1e7baac36e5e [Pipeline] // withDockerContainer [Pipeline] sh 05:59:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:37 Stashed 1 file(s) [Pipeline] echo 05:59:37 [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] node [Pipeline] node 05:59:52 Still waiting to schedule task 05:59:52 ‘prd-centos7-docker-4c-2g-1715’ is offline; ‘prd-centos7-docker-4c-2g-1726’ is offline 05:59:52 Still waiting to schedule task 05:59:52 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:01:30 Running on prd-centos7-docker-4c-2g-1727 in /w/workspace/xfoundry_device-modbus-go_PR-228 [Pipeline] { [Pipeline] ws 06:01:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:01:39 using credential edgex-jenkins-ssh 06:01:39 Cloning the remote Git repository 06:01:39 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:01:39 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:01:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:39 > git --version # timeout=10 06:01:39 > git --version # 'git version 2.24.3' 06:01:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:41 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit 5b3e87d61f0bcd0d218ec3220218b232dd862071 06:01:41 Merge succeeded, producing 5b3e87d61f0bcd0d218ec3220218b232dd862071 06:01:41 Checking out Revision 5b3e87d61f0bcd0d218ec3220218b232dd862071 (PR-228) 06:01:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:41 > git config core.sparsecheckout # timeout=10 06:01:41 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # timeout=10 06:01:41 > git remote # timeout=10 06:01:41 > git config --get remote.origin.url # timeout=10 06:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:41 > git merge 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 06:01:41 > git rev-parse HEAD^{commit} # timeout=10 06:01:41 > git config core.sparsecheckout # timeout=10 06:01:41 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # timeout=10 06:01:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:01:45 > git --version # timeout=10 06:01:45 > git --version # 'git version 2.24.3' 06:01:45 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:01:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:48 + sudo service docker restart 06:01:48 + true 06:01:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:49 provisioning config files... 06:01:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6677080037689004284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:50 ---> docker-login.sh 06:01:50 nexus3.edgexfoundry.org:10001 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10002 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 nexus3.edgexfoundry.org:10003 06:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 nexus3.edgexfoundry.org:10004 06:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 docker.io 06:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:53 Configure a credential helper to remove this warning. See 06:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:53 06:01:53 Login Succeeded 06:01:53 ---> docker-login.sh ends [Pipeline] } 06:01:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:53 ========================================================= 06:01:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:01:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:01:54 Sending build context to Docker daemon 597.5kB 06:01:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:01:54 Step 2/8 : FROM ${BASE} 06:01:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:54 188c0c94c7c5: Pulling fs layer 06:01:54 0ef7d3d256c8: Pulling fs layer 06:01:54 de9db76c5a1d: Pulling fs layer 06:01:54 bca2f99d35d6: Pulling fs layer 06:01:54 93359f2a8cfa: Pulling fs layer 06:01:54 7c6f9722023f: Pulling fs layer 06:01:54 a35cf1a2eb13: Pulling fs layer 06:01:54 bca2f99d35d6: Waiting 06:01:54 93359f2a8cfa: Waiting 06:01:54 7c6f9722023f: Waiting 06:01:54 a35cf1a2eb13: Waiting 06:01:54 de9db76c5a1d: Verifying Checksum 06:01:54 de9db76c5a1d: Download complete 06:01:54 0ef7d3d256c8: Download complete 06:01:54 93359f2a8cfa: Verifying Checksum 06:01:54 93359f2a8cfa: Download complete 06:01:55 7c6f9722023f: Verifying Checksum 06:01:55 7c6f9722023f: Download complete 06:01:55 188c0c94c7c5: Verifying Checksum 06:01:55 188c0c94c7c5: Download complete 06:01:56 188c0c94c7c5: Pull complete 06:01:56 0ef7d3d256c8: Pull complete 06:01:57 de9db76c5a1d: Pull complete 06:01:59 a35cf1a2eb13: Verifying Checksum 06:01:59 a35cf1a2eb13: Download complete 06:02:01 bca2f99d35d6: Verifying Checksum 06:02:01 bca2f99d35d6: Download complete 06:02:17 bca2f99d35d6: Pull complete 06:02:17 93359f2a8cfa: Pull complete 06:02:17 7c6f9722023f: Pull complete 06:02:24 a35cf1a2eb13: Pull complete 06:02:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:02:24 ---> a62c8e92a672 06:02:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:02:24 ---> Running in 006c192f468a 06:02:24 Removing intermediate container 006c192f468a 06:02:24 ---> 419a7cf5fe89 06:02:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:24 ---> Running in 3e2154327b61 06:02:26 Removing intermediate container 3e2154327b61 06:02:26 ---> 40c7818308c6 06:02:26 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:02:26 ---> Running in 4d404baa6d13 06:02:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:29 (1/13) Installing libc-dev (0.7.2-r3) 06:02:29 (2/13) Installing libsodium (1.0.18-r0) 06:02:29 (3/13) Installing pkgconf (1.7.2-r0) 06:02:29 (4/13) Installing libsodium-dev (1.0.18-r0) 06:02:29 (5/13) Installing openssh-keygen (8.3_p1-r2) 06:02:30 (6/13) Installing libedit (20191231.3.1-r0) 06:02:30 (7/13) Installing openssh-client (8.3_p1-r2) 06:02:30 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 06:02:30 (9/13) Installing openssh-server-common (8.3_p1-r2) 06:02:30 (10/13) Installing openssh-server (8.3_p1-r2) 06:02:30 (11/13) Installing openssh (8.3_p1-r2) 06:02:30 (12/13) Installing libzmq (4.3.3-r0) 06:02:31 (13/13) Installing zeromq-dev (4.3.3-r0) 06:02:31 Executing busybox-1.31.1-r19.trigger 06:02:31 OK: 173 MiB in 52 packages 06:02:32 Removing intermediate container 4d404baa6d13 06:02:32 ---> d7a96b04d8ca 06:02:32 Step 6/8 : WORKDIR /device-modbus-go 06:02:32 ---> Running in 7b42e1fa08a9 06:02:33 Removing intermediate container 7b42e1fa08a9 06:02:33 ---> 45fcc51e9e18 06:02:33 Step 7/8 : COPY . . 06:02:34 ---> aa8057dd5447 06:02:34 Step 8/8 : RUN go mod download 06:02:34 ---> Running in cc9f23122d90 06:02:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1736 in /w/workspace/xfoundry_device-modbus-go_PR-228 [Pipeline] { [Pipeline] ws 06:02:59 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:05 using credential edgex-jenkins-ssh 06:03:05 Cloning the remote Git repository 06:03:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:05 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:06 > git --version # timeout=10 06:03:06 > git --version # 'git version 2.17.1' 06:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:07 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit 5b3e87d61f0bcd0d218ec3220218b232dd862071 06:03:07 Merge succeeded, producing 5b3e87d61f0bcd0d218ec3220218b232dd862071 06:03:07 Checking out Revision 5b3e87d61f0bcd0d218ec3220218b232dd862071 (PR-228) 06:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:03:07 > git config core.sparsecheckout # timeout=10 06:03:07 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # timeout=10 06:03:07 > git remote # timeout=10 06:03:07 > git config --get remote.origin.url # timeout=10 06:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:07 > git merge 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 06:03:07 > git rev-parse HEAD^{commit} # timeout=10 06:03:07 > git config core.sparsecheckout # timeout=10 06:03:07 > git checkout -f 5b3e87d61f0bcd0d218ec3220218b232dd862071 # timeout=10 06:03:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:03:12 > git --version # timeout=10 06:03:12 > git --version # 'git version 2.17.1' 06:03:12 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:13 Removing intermediate container cc9f23122d90 06:03:13 ---> 634d3421de37 06:03:13 Successfully built 634d3421de37 06:03:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:03:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:03:14 + docker inspect -f . ci-base-image-x86_64 06:03:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:03:15 . 06:03:15 + + truesudo 06:03:15 service docker restart [Pipeline] withDockerContainer 06:03:15 prd-centos7-docker-4c-2g-1727 does not seem to be running inside a container 06:03:16 $ 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 ******** ci-base-image-x86_64 cat 06:03:18 $ docker top 6cc1f91750c06bc969fb27e70d02948ff4eb816af79ac7b32325dbb2e6724661 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 06:03:19 provisioning config files... 06:03:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config344972462663862046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:20 + go version 06:03:20 go version go1.15.5 linux/amd64 [Pipeline] } 06:03:20 $ docker stop --time=1 6cc1f91750c06bc969fb27e70d02948ff4eb816af79ac7b32325dbb2e6724661 06:03:20 ---> docker-login.sh 06:03:20 nexus3.edgexfoundry.org:10001 06:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:22 Configure a credential helper to remove this warning. See 06:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:22 06:03:22 Login Succeeded 06:03:22 nexus3.edgexfoundry.org:10002 06:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:22 Configure a credential helper to remove this warning. See 06:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:22 06:03:22 Login Succeeded 06:03:22 nexus3.edgexfoundry.org:10003 06:03:22 $ docker rm -f 6cc1f91750c06bc969fb27e70d02948ff4eb816af79ac7b32325dbb2e6724661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 06:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:22 Configure a credential helper to remove this warning. See 06:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:22 06:03:22 Login Succeeded 06:03:22 nexus3.edgexfoundry.org:10004 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:03:23 + docker inspect -f . ci-base-image-x86_64 06:03:23 . [Pipeline] withDockerContainer 06:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:23 Configure a credential helper to remove this warning. See 06:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:23 06:03:23 Login Succeeded 06:03:23 docker.io 06:03:23 prd-centos7-docker-4c-2g-1727 does not seem to be running inside a container 06:03:23 $ 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 ******** ci-base-image-x86_64 cat 06:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:24 Configure a credential helper to remove this warning. See 06:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:24 06:03:24 Login Succeeded 06:03:24 ---> docker-login.sh ends 06:03:25 $ docker top a1dc033113eb6d4373909786e683c783cd8df1a63636e6a0c2912324aa40c603 -eo pid,comm [Pipeline] { [Pipeline] } 06:03:25 Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:26 ========================================================= 06:03:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:03:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:03:26 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:03:26 + make test 06:03:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:03:26 Sending build context to Docker daemon 596.5kB 06:03:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:03:26 Step 2/8 : FROM ${BASE} 06:03:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:27 5f621e34cdf4: Pulling fs layer 06:03:27 a4357932f1b6: Pulling fs layer 06:03:27 18c013af1878: Pulling fs layer 06:03:27 00ac8860ef70: Pulling fs layer 06:03:27 63d7cb157983: Pulling fs layer 06:03:27 b116817d02f9: Pulling fs layer 06:03:27 745a02a5169b: Pulling fs layer 06:03:27 00ac8860ef70: Waiting 06:03:27 63d7cb157983: Waiting 06:03:27 745a02a5169b: Waiting 06:03:27 b116817d02f9: Waiting 06:03:27 18c013af1878: Verifying Checksum 06:03:27 18c013af1878: Download complete 06:03:27 a4357932f1b6: Verifying Checksum 06:03:27 a4357932f1b6: Download complete 06:03:27 63d7cb157983: Verifying Checksum 06:03:27 63d7cb157983: Download complete 06:03:27 b116817d02f9: Download complete 06:03:27 5f621e34cdf4: Verifying Checksum 06:03:27 5f621e34cdf4: Download complete 06:03:28 5f621e34cdf4: Pull complete 06:03:28 a4357932f1b6: Pull complete 06:03:29 18c013af1878: Pull complete 06:03:31 745a02a5169b: Verifying Checksum 06:03:31 745a02a5169b: Download complete 06:03:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:03:31 00ac8860ef70: Verifying Checksum 06:03:31 00ac8860ef70: Download complete 06:03:38 # github.com/edgexfoundry/device-modbus-go/internal/driver 06:03:38 internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 06:03:38 internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 06:03:38 internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 06:03:42 00ac8860ef70: Pull complete 06:03:42 63d7cb157983: Pull complete 06:03:42 b116817d02f9: Pull complete 06:03:45 745a02a5169b: Pull complete 06:03:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:03:45 ---> b7e6874047d6 06:03:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:03:48 ---> Running in 8dc1406afc8a 06:03:48 Removing intermediate container 8dc1406afc8a 06:03:48 ---> deb26a60f3b2 06:03:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:48 ---> Running in 8b3214bcfcf7 06:03:51 Removing intermediate container 8b3214bcfcf7 06:03:51 ---> c13f84a288d7 06:03:51 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:03:51 ---> Running in a0c38e5abd08 06:03:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:54 (1/13) Installing libc-dev (0.7.2-r3) 06:03:54 (2/13) Installing libsodium (1.0.18-r0) 06:03:54 (3/13) Installing pkgconf (1.7.2-r0) 06:03:54 (4/13) Installing libsodium-dev (1.0.18-r0) 06:03:54 (5/13) Installing openssh-keygen (8.3_p1-r2) 06:03:54 (6/13) Installing libedit (20191231.3.1-r0) 06:03:54 (7/13) Installing openssh-client (8.3_p1-r2) 06:03:54 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 06:03:54 # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] 06:03:54 internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 06:03:54 internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 06:03:54 internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 06:03:54 internal/driver/attributechecker_test.go:19:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/attributechecker_test.go:26:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/attributechecker_test.go:43:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/attributechecker_test.go:50:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/deviceclient_test.go:28:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/deviceclient_test.go:55:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/deviceclient_test.go:81:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:03:54 internal/driver/deviceclient_test.go:81:3: too many errors 06:03:54 (9/13) Installing openssh-server-common (8.3_p1-r2) 06:03:54 (10/13) Installing openssh-server (8.3_p1-r2) 06:03:55 (11/13) Installing openssh (8.3_p1-r2) 06:03:55 (12/13) Installing libzmq (4.3.3-r0) 06:03:55 (13/13) Installing zeromq-dev (4.3.3-r0) 06:03:55 Executing busybox-1.31.1-r19.trigger 06:03:55 OK: 149 MiB in 52 packages 06:03:57 Removing intermediate container a0c38e5abd08 06:03:57 ---> 03b115fe1864 06:03:57 Step 6/8 : WORKDIR /device-modbus-go 06:03:57 ---> Running in 6635be40fbbd 06:03:57 Removing intermediate container 6635be40fbbd 06:03:57 ---> 6b1259810d4d 06:03:57 Step 7/8 : COPY . . 06:03:58 ---> 812b5ce0be2b 06:03:58 Step 8/8 : RUN go mod download 06:03:59 ---> Running in 43089d23aa6d 06:04:07 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 06:04:07 make: *** [Makefile:25: test] Error 2 [Pipeline] } 06:04:07 $ docker stop --time=1 a1dc033113eb6d4373909786e683c783cd8df1a63636e6a0c2912324aa40c603 06:04:10 $ docker rm -f a1dc033113eb6d4373909786e683c783cd8df1a63636e6a0c2912324aa40c603 [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] libraryResource [Pipeline] sh 06:04:12 ---> job-cost.sh 06:04:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4xIj 06:04:26 Removing intermediate container 43089d23aa6d 06:04:26 ---> 7bee5b88de87 06:04:26 Successfully built 7bee5b88de87 06:04:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:04:26 + docker inspect -f . ci-base-image-arm64 06:04:26 . [Pipeline] withDockerContainer 06:04:26 prd-ubuntu18.04-docker-arm64-4c-16g-1736 does not seem to be running inside a container 06:04:26 $ 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 ******** ci-base-image-arm64 cat 06:04:28 $ docker top a617fe4c4ac2a57399094a472abd9e80238f0b50ced7aabd001b5a4c969d79b6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:29 + go version 06:04:29 go version go1.15.5 linux/arm64 [Pipeline] } 06:04:29 $ docker stop --time=1 a617fe4c4ac2a57399094a472abd9e80238f0b50ced7aabd001b5a4c969d79b6 06:04:31 $ docker rm -f a617fe4c4ac2a57399094a472abd9e80238f0b50ced7aabd001b5a4c969d79b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:32 + docker inspect -f . ci-base-image-arm64 06:04:32 . [Pipeline] withDockerContainer 06:04:32 prd-ubuntu18.04-docker-arm64-4c-16g-1736 does not seem to be running inside a container 06:04:32 $ 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 ******** ci-base-image-arm64 cat 06:04:34 $ docker top e8acc843e13d12d6f477a986f379037b7b8cf2c3bf41c0557208efbfef7dec8f -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:35 + make test 06:04:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:04:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:04:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:04:52 # github.com/edgexfoundry/device-modbus-go/internal/driver 06:04:52 internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 06:04:52 internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 06:04:52 internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 06:05:24 # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] 06:05:24 internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 06:05:24 internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 06:05:24 internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 06:05:24 internal/driver/attributechecker_test.go:19:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/attributechecker_test.go:26:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/attributechecker_test.go:43:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/attributechecker_test.go:50:4: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/deviceclient_test.go:28:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/deviceclient_test.go:55:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/deviceclient_test.go:81:3: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in field value 06:05:24 internal/driver/deviceclient_test.go:81:3: too many errors 06:05:24 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 06:05:24 make: *** [Makefile:25: test] Error 2 [Pipeline] } 06:05:24 $ docker stop --time=1 e8acc843e13d12d6f477a986f379037b7b8cf2c3bf41c0557208efbfef7dec8f 06:05:26 lf-activate-venv(): INFO: Adding /tmp/venv-4xIj/bin to PATH 06:05:26 INFO: No Stack... 06:05:26 INFO: Retrieving Pricing Info for: v1-standard-2 06:05:26 INFO: Archiving Costs 06:05:27 $ docker rm -f e8acc843e13d12d6f477a986f379037b7b8cf2c3bf41c0557208efbfef7dec8f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } 06:05:28 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:05:28 + cut -d, -f6 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] lock 06:05:28 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] 06:05:28 Resource [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] did not exist. Created. 06:05:28 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] [Pipeline] { Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] unstash [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 06:05:28 + echo total: 0.029999999329447746 [Pipeline] stash 06:05:29 ---> job-cost.sh 06:05:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cOV6 06:05:29 Stashed 1 file(s) [Pipeline] } 06:05:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:30 Failed in branch amd64 06:06:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:08:17 lf-activate-venv(): INFO: Adding /tmp/venv-cOV6/bin to PATH 06:08:17 INFO: No Stack... 06:08:17 INFO: Retrieving Pricing Info for: lf-standard-4 06:08:17 INFO: Archiving Costs [Pipeline] sh 06:08:17 + + catcut /w/workspace/device-modbus-go/1/archives/cost.csv -d, 06:08:17 -f6 [Pipeline] lock 06:08:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] 06:08:17 Resource [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] did not exist. Created. 06:08:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:18 /w/workspace/device-modbus-go/1@tmp/durable-aebf09b8/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-aebf09b8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:18 + echo total: 0.20999999344348907 [Pipeline] stash 06:08:18 Warning: overwriting stash ‘stack-cost’ 06:08:19 Stashed 1 file(s) [Pipeline] } 06:08:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:08:20 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:08:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:23 ---> package-listing.sh 06:08:23 ++ facter osfamily 06:08:23 ++ tr '[:upper:]' '[:lower:]' 06:08:23 + OS_FAMILY=redhat 06:08:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-228 06:08:23 + START_PACKAGES=/tmp/packages_start.txt 06:08:23 + END_PACKAGES=/tmp/packages_end.txt 06:08:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:23 + PACKAGES=/tmp/packages_start.txt 06:08:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-228 ']' 06:08:23 + PACKAGES=/tmp/packages_end.txt 06:08:23 + case "${OS_FAMILY}" in 06:08:23 + rpm -qa 06:08:23 + sort 06:08:28 + '[' -f /tmp/packages_start.txt ']' 06:08:28 + '[' -f /tmp/packages_end.txt ']' 06:08:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-228 ']' 06:08:28 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-228/archives/ 06:08:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-228/archives/ [Pipeline] echo 06:08:28 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-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:29 06:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:29 alpine: Pulling from edgex-lftools-log-publisher 06:08:29 df20fa9351a1: Pulling fs layer 06:08:29 36b3adc4ff6f: Pulling fs layer 06:08:29 8ad3a11d3b57: Pulling fs layer 06:08:29 46f8f816bc3b: Pulling fs layer 06:08:29 93b61091891f: Pulling fs layer 06:08:29 93b9cdb0e59b: Pulling fs layer 06:08:29 5e14af77c1be: Pulling fs layer 06:08:29 01666e4c0597: Pulling fs layer 06:08:29 aa168da1d23b: Pulling fs layer 06:08:29 93b9cdb0e59b: Waiting 06:08:29 5e14af77c1be: Waiting 06:08:29 01666e4c0597: Waiting 06:08:29 aa168da1d23b: Waiting 06:08:29 93b61091891f: Waiting 06:08:29 36b3adc4ff6f: Verifying Checksum 06:08:29 36b3adc4ff6f: Download complete 06:08:29 46f8f816bc3b: Verifying Checksum 06:08:29 46f8f816bc3b: Download complete 06:08:29 df20fa9351a1: Verifying Checksum 06:08:29 df20fa9351a1: Download complete 06:08:29 93b9cdb0e59b: Verifying Checksum 06:08:29 93b9cdb0e59b: Download complete 06:08:29 93b61091891f: Download complete 06:08:29 5e14af77c1be: Verifying Checksum 06:08:29 5e14af77c1be: Download complete 06:08:29 01666e4c0597: Verifying Checksum 06:08:29 01666e4c0597: Download complete 06:08:29 8ad3a11d3b57: Verifying Checksum 06:08:29 8ad3a11d3b57: Download complete 06:08:30 df20fa9351a1: Pull complete 06:08:30 36b3adc4ff6f: Pull complete 06:08:31 8ad3a11d3b57: Pull complete 06:08:31 46f8f816bc3b: Pull complete 06:08:32 93b61091891f: Pull complete 06:08:32 93b9cdb0e59b: Pull complete 06:08:32 5e14af77c1be: Pull complete 06:08:32 01666e4c0597: Pull complete 06:08:32 aa168da1d23b: Download complete 06:08:39 aa168da1d23b: Pull complete 06:08:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:08:39 prd-centos7-docker-4c-2g-1722 does not seem to be running inside a container 06:08:39 $ 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-228/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-228 -v /w/workspace/xfoundry_device-modbus-go_PR-228:/w/workspace/xfoundry_device-modbus-go_PR-228:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-228@tmp:/w/workspace/xfoundry_device-modbus-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:08:43 $ docker top f7e27626c298bfc998cbea52b662a758451111afd5b732c9d2bbd33aaa702f4c -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:44 + mkdir -p /var/log/sa [Pipeline] sh 06:08:45 + ls /var/log/sa-host 06:08:45 + sadf -c /var/log/sa-host/sa23 06:08:45 file_magic: OK 06:08:45 HZ: Using current value: 100 06:08:45 file_header: OK 06:08:45 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 06:08:45 Statistics: 06:08:45 Hnuu...uuuununununu... 06:08:45 File successfully converted to sysstat format version 12.2.1 06:08:45 + sadf -c /var/log/sa-host/sa26 06:08:45 file_magic: OK 06:08:45 HZ: Using current value: 100 06:08:45 file_header: OK 06:08:45 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 06:08:45 Statistics: 06:08:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:08:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:45 provisioning config files... 06:08:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-228@tmp/config572595649079746730tmp [Pipeline] { [Pipeline] echo 06:08:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:45 ---> create-netrc.sh [Pipeline] } 06:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:08:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:08:46 ---> python-tools-install.sh [Pipeline] echo 06:08:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:46 ---> sudo-logs.sh 06:08:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:47 ---> job-cost.sh 06:08:47 lf-activate-venv: SKIPPING 06:08:47 DEBUG: total: 0.20999999344348907 06:08:47 INFO: Retrieving Stack Cost... 06:08:48 INFO: Retrieving Pricing Info for: v1-standard-2 06:08:48 INFO: Archiving Costs [Pipeline] echo 06:08:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:49 ---> logs-deploy.sh 06:08:49 lf-activate-venv: SKIPPING 06:08:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-228/1 06:08:49 INFO: archiving workspace using pattern(s): 06:08:51 Archives upload complete. 06:08:51 INFO: archiving logs to Nexus 06:08:52 ---> uname -a: 06:08:52 Linux prd-centos7-docker-4c-2g-1722.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:08:52 06:08:52 06:08:52 ---> lscpu: 06:08:52 Architecture: x86_64 06:08:52 CPU op-mode(s): 32-bit, 64-bit 06:08:52 Byte Order: Little Endian 06:08:52 Address sizes: 40 bits physical, 48 bits virtual 06:08:52 CPU(s): 4 06:08:52 On-line CPU(s) list: 0-3 06:08:52 Thread(s) per core: 1 06:08:52 Core(s) per socket: 1 06:08:52 Socket(s): 4 06:08:52 NUMA node(s): 1 06:08:52 Vendor ID: GenuineIntel 06:08:52 CPU family: 6 06:08:52 Model: 44 06:08:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:08:52 Stepping: 1 06:08:52 CPU MHz: 2933.442 06:08:52 BogoMIPS: 5866.88 06:08:52 Virtualization: VT-x 06:08:52 Hypervisor vendor: KVM 06:08:52 Virtualization type: full 06:08:52 L1d cache: 128 KiB 06:08:52 L1i cache: 128 KiB 06:08:52 L2 cache: 16 MiB 06:08:52 L3 cache: 64 MiB 06:08:52 NUMA node0 CPU(s): 0-3 06:08:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:08:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:08:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:08:52 Vulnerability Meltdown: Mitigation; PTI 06:08:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:08:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:08:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:08:52 Vulnerability Srbds: Not affected 06:08:52 Vulnerability Tsx async abort: Not affected 06:08:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:08:52 06:08:52 06:08:52 ---> nproc: 06:08:52 4 06:08:52 06:08:52 06:08:52 ---> df -h: 06:08:52 Filesystem Size Used Available Use% Mounted on 06:08:52 overlay 50.0G 7.3G 42.7G 15% / 06:08:52 tmpfs 64.0M 0 64.0M 0% /dev 06:08:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:08:52 shm 64.0M 0 64.0M 0% /dev/shm 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-228@tmp 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:08:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-228 06:08:52 06:08:52