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