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