Pull request #230 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f085075cc78a6624d9625b45205d6d11c80d8aad+94aa4268434e23c8f700f751c1eb2cf3b0794e00 (598365cd0624a79b7533ab4d020dc72a8faeb45f) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-230/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-230/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2681’ is offline; ‘prd-centos7-docker-4c-2g-2685’ is offline; ‘prd-centos7-docker-4c-2g-2687’ is offline; ‘prd-centos7-docker-4c-2g-2695’ is offline; ‘prd-centos7-docker-4c-2g-2697’ is offline; ‘prd-centos7-docker-4c-2g-2698’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2696’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2700 in /w/workspace/xfoundry_device-modbus-go_PR-230 [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-230 # 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 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit f085075cc78a6624d9625b45205d6d11c80d8aad > 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/230/head:refs/remotes/origin/PR-230 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 Merge succeeded, producing f085075cc78a6624d9625b45205d6d11c80d8aad Checking out Revision f085075cc78a6624d9625b45205d6d11c80d8aad (PR-230) > 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 f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:06:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:06:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:13 ========================================================= 06:06:13 EdgeX Global Pipelines Version Info 06:06:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:19 ------------------- 06:06:19 stable info: 06:06:19 ------------------- 06:06:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:19 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:06:19 Message: update stable to v1.0.191 06:06:20 ------------------- 06:06:20 experimental info: 06:06:20 ------------------- 06:06:20 Commited By: **** collab-it+edgex@linuxfoundation.org 06:06:20 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:06:20 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:06:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-230 [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-230 [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-230 [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f085075cc78a6624d9625b45205d6d11c80d8aad [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f085075 [Pipeline] echo 06:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:06:22 provisioning config files... 06:06:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-230@tmp/config3835591129925937375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:23 ---> docker-login.sh 06:06:23 nexus3.edgexfoundry.org:10001 06:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:25 Configure a credential helper to remove this warning. See 06:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:25 06:06:25 Login Succeeded 06:06:25 nexus3.edgexfoundry.org:10002 06:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:25 Configure a credential helper to remove this warning. See 06:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:25 06:06:25 Login Succeeded 06:06:25 nexus3.edgexfoundry.org:10003 06:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:26 Configure a credential helper to remove this warning. See 06:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:26 06:06:26 Login Succeeded 06:06:26 nexus3.edgexfoundry.org:10004 06:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:26 Configure a credential helper to remove this warning. See 06:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:26 06:06:26 Login Succeeded 06:06:26 docker.io 06:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:27 Configure a credential helper to remove this warning. See 06:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:27 06:06:27 Login Succeeded 06:06:27 ---> docker-login.sh ends [Pipeline] } 06:06:27 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 06:06:28 + git log --format=format:%s -1 f085075cc78a6624d9625b45205d6d11c80d8aad [Pipeline] echo 06:06:29 GIT_COMMIT: f085075cc78a6624d9625b45205d6d11c80d8aad, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:06:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:30 06:06:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:06:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:31 latest: Pulling from edgex-devops/git-semver 06:06:31 31603596830f: Pulling fs layer 06:06:31 54011a49482f: Pulling fs layer 06:06:31 a6820b24f6d8: Pulling fs layer 06:06:31 f581987b2513: Pulling fs layer 06:06:31 f581987b2513: Waiting 06:06:31 54011a49482f: Verifying Checksum 06:06:31 54011a49482f: Download complete 06:06:31 31603596830f: Download complete 06:06:32 f581987b2513: Verifying Checksum 06:06:32 f581987b2513: Download complete 06:06:32 a6820b24f6d8: Verifying Checksum 06:06:32 a6820b24f6d8: Download complete 06:06:32 31603596830f: Pull complete 06:06:33 54011a49482f: Pull complete 06:06:35 a6820b24f6d8: Pull complete 06:06:36 f581987b2513: Pull complete 06:06:36 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:06:37 prd-centos7-docker-4c-2g-2700 does not seem to be running inside a container 06:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-230 -v /w/workspace/xfoundry_device-modbus-go_PR-230:/w/workspace/xfoundry_device-modbus-go_PR-230:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-230@tmp:/w/workspace/xfoundry_device-modbus-go_PR-230@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 06:06:41 $ docker top be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:41 [ssh-agent] Looking for ssh-agent implementation... 06:06:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:42 $ docker exec be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 ssh-agent 06:06:43 SSH_AUTH_SOCK=/tmp/ssh-rfEcgGcC2Qnz/agent.11 06:06:43 SSH_AGENT_PID=16 06:06:43 Running ssh-add (command line suppressed) 06:06:44 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-230@tmp/private_key_2550735924720373296.key (/w/workspace/xfoundry_device-modbus-go_PR-230@tmp/private_key_2550735924720373296.key) 06:06:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:45 + git tag --points-at HEAD [Pipeline] } 06:06:45 $ docker exec --env ******** --env ******** be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 ssh-agent -k 06:06:45 unset SSH_AUTH_SOCK; 06:06:45 unset SSH_AGENT_PID; 06:06:45 echo Agent pid 16 killed; 06:06:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:06:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:46 [ssh-agent] Looking for ssh-agent implementation... 06:06:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:46 $ docker exec be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 ssh-agent 06:06:47 SSH_AUTH_SOCK=/tmp/ssh-wClEUc4BAqqC/agent.44 06:06:47 SSH_AGENT_PID=49 06:06:47 Running ssh-add (command line suppressed) 06:06:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-230@tmp/private_key_5907802206334916697.key (/w/workspace/xfoundry_device-modbus-go_PR-230@tmp/private_key_5907802206334916697.key) 06:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:48 + git semver init 06:06:48 # -> Open(): unable to determine branch for HEAD 06:06:48 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-230/.git 06:06:48 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-230 06:06:48 # $SEMVER_REMOTE_NAME = origin 06:06:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:06:48 # $SEMVER_USER_NAME = edgex-jenkins 06:06:48 # $SEMVER_BRANCH = PR-230 06:06:48 # $SEMVER_TEMP = /tmp/semver-486293537 06:06:48 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:06:49 # '/tmp/semver-486293537' -> '/w/workspace/xfoundry_device-modbus-go_PR-230/.semver' 06:06:49 # -> Force: false 06:06:49 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-230/.semver [Pipeline] } 06:06:49 $ docker exec --env ******** --env ******** be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 ssh-agent -k 06:06:50 unset SSH_AUTH_SOCK; 06:06:50 unset SSH_AGENT_PID; 06:06:50 echo Agent pid 49 killed; 06:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:51 + git semver [Pipeline] } 06:06:51 $ docker stop --time=1 be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 06:06:53 $ docker rm -f be732f5e9650bac8d2881af40b3ab2d557258171b553f99793d93e57c9f0a7e3 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:06:55 Stashed 1 file(s) [Pipeline] echo 06:06:55 [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 06:07:11 Still waiting to schedule task 06:07:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:07:11 Still waiting to schedule task 06:07:11 ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2682’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2712’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2713’ is offline 06:09:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2715 in /w/workspace/xfoundry_device-modbus-go_PR-230 [Pipeline] { [Pipeline] ws 06:09:19 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:09:25 using credential edgex-jenkins-ssh 06:09:25 Cloning the remote Git repository 06:09:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:09:26 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:09:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:09:26 > git --version # timeout=10 06:09:26 > git --version # 'git version 2.17.1' 06:09:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:09:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:09:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:09:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:09:27 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit f085075cc78a6624d9625b45205d6d11c80d8aad 06:09:28 Merge succeeded, producing f085075cc78a6624d9625b45205d6d11c80d8aad 06:09:28 Checking out Revision f085075cc78a6624d9625b45205d6d11c80d8aad (PR-230) 06:09:27 > git config core.sparsecheckout # timeout=10 06:09:27 > git checkout -f f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 06:09:27 > git remote # timeout=10 06:09:28 > git config --get remote.origin.url # timeout=10 06:09:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:28 > git merge 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 06:09:28 > git rev-parse HEAD^{commit} # timeout=10 06:09:28 > git config core.sparsecheckout # timeout=10 06:09:28 > git checkout -f f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 06:09:32 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:09:32 > git --version # timeout=10 06:09:32 > git --version # 'git version 2.17.1' 06:09:32 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:09:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:09:35 + true 06:09:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:09:37 provisioning config files... 06:09:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5962987796294000769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:37 ---> docker-login.sh 06:09:37 nexus3.edgexfoundry.org:10001 06:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:39 Configure a credential helper to remove this warning. See 06:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:39 06:09:39 Login Succeeded 06:09:39 nexus3.edgexfoundry.org:10002 06:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:40 Configure a credential helper to remove this warning. See 06:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:40 06:09:40 Login Succeeded 06:09:40 nexus3.edgexfoundry.org:10003 06:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:40 Configure a credential helper to remove this warning. See 06:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:40 06:09:40 Login Succeeded 06:09:40 nexus3.edgexfoundry.org:10004 06:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:40 Configure a credential helper to remove this warning. See 06:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:40 06:09:40 Login Succeeded 06:09:41 docker.io 06:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:41 Configure a credential helper to remove this warning. See 06:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:41 06:09:41 Login Succeeded 06:09:41 ---> docker-login.sh ends [Pipeline] } 06:09:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:09:42 ========================================================= 06:09:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:09:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:09:42 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 06:09:42 Sending build context to Docker daemon 596.5kB 06:09:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:09:43 Step 2/8 : FROM ${BASE} 06:09:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:09:43 595b0fe564bb: Pulling fs layer 06:09:43 7186ed65a4f7: Pulling fs layer 06:09:43 316046926c0a: Pulling fs layer 06:09:43 4ebd0625c992: Pulling fs layer 06:09:43 207e8628e3a3: Pulling fs layer 06:09:43 c791037a9be2: Pulling fs layer 06:09:43 ffd874e62e21: Pulling fs layer 06:09:43 207e8628e3a3: Waiting 06:09:43 c791037a9be2: Waiting 06:09:43 ffd874e62e21: Waiting 06:09:43 4ebd0625c992: Waiting 06:09:43 316046926c0a: Verifying Checksum 06:09:43 316046926c0a: Download complete 06:09:43 207e8628e3a3: Verifying Checksum 06:09:43 207e8628e3a3: Download complete 06:09:43 c791037a9be2: Verifying Checksum 06:09:43 c791037a9be2: Download complete 06:09:43 595b0fe564bb: Verifying Checksum 06:09:43 595b0fe564bb: Download complete 06:09:43 595b0fe564bb: Pull complete 06:09:44 7186ed65a4f7: Pull complete 06:09:44 316046926c0a: Pull complete 06:09:46 ffd874e62e21: Verifying Checksum 06:09:46 ffd874e62e21: Download complete 06:09:46 4ebd0625c992: Verifying Checksum 06:09:46 4ebd0625c992: Download complete 06:09:56 4ebd0625c992: Pull complete 06:09:56 207e8628e3a3: Pull complete 06:09:56 c791037a9be2: Pull complete 06:10:00 ffd874e62e21: Pull complete 06:10:00 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:10:00 ---> cfc18b08335c 06:10:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:10:03 ---> Running in 5f7426c03daa 06:10:03 Removing intermediate container 5f7426c03daa 06:10:03 ---> 4f92af0df9ba 06:10:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:04 ---> Running in 355c5d365478 06:10:06 Removing intermediate container 355c5d365478 06:10:06 ---> 4cd4cf68df25 06:10:06 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:10:06 ---> Running in 6c5c5b02c48d 06:10:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:10:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:10:10 (1/13) Installing libc-dev (0.7.2-r3) 06:10:10 (2/13) Installing libsodium (1.0.18-r0) 06:10:10 (3/13) Installing pkgconf (1.7.3-r0) 06:10:10 (4/13) Installing libsodium-dev (1.0.18-r0) 06:10:10 (5/13) Installing openssh-keygen (8.4_p1-r3) 06:10:10 (6/13) Installing libedit (20191231.3.1-r1) 06:10:10 (7/13) Installing openssh-client (8.4_p1-r3) 06:10:11 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 06:10:11 (9/13) Installing openssh-server-common (8.4_p1-r3) 06:10:11 (10/13) Installing openssh-server (8.4_p1-r3) 06:10:11 (11/13) Installing openssh (8.4_p1-r3) 06:10:11 (12/13) Installing libzmq (4.3.3-r1) 06:10:11 (13/13) Installing zeromq-dev (4.3.3-r1) 06:10:11 Executing busybox-1.32.1-r6.trigger 06:10:11 OK: 145 MiB in 53 packages 06:10:13 Removing intermediate container 6c5c5b02c48d 06:10:13 ---> e0970a9be269 06:10:13 Step 6/8 : WORKDIR /device-modbus-go 06:10:13 ---> Running in 96b9c031d625 06:10:14 Removing intermediate container 96b9c031d625 06:10:14 ---> 28744ccc027b 06:10:14 Step 7/8 : COPY . . 06:10:15 ---> b06c6e1c63df 06:10:15 Step 8/8 : RUN go mod download 06:10:15 ---> Running in 6cf899d53725 06:10:29 Running on prd-centos7-docker-4c-2g-2718 in /w/workspace/xfoundry_device-modbus-go_PR-230 [Pipeline] { [Pipeline] ws 06:10:29 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:10:41 using credential edgex-jenkins-ssh 06:10:41 Cloning the remote Git repository 06:10:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:10:41 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:10:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:10:41 > git --version # timeout=10 06:10:41 > git --version # 'git version 2.24.3' 06:10:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:10:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:10:43 Merging remotes/origin/master commit 94aa4268434e23c8f700f751c1eb2cf3b0794e00 into PR head commit f085075cc78a6624d9625b45205d6d11c80d8aad 06:10:43 Merge succeeded, producing f085075cc78a6624d9625b45205d6d11c80d8aad 06:10:43 Checking out Revision f085075cc78a6624d9625b45205d6d11c80d8aad (PR-230) 06:10:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:10:43 > git config core.sparsecheckout # timeout=10 06:10:43 > git checkout -f f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 06:10:43 > git remote # timeout=10 06:10:43 > git config --get remote.origin.url # timeout=10 06:10:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:43 > git merge 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 06:10:43 > git rev-parse HEAD^{commit} # timeout=10 06:10:43 > git config core.sparsecheckout # timeout=10 06:10:43 > git checkout -f f085075cc78a6624d9625b45205d6d11c80d8aad # timeout=10 06:10:48 Removing intermediate container 6cf899d53725 06:10:48 ---> c33d39df0e0b 06:10:48 Successfully built c33d39df0e0b 06:10:48 Successfully tagged ci-base-image-arm64:latest 06:10:48 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] isUnix [Pipeline] sh 06:10:48 + docker inspect -f . ci-base-image-arm64 06:10:48 . [Pipeline] withDockerContainer 06:10:48 > git --version # timeout=10 06:10:48 > git --version # 'git version 2.24.3' 06:10:48 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:10:49 prd-ubuntu18.04-docker-arm64-4c-16g-2715 does not seem to be running inside a container 06:10:49 $ 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-arm64 cat 06:10:51 $ docker top 0be41d2baa5b30a47127dbc9f1c935ed727431e5859c9328bb40bbbee5011194 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:52 + go version 06:10:52 go version go1.16.3 linux/arm64 [Pipeline] } 06:10:53 $ docker stop --time=1 0be41d2baa5b30a47127dbc9f1c935ed727431e5859c9328bb40bbbee5011194 06:10:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 06:10:55 $ docker rm -f 0be41d2baa5b30a47127dbc9f1c935ed727431e5859c9328bb40bbbee5011194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 06:10:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:10:56 + true 06:10:56 + sudo service docker restart 06:10:56 Redirecting to /bin/systemctl restart docker.service 06:10:56 + docker inspect -f . ci-base-image-arm64 06:10:56 . [Pipeline] withDockerContainer 06:10:57 prd-ubuntu18.04-docker-arm64-4c-16g-2715 does not seem to be running inside a container 06:10:57 $ 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-arm64 cat 06:10:58 $ docker top a3ee4e88dabebb9115979fe202bb6e76e15978510e65d6e82f0d8700f4a37758 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 06:10:59 provisioning config files... 06:10:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8631450180063590729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:59 + go mod tidy 06:10:59 ---> docker-login.sh 06:10:59 nexus3.edgexfoundry.org:10001 [Pipeline] sh 06:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:01 + make test 06:11:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:01 Configure a credential helper to remove this warning. See 06:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:01 06:11:01 Login Succeeded 06:11:01 nexus3.edgexfoundry.org:10002 06:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:01 Configure a credential helper to remove this warning. See 06:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:01 06:11:01 Login Succeeded 06:11:01 nexus3.edgexfoundry.org:10003 06:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:02 Configure a credential helper to remove this warning. See 06:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:02 06:11:02 Login Succeeded 06:11:02 nexus3.edgexfoundry.org:10004 06:11:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:03 Configure a credential helper to remove this warning. See 06:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:03 06:11:03 Login Succeeded 06:11:03 docker.io 06:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:03 Configure a credential helper to remove this warning. See 06:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:03 06:11:03 Login Succeeded 06:11:03 ---> docker-login.sh ends [Pipeline] } 06:11:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:04 ========================================================= 06:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:11:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:11:04 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 06:11:05 Sending build context to Docker daemon 597.5kB 06:11:05 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:11:05 Step 2/8 : FROM ${BASE} 06:11:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:05 540db60ca938: Pulling fs layer 06:11:05 adcc1eea9eea: Pulling fs layer 06:11:05 4c4ab2625f07: Pulling fs layer 06:11:05 0510c868ecb4: Pulling fs layer 06:11:05 afea3b2eda06: Pulling fs layer 06:11:05 7809a108b3ef: Pulling fs layer 06:11:05 f706445af74f: Pulling fs layer 06:11:05 0510c868ecb4: Waiting 06:11:05 afea3b2eda06: Waiting 06:11:05 7809a108b3ef: Waiting 06:11:05 f706445af74f: Waiting 06:11:05 4c4ab2625f07: Verifying Checksum 06:11:05 4c4ab2625f07: Download complete 06:11:05 adcc1eea9eea: Verifying Checksum 06:11:05 adcc1eea9eea: Download complete 06:11:05 afea3b2eda06: Verifying Checksum 06:11:05 afea3b2eda06: Download complete 06:11:05 7809a108b3ef: Verifying Checksum 06:11:05 7809a108b3ef: Download complete 06:11:06 540db60ca938: Verifying Checksum 06:11:06 540db60ca938: Download complete 06:11:07 540db60ca938: Pull complete 06:11:07 adcc1eea9eea: Pull complete 06:11:08 4c4ab2625f07: Pull complete 06:11:12 f706445af74f: Verifying Checksum 06:11:12 f706445af74f: Download complete 06:11:15 0510c868ecb4: Download complete 06:11:38 0510c868ecb4: Pull complete 06:11:38 afea3b2eda06: Pull complete 06:11:38 7809a108b3ef: Pull complete 06:11:42 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 06:11:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:11:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:11:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:11:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:375:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:11:45 f706445af74f: Pull complete 06:11:45 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:11:45 ---> b068be0155e3 06:11:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:11:45 ---> Running in 761bb44412ba 06:11:45 Removing intermediate container 761bb44412ba 06:11:45 ---> 5545093c18b2 06:11:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:45 ---> Running in 4a83d0b15f7a 06:11:47 Removing intermediate container 4a83d0b15f7a 06:11:47 ---> e0eb0727f994 06:11:47 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:11:47 ---> Running in 6fcdfaec1762 06:11:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:11:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:11:51 (1/13) Installing libc-dev (0.7.2-r3) 06:11:51 (2/13) Installing libsodium (1.0.18-r0) 06:11:51 (3/13) Installing pkgconf (1.7.3-r0) 06:11:51 (4/13) Installing libsodium-dev (1.0.18-r0) 06:11:51 (5/13) Installing openssh-keygen (8.4_p1-r3) 06:11:51 (6/13) Installing libedit (20191231.3.1-r1) 06:11:52 (7/13) Installing openssh-client (8.4_p1-r3) 06:11:52 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 06:11:52 (9/13) Installing openssh-server-common (8.4_p1-r3) 06:11:52 (10/13) Installing openssh-server (8.4_p1-r3) 06:11:52 (11/13) Installing openssh (8.4_p1-r3) 06:11:52 (12/13) Installing libzmq (4.3.3-r1) 06:11:52 (13/13) Installing zeromq-dev (4.3.3-r1) 06:11:52 Executing busybox-1.32.1-r6.trigger 06:11:52 OK: 156 MiB in 53 packages 06:11:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.036s coverage: 50.1% of statements 06:11:54 Removing intermediate container 6fcdfaec1762 06:11:54 ---> 265e88b5ee3d 06:11:54 Step 6/8 : WORKDIR /device-modbus-go 06:11:54 ---> Running in a11f10f1c516 06:11:54 make: *** [Makefile:25: test] Error 2 [Pipeline] } 06:11:54 $ docker stop --time=1 a3ee4e88dabebb9115979fe202bb6e76e15978510e65d6e82f0d8700f4a37758 06:11:54 Removing intermediate container a11f10f1c516 06:11:54 ---> 8c251b58c843 06:11:54 Step 7/8 : COPY . . 06:11:56 ---> cd5097d46439 06:11:56 Step 8/8 : RUN go mod download 06:11:56 ---> Running in 2cd7dbfd582d 06:11:56 $ docker rm -f a3ee4e88dabebb9115979fe202bb6e76e15978510e65d6e82f0d8700f4a37758 [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] libraryResource [Pipeline] sh 06:11:58 ---> job-cost.sh 06:11:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NDpq 06:12:44 Removing intermediate container 2cd7dbfd582d 06:12:44 ---> 492369b07cd9 06:12:44 Successfully built 492369b07cd9 06:12:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:12:44 + docker inspect -f . ci-base-image-x86_64 06:12:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:12:45 . [Pipeline] withDockerContainer 06:12:45 prd-centos7-docker-4c-2g-2718 does not seem to be running inside a container 06:12:45 $ 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-x86_64 cat 06:12:47 $ docker top a674f7afeeb162f0fb0bdc8ab1f614328a68d3d973b730927e12bca0dfe15287 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:48 + go version 06:12:48 go version go1.16.3 linux/amd64 [Pipeline] } 06:12:48 $ docker stop --time=1 a674f7afeeb162f0fb0bdc8ab1f614328a68d3d973b730927e12bca0dfe15287 06:12:50 $ docker rm -f a674f7afeeb162f0fb0bdc8ab1f614328a68d3d973b730927e12bca0dfe15287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:51 + docker inspect -f . ci-base-image-x86_64 06:12:51 . [Pipeline] withDockerContainer 06:12:52 prd-centos7-docker-4c-2g-2718 does not seem to be running inside a container 06:12: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 ******** ci-base-image-x86_64 cat 06:12:54 $ docker top 7a8f9fbf0ca860373c97de84db9bfaab0af0505d52fa1a0be9bc174804c20252 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:55 + go mod tidy [Pipeline] sh 06:12:57 + make test 06:12:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:13:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:13:28 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 06:13:28 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:13:28 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:13:28 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:13:28 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:375:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 06:13:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.031s coverage: 50.1% of statements 06:13:37 make: *** [Makefile:25: test] Error 2 [Pipeline] } 06:13:37 $ docker stop --time=1 7a8f9fbf0ca860373c97de84db9bfaab0af0505d52fa1a0be9bc174804c20252 06:13:40 $ docker rm -f 7a8f9fbf0ca860373c97de84db9bfaab0af0505d52fa1a0be9bc174804c20252 [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:13:42 ---> job-cost.sh 06:13:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3fLB 06:14:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:14:21 lf-activate-venv(): INFO: Adding /tmp/venv-NDpq/bin to PATH 06:14:21 INFO: No Stack... 06:14:21 INFO: Retrieving Pricing Info for: lf-standard-4 06:14:21 INFO: Archiving Costs [Pipeline] sh 06:14:22 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:14:22 + cut -d, -f6 [Pipeline] lock 06:14:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] 06:14:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] did not exist. Created. 06:14:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:22 + echo total: 0.20999999344348907 [Pipeline] stash 06:14:23 Stashed 1 file(s) [Pipeline] } 06:14:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:14:24 Failed in branch arm64 06:14:57 lf-activate-venv(): INFO: Adding /tmp/venv-3fLB/bin to PATH 06:14:57 INFO: No Stack... 06:14:57 INFO: Retrieving Pricing Info for: v1-standard-2 06:14:57 INFO: Archiving Costs [Pipeline] sh 06:14:57 + cut -d, -f6 06:14:57 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 06:14:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] 06:14:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] did not exist. Created. 06:14:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:58 /w/workspace/device-modbus-go/1@tmp/durable-23f48dba/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 06:14:58 + echo total: 0.029999999329447746 [Pipeline] stash 06:14:58 Warning: overwriting stash ‘stack-cost’ 06:14:59 Stashed 1 file(s) [Pipeline] } 06:14:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:15:00 Failed in branch amd64 [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:15:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:03 ---> package-listing.sh 06:15:03 ++ facter osfamily 06:15:03 ++ tr '[:upper:]' '[:lower:]' 06:15:03 + OS_FAMILY=redhat 06:15:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-230 06:15:03 + START_PACKAGES=/tmp/packages_start.txt 06:15:03 + END_PACKAGES=/tmp/packages_end.txt 06:15:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:03 + PACKAGES=/tmp/packages_start.txt 06:15:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-230 ']' 06:15:03 + PACKAGES=/tmp/packages_end.txt 06:15:03 + case "${OS_FAMILY}" in 06:15:03 + sort 06:15:03 + rpm -qa 06:15:12 + '[' -f /tmp/packages_start.txt ']' 06:15:12 + '[' -f /tmp/packages_end.txt ']' 06:15:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-230 ']' 06:15:12 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-230/archives/ 06:15:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-230/archives/ [Pipeline] echo 06:15:12 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-230/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:13 06:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:14 alpine: Pulling from edgex-lftools-log-publisher 06:15:14 df20fa9351a1: Pulling fs layer 06:15:14 36b3adc4ff6f: Pulling fs layer 06:15:14 8ad3a11d3b57: Pulling fs layer 06:15:14 46f8f816bc3b: Pulling fs layer 06:15:14 93b61091891f: Pulling fs layer 06:15:14 93b9cdb0e59b: Pulling fs layer 06:15:14 5e14af77c1be: Pulling fs layer 06:15:14 01666e4c0597: Pulling fs layer 06:15:14 aa168da1d23b: Pulling fs layer 06:15:14 46f8f816bc3b: Waiting 06:15:14 93b9cdb0e59b: Waiting 06:15:14 93b61091891f: Waiting 06:15:14 01666e4c0597: Waiting 06:15:14 aa168da1d23b: Waiting 06:15:14 5e14af77c1be: Waiting 06:15:14 36b3adc4ff6f: Verifying Checksum 06:15:14 36b3adc4ff6f: Download complete 06:15:14 46f8f816bc3b: Verifying Checksum 06:15:14 46f8f816bc3b: Download complete 06:15:14 df20fa9351a1: Verifying Checksum 06:15:14 df20fa9351a1: Download complete 06:15:14 93b9cdb0e59b: Verifying Checksum 06:15:14 93b9cdb0e59b: Download complete 06:15:14 5e14af77c1be: Verifying Checksum 06:15:14 5e14af77c1be: Download complete 06:15:14 01666e4c0597: Verifying Checksum 06:15:14 01666e4c0597: Download complete 06:15:14 93b61091891f: Verifying Checksum 06:15:14 93b61091891f: Download complete 06:15:15 df20fa9351a1: Pull complete 06:15:15 8ad3a11d3b57: Verifying Checksum 06:15:15 8ad3a11d3b57: Download complete 06:15:15 36b3adc4ff6f: Pull complete 06:15:19 8ad3a11d3b57: Pull complete 06:15:19 46f8f816bc3b: Pull complete 06:15:20 93b61091891f: Pull complete 06:15:21 93b9cdb0e59b: Pull complete 06:15:21 5e14af77c1be: Pull complete 06:15:22 01666e4c0597: Pull complete 06:15:22 aa168da1d23b: Verifying Checksum 06:15:22 aa168da1d23b: Download complete 06:15:45 aa168da1d23b: Pull complete 06:15:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:46 prd-centos7-docker-4c-2g-2700 does not seem to be running inside a container 06:15:46 $ 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-230/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-230 -v /w/workspace/xfoundry_device-modbus-go_PR-230:/w/workspace/xfoundry_device-modbus-go_PR-230:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-230@tmp:/w/workspace/xfoundry_device-modbus-go_PR-230@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:15:48 $ docker top 3b1339e3c2199eeda2197081a7471fc6d9cd016afa8a68299dd76b8ee93f200b -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:49 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:50 + mkdir -p /var/log/sa [Pipeline] sh 06:15:51 + ls /var/log/sa-host 06:15:51 + sadf -c /var/log/sa-host/sa03 06:15:51 file_magic: OK 06:15:51 HZ: Using current value: 100 06:15:51 file_header: OK 06:15:51 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:15:51 Statistics: 06:15:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:51 File successfully converted to sysstat format version 12.2.1 06:15:51 + sadf -c /var/log/sa-host/sa23 06:15:51 file_magic: OK 06:15:51 HZ: Using current value: 100 06:15:51 file_header: OK 06:15:51 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:15:51 Statistics: 06:15:51 Hnuu...uuuununununu... 06:15:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:51 provisioning config files... 06:15:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-230@tmp/config8979732716729302798tmp [Pipeline] { [Pipeline] echo 06:15:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:51 ---> create-netrc.sh [Pipeline] } 06:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:52 ---> python-tools-install.sh [Pipeline] echo 06:15:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:53 ---> sudo-logs.sh 06:15:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:54 ---> job-cost.sh 06:15:54 lf-activate-venv: SKIPPING 06:15:54 DEBUG: total: 0.029999999329447746 06:15:54 INFO: Retrieving Stack Cost... 06:15:55 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:56 INFO: Archiving Costs [Pipeline] echo 06:15:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> logs-deploy.sh 06:15:57 lf-activate-venv: SKIPPING 06:15:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-230/1 06:15:57 INFO: archiving workspace using pattern(s): 06:15:59 Archives upload complete. 06:16:00 INFO: archiving logs to Nexus