Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 001498a6798263f1939765cc4581fa322baf364d+3c600ef67b9d5713aa095e4426208a75c5ec6803 (862901221071caa165b2c5b4ca7dae5292fd19b5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7585536533019244701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8307314449127970339.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-266/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-266/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3437927367089881907.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3288358814473954393.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-266/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-266/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5576111114156131567.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 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: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-942 in /w/workspace/xfoundry_device-modbus-go_PR-266 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-266 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-266@tmp/jenkins-gitclient-ssh5090982307538574891.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-266@tmp/jenkins-gitclient-ssh4729106082000497909.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3c600ef67b9d5713aa095e4426208a75c5ec6803 into PR head commit 001498a6798263f1939765cc4581fa322baf364d Merge succeeded, producing 83a605f3c80f7a463f70805c05ec1bfa2b0860c2 Checking out Revision 83a605f3c80f7a463f70805c05ec1bfa2b0860c2 (PR-266) > git config core.sparsecheckout # timeout=10 > git checkout -f 001498a6798263f1939765cc4581fa322baf364d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-266@tmp/jenkins-gitclient-ssh5411661435421527106.key > git merge 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83a605f3c80f7a463f70805c05ec1bfa2b0860c2 # timeout=10 Commit message: "Merge commit '3c600ef67b9d5713aa095e4426208a75c5ec6803' into HEAD" > git rev-list --no-walk 001498a6798263f1939765cc4581fa322baf364d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:51 ========================================================= 16:52:51 EdgeX Global Pipelines Version Info 16:52:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:52:52 ------------------- 16:52:52 stable info: 16:52:52 ------------------- 16:52:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:52 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:52:52 Message: update stable to v1.0.195 16:52:53 ------------------- 16:52:53 experimental info: 16:52:53 ------------------- 16:52:53 Commited By: **** collab-it+edgex@linuxfoundation.org 16:52:53 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:52:53 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83a605f3c80f7a463f70805c05ec1bfa2b0860c2 [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83a605f [Pipeline] echo 16:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:54 provisioning config files... 16:52:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-266@tmp/config606300777947276900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:54 ---> docker-login.sh 16:52:54 nexus3.edgexfoundry.org:10001 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 nexus3.edgexfoundry.org:10002 16:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 nexus3.edgexfoundry.org:10003 16:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 nexus3.edgexfoundry.org:10004 16:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 docker.io 16:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 ---> docker-login.sh ends [Pipeline] } 16:52:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:56 + git log --format=format:%s -1 83a605f3c80f7a463f70805c05ec1bfa2b0860c2 [Pipeline] echo 16:52:56 GIT_COMMIT: 83a605f3c80f7a463f70805c05ec1bfa2b0860c2, Commit Message: Merge commit '3c600ef67b9d5713aa095e4426208a75c5ec6803' into HEAD [Pipeline] echo 16:52:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:57 16:52:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:52:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:57 latest: Pulling from edgex-devops/git-semver 16:52:57 31603596830f: Pulling fs layer 16:52:57 54011a49482f: Pulling fs layer 16:52:57 a6820b24f6d8: Pulling fs layer 16:52:57 f581987b2513: Pulling fs layer 16:52:57 f581987b2513: Waiting 16:52:57 54011a49482f: Verifying Checksum 16:52:57 54011a49482f: Download complete 16:52:58 31603596830f: Verifying Checksum 16:52:58 31603596830f: Download complete 16:52:58 f581987b2513: Verifying Checksum 16:52:58 f581987b2513: Download complete 16:52:58 31603596830f: Pull complete 16:52:58 a6820b24f6d8: Verifying Checksum 16:52:58 a6820b24f6d8: Download complete 16:52:58 54011a49482f: Pull complete 16:52:58 a6820b24f6d8: Pull complete 16:52:58 f581987b2513: Pull complete 16:52:58 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:52:58 prd-centos7-docker-4c-2g-942 does not seem to be running inside a container 16:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-266 -v /w/workspace/xfoundry_device-modbus-go_PR-266:/w/workspace/xfoundry_device-modbus-go_PR-266:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-266@tmp:/w/workspace/xfoundry_device-modbus-go_PR-266@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:10004/edgex-devops/git-semver:latest cat 16:53:00 $ docker top bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:00 [ssh-agent] Looking for ssh-agent implementation... 16:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:00 $ docker exec bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d ssh-agent 16:53:00 SSH_AUTH_SOCK=/tmp/ssh-vbPBg2ZlpLKH/agent.12 16:53:00 SSH_AGENT_PID=19 16:53:00 Running ssh-add (command line suppressed) 16:53:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-266@tmp/private_key_3881903194502862612.key (/w/workspace/xfoundry_device-modbus-go_PR-266@tmp/private_key_3881903194502862612.key) 16:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:00 + git tag --points-at HEAD [Pipeline] } 16:53:00 $ docker exec --env ******** --env ******** bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d ssh-agent -k 16:53:00 unset SSH_AUTH_SOCK; 16:53:00 unset SSH_AGENT_PID; 16:53:00 echo Agent pid 19 killed; 16:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:53:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:01 [ssh-agent] Looking for ssh-agent implementation... 16:53:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:01 $ docker exec bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d ssh-agent 16:53:01 SSH_AUTH_SOCK=/tmp/ssh-kkF9D9KxajSt/agent.52 16:53:01 SSH_AGENT_PID=58 16:53:01 Running ssh-add (command line suppressed) 16:53:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-266@tmp/private_key_2612334709521652276.key (/w/workspace/xfoundry_device-modbus-go_PR-266@tmp/private_key_2612334709521652276.key) 16:53:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:01 + git semver init 16:53:01 # -> Open(): unable to determine branch for HEAD 16:53:01 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-266/.git 16:53:01 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-266 16:53:01 # $SEMVER_REMOTE_NAME = origin 16:53:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:53:01 # $SEMVER_USER_NAME = edgex-jenkins 16:53:01 # $SEMVER_BRANCH = PR-266 16:53:01 # $SEMVER_TEMP = /tmp/semver-355537237 16:53:01 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:53:02 # '/tmp/semver-355537237' -> '/w/workspace/xfoundry_device-modbus-go_PR-266/.semver' 16:53:02 # -> Force: false 16:53:02 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-266/.semver [Pipeline] } 16:53:02 $ docker exec --env ******** --env ******** bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d ssh-agent -k 16:53:02 unset SSH_AUTH_SOCK; 16:53:02 unset SSH_AGENT_PID; 16:53:02 echo Agent pid 58 killed; 16:53:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:03 + git semver [Pipeline] } 16:53:03 $ docker stop --time=1 bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d 16:53:04 $ docker rm -f bb586f1c4f822caf6b11be84634cfa4214eed8f21f7d5d0f89fa583862cc793d [Pipeline] // withDockerContainer [Pipeline] sh 16:53:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:53:05 Stashed 1 file(s) [Pipeline] echo 16:53:05 [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 16:53:20 Still waiting to schedule task 16:53:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:53:20 Still waiting to schedule task 16:53:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:54:42 Running on prd-centos7-docker-4c-2g-945 in /w/workspace/xfoundry_device-modbus-go_PR-266 [Pipeline] { [Pipeline] ws 16:54:42 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 16:54:42 Selected Git installation does not exist. Using Default 16:54:42 The recommended git tool is: NONE 16:54:45 using credential edgex-jenkins-ssh 16:54:45 Cloning the remote Git repository 16:54:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:54:45 > git init /w/workspace/device-modbus-go/2 # timeout=10 16:54:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:54:45 > git --version # timeout=10 16:54:45 > git --version # 'git version 2.24.4' 16:54:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:45 [INFO] Currently running in a labeled security context 16:54:45 [INFO] Currently SELinux is 'enforcing' on the host 16:54:45 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh4609912487545361770.key 16:54:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:54:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:54:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:54:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:45 [INFO] Currently running in a labeled security context 16:54:45 [INFO] Currently SELinux is 'enforcing' on the host 16:54:45 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh5529613285386029407.key 16:54:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:54:46 Merging remotes/origin/master commit 3c600ef67b9d5713aa095e4426208a75c5ec6803 into PR head commit 001498a6798263f1939765cc4581fa322baf364d 16:54:46 Merge succeeded, producing 2458eb8e47eb78152f9cb4e5ed9745c1302377ff 16:54:46 Checking out Revision 2458eb8e47eb78152f9cb4e5ed9745c1302377ff (PR-266) 16:54:46 > git config core.sparsecheckout # timeout=10 16:54:46 > git checkout -f 001498a6798263f1939765cc4581fa322baf364d # timeout=10 16:54:46 > git remote # timeout=10 16:54:46 > git config --get remote.origin.url # timeout=10 16:54:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:46 [INFO] Currently running in a labeled security context 16:54:46 [INFO] Currently SELinux is 'enforcing' on the host 16:54:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh9166527357464355864.key 16:54:46 > git merge 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 16:54:46 > git rev-parse HEAD^{commit} # timeout=10 16:54:46 > git config core.sparsecheckout # timeout=10 16:54:46 > git checkout -f 2458eb8e47eb78152f9cb4e5ed9745c1302377ff # timeout=10 16:54:49 Commit message: "Merge commit '3c600ef67b9d5713aa095e4426208a75c5ec6803' into HEAD" 16:54:49 > git rev-list --no-walk 001498a6798263f1939765cc4581fa322baf364d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:54:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:54:51 + sudo service docker restart 16:54:51 + true 16:54:51 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:09 provisioning config files... 16:55:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2979102228183518686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:10 ---> docker-login.sh 16:55:10 nexus3.edgexfoundry.org:10001 16:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:10 Configure a credential helper to remove this warning. See 16:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:10 16:55:10 Login Succeeded 16:55:10 nexus3.edgexfoundry.org:10002 16:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:10 Configure a credential helper to remove this warning. See 16:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:10 16:55:10 Login Succeeded 16:55:10 nexus3.edgexfoundry.org:10003 16:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:10 Configure a credential helper to remove this warning. See 16:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:10 16:55:10 Login Succeeded 16:55:10 nexus3.edgexfoundry.org:10004 16:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:10 Configure a credential helper to remove this warning. See 16:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:10 16:55:10 Login Succeeded 16:55:10 docker.io 16:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:11 Configure a credential helper to remove this warning. See 16:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:11 16:55:11 Login Succeeded 16:55:11 ---> docker-login.sh ends [Pipeline] } 16:55:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:55:11 ========================================================= 16:55:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:55:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:55:11 + 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 . 16:55:11 Sending build context to Docker daemon 648.2kB 16:55:11 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:55:11 Step 2/8 : FROM ${BASE} 16:55:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:55:11 540db60ca938: Pulling fs layer 16:55:11 adcc1eea9eea: Pulling fs layer 16:55:11 4c4ab2625f07: Pulling fs layer 16:55:11 0510c868ecb4: Pulling fs layer 16:55:11 afea3b2eda06: Pulling fs layer 16:55:11 7809a108b3ef: Pulling fs layer 16:55:11 f706445af74f: Pulling fs layer 16:55:11 afea3b2eda06: Waiting 16:55:11 7809a108b3ef: Waiting 16:55:11 f706445af74f: Waiting 16:55:11 0510c868ecb4: Waiting 16:55:12 4c4ab2625f07: Verifying Checksum 16:55:12 4c4ab2625f07: Download complete 16:55:12 adcc1eea9eea: Verifying Checksum 16:55:12 adcc1eea9eea: Download complete 16:55:12 afea3b2eda06: Verifying Checksum 16:55:12 afea3b2eda06: Download complete 16:55:12 7809a108b3ef: Verifying Checksum 16:55:12 7809a108b3ef: Download complete 16:55:12 540db60ca938: Verifying Checksum 16:55:12 540db60ca938: Download complete 16:55:12 540db60ca938: Pull complete 16:55:12 adcc1eea9eea: Pull complete 16:55:12 4c4ab2625f07: Pull complete 16:55:13 f706445af74f: Verifying Checksum 16:55:13 f706445af74f: Download complete 16:55:14 0510c868ecb4: Verifying Checksum 16:55:14 0510c868ecb4: Download complete 16:55:18 0510c868ecb4: Pull complete 16:55:18 afea3b2eda06: Pull complete 16:55:18 7809a108b3ef: Pull complete 16:55:20 f706445af74f: Pull complete 16:55:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 16:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:55:20 ---> b068be0155e3 16:55:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:55:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-944 in /w/workspace/xfoundry_device-modbus-go_PR-266 [Pipeline] { [Pipeline] ws 16:55:27 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 16:55:27 Selected Git installation does not exist. Using Default 16:55:27 The recommended git tool is: NONE 16:55:32 ---> Running in b43671cce412 16:55:32 Removing intermediate container b43671cce412 16:55:32 ---> 1a7badb722b7 16:55:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:32 ---> Running in bf7c22534063 16:55:32 Removing intermediate container bf7c22534063 16:55:32 ---> 712031f98fef 16:55:32 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:55:32 ---> Running in 7bc5fc073533 16:55:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:55:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:55:33 using credential edgex-jenkins-ssh 16:55:33 Cloning the remote Git repository 16:55:33 (1/13) Installing libc-dev (0.7.2-r3) 16:55:33 (2/13) Installing libsodium (1.0.18-r0) 16:55:33 (3/13) Installing pkgconf (1.7.3-r0) 16:55:33 (4/13) Installing libsodium-dev (1.0.18-r0) 16:55:33 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:55:33 (6/13) Installing libedit (20191231.3.1-r1) 16:55:34 (7/13) Installing openssh-client (8.4_p1-r3) 16:55:33 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:55:33 > git init /w/workspace/device-modbus-go/2 # timeout=10 16:55:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:33 > git --version # timeout=10 16:55:33 > git --version # 'git version 2.17.1' 16:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:34 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:55:34 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:55:34 (10/13) Installing openssh-server (8.4_p1-r3) 16:55:34 (11/13) Installing openssh (8.4_p1-r3) 16:55:34 (12/13) Installing libzmq (4.3.3-r1) 16:55:34 (13/13) Installing zeromq-dev (4.3.3-r1) 16:55:34 Executing busybox-1.32.1-r6.trigger 16:55:34 OK: 156 MiB in 53 packages 16:55:34 Merging remotes/origin/master commit 3c600ef67b9d5713aa095e4426208a75c5ec6803 into PR head commit 001498a6798263f1939765cc4581fa322baf364d 16:55:35 Removing intermediate container 7bc5fc073533 16:55:35 ---> 99c4538f5592 16:55:35 Step 6/8 : WORKDIR /device-modbus-go 16:55:35 Merge succeeded, producing 06dd00ea481e10e967f74f838d07e9bb51295ca6 16:55:35 Checking out Revision 06dd00ea481e10e967f74f838d07e9bb51295ca6 (PR-266) 16:55:35 ---> Running in 96c853c9aead 16:55:35 Removing intermediate container 96c853c9aead 16:55:35 ---> c4871e5dc546 16:55:35 Step 7/8 : COPY . . 16:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:34 > git config core.sparsecheckout # timeout=10 16:55:34 > git checkout -f 001498a6798263f1939765cc4581fa322baf364d # timeout=10 16:55:35 > git remote # timeout=10 16:55:35 > git config --get remote.origin.url # timeout=10 16:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:35 > git merge 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 16:55:35 > git rev-parse HEAD^{commit} # timeout=10 16:55:35 > git config core.sparsecheckout # timeout=10 16:55:35 > git checkout -f 06dd00ea481e10e967f74f838d07e9bb51295ca6 # timeout=10 16:55:35 ---> 8d0e4bf138bd 16:55:35 Step 8/8 : RUN go mod download 16:55:35 ---> Running in 2bcc15fd40d0 16:55:39 Commit message: "Merge commit '3c600ef67b9d5713aa095e4426208a75c5ec6803' into HEAD" 16:55:39 > git rev-list --no-walk 001498a6798263f1939765cc4581fa322baf364d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:55:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:55:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:55:41 + + truesudo service docker restart 16:55:41 16:55:50 Removing intermediate container 2bcc15fd40d0 16:55:50 ---> ba5dd9d22294 16:55:50 Successfully built ba5dd9d22294 16:55:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:55:50 + docker inspect -f . ci-base-image-x86_64 16:55:50 . [Pipeline] withDockerContainer 16:55:50 prd-centos7-docker-4c-2g-945 does not seem to be running inside a container 16:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:55:51 $ docker top 5988005d363100ba95e84f7d772e3a773c4fba2dbed32eb912e2132afed75473 -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:51 + go version 16:55:51 go version go1.16.3 linux/amd64 [Pipeline] } 16:55:51 $ docker stop --time=1 5988005d363100ba95e84f7d772e3a773c4fba2dbed32eb912e2132afed75473 16:55:52 $ docker rm -f 5988005d363100ba95e84f7d772e3a773c4fba2dbed32eb912e2132afed75473 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:55:53 + docker inspect -f . ci-base-image-x86_64 16:55:53 . [Pipeline] withDockerContainer 16:55:53 prd-centos7-docker-4c-2g-945 does not seem to be running inside a container 16:55:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:55:54 $ docker top 2e437f5041997af2121fe5c7148dbf22054722ebc61f0f2f01d5d8e7b4d71780 -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:54 + go mod tidy [Pipeline] sh 16:55:55 + make test 16:55:55 go mod tidy 16:55:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:55:55 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:59 provisioning config files... 16:55:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8835108103921420308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:00 ---> docker-login.sh 16:56:00 nexus3.edgexfoundry.org:10001 16:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:01 Configure a credential helper to remove this warning. See 16:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:01 16:56:01 Login Succeeded 16:56:01 nexus3.edgexfoundry.org:10002 16:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:02 Configure a credential helper to remove this warning. See 16:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:02 16:56:02 Login Succeeded 16:56:02 nexus3.edgexfoundry.org:10003 16:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:02 Configure a credential helper to remove this warning. See 16:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:02 16:56:02 Login Succeeded 16:56:02 nexus3.edgexfoundry.org:10004 16:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:03 Configure a credential helper to remove this warning. See 16:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:03 16:56:03 Login Succeeded 16:56:03 docker.io 16:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:04 Configure a credential helper to remove this warning. See 16:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:04 16:56:04 Login Succeeded 16:56:04 ---> docker-login.sh ends [Pipeline] } 16:56:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:04 ========================================================= 16:56:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:56:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:56:05 + 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 . 16:56:05 Sending build context to Docker daemon 647.2kB 16:56:05 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:56:05 Step 2/8 : FROM ${BASE} 16:56:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:56:05 595b0fe564bb: Pulling fs layer 16:56:05 3088b5b3c5c0: Pulling fs layer 16:56:05 5b7225fbf94c: Pulling fs layer 16:56:05 ba82ee9f976e: Pulling fs layer 16:56:05 506bd15cee9f: Pulling fs layer 16:56:05 75a0a4a0db45: Pulling fs layer 16:56:05 618dc40b7e24: Pulling fs layer 16:56:05 506bd15cee9f: Waiting 16:56:05 ba82ee9f976e: Waiting 16:56:05 75a0a4a0db45: Waiting 16:56:05 618dc40b7e24: Waiting 16:56:05 5b7225fbf94c: Verifying Checksum 16:56:05 5b7225fbf94c: Download complete 16:56:05 3088b5b3c5c0: Verifying Checksum 16:56:05 3088b5b3c5c0: Download complete 16:56:06 506bd15cee9f: Verifying Checksum 16:56:06 506bd15cee9f: Download complete 16:56:06 595b0fe564bb: Verifying Checksum 16:56:06 595b0fe564bb: Download complete 16:56:06 75a0a4a0db45: Verifying Checksum 16:56:06 595b0fe564bb: Pull complete 16:56:07 3088b5b3c5c0: Pull complete 16:56:07 5b7225fbf94c: Pull complete 16:56:08 618dc40b7e24: Verifying Checksum 16:56:08 618dc40b7e24: Download complete 16:56:09 ba82ee9f976e: Download complete 16:56:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:56:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 16:56:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:56:20 gofmt -l . 16:56:20 [ "`gofmt -l .`" = "" ] 16:56:20 ./bin/test-attribution-txt.sh 16:56:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:56:20 $ docker stop --time=1 2e437f5041997af2121fe5c7148dbf22054722ebc61f0f2f01d5d8e7b4d71780 16:56:21 ba82ee9f976e: Pull complete 16:56:21 506bd15cee9f: Pull complete 16:56:21 75a0a4a0db45: Pull complete 16:56:23 $ docker rm -f 2e437f5041997af2121fe5c7148dbf22054722ebc61f0f2f01d5d8e7b4d71780 [Pipeline] // withDockerContainer [Pipeline] sh 16:56:23 618dc40b7e24: Pull complete 16:56:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:56:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 16:56:24 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 16:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:56:24 ---> a36622ca3599 16:56:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 16:56:26 ---> Running in 4eb69d7fd1eb 16:56:26 Removing intermediate container 4eb69d7fd1eb 16:56:26 ---> 7a33a3b58840 16:56:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:26 ---> Running in f9e43e5d592b [Pipeline] sh 16:56:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:56:27 + ls -al . 16:56:27 total 112 16:56:27 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 16:56 . 16:56:27 drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 16:54 .. 16:56:27 -rw-rw-r--. 1 jenkins jenkins 7707 Jun 23 16:54 Attribution.txt 16:56:27 drwxrwxr-x. 2 jenkins jenkins 87 Jun 23 16:54 bin 16:56:27 drwxrwxr-x. 3 jenkins jenkins 32 Jun 23 16:54 cmd 16:56:27 -rw-r--r--. 1 jenkins jenkins 22385 Jun 23 16:56 coverage.out 16:56:27 -rw-rw-r--. 1 jenkins jenkins 1473 Jun 23 16:54 Dockerfile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 995 Jun 23 16:54 Dockerfile.build 16:56:27 -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 16:54 .dockerignore 16:56:27 drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 16:54 .git 16:56:27 drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 16:54 .github 16:56:27 -rw-rw-r--. 1 jenkins jenkins 338 Jun 23 16:54 .gitignore 16:56:27 -rw-r--r--. 1 jenkins jenkins 414 Jun 23 16:56 go.mod 16:56:27 -rw-r--r--. 1 jenkins jenkins 21325 Jun 23 16:55 go.sum 16:56:27 drwxrwxr-x. 3 jenkins jenkins 20 Jun 23 16:54 internal 16:56:27 -rw-rw-r--. 1 jenkins jenkins 679 Jun 23 16:54 Jenkinsfile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 16:54 LICENSE 16:56:27 -rw-rw-r--. 1 jenkins jenkins 914 Jun 23 16:54 Makefile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 2897 Jun 23 16:54 README.md 16:56:27 drwxrwxr-x. 2 jenkins jenkins 52 Jun 23 16:54 simulator 16:56:27 drwxrwxr-x. 4 jenkins jenkins 71 Jun 23 16:54 snap 16:56:27 -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 16:53 VERSION 16:56:27 -rw-rw-r--. 1 jenkins jenkins 229 Jun 23 16:54 version.go [Pipeline] isUnix [Pipeline] sh 16:56:27 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2458eb8e47eb78152f9cb4e5ed9745c1302377ff --label arch=amd64 --label version=0.0.0 . 16:56:27 Sending build context to Docker daemon 671.2kB 16:56:27 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 16:56:27 Step 2/22 : FROM ${BASE} AS builder 16:56:27 ---> ba5dd9d22294 16:56:27 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:28 ---> Running in 3ad187f09108 16:56:28 Removing intermediate container f9e43e5d592b 16:56:28 ---> cf9d030a2f01 16:56:28 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:56:29 Removing intermediate container 3ad187f09108 16:56:29 ---> 81ad628998a3 16:56:29 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:56:29 ---> Running in c13331986360 16:56:29 ---> Running in 8f2e9eba577b 16:56:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:56:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:56:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:56:31 OK: 156 MiB in 53 packages 16:56:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:56:31 Removing intermediate container c13331986360 16:56:31 ---> a76e1213e9f9 16:56:31 Step 5/22 : WORKDIR /device-modbus-go 16:56:31 ---> Running in 7d2796111561 16:56:31 (1/13) Installing libc-dev (0.7.2-r3) 16:56:32 Removing intermediate container 7d2796111561 16:56:32 ---> f3e85ddbf16a 16:56:32 Step 6/22 : COPY . . 16:56:32 (2/13) Installing libsodium (1.0.18-r0) 16:56:32 (3/13) Installing pkgconf (1.7.3-r0) 16:56:32 (4/13) Installing libsodium-dev (1.0.18-r0) 16:56:32 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:56:32 (6/13) Installing libedit (20191231.3.1-r1) 16:56:32 (7/13) Installing openssh-client (8.4_p1-r3) 16:56:32 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:56:32 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:56:32 (10/13) Installing openssh-server (8.4_p1-r3) 16:56:32 ---> 988275fc72fe 16:56:32 Step 7/22 : RUN go mod tidy 16:56:33 (11/13) Installing openssh (8.4_p1-r3) 16:56:33 (12/13) Installing libzmq (4.3.3-r1) 16:56:33 (13/13) Installing zeromq-dev (4.3.3-r1) 16:56:33 Executing busybox-1.32.1-r6.trigger 16:56:33 OK: 145 MiB in 53 packages 16:56:33 ---> Running in fa98ebc55fb7 16:56:34 Removing intermediate container fa98ebc55fb7 16:56:34 ---> 12a5cebfc6a5 16:56:34 Step 8/22 : RUN go mod download 16:56:35 ---> Running in f71b7cbaea56 16:56:35 Removing intermediate container 8f2e9eba577b 16:56:35 ---> e88e3758da95 16:56:35 Step 6/8 : WORKDIR /device-modbus-go 16:56:35 ---> Running in 0a4afbcf2824 16:56:36 Removing intermediate container f71b7cbaea56 16:56:36 ---> 9ad0c22a1c9f 16:56:36 Step 9/22 : RUN make build 16:56:36 Removing intermediate container 0a4afbcf2824 16:56:36 ---> ef6319476767 16:56:36 Step 7/8 : COPY . . 16:56:36 ---> Running in f7509ae10605 16:56:36 go mod tidy 16:56:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:56:37 ---> 18ef2e14e589 16:56:37 Step 8/8 : RUN go mod download 16:56:37 ---> Running in 76b5f500eaae 16:56:55 Removing intermediate container f7509ae10605 16:56:55 ---> 716e9b809816 16:56:55 Step 10/22 : FROM alpine:3.12 16:56:55 3.12: Pulling from library/alpine 16:56:55 339de151aab4: Pulling fs layer 16:56:55 error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/13/13621d1b12d4d0d4ad6699d220cd46f26764a9daf26a95f792ab2ce0715df366/data?verify=1624470413-fy53ma3VsfJ3Kt%2FAdSN5BF8mKeg%3D: dial tcp: lookup production.cloudflare.docker.com on 10.30.120.3:53: server misbehaving [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 16:56:56 ---> job-cost.sh 16:56:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-r0Hh 16:57:03 Removing intermediate container 76b5f500eaae 16:57:03 ---> 704dd32da594 16:57:03 Successfully built 704dd32da594 16:57:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:57:04 + docker inspect -f . ci-base-image-arm64 16:57:04 . [Pipeline] withDockerContainer 16:57:04 prd-ubuntu18.04-docker-arm64-4c-16g-944 does not seem to be running inside a container 16:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:06 $ docker top 5ea274245a3ff9fad76ece9be2b09efb85be9364f309ee6fe84d9b6edd018695 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:07 + go version 16:57:07 go version go1.16.5 linux/arm64 [Pipeline] } 16:57:07 $ docker stop --time=1 5ea274245a3ff9fad76ece9be2b09efb85be9364f309ee6fe84d9b6edd018695 16:57:09 $ docker rm -f 5ea274245a3ff9fad76ece9be2b09efb85be9364f309ee6fe84d9b6edd018695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:57:09 + docker inspect -f . ci-base-image-arm64 16:57:09 . [Pipeline] withDockerContainer 16:57:10 prd-ubuntu18.04-docker-arm64-4c-16g-944 does not seem to be running inside a container 16:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:57:11 $ docker top 6f1b2d6ce7bf93da82b2f57466fdb603000435c0fa2f0db41c6839398f173457 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:12 + go mod tidy [Pipeline] sh 16:57:14 + make test 16:57:14 go mod tidy 16:57:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:57:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:57:29 lf-activate-venv(): INFO: Adding /tmp/venv-r0Hh/bin to PATH 16:57:29 INFO: No Stack... 16:57:29 INFO: Retrieving Pricing Info for: v3-standard-2 16:57:30 INFO: Archiving Costs [Pipeline] sh 16:57:30 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 16:57:30 + cut -d, -f6 [Pipeline] lock 16:57:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] 16:57:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] did not exist. Created. 16:57:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:57:31 + echo total: 0.05999999865889549 [Pipeline] stash 16:57:31 Stashed 1 file(s) [Pipeline] } 16:57:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:57:31 Failed in branch amd64 16:58:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:58:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.7% of statements 16:58:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:58:30 gofmt -l . 16:58:30 [ "`gofmt -l .`" = "" ] 16:58:30 ./bin/test-attribution-txt.sh 16:58:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:58:32 $ docker stop --time=1 6f1b2d6ce7bf93da82b2f57466fdb603000435c0fa2f0db41c6839398f173457 16:58:34 $ docker rm -f 6f1b2d6ce7bf93da82b2f57466fdb603000435c0fa2f0db41c6839398f173457 [Pipeline] // withDockerContainer [Pipeline] sh 16:58:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:58:35 Warning: overwriting stash ‘coverage-report’ 16:58:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:58:36 + ls -al . 16:58:36 total 144 16:58:36 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 16:58 . 16:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 16:55 .. 16:58:36 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 16:55 .dockerignore 16:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 16:55 .git 16:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 16:55 .github 16:58:36 -rw-rw-r-- 1 jenkins jenkins 338 Jun 23 16:55 .gitignore 16:58:36 -rw-rw-r-- 1 jenkins jenkins 7707 Jun 23 16:55 Attribution.txt 16:58:36 -rw-rw-r-- 1 jenkins jenkins 1473 Jun 23 16:55 Dockerfile 16:58:36 -rw-rw-r-- 1 jenkins jenkins 995 Jun 23 16:55 Dockerfile.build 16:58:36 -rw-rw-r-- 1 jenkins jenkins 679 Jun 23 16:55 Jenkinsfile 16:58:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 16:55 LICENSE 16:58:36 -rw-rw-r-- 1 jenkins jenkins 914 Jun 23 16:55 Makefile 16:58:36 -rw-rw-r-- 1 jenkins jenkins 2897 Jun 23 16:55 README.md 16:58:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 16:53 VERSION 16:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 16:55 bin 16:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 16:55 cmd 16:58:36 -rw-r--r-- 1 jenkins jenkins 22385 Jun 23 16:58 coverage.out 16:58:36 -rw-r--r-- 1 jenkins jenkins 414 Jun 23 16:58 go.mod 16:58:36 -rw-r--r-- 1 jenkins jenkins 21325 Jun 23 16:57 go.sum 16:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 16:55 internal 16:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 16:55 simulator 16:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 16:55 snap 16:58:36 -rw-rw-r-- 1 jenkins jenkins 229 Jun 23 16:55 version.go [Pipeline] isUnix [Pipeline] sh 16:58:37 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=06dd00ea481e10e967f74f838d07e9bb51295ca6 --label arch=arm64 --label version=0.0.0 . 16:58:37 Sending build context to Docker daemon 670.2kB 16:58:37 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 16:58:37 Step 2/22 : FROM ${BASE} AS builder 16:58:37 ---> 704dd32da594 16:58:37 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:38 ---> Running in a11ee79f98bf 16:58:40 Removing intermediate container a11ee79f98bf 16:58:40 ---> 6868e92e2e8d 16:58:40 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:58:40 ---> Running in d294292e944b 16:58:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:58:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:58:43 OK: 145 MiB in 53 packages 16:58:44 Removing intermediate container d294292e944b 16:58:44 ---> e3428f3846f7 16:58:44 Step 5/22 : WORKDIR /device-modbus-go 16:58:44 ---> Running in fc99be4ee088 16:58:44 Removing intermediate container fc99be4ee088 16:58:44 ---> 26936beed9a0 16:58:44 Step 6/22 : COPY . . 16:58:45 ---> 491f8c5441f1 16:58:45 Step 7/22 : RUN go mod tidy 16:58:46 ---> Running in 4bf928bf1023 16:58:49 Removing intermediate container 4bf928bf1023 16:58:49 ---> 777838abf508 16:58:49 Step 8/22 : RUN go mod download 16:58:49 ---> Running in 9a6013cbdb68 16:58:51 Removing intermediate container 9a6013cbdb68 16:58:51 ---> e85d7ffbeb7b 16:58:51 Step 9/22 : RUN make build 16:58:51 ---> Running in 16ac788f14e6 16:58:52 go mod tidy 16:58:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:59:32 Removing intermediate container 16ac788f14e6 16:59:32 ---> 1ed0739c0400 16:59:32 Step 10/22 : FROM alpine:3.12 16:59:32 3.12: Pulling from library/alpine 16:59:32 d2f70382dc9a: Pulling fs layer 16:59:32 d2f70382dc9a: Download complete 16:59:32 d2f70382dc9a: Pull complete 16:59:32 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:59:32 Status: Downloaded newer image for alpine:3.12 16:59:32 ---> c4fd0aeabfcf 16:59:32 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:59:32 ---> Running in 1fee86c9683e 16:59:32 Removing intermediate container 1fee86c9683e 16:59:32 ---> bb2a2243fb47 16:59:32 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:59:32 ---> Running in b05ffa42910f 16:59:32 Removing intermediate container b05ffa42910f 16:59:32 ---> 8e1b0b69b25f 16:59:32 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:59:32 ---> Running in d13a9ebcd5bc 16:59:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:59:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:59:33 (1/6) Installing dumb-init (1.2.2-r1) 16:59:33 (2/6) Installing libgcc (9.3.0-r2) 16:59:33 (3/6) Installing libsodium (1.0.18-r0) 16:59:33 (4/6) Installing libstdc++ (9.3.0-r2) 16:59:33 (5/6) Installing libzmq (4.3.3-r0) 16:59:34 (6/6) Installing zeromq (4.3.3-r0) 16:59:34 Executing busybox-1.31.1-r20.trigger 16:59:34 OK: 8 MiB in 20 packages 16:59:35 Removing intermediate container d13a9ebcd5bc 16:59:35 ---> c7220dc9bd99 16:59:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:59:36 ---> cab6b0690881 16:59:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:59:37 ---> 2677d768c3ae 16:59:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:59:38 ---> 4141e2208d45 16:59:38 Step 17/22 : EXPOSE 59901 16:59:38 ---> Running in adda73bb0351 16:59:39 Removing intermediate container adda73bb0351 16:59:39 ---> 8cbce4fd872c 16:59:39 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:59:39 ---> Running in 5a823759ea82 16:59:39 Removing intermediate container 5a823759ea82 16:59:39 ---> 191729ec6af3 16:59:39 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:59:39 ---> Running in 57bc4fc4e563 16:59:40 Removing intermediate container 57bc4fc4e563 16:59:40 ---> 039395e93106 16:59:40 Step 20/22 : LABEL arch=arm64 16:59:40 ---> Running in cba8576cfbd1 16:59:40 Removing intermediate container cba8576cfbd1 16:59:40 ---> 90b2e08670ea 16:59:40 Step 21/22 : LABEL git_sha=06dd00ea481e10e967f74f838d07e9bb51295ca6 16:59:40 ---> Running in c42046928801 16:59:41 Removing intermediate container c42046928801 16:59:41 ---> 508206523c4a 16:59:41 Step 22/22 : LABEL version=0.0.0 16:59:41 ---> Running in 341c126bcb69 16:59:42 Removing intermediate container 341c126bcb69 16:59:42 ---> 56b801c1aba8 16:59:42 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:59:42 Successfully built 56b801c1aba8 16:59:42 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:59:42 ---> job-cost.sh 16:59:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kCws 17:00:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:01:58 lf-activate-venv(): INFO: Adding /tmp/venv-kCws/bin to PATH 17:01:58 INFO: No Stack... 17:01:58 INFO: Retrieving Pricing Info for: v2-standard-4 17:01:58 INFO: Archiving Costs [Pipeline] sh 17:01:58 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 17:01:58 + cut -d, -f6 [Pipeline] lock 17:01:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] 17:01:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] did not exist. Created. 17:01:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:59 /w/workspace/device-modbus-go/2@tmp/durable-149de795/script.sh: 1: /w/workspace/device-modbus-go/2@tmp/durable-149de795/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:01:59 + echo total: 0.18000000715255737 [Pipeline] stash 17:01:59 Warning: overwriting stash ‘stack-cost’ 17:01:59 Stashed 1 file(s) [Pipeline] } 17:01:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-266-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 17:02:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:02:03 ---> package-listing.sh 17:02:03 ++ tr '[:upper:]' '[:lower:]' 17:02:03 ++ facter osfamily 17:02:03 + OS_FAMILY=redhat 17:02:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-266 17:02:03 + START_PACKAGES=/tmp/packages_start.txt 17:02:03 + END_PACKAGES=/tmp/packages_end.txt 17:02:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:02:03 + PACKAGES=/tmp/packages_start.txt 17:02:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-266 ']' 17:02:03 + PACKAGES=/tmp/packages_end.txt 17:02:03 + case "${OS_FAMILY}" in 17:02:03 + rpm -qa 17:02:03 + sort 17:02:04 + '[' -f /tmp/packages_start.txt ']' 17:02:04 + '[' -f /tmp/packages_end.txt ']' 17:02:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:02:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-266 ']' 17:02:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-266/archives/ 17:02:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-266/archives/ [Pipeline] echo 17:02:04 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-266/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:02:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:02:04 17:02:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:02:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:02:05 alpine: Pulling from edgex-lftools-log-publisher 17:02:05 df20fa9351a1: Pulling fs layer 17:02:05 36b3adc4ff6f: Pulling fs layer 17:02:05 8ad3a11d3b57: Pulling fs layer 17:02:05 46f8f816bc3b: Pulling fs layer 17:02:05 93b61091891f: Pulling fs layer 17:02:05 93b9cdb0e59b: Pulling fs layer 17:02:05 5e14af77c1be: Pulling fs layer 17:02:05 01666e4c0597: Pulling fs layer 17:02:05 aa168da1d23b: Pulling fs layer 17:02:05 46f8f816bc3b: Waiting 17:02:05 93b61091891f: Waiting 17:02:05 93b9cdb0e59b: Waiting 17:02:05 5e14af77c1be: Waiting 17:02:05 01666e4c0597: Waiting 17:02:05 aa168da1d23b: Waiting 17:02:05 36b3adc4ff6f: Verifying Checksum 17:02:05 36b3adc4ff6f: Download complete 17:02:05 46f8f816bc3b: Verifying Checksum 17:02:05 46f8f816bc3b: Download complete 17:02:05 df20fa9351a1: Verifying Checksum 17:02:05 df20fa9351a1: Download complete 17:02:05 93b9cdb0e59b: Verifying Checksum 17:02:05 93b9cdb0e59b: Download complete 17:02:05 93b61091891f: Verifying Checksum 17:02:05 93b61091891f: Download complete 17:02:05 8ad3a11d3b57: Verifying Checksum 17:02:05 8ad3a11d3b57: Download complete 17:02:05 5e14af77c1be: Verifying Checksum 17:02:05 5e14af77c1be: Download complete 17:02:05 01666e4c0597: Verifying Checksum 17:02:05 01666e4c0597: Download complete 17:02:05 df20fa9351a1: Pull complete 17:02:06 36b3adc4ff6f: Pull complete 17:02:07 8ad3a11d3b57: Pull complete 17:02:07 46f8f816bc3b: Pull complete 17:02:07 93b61091891f: Pull complete 17:02:07 93b9cdb0e59b: Pull complete 17:02:07 5e14af77c1be: Pull complete 17:02:07 01666e4c0597: Pull complete 17:02:08 aa168da1d23b: Verifying Checksum 17:02:08 aa168da1d23b: Download complete 17:02:12 aa168da1d23b: Pull complete 17:02:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:02:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:02:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:02:12 prd-centos7-docker-4c-2g-942 does not seem to be running inside a container 17:02:12 $ 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-266/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-266 -v /w/workspace/xfoundry_device-modbus-go_PR-266:/w/workspace/xfoundry_device-modbus-go_PR-266:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-266@tmp:/w/workspace/xfoundry_device-modbus-go_PR-266@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:02:21 $ docker top 48c6f064b7005a2a8dcf942f864fafb973cedc94ad4cabeeaf93f19055b9ae47 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:22 + touch /tmp/pre-build-complete [Pipeline] sh 17:02:22 + mkdir -p /var/log/sa [Pipeline] sh 17:02:22 + ls /var/log/sa-host 17:02:22 + sadf -c /var/log/sa-host/sa05 17:02:22 file_magic: OK 17:02:22 HZ: Using current value: 100 17:02:22 file_header: OK 17:02:22 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 17:02:22 Statistics: 17:02:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:02:22 File successfully converted to sysstat format version 12.2.1 17:02:22 + sadf -c /var/log/sa-host/sa23 17:02:22 file_magic: OK 17:02:22 HZ: Using current value: 100 17:02:22 file_header: OK 17:02:22 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 17:02:22 Statistics: 17:02:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:02:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:23 provisioning config files... 17:02:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-266@tmp/config963052007310952049tmp [Pipeline] { [Pipeline] echo 17:02:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:02:24 ---> create-netrc.sh [Pipeline] } 17:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:02:24 ---> python-tools-install.sh [Pipeline] echo 17:02:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:02:24 ---> sudo-logs.sh 17:02:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:02:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:02:25 ---> job-cost.sh 17:02:25 lf-activate-venv: SKIPPING 17:02:25 DEBUG: total: 0.18000000715255737 17:02:25 INFO: Retrieving Stack Cost... 17:02:26 INFO: Retrieving Pricing Info for: v3-standard-2 17:02:27 INFO: Archiving Costs [Pipeline] echo 17:02:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:02:27 ---> logs-deploy.sh 17:02:27 lf-activate-venv: SKIPPING 17:02:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-266/2 17:02:27 INFO: archiving workspace using pattern(s): 17:02:28 Archives upload complete. 17:02:28 INFO: archiving logs to Nexus 17:02:28 ---> uname -a: 17:02:28 Linux prd-centos7-docker-4c-2g-942.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 17:02:28 17:02:28 17:02:28 ---> lscpu: 17:02:28 Architecture: x86_64 17:02:28 CPU op-mode(s): 32-bit, 64-bit 17:02:28 Byte Order: Little Endian 17:02:28 Address sizes: 40 bits physical, 48 bits virtual 17:02:28 CPU(s): 2 17:02:28 On-line CPU(s) list: 0,1 17:02:28 Thread(s) per core: 1 17:02:28 Core(s) per socket: 1 17:02:28 Socket(s): 2 17:02:28 NUMA node(s): 1 17:02:28 Vendor ID: AuthenticAMD 17:02:28 CPU family: 23 17:02:28 Model: 49 17:02:28 Model name: AMD EPYC-Rome Processor 17:02:28 Stepping: 0 17:02:28 CPU MHz: 2799.998 17:02:28 BogoMIPS: 5599.99 17:02:28 Virtualization: AMD-V 17:02:28 Hypervisor vendor: KVM 17:02:28 Virtualization type: full 17:02:28 L1d cache: 64 KiB 17:02:28 L1i cache: 64 KiB 17:02:28 L2 cache: 1 MiB 17:02:28 L3 cache: 32 MiB 17:02:28 NUMA node0 CPU(s): 0,1 17:02:28 Vulnerability Itlb multihit: Not affected 17:02:28 Vulnerability L1tf: Not affected 17:02:28 Vulnerability Mds: Not affected 17:02:28 Vulnerability Meltdown: Not affected 17:02:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:02:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:02:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:02:28 Vulnerability Srbds: Not affected 17:02:28 Vulnerability Tsx async abort: Not affected 17:02:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 17:02:28 17:02:28 17:02:28 ---> nproc: 17:02:28 2 17:02:28 17:02:28 17:02:29 ---> df -h: 17:02:29 Filesystem Size Used Available Use% Mounted on 17:02:29 overlay 40.0G 7.6G 32.4G 19% / 17:02:29 tmpfs 64.0M 0 64.0M 0% /dev 17:02:29 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 17:02:29 shm 64.0M 0 64.0M 0% /dev/shm 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/xfoundry_device-modbus-go_PR-266 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/xfoundry_device-modbus-go_PR-266@tmp 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 17:02:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 17:02:29 17:02:29 17:02:29 ---> free -m: 17:02:29 total used free shared buff/cache available 17:02:29 Mem: 7821 989 4740 0 2091 6653 17:02:29 Swap: 1023 0 1023 17:02:29 17:02:29 17:02:29 ---> ip addr: 17:02:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:02:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:02:29 inet 127.0.0.1/8 scope host lo 17:02:29 valid_lft forever preferred_lft forever 17:02:29 inet6 ::1/128 scope host 17:02:29 valid_lft forever preferred_lft forever 17:02:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:02:29 link/ether fa:16:3e:02:3a:04 brd ff:ff:ff:ff:ff:ff 17:02:29 inet 10.30.123.124/23 brd 10.30.123.255 scope global dynamic eth0 17:02:29 valid_lft 85792sec preferred_lft 85792sec 17:02:29 inet6 fe80::f816:3eff:fe02:3a04/64 scope link 17:02:29 valid_lft forever preferred_lft forever 17:02:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:02:29 link/ether 02:42:a1:6e:8b:7e brd ff:ff:ff:ff:ff:ff 17:02:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:02:29 valid_lft forever preferred_lft forever 17:02:29 inet6 fe80::42:a1ff:fe6e:8b7e/64 scope link 17:02:29 valid_lft forever preferred_lft forever 17:02:29 17:02:29 17:02:29 ---> sar -b -r -n DEV: 17:02:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 17:02:29 17:02:29 16:52:08 LINUX RESTART (2 CPU) 17:02:29 17:02:29 16:53:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:02:29 16:54:01 4.57 0.19 4.39 0.00 23.57 147.62 0.00 17:02:29 16:55:01 0.38 0.00 0.38 0.00 0.00 6.76 0.00 17:02:29 16:56:01 0.30 0.00 0.30 0.00 0.00 3.91 0.00 17:02:29 16:57:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 17:02:29 16:58:01 0.20 0.00 0.20 0.00 0.00 1.83 0.00 17:02:29 16:59:01 0.35 0.00 0.35 0.00 0.00 4.71 0.00 17:02:29 17:00:01 0.22 0.00 0.22 0.00 0.00 2.83 0.00 17:02:29 17:01:01 0.33 0.02 0.32 0.00 0.13 4.48 0.00 17:02:29 17:02:01 0.43 0.10 0.33 0.00 1.73 4.76 0.00 17:02:29 Average: 0.77 0.03 0.74 0.00 2.79 19.72 0.00 17:02:29 17:02:29 16:53:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:02:29 16:54:01 5469964 0 802660 10.02 2620 1733688 1243296 13.73 569848 1571260 20 17:02:29 16:55:01 5470120 0 802496 10.02 2620 1733696 1220812 13.48 577120 1564284 20 17:02:29 16:56:01 5470904 0 801712 10.01 2620 1733696 1220728 13.48 573172 1567744 12 17:02:29 16:57:01 5472956 0 799656 9.98 2620 1733700 1205248 13.31 571548 1567744 8 17:02:29 16:58:01 5468716 0 803888 10.04 2620 1733708 1205512 13.31 570916 1572560 16 17:02:29 16:59:01 5470696 0 801904 10.01 2620 1733712 1205248 13.31 569468 1572560 20 17:02:29 17:00:01 5469280 0 803312 10.03 2620 1733720 1205248 13.31 570444 1572560 16 17:02:29 17:01:01 5456808 0 815780 10.19 2620 1733724 1207588 13.33 582552 1572560 8 17:02:29 17:02:01 5456316 0 816148 10.19 2620 1733848 1205756 13.31 583324 1572620 16 17:02:29 Average: 5467307 0 805284 10.05 2620 1733721 1213271 13.40 574266 1570432 15 17:02:29 17:02:29 16:53:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:02:29 16:54:01 eth0 14.78 8.98 13.33 3.54 0.00 0.00 0.00 0.00 17:02:29 16:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:55:01 eth0 1.78 0.73 0.66 0.41 0.00 0.00 0.00 0.00 17:02:29 16:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:56:01 eth0 0.53 0.30 0.27 0.20 0.00 0.00 0.00 0.00 17:02:29 16:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:57:01 eth0 0.77 0.02 0.06 0.00 0.00 0.00 0.00 0.00 17:02:29 16:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:58:01 eth0 1.62 0.65 0.72 0.43 0.00 0.00 0.00 0.00 17:02:29 16:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:59:01 eth0 0.10 0.07 0.01 0.04 0.00 0.00 0.00 0.00 17:02:29 16:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 16:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:00:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:02:29 17:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:01:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:02:29 17:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:02:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:02:29 17:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 Average: eth0 2.19 1.21 1.65 0.51 0.00 0.00 0.00 0.00 17:02:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:29 17:02:29 17:02:29 ---> sar -P ALL: 17:02:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 17:02:29 17:02:29 16:52:08 LINUX RESTART (2 CPU) 17:02:29 17:02:29 16:53:02 CPU %user %nice %system %iowait %steal %idle 17:02:29 16:54:01 all 0.55 0.00 0.30 0.03 0.03 99.10 17:02:29 16:54:01 0 0.61 0.00 0.36 0.03 0.02 98.98 17:02:29 16:54:01 1 0.49 0.00 0.24 0.02 0.03 99.22 17:02:29 16:55:01 all 0.18 0.00 0.06 0.00 0.02 99.74 17:02:29 16:55:01 0 0.08 0.00 0.07 0.00 0.03 99.82 17:02:29 16:55:01 1 0.28 0.00 0.05 0.00 0.00 99.67 17:02:29 16:56:01 all 0.13 0.00 0.03 0.00 0.03 99.82 17:02:29 16:56:01 0 0.03 0.00 0.02 0.00 0.02 99.93 17:02:29 16:56:01 1 0.23 0.00 0.03 0.00 0.03 99.70 17:02:29 16:57:01 all 0.12 0.00 0.03 0.00 0.03 99.83 17:02:29 16:57:01 0 0.05 0.00 0.02 0.00 0.02 99.92 17:02:29 16:57:01 1 0.18 0.00 0.03 0.00 0.03 99.75 17:02:29 16:58:01 all 0.18 0.00 0.03 0.00 0.01 99.77 17:02:29 16:58:01 0 0.07 0.00 0.05 0.00 0.00 99.88 17:02:29 16:58:01 1 0.30 0.00 0.02 0.00 0.02 99.67 17:02:29 16:59:01 all 0.18 0.00 0.03 0.00 0.02 99.78 17:02:29 16:59:01 0 0.02 0.00 0.02 0.00 0.02 99.95 17:02:29 16:59:01 1 0.33 0.00 0.03 0.00 0.02 99.62 17:02:29 17:00:01 all 0.13 0.00 0.04 0.01 0.02 99.81 17:02:29 17:00:01 0 0.05 0.00 0.05 0.00 0.02 99.88 17:02:29 17:00:01 1 0.20 0.00 0.03 0.02 0.02 99.73 17:02:29 17:01:01 all 0.13 0.00 0.04 0.00 0.02 99.81 17:02:29 17:01:01 0 0.05 0.00 0.07 0.00 0.03 99.85 17:02:29 17:01:01 1 0.22 0.00 0.02 0.00 0.00 99.77 17:02:29 17:02:01 all 0.15 0.00 0.04 0.01 0.01 99.79 17:02:29 17:02:01 0 0.05 0.00 0.03 0.00 0.00 99.92 17:02:29 17:02:01 1 0.25 0.00 0.05 0.02 0.02 99.67 17:02:29 Average: all 0.19 0.00 0.07 0.00 0.02 99.72 17:02:29 Average: 0 0.11 0.00 0.07 0.00 0.02 99.79 17:02:29 Average: 1 0.28 0.00 0.06 0.01 0.02 99.64 17:02:29 17:02:29 17:02:29