Started by upstream project "edgexfoundry/cd-management/release-lts" build number 23 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 134ea97e9de4ceea43639929958c6703127f10e1 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4562332175767888661.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c08e7f8731fc7e59a0f5fb348e3763e45cee7116 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6213903853285121080.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 c08e7f8731fc7e59a0f5fb348e3763e45cee7116 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/jakarta/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5745652378190943514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c08e7f8731fc7e59a0f5fb348e3763e45cee7116 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c08e7f8731fc7e59a0f5fb348e3763e45cee7116 # timeout=10 Commit message: "Merge pull request #367 from ernestojeda/semver-ssh-key" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1377404776474980868.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/jakarta/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5987865763746287986.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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-builder-2c-1g-1170’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1172’ is offline Running on prd-centos7-docker-4c-2g-1175 in /w/workspace/foundry_device-modbus-go_jakarta [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/foundry_device-modbus-go_jakarta # timeout=10 Avoid second fetch Checking out Revision 134ea97e9de4ceea43639929958c6703127f10e1 (jakarta) 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-modbus-go_jakarta@tmp/jenkins-gitclient-ssh325965926310748256.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 core.sparsecheckout # timeout=10 > git checkout -f 134ea97e9de4ceea43639929958c6703127f10e1 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @b97db6a" > git rev-list --no-walk 134ea97e9de4ceea43639929958c6703127f10e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:09:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:09:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:09:03 ========================================================= 01:09:03 EdgeX Global Pipelines Version Info 01:09:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:09:04 ------------------- 01:09:04 stable info: 01:09:04 ------------------- 01:09:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:09:04 Commit SHA: c08e7f8731fc7e59a0f5fb348e3763e45cee7116 01:09:04 Message: update stable to v2.0.216 01:09:05 ------------------- 01:09:05 experimental info: 01:09:05 ------------------- 01:09:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:09:05 Commit SHA: c08e7f8731fc7e59a0f5fb348e3763e45cee7116 01:09:05 Message: experimental @2.0.216 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:09:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:09:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:09:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 01:09:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] echo 01:09:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 134ea97 [Pipeline] echo 01:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:10 provisioning config files... 01:09:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config9147276120320963795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:12 ---> docker-login.sh 01:09:12 nexus3.edgexfoundry.org:10001 01:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:12 Configure a credential helper to remove this warning. See 01:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:12 01:09:12 Login Succeeded 01:09:12 nexus3.edgexfoundry.org:10002 01:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:12 Configure a credential helper to remove this warning. See 01:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:12 01:09:12 Login Succeeded 01:09:12 nexus3.edgexfoundry.org:10003 01:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:12 Configure a credential helper to remove this warning. See 01:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:12 01:09:12 Login Succeeded 01:09:12 nexus3.edgexfoundry.org:10004 01:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:12 Configure a credential helper to remove this warning. See 01:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:12 01:09:12 Login Succeeded 01:09:12 docker.io 01:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:12 Configure a credential helper to remove this warning. See 01:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:12 01:09:12 Login Succeeded 01:09:12 ---> docker-login.sh ends [Pipeline] } 01:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:09:14 + git rev-list -1 --merges 134ea97e9de4ceea43639929958c6703127f10e1~1..134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] echo 01:09:14 -----------> git rev-list -1 --merges 134ea97e9de4ceea43639929958c6703127f10e1~1..134ea97e9de4ceea43639929958c6703127f10e1 134ea97e9de4ceea43639929958c6703127f10e1 [false] [Pipeline] sh 01:09:15 + git log --format=format:%s -1 134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] echo 01:09:15 ========================================================= 01:09:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 01:09:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:16 + git log --format=format:%s -1 134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] echo 01:09:16 [semverPrep] GIT_COMMIT: 134ea97e9de4ceea43639929958c6703127f10e1, Commit Message: ci(lts-release): LTS release v2.1.0 @b97db6a [Pipeline] echo 01:09:16 [semverPrep] This is not a build commit. [Pipeline] sh 01:09:18 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:09:19 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:09:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:09:19 + sudo tee -a /etc/ssh/ssh_known_hosts 01:09:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:21 01:09:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:09:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:22 latest: Pulling from edgex-devops/git-semver 01:09:22 a0d0a0d46f8b: Pulling fs layer 01:09:22 3e5f54012d9b: Pulling fs layer 01:09:22 4c7163046ea9: Pulling fs layer 01:09:22 0c2d73faf560: Pulling fs layer 01:09:22 0c2d73faf560: Waiting 01:09:22 3e5f54012d9b: Verifying Checksum 01:09:22 3e5f54012d9b: Download complete 01:09:22 a0d0a0d46f8b: Verifying Checksum 01:09:22 a0d0a0d46f8b: Download complete 01:09:22 0c2d73faf560: Verifying Checksum 01:09:22 0c2d73faf560: Download complete 01:09:22 4c7163046ea9: Verifying Checksum 01:09:22 4c7163046ea9: Download complete 01:09:22 a0d0a0d46f8b: Pull complete 01:09:22 3e5f54012d9b: Pull complete 01:09:22 4c7163046ea9: Pull complete 01:09:24 0c2d73faf560: Pull complete 01:09:24 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:09:24 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:09:24 $ docker top 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:09:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:25 [ssh-agent] Looking for ssh-agent implementation... 01:09:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:25 $ docker exec 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 ssh-agent 01:09:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEoACeE/agent.13 01:09:25 SSH_AGENT_PID=19 01:09:25 Running ssh-add (command line suppressed) 01:09:25 Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_5998249884657932806.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_5998249884657932806.key) 01:09:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:26 + git tag --points-at 134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] } 01:09:26 $ docker exec --env ******** --env ******** 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 ssh-agent -k 01:09:26 unset SSH_AUTH_SOCK; 01:09:26 unset SSH_AGENT_PID; 01:09:26 echo Agent pid 19 killed; 01:09:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:09:26 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 01:09:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:26 [ssh-agent] Looking for ssh-agent implementation... 01:09:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:26 $ docker exec 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 ssh-agent 01:09:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhakLKD/agent.53 01:09:26 SSH_AGENT_PID=60 01:09:26 Running ssh-add (command line suppressed) 01:09:27 Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_7639169457742118132.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_7639169457742118132.key) 01:09:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:27 + git semver init 01:09:27 # -> Open(): unable to determine branch for HEAD 01:09:27 # $GIT_DIR = /w/workspace/foundry_device-modbus-go_jakarta/.git 01:09:27 # $GIT_WORK_TREE = /w/workspace/foundry_device-modbus-go_jakarta 01:09:27 # $SEMVER_REMOTE_NAME = origin 01:09:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:09:27 # $SEMVER_USER_NAME = edgex-jenkins 01:09:27 # $SEMVER_BRANCH = jakarta 01:09:27 # $SEMVER_TEMP = /tmp/semver-864046292 01:09:27 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 01:09:29 # '/tmp/semver-864046292' -> '/w/workspace/foundry_device-modbus-go_jakarta/.semver' 01:09:29 # -> Force: false 01:09:29 # $SEMVER_DIR = /w/workspace/foundry_device-modbus-go_jakarta/.semver [Pipeline] } 01:09:29 $ docker exec --env ******** --env ******** 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 ssh-agent -k 01:09:29 unset SSH_AUTH_SOCK; 01:09:29 unset SSH_AGENT_PID; 01:09:29 echo Agent pid 60 killed; 01:09:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:09:29 + git semver [Pipeline] } 01:09:29 $ docker stop --time=1 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 01:09:30 $ docker rm -f 98c68964b21ac8da6b09670365a0b71bab15843645ecaf85df426fa5a2da8977 [Pipeline] // withDockerContainer [Pipeline] sh 01:09:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:09:32 Stashed 1 file(s) [Pipeline] echo 01:09:32 [edgeXSemver]: initialized semver on version 2.1.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 01:09:33 Running on prd-centos7-docker-4c-2g-1179 in /w/workspace/foundry_device-modbus-go_jakarta [Pipeline] { [Pipeline] ws 01:09:33 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 01:09:33 Selected Git installation does not exist. Using Default 01:09:33 The recommended git tool is: NONE 01:09:38 using credential edgex-jenkins-ssh 01:09:38 Cloning the remote Git repository 01:09:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:09:38 > git init /w/workspace/device-modbus-go/3 # timeout=10 01:09:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:09:39 > git --version # timeout=10 01:09:39 > git --version # 'git version 2.24.4' 01:09:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:39 [INFO] Currently running in a labeled security context 01:09:39 [INFO] Currently SELinux is 'enforcing' on the host 01:09:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/3@tmp/jenkins-gitclient-ssh2663234712747022657.key 01:09:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:39 Avoid second fetch 01:09:39 Checking out Revision 134ea97e9de4ceea43639929958c6703127f10e1 (jakarta) 01:09:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:09:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:39 > git config core.sparsecheckout # timeout=10 01:09:39 > git checkout -f 134ea97e9de4ceea43639929958c6703127f10e1 # timeout=10 01:09:44 Commit message: "ci(lts-release): LTS release v2.1.0 @b97db6a" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:45 + git checkout 134ea97e9de4ceea43639929958c6703127f10e1 01:09:45 HEAD is now at 134ea97 ci(lts-release): LTS release v2.1.0 @b97db6a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:45 provisioning config files... 01:09:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config7788198401985270336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:45 ---> docker-login.sh 01:09:45 nexus3.edgexfoundry.org:10001 01:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:46 Configure a credential helper to remove this warning. See 01:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:46 01:09:46 Login Succeeded 01:09:46 nexus3.edgexfoundry.org:10002 01:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:46 Configure a credential helper to remove this warning. See 01:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:46 01:09:46 Login Succeeded 01:09:46 nexus3.edgexfoundry.org:10003 01:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:46 Configure a credential helper to remove this warning. See 01:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:46 01:09:46 Login Succeeded 01:09:46 nexus3.edgexfoundry.org:10004 01:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:46 Configure a credential helper to remove this warning. See 01:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:46 01:09:46 Login Succeeded 01:09:46 docker.io 01:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:46 Configure a credential helper to remove this warning. See 01:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:46 01:09:46 Login Succeeded 01:09:46 ---> docker-login.sh ends [Pipeline] } 01:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:46 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:46 ========================================================= 01:09:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 01:09:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:09:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg 'MAKE=echo noop' --target=builder . 01:09:47 Sending build context to Docker daemon 14.16MB 01:09:47 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:09:47 Step 2/9 : FROM ${BASE} AS builder 01:09:47 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 01:09:47 a0d0a0d46f8b: Pulling fs layer 01:09:47 31adcdaf11c8: Pulling fs layer 01:09:47 b8b176561691: Pulling fs layer 01:09:47 4527c011a84f: Pulling fs layer 01:09:47 5d74067f8e1e: Pulling fs layer 01:09:47 36f58ee4fdd2: Pulling fs layer 01:09:47 32f094029db3: Pulling fs layer 01:09:47 773a5188bba9: Pulling fs layer 01:09:47 0a89ddfe6704: Pulling fs layer 01:09:47 4527c011a84f: Waiting 01:09:47 5d74067f8e1e: Waiting 01:09:47 36f58ee4fdd2: Waiting 01:09:47 32f094029db3: Waiting 01:09:47 773a5188bba9: Waiting 01:09:47 0a89ddfe6704: Waiting 01:09:47 b8b176561691: Verifying Checksum 01:09:47 b8b176561691: Download complete 01:09:47 31adcdaf11c8: Verifying Checksum 01:09:47 31adcdaf11c8: Download complete 01:09:47 5d74067f8e1e: Verifying Checksum 01:09:47 5d74067f8e1e: Download complete 01:09:47 36f58ee4fdd2: Verifying Checksum 01:09:47 36f58ee4fdd2: Download complete 01:09:47 32f094029db3: Verifying Checksum 01:09:47 32f094029db3: Download complete 01:09:47 a0d0a0d46f8b: Download complete 01:09:47 773a5188bba9: Verifying Checksum 01:09:47 773a5188bba9: Download complete 01:09:48 a0d0a0d46f8b: Pull complete 01:09:48 31adcdaf11c8: Pull complete 01:09:48 b8b176561691: Pull complete 01:09:48 4527c011a84f: Verifying Checksum 01:09:48 4527c011a84f: Download complete 01:09:48 0a89ddfe6704: Verifying Checksum 01:09:48 0a89ddfe6704: Download complete 01:09:48 Still waiting to schedule task 01:09:48 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1169’ 01:09:52 4527c011a84f: Pull complete 01:09:52 5d74067f8e1e: Pull complete 01:09:52 36f58ee4fdd2: Pull complete 01:09:52 32f094029db3: Pull complete 01:09:52 773a5188bba9: Pull complete 01:09:55 0a89ddfe6704: Pull complete 01:09:55 Digest: sha256:1b40dceaf34dee7ca55b3c49faf64f21c87f0328d9001acbe5b0b15629491fba 01:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 01:09:55 ---> dd279347b56d 01:09:55 Step 3/9 : ARG MAKE='make build' 01:09:57 ---> Running in 76b84b14cd96 01:09:57 Removing intermediate container 76b84b14cd96 01:09:57 ---> 442f339649d1 01:09:57 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:57 ---> Running in 510b91665360 01:09:57 Removing intermediate container 510b91665360 01:09:57 ---> 0fdb7eda3ab7 01:09:57 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:09:57 ---> Running in 06d07c5fb6f2 01:09:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:09:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:09:59 (1/8) Installing openssh-keygen (8.6_p1-r3) 01:09:59 (2/8) Installing libedit (20210216.3.1-r0) 01:09:59 (3/8) Installing openssh-client-common (8.6_p1-r3) 01:09:59 (4/8) Installing openssh-client-default (8.6_p1-r3) 01:09:59 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 01:09:59 (6/8) Installing openssh-server-common (8.6_p1-r3) 01:09:59 (7/8) Installing openssh-server (8.6_p1-r3) 01:09:59 (8/8) Installing openssh (8.6_p1-r3) 01:09:59 Executing busybox-1.33.1-r3.trigger 01:09:59 OK: 226 MiB in 60 packages 01:10:00 Removing intermediate container 06d07c5fb6f2 01:10:00 ---> ca0fed16592b 01:10:00 Step 6/9 : WORKDIR /device-modbus-go 01:10:00 ---> Running in 1fff54b0f270 01:10:00 Removing intermediate container 1fff54b0f270 01:10:00 ---> c8219ef7a75b 01:10:00 Step 7/9 : COPY . . 01:10:01 ---> 2c174078953c 01:10:01 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:01 ---> Running in f7ae1e6000a4 01:10:01 skipping... 01:10:01 Removing intermediate container f7ae1e6000a4 01:10:01 ---> 1e6c3de62687 01:10:01 Step 9/9 : RUN ${MAKE} 01:10:01 ---> Running in f7f1b0dde81f 01:10:01 noop 01:10:02 Removing intermediate container f7f1b0dde81f 01:10:02 ---> 1e8b7dddc444 01:10:02 Successfully built 1e8b7dddc444 01:10:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:10:02 + docker inspect -f . ci-base-image-x86_64 01:10:02 . [Pipeline] withDockerContainer 01:10:02 prd-centos7-docker-4c-2g-1179 does not seem to be running inside a container 01:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:02 $ docker top b75b78162404e7ae71ba0ab7ffc7c878edc7c87417e992e9b9b5f012344d816f -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:03 + go version 01:10:03 go version go1.16.8 linux/amd64 [Pipeline] } 01:10:03 $ docker stop --time=1 b75b78162404e7ae71ba0ab7ffc7c878edc7c87417e992e9b9b5f012344d816f 01:10:04 $ docker rm -f b75b78162404e7ae71ba0ab7ffc7c878edc7c87417e992e9b9b5f012344d816f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:10:05 + docker inspect -f . ci-base-image-x86_64 01:10:05 . [Pipeline] withDockerContainer 01:10:05 prd-centos7-docker-4c-2g-1179 does not seem to be running inside a container 01:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:05 $ docker top 3ec2db577c122b11087c0ea7c0c5b7d3ef4f446c68bf8abafeb7b380f2124a5f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:10:07 + make test 01:10:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:10:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:10:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:10:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 01:10:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:10:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:10:30 ./bin/test-attribution-txt.sh 01:10:31 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:10:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:10:31 go: downloading github.com/goburrow/modbus v0.1.0 01:10:31 go: downloading github.com/stretchr/testify v1.7.0 01:10:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:10:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:10:31 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:10:31 go: downloading github.com/google/uuid v1.3.0 01:10:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:10:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:10:31 go: downloading github.com/gorilla/mux v1.8.0 01:10:31 go: downloading github.com/pelletier/go-toml v1.9.4 01:10:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:10:31 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:10:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:10:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:10:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:10:31 go: downloading github.com/hashicorp/consul/api v1.9.1 01:10:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:10:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:10:31 go: downloading github.com/go-kit/kit v0.11.0 01:10:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:10:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:10:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:10:31 go: downloading github.com/pebbe/zmq4 v1.2.7 01:10:31 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:10:31 go: downloading github.com/goburrow/serial v0.1.0 01:10:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:10:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:10:31 go: downloading github.com/mitchellh/copystructure v1.0.0 01:10:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:10:31 go: downloading github.com/davecgh/go-spew v1.1.1 01:10:31 go: downloading github.com/pmezard/go-difflib v1.0.0 01:10:31 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:10:31 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:10:32 go: downloading golang.org/x/text v0.3.6 01:10:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:10:33 go: downloading github.com/hashicorp/errwrap v1.0.0 01:10:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:10:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:10:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:10:33 go: downloading github.com/hashicorp/serf v0.9.5 01:10:33 go: downloading github.com/x448/float16 v0.8.4 01:10:33 go: downloading github.com/go-playground/universal-translator v0.18.0 01:10:33 go: downloading github.com/leodido/go-urn v1.2.1 01:10:33 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:10:33 go: downloading github.com/gorilla/websocket v1.4.2 01:10:33 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:10:33 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:10:33 go: downloading github.com/fatih/color v1.9.0 01:10:33 go: downloading github.com/mattn/go-colorable v0.1.6 01:10:33 go: downloading github.com/mattn/go-isatty v0.0.12 01:10:33 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:10:34 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:10:35 + go mod tidy 01:10:35 go: downloading github.com/go-stack/stack v1.8.0 01:10:35 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:10:35 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:10:35 go: downloading github.com/stretchr/objx v0.1.1 01:10:35 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:10:35 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:10:35 go: downloading github.com/kr/pretty v0.3.0 01:10:35 go: downloading github.com/onsi/ginkgo v1.10.1 01:10:35 go: downloading github.com/onsi/gomega v1.7.0 01:10:35 go: downloading github.com/pkg/errors v0.9.1 01:10:35 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:10:35 go: downloading github.com/hashicorp/memberlist v0.2.2 01:10:35 go: downloading github.com/kr/text v0.2.0 01:10:35 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:10:35 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:10:35 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:10:35 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:10:35 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:10:35 go: downloading github.com/miekg/dns v1.1.26 01:10:35 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:10:35 go: downloading gopkg.in/yaml.v2 v2.3.0 01:10:35 go: downloading github.com/hpcloud/tail v1.0.0 01:10:35 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:10:35 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:10:35 $ docker stop --time=1 3ec2db577c122b11087c0ea7c0c5b7d3ef4f446c68bf8abafeb7b380f2124a5f 01:10:38 $ docker rm -f 3ec2db577c122b11087c0ea7c0c5b7d3ef4f446c68bf8abafeb7b380f2124a5f [Pipeline] // withDockerContainer [Pipeline] sh 01:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:10:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:10:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:42 + ls -al . 01:10:42 total 152 01:10:42 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 18 01:10 . 01:10:42 drwxrwxr-x. 4 jenkins jenkins 28 Nov 18 01:09 .. 01:10:42 -rw-rw-r--. 1 jenkins jenkins 8010 Nov 18 01:09 Attribution.txt 01:10:42 drwxrwxr-x. 2 jenkins jenkins 60 Nov 18 01:09 bin 01:10:42 -rw-rw-r--. 1 jenkins jenkins 6038 Nov 18 01:09 CHANGELOG.md 01:10:42 drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 01:09 cmd 01:10:42 -rw-r--r--. 1 jenkins jenkins 23727 Nov 18 01:10 coverage.out 01:10:42 -rw-rw-r--. 1 jenkins jenkins 1523 Nov 18 01:09 Dockerfile 01:10:42 -rw-rw-r--. 1 jenkins jenkins 140 Nov 18 01:09 .dockerignore 01:10:42 drwxrwxr-x. 8 jenkins jenkins 162 Nov 18 01:09 .git 01:10:42 drwxrwxr-x. 2 jenkins jenkins 103 Nov 18 01:09 .github 01:10:42 -rw-rw-r--. 1 jenkins jenkins 323 Nov 18 01:09 .gitignore 01:10:42 -rw-rw-r--. 1 jenkins jenkins 294 Nov 18 01:10 go.mod 01:10:42 -rw-rw-r--. 1 jenkins jenkins 49487 Nov 18 01:09 go.sum 01:10:42 -rw-rw-r--. 1 jenkins jenkins 677 Nov 18 01:09 GOVERNANCE.md 01:10:42 drwxrwxr-x. 3 jenkins jenkins 20 Nov 18 01:09 internal 01:10:42 -rw-rw-r--. 1 jenkins jenkins 679 Nov 18 01:09 Jenkinsfile 01:10:42 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 01:09 LICENSE 01:10:42 -rw-rw-r--. 1 jenkins jenkins 1009 Nov 18 01:09 Makefile 01:10:42 -rw-rw-r--. 1 jenkins jenkins 622 Nov 18 01:09 OWNERS.md 01:10:42 -rw-rw-r--. 1 jenkins jenkins 3488 Nov 18 01:09 README.md 01:10:42 drwxrwxr-x. 2 jenkins jenkins 52 Nov 18 01:09 simulator 01:10:42 drwxrwxr-x. 4 jenkins jenkins 71 Nov 18 01:09 snap 01:10:42 drwxrwxr-x. 6 jenkins jenkins 98 Nov 18 01:09 vendor 01:10:42 -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 01:09 VERSION 01:10:42 -rw-rw-r--. 1 jenkins jenkins 229 Nov 18 01:09 version.go [Pipeline] isUnix [Pipeline] sh 01:10:42 + 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=134ea97e9de4ceea43639929958c6703127f10e1 --label arch=amd64 --label version=2.1.0 . 01:10:42 Sending build context to Docker daemon 14.19MB 01:10:42 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 01:10:42 Step 2/22 : FROM ${BASE} AS builder 01:10:42 ---> 1e8b7dddc444 01:10:42 Step 3/22 : ARG MAKE='make build' 01:10:42 ---> Running in 6d3dbe203f31 01:10:42 Removing intermediate container 6d3dbe203f31 01:10:42 ---> 7ac508e8591e 01:10:42 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:42 ---> Running in 71c0505dea2a 01:10:44 Removing intermediate container 71c0505dea2a 01:10:44 ---> c799989a60a3 01:10:44 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:10:44 ---> Running in 2be4e8df0155 01:10:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:10:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:10:44 OK: 226 MiB in 60 packages 01:10:44 Removing intermediate container 2be4e8df0155 01:10:44 ---> ccf71065a0ce 01:10:44 Step 6/22 : WORKDIR /device-modbus-go 01:10:44 ---> Running in 2e2fcf94dba9 01:10:45 Removing intermediate container 2e2fcf94dba9 01:10:45 ---> 4624d50e62cf 01:10:45 Step 7/22 : COPY . . 01:10:46 ---> 01e11028348d 01:10:46 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:46 ---> Running in 9b65cce95b24 01:10:46 skipping... 01:10:46 Removing intermediate container 9b65cce95b24 01:10:46 ---> 3a7b56019ca5 01:10:46 Step 9/22 : RUN ${MAKE} 01:10:46 ---> Running in 9da3c59d3c81 01:10:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.0" -o cmd/device-modbus ./cmd 01:10:59 Removing intermediate container 9da3c59d3c81 01:10:59 ---> 9f9d81fc80ec 01:10:59 Step 10/22 : FROM alpine:3.14 01:10:59 3.14: Pulling from library/alpine 01:10:59 97518928ae5f: Pulling fs layer 01:10:59 97518928ae5f: Verifying Checksum 01:10:59 97518928ae5f: Download complete 01:10:59 97518928ae5f: Pull complete 01:10:59 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:10:59 Status: Downloaded newer image for alpine:3.14 01:10:59 ---> 0a97eee8041e 01:10:59 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:10:59 ---> Running in 67308eddd70c 01:10:59 Removing intermediate container 67308eddd70c 01:10:59 ---> 5a304413d8f8 01:10:59 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:59 ---> Running in 45ad08a89642 01:11:00 Removing intermediate container 45ad08a89642 01:11:00 ---> cef3e72974de 01:11:00 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 01:11:00 ---> Running in 24c35fffd438 01:11:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:11:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:11:01 (1/6) Installing dumb-init (1.2.5-r1) 01:11:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:11:01 (3/6) Installing libsodium (1.0.18-r0) 01:11:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:11:01 (5/6) Installing libzmq (4.3.4-r0) 01:11:01 (6/6) Installing zeromq (4.3.4-r0) 01:11:01 Executing busybox-1.33.1-r6.trigger 01:11:01 OK: 8 MiB in 20 packages 01:11:02 Removing intermediate container 24c35fffd438 01:11:02 ---> a6db30ef3205 01:11:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:11:03 ---> 6c23ce7a01f5 01:11:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:11:03 ---> 1e851fa351d3 01:11:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:11:03 ---> 2da52d661a58 01:11:03 Step 17/22 : EXPOSE 59901 01:11:03 ---> Running in 5ce7f5a22eb2 01:11:03 Removing intermediate container 5ce7f5a22eb2 01:11:03 ---> f38f4058b59c 01:11:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:11:03 ---> Running in 1881575a2f5f 01:11:03 Removing intermediate container 1881575a2f5f 01:11:03 ---> 4f6bbe518508 01:11:03 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:11:03 ---> Running in 1b7e01816d89 01:11:03 Removing intermediate container 1b7e01816d89 01:11:03 ---> b894c976bb7b 01:11:03 Step 20/22 : LABEL arch=amd64 01:11:03 ---> Running in 66c3ad0d5870 01:11:03 Removing intermediate container 66c3ad0d5870 01:11:03 ---> 30fda9fdac17 01:11:03 Step 21/22 : LABEL git_sha=134ea97e9de4ceea43639929958c6703127f10e1 01:11:03 ---> Running in f301b4b6304b 01:11:03 Removing intermediate container f301b4b6304b 01:11:03 ---> 1f1299f1521b 01:11:03 Step 22/22 : LABEL version=2.1.0 01:11:03 ---> Running in 76e7d3a907d7 01:11:03 Removing intermediate container 76e7d3a907d7 01:11:03 ---> 52c1531ca763 01:11:03 [Warning] One or more build-args [ARCH] were not consumed 01:11:03 Successfully built 52c1531ca763 01:11:03 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:03 provisioning config files... 01:11:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config6095209896218107421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:04 ---> docker-login.sh 01:11:04 nexus3.edgexfoundry.org:10001 01:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:04 Configure a credential helper to remove this warning. See 01:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:04 01:11:04 Login Succeeded 01:11:04 nexus3.edgexfoundry.org:10002 01:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:04 Configure a credential helper to remove this warning. See 01:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:04 01:11:04 Login Succeeded 01:11:04 nexus3.edgexfoundry.org:10003 01:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:05 Configure a credential helper to remove this warning. See 01:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:05 01:11:05 Login Succeeded 01:11:05 nexus3.edgexfoundry.org:10004 01:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:05 Configure a credential helper to remove this warning. See 01:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:05 01:11:05 Login Succeeded 01:11:05 docker.io 01:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:06 Configure a credential helper to remove this warning. See 01:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:06 01:11:06 Login Succeeded 01:11:06 ---> docker-login.sh ends [Pipeline] } 01:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:11:06 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 01:11:06 134ea97e9de4ceea43639929958c6703127f10e1 01:11:06 2.1.0 01:11:06 134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:11:06 jakarta 01:11:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] isUnix [Pipeline] sh 01:11:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1 01:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:11:06 2b4ec71f2683: Preparing 01:11:06 19bdb54139f2: Preparing 01:11:06 fb85c91266b0: Preparing 01:11:06 2eeb02f0c1e8: Preparing 01:11:06 086e00912d46: Preparing 01:11:06 1a058d5342cc: Preparing 01:11:06 1a058d5342cc: Waiting 01:11:07 19bdb54139f2: Pushed 01:11:07 1a058d5342cc: Layer already exists 01:11:07 086e00912d46: Pushed 01:11:07 2b4ec71f2683: Pushed 01:11:07 2eeb02f0c1e8: Pushed 01:11:08 fb85c91266b0: Pushed 01:11:08 134ea97e9de4ceea43639929958c6703127f10e1: digest: sha256:8fa27bc0dfcdade622dcf980e904c781e56160dd86c305c16ae40e38c660af96 size: 1573 [Pipeline] isUnix [Pipeline] sh 01:11:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.1.0 [Pipeline] isUnix [Pipeline] sh 01:11:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.1.0 01:11:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:11:08 2b4ec71f2683: Preparing 01:11:08 19bdb54139f2: Preparing 01:11:08 fb85c91266b0: Preparing 01:11:08 2eeb02f0c1e8: Preparing 01:11:08 086e00912d46: Preparing 01:11:08 1a058d5342cc: Preparing 01:11:08 1a058d5342cc: Waiting 01:11:08 086e00912d46: Layer already exists 01:11:08 fb85c91266b0: Layer already exists 01:11:08 2eeb02f0c1e8: Layer already exists 01:11:08 2b4ec71f2683: Layer already exists 01:11:08 19bdb54139f2: Layer already exists 01:11:08 1a058d5342cc: Layer already exists 01:11:08 2.1.0: digest: sha256:8fa27bc0dfcdade622dcf980e904c781e56160dd86c305c16ae40e38c660af96 size: 1573 [Pipeline] isUnix [Pipeline] sh 01:11:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 [Pipeline] isUnix [Pipeline] sh 01:11:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:11:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:11:09 2b4ec71f2683: Preparing 01:11:09 19bdb54139f2: Preparing 01:11:09 fb85c91266b0: Preparing 01:11:09 2eeb02f0c1e8: Preparing 01:11:09 086e00912d46: Preparing 01:11:09 1a058d5342cc: Preparing 01:11:09 1a058d5342cc: Waiting 01:11:09 2b4ec71f2683: Layer already exists 01:11:09 fb85c91266b0: Layer already exists 01:11:09 2eeb02f0c1e8: Layer already exists 01:11:09 086e00912d46: Layer already exists 01:11:09 19bdb54139f2: Layer already exists 01:11:09 1a058d5342cc: Layer already exists 01:11:09 134ea97e9de4ceea43639929958c6703127f10e1-2.1.0: digest: sha256:8fa27bc0dfcdade622dcf980e904c781e56160dd86c305c16ae40e38c660af96 size: 1573 [Pipeline] isUnix [Pipeline] sh 01:11:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] isUnix [Pipeline] sh 01:11:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:jakarta 01:11:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:11:10 2b4ec71f2683: Preparing 01:11:10 19bdb54139f2: Preparing 01:11:10 fb85c91266b0: Preparing 01:11:10 2eeb02f0c1e8: Preparing 01:11:10 086e00912d46: Preparing 01:11:10 1a058d5342cc: Preparing 01:11:10 1a058d5342cc: Waiting 01:11:10 086e00912d46: Layer already exists 01:11:10 2b4ec71f2683: Layer already exists 01:11:10 19bdb54139f2: Layer already exists 01:11:10 2eeb02f0c1e8: Layer already exists 01:11:10 fb85c91266b0: Layer already exists 01:11:10 1a058d5342cc: Layer already exists 01:11:10 jakarta: digest: sha256:8fa27bc0dfcdade622dcf980e904c781e56160dd86c305c16ae40e38c660af96 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:11:11 ===================================================== [Pipeline] echo 01:11:11 taggedImages: 01:11:11 - nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1 01:11:11 - nexus3.edgexfoundry.org:10004/device-modbus:2.1.0 01:11:11 - nexus3.edgexfoundry.org:10004/device-modbus:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:11:11 - nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:11 01:11:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:11:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:11 latest: Pulling from edgex-lftools-log-publisher 01:11:11 b4d181a07f80: Pulling fs layer 01:11:11 a1111a8f2ec3: Pulling fs layer 01:11:11 ed53099fbce6: Pulling fs layer 01:11:11 dc539afda2c1: Pulling fs layer 01:11:11 77bc0d833cb6: Pulling fs layer 01:11:11 9065ff56babe: Pulling fs layer 01:11:11 d287ab97295c: Pulling fs layer 01:11:11 dc539afda2c1: Waiting 01:11:11 77bc0d833cb6: Waiting 01:11:11 9065ff56babe: Waiting 01:11:11 d287ab97295c: Waiting 01:11:11 a1111a8f2ec3: Verifying Checksum 01:11:11 a1111a8f2ec3: Download complete 01:11:11 dc539afda2c1: Verifying Checksum 01:11:11 dc539afda2c1: Download complete 01:11:12 ed53099fbce6: Verifying Checksum 01:11:12 ed53099fbce6: Download complete 01:11:12 77bc0d833cb6: Verifying Checksum 01:11:12 77bc0d833cb6: Download complete 01:11:12 9065ff56babe: Verifying Checksum 01:11:12 9065ff56babe: Download complete 01:11:12 b4d181a07f80: Verifying Checksum 01:11:12 b4d181a07f80: Download complete 01:11:12 d287ab97295c: Verifying Checksum 01:11:12 d287ab97295c: Download complete 01:11:13 b4d181a07f80: Pull complete 01:11:13 a1111a8f2ec3: Pull complete 01:11:14 ed53099fbce6: Pull complete 01:11:14 dc539afda2c1: Pull complete 01:11:14 77bc0d833cb6: Pull complete 01:11:14 9065ff56babe: Pull complete 01:11:20 d287ab97295c: Pull complete 01:11:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:11:21 prd-centos7-docker-4c-2g-1179 does not seem to be running inside a container 01:11:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:23 $ docker top dc4e33322f9b227da3794a110929a7cd46bb714dc9a18a80c7f6e3d09b1c9846 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:24 ---> job-cost.sh 01:11:24 lf-activate-venv: SKIPPING 01:11:24 INFO: No Stack... 01:11:24 INFO: Retrieving Pricing Info for: v3-standard-2 01:11:24 INFO: Archiving Costs [Pipeline] sh 01:11:24 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 01:11:24 + cut -d, -f6 [Pipeline] lock 01:11:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] 01:11:24 Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] did not exist. Created. 01:11:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:11:25 + echo total: 0.05999999865889549 [Pipeline] stash 01:11:26 Stashed 1 file(s) [Pipeline] } 01:11:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:11:26 $ docker stop --time=1 dc4e33322f9b227da3794a110929a7cd46bb714dc9a18a80c7f6e3d09b1c9846 01:11:27 $ docker rm -f dc4e33322f9b227da3794a110929a7cd46bb714dc9a18a80c7f6e3d09b1c9846 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:12:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1181 in /w/workspace/foundry_device-modbus-go_jakarta [Pipeline] { [Pipeline] ws 01:12:38 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 01:12:38 Selected Git installation does not exist. Using Default 01:12:38 The recommended git tool is: NONE 01:12:48 using credential edgex-jenkins-ssh 01:12:48 Cloning the remote Git repository 01:12:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:12:48 > git init /w/workspace/device-modbus-go/3 # timeout=10 01:12:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:12:48 > git --version # timeout=10 01:12:48 > git --version # 'git version 2.17.1' 01:12:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:49 Avoid second fetch 01:12:49 Checking out Revision 134ea97e9de4ceea43639929958c6703127f10e1 (jakarta) 01:12:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:12:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:49 > git config core.sparsecheckout # timeout=10 01:12:49 > git checkout -f 134ea97e9de4ceea43639929958c6703127f10e1 # timeout=10 01:12:55 Commit message: "ci(lts-release): LTS release v2.1.0 @b97db6a" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:12:56 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:56 Dload Upload Total Spent Left Speed 01:12:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 156k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh 01:12:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:12:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:12:58 + sudo tee /etc/docker/daemon.new 01:12:58 { 01:12:58 "registry-mirrors": [ 01:12:58 "https://nexus3.edgexfoundry.org:10001" 01:12:58 ], 01:12:58 "bip": "10.250.0.254/24", 01:12:58 "hosts": [ 01:12:58 "tcp://0.0.0.0:5555", 01:12:58 "unix:///var/run/docker.sock" 01:12:58 ], 01:12:58 "mtu": 1458, 01:12:58 "selinux-enabled": true, 01:12:58 "seccomp-profile": "/etc/docker/seccomp.json" 01:12:58 } [Pipeline] sh 01:12:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:13:00 + sudo service docker restart [Pipeline] sh 01:13:19 + git checkout 134ea97e9de4ceea43639929958c6703127f10e1 01:13:19 HEAD is now at 134ea97 ci(lts-release): LTS release v2.1.0 @b97db6a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:19 provisioning config files... 01:13:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config7064438609340358588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:19 ---> docker-login.sh 01:13:19 nexus3.edgexfoundry.org:10001 01:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:21 Configure a credential helper to remove this warning. See 01:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:21 01:13:21 Login Succeeded 01:13:21 nexus3.edgexfoundry.org:10002 01:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:21 Configure a credential helper to remove this warning. See 01:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:21 01:13:21 Login Succeeded 01:13:21 nexus3.edgexfoundry.org:10003 01:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:22 Configure a credential helper to remove this warning. See 01:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:22 01:13:22 Login Succeeded 01:13:22 nexus3.edgexfoundry.org:10004 01:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:22 Configure a credential helper to remove this warning. See 01:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:22 01:13:22 Login Succeeded 01:13:22 docker.io 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 ---> docker-login.sh ends [Pipeline] } 01:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:13:24 ========================================================= 01:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 01:13:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:13:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:13:26 Sending build context to Docker daemon 14.16MB 01:13:26 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:13:26 Step 2/9 : FROM ${BASE} AS builder 01:13:26 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 01:13:26 552d1f2373af: Pulling fs layer 01:13:26 ea3f2d53f512: Pulling fs layer 01:13:26 9e70ebbbe112: Pulling fs layer 01:13:26 7a9cfe048b4a: Pulling fs layer 01:13:26 72dc09318566: Pulling fs layer 01:13:26 6b38a4ac6b94: Pulling fs layer 01:13:26 1cf82868ecbe: Pulling fs layer 01:13:26 cf934696a108: Pulling fs layer 01:13:26 7a9cfe048b4a: Waiting 01:13:26 72dc09318566: Waiting 01:13:26 6b38a4ac6b94: Waiting 01:13:26 1cf82868ecbe: Waiting 01:13:26 cf934696a108: Waiting 01:13:26 9e70ebbbe112: Verifying Checksum 01:13:26 9e70ebbbe112: Download complete 01:13:26 ea3f2d53f512: Verifying Checksum 01:13:26 ea3f2d53f512: Download complete 01:13:26 72dc09318566: Verifying Checksum 01:13:26 72dc09318566: Download complete 01:13:26 6b38a4ac6b94: Verifying Checksum 01:13:26 6b38a4ac6b94: Download complete 01:13:26 552d1f2373af: Verifying Checksum 01:13:26 552d1f2373af: Download complete 01:13:26 1cf82868ecbe: Verifying Checksum 01:13:26 1cf82868ecbe: Download complete 01:13:27 552d1f2373af: Pull complete 01:13:28 ea3f2d53f512: Pull complete 01:13:28 9e70ebbbe112: Pull complete 01:13:28 cf934696a108: Verifying Checksum 01:13:29 7a9cfe048b4a: Verifying Checksum 01:13:29 7a9cfe048b4a: Download complete 01:13:38 7a9cfe048b4a: Pull complete 01:13:39 72dc09318566: Pull complete 01:13:40 6b38a4ac6b94: Pull complete 01:13:40 1cf82868ecbe: Pull complete 01:13:46 cf934696a108: Pull complete 01:13:46 Digest: sha256:c7a1c6e7193eac42aea82418dc538ba94561e4292c792d132f5c974f427cd528 01:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 01:13:46 ---> 8a4ae6370de5 01:13:46 Step 3/9 : ARG MAKE='make build' 01:13:48 ---> Running in 661616f76fd2 01:13:48 Removing intermediate container 661616f76fd2 01:13:48 ---> b4449bb79ab6 01:13:48 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:13:48 ---> Running in 32317fc64bab 01:13:51 Removing intermediate container 32317fc64bab 01:13:51 ---> d6b6a3a1354b 01:13:51 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:13:51 ---> Running in 9ef1e8a9491a 01:13:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:13:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:13:53 (1/8) Installing openssh-keygen (8.6_p1-r3) 01:13:53 (2/8) Installing libedit (20210216.3.1-r0) 01:13:53 (3/8) Installing openssh-client-common (8.6_p1-r3) 01:13:54 (4/8) Installing openssh-client-default (8.6_p1-r3) 01:13:54 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 01:13:54 (6/8) Installing openssh-server-common (8.6_p1-r3) 01:13:54 (7/8) Installing openssh-server (8.6_p1-r3) 01:13:54 (8/8) Installing openssh (8.6_p1-r3) 01:13:54 Executing busybox-1.33.1-r3.trigger 01:13:54 OK: 225 MiB in 60 packages 01:13:56 Removing intermediate container 9ef1e8a9491a 01:13:56 ---> 751ea27f77c5 01:13:56 Step 6/9 : WORKDIR /device-modbus-go 01:13:56 ---> Running in c0fac9e44a09 01:13:56 Removing intermediate container c0fac9e44a09 01:13:56 ---> b4bc443b04d1 01:13:56 Step 7/9 : COPY . . 01:14:00 ---> 98a2413f5906 01:14:00 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:00 ---> Running in 9ede24e92d29 01:14:02 skipping... 01:14:02 Removing intermediate container 9ede24e92d29 01:14:02 ---> 4324e9f3bc57 01:14:02 Step 9/9 : RUN ${MAKE} 01:14:02 ---> Running in 8532dde0d413 01:14:04 noop 01:14:04 Removing intermediate container 8532dde0d413 01:14:04 ---> 4f565470155c 01:14:04 Successfully built 4f565470155c 01:14:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:14:05 + docker inspect -f . ci-base-image-arm64 01:14:05 . [Pipeline] withDockerContainer 01:14:05 prd-ubuntu18.04-docker-arm64-4c-16g-1181 does not seem to be running inside a container 01:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:14:07 $ docker top 88221373099b6a048e4c84cabe25832d46bce238019aefec309060edba2d849f -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:08 + go version 01:14:08 go version go1.16.8 linux/arm64 [Pipeline] } 01:14:08 $ docker stop --time=1 88221373099b6a048e4c84cabe25832d46bce238019aefec309060edba2d849f 01:14:10 $ docker rm -f 88221373099b6a048e4c84cabe25832d46bce238019aefec309060edba2d849f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:14:11 + docker inspect -f . ci-base-image-arm64 01:14:11 . [Pipeline] withDockerContainer 01:14:11 prd-ubuntu18.04-docker-arm64-4c-16g-1181 does not seem to be running inside a container 01:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:14:13 $ docker top b610cec94e7f0509cd14cf455af2fffe1f6c29c73b058f6f9ed3320c601cb140 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:14:15 + make test 01:14:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:14:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:15:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:15:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 46.6% of statements 01:15:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:15:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:15:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:15:48 ./bin/test-attribution-txt.sh 01:15:48 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:15:48 go: downloading github.com/goburrow/modbus v0.1.0 01:15:48 go: downloading github.com/stretchr/testify v1.7.0 01:15:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:15:48 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:15:48 go: downloading github.com/google/uuid v1.3.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:15:48 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:15:48 go: downloading github.com/pelletier/go-toml v1.9.4 01:15:48 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:15:48 go: downloading github.com/gorilla/mux v1.8.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:15:48 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:15:48 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:15:48 go: downloading github.com/hashicorp/consul/api v1.9.1 01:15:48 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:15:48 go: downloading github.com/go-kit/kit v0.11.0 01:15:48 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:15:48 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:15:48 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:15:48 go: downloading github.com/pebbe/zmq4 v1.2.7 01:15:48 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:15:48 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:15:48 go: downloading github.com/goburrow/serial v0.1.0 01:15:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:15:48 go: downloading github.com/mitchellh/copystructure v1.0.0 01:15:48 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:15:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:15:48 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:15:48 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:15:48 go: downloading github.com/davecgh/go-spew v1.1.1 01:15:49 go: downloading github.com/pmezard/go-difflib v1.0.0 01:15:49 go: downloading golang.org/x/text v0.3.6 01:15:50 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:15:50 go: downloading github.com/hashicorp/errwrap v1.0.0 01:15:50 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:15:50 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:15:50 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:15:50 go: downloading github.com/hashicorp/serf v0.9.5 01:15:50 go: downloading github.com/x448/float16 v0.8.4 01:15:50 go: downloading github.com/go-playground/universal-translator v0.18.0 01:15:50 go: downloading github.com/leodido/go-urn v1.2.1 01:15:50 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:15:52 go: downloading github.com/gorilla/websocket v1.4.2 01:15:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:15:52 go: downloading github.com/fatih/color v1.9.0 01:15:52 go: downloading github.com/mattn/go-colorable v0.1.6 01:15:52 go: downloading github.com/mattn/go-isatty v0.0.12 01:15:52 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:15:52 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:15:58 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:15:58 + go mod tidy 01:15:58 go: downloading github.com/go-stack/stack v1.8.0 01:15:58 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:15:58 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:15:59 go: downloading github.com/stretchr/objx v0.1.1 01:15:59 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:15:59 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:15:59 go: downloading github.com/onsi/ginkgo v1.10.1 01:15:59 go: downloading github.com/onsi/gomega v1.7.0 01:15:59 go: downloading github.com/kr/pretty v0.3.0 01:15:59 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:15:59 go: downloading github.com/hashicorp/memberlist v0.2.2 01:15:59 go: downloading github.com/pkg/errors v0.9.1 01:15:59 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:15:59 go: downloading github.com/kr/text v0.2.0 01:15:59 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:15:59 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:15:59 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:15:59 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:15:59 go: downloading github.com/miekg/dns v1.1.26 01:15:59 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:16:00 go: downloading gopkg.in/yaml.v2 v2.3.0 01:16:00 go: downloading github.com/hpcloud/tail v1.0.0 01:16:00 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:16:00 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:16:00 $ docker stop --time=1 b610cec94e7f0509cd14cf455af2fffe1f6c29c73b058f6f9ed3320c601cb140 01:16:03 $ docker rm -f b610cec94e7f0509cd14cf455af2fffe1f6c29c73b058f6f9ed3320c601cb140 [Pipeline] // withDockerContainer [Pipeline] sh 01:16:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:06 Warning: overwriting stash ‘coverage-report’ 01:16:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:16:09 + ls -al . 01:16:09 total 188 01:16:09 drwxrwxr-x 10 jenkins jenkins 4096 Nov 18 01:15 . 01:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 01:12 .. 01:16:09 -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 01:12 .dockerignore 01:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 01:13 .git 01:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:12 .github 01:16:09 -rw-rw-r-- 1 jenkins jenkins 323 Nov 18 01:12 .gitignore 01:16:09 -rw-rw-r-- 1 jenkins jenkins 8010 Nov 18 01:12 Attribution.txt 01:16:09 -rw-rw-r-- 1 jenkins jenkins 6038 Nov 18 01:12 CHANGELOG.md 01:16:09 -rw-rw-r-- 1 jenkins jenkins 1523 Nov 18 01:12 Dockerfile 01:16:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 01:12 GOVERNANCE.md 01:16:09 -rw-rw-r-- 1 jenkins jenkins 679 Nov 18 01:12 Jenkinsfile 01:16:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 01:12 LICENSE 01:16:09 -rw-rw-r-- 1 jenkins jenkins 1009 Nov 18 01:12 Makefile 01:16:09 -rw-rw-r-- 1 jenkins jenkins 622 Nov 18 01:12 OWNERS.md 01:16:09 -rw-rw-r-- 1 jenkins jenkins 3488 Nov 18 01:12 README.md 01:16:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 01:09 VERSION 01:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:12 bin 01:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 01:12 cmd 01:16:09 -rw-r--r-- 1 jenkins jenkins 23727 Nov 18 01:15 coverage.out 01:16:09 -rw-rw-r-- 1 jenkins jenkins 294 Nov 18 01:16 go.mod 01:16:09 -rw-rw-r-- 1 jenkins jenkins 49487 Nov 18 01:12 go.sum 01:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 01:12 internal 01:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:12 simulator 01:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 01:12 snap 01:16:09 drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 01:12 vendor 01:16:09 -rw-rw-r-- 1 jenkins jenkins 229 Nov 18 01:12 version.go [Pipeline] isUnix [Pipeline] sh 01:16:09 + 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=134ea97e9de4ceea43639929958c6703127f10e1 --label arch=arm64 --label version=2.1.0 . 01:16:10 Sending build context to Docker daemon 14.19MB 01:16:10 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 01:16:10 Step 2/22 : FROM ${BASE} AS builder 01:16:10 ---> 4f565470155c 01:16:10 Step 3/22 : ARG MAKE='make build' 01:16:10 ---> Running in 954b1b4b5a9f 01:16:11 Removing intermediate container 954b1b4b5a9f 01:16:11 ---> 917f4605362d 01:16:11 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:16:11 ---> Running in 1c70b11059ce 01:16:14 Removing intermediate container 1c70b11059ce 01:16:14 ---> 93e7fcb338dd 01:16:14 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:16:14 ---> Running in de579584066d 01:16:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:16:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:16:16 OK: 225 MiB in 60 packages 01:16:18 Removing intermediate container de579584066d 01:16:18 ---> 4b834c8c24a9 01:16:18 Step 6/22 : WORKDIR /device-modbus-go 01:16:18 ---> Running in 89529ace89e3 01:16:18 Removing intermediate container 89529ace89e3 01:16:18 ---> bec410a8945d 01:16:18 Step 7/22 : COPY . . 01:16:23 ---> a4e52239e37a 01:16:23 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:23 ---> Running in 0275ca801542 01:16:23 skipping... 01:16:24 Removing intermediate container 0275ca801542 01:16:24 ---> 918b948524bb 01:16:24 Step 9/22 : RUN ${MAKE} 01:16:24 ---> Running in f272dae061e5 01:16:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.0" -o cmd/device-modbus ./cmd 01:17:13 Removing intermediate container f272dae061e5 01:17:13 ---> 0f61bc671ecf 01:17:13 Step 10/22 : FROM alpine:3.14 01:17:13 3.14: Pulling from library/alpine 01:17:13 be307f383ecc: Pulling fs layer 01:17:13 be307f383ecc: Verifying Checksum 01:17:13 be307f383ecc: Download complete 01:17:13 be307f383ecc: Pull complete 01:17:13 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:17:13 Status: Downloaded newer image for alpine:3.14 01:17:13 ---> 5b8b7b635229 01:17:13 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:17:13 ---> Running in 85be26a1fac4 01:17:13 Removing intermediate container 85be26a1fac4 01:17:13 ---> 9736d9e2c837 01:17:13 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:13 ---> Running in b0312e3c46bb 01:17:13 Removing intermediate container b0312e3c46bb 01:17:13 ---> 78d79897baa1 01:17:13 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 01:17:13 ---> Running in 98a821fc3c40 01:17:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:17:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:17:13 (1/6) Installing dumb-init (1.2.5-r1) 01:17:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:17:14 (3/6) Installing libsodium (1.0.18-r0) 01:17:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:17:14 (5/6) Installing libzmq (4.3.4-r0) 01:17:14 (6/6) Installing zeromq (4.3.4-r0) 01:17:14 Executing busybox-1.33.1-r6.trigger 01:17:14 OK: 8 MiB in 20 packages 01:17:15 Removing intermediate container 98a821fc3c40 01:17:15 ---> 3a67fd43d6dc 01:17:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:17:17 ---> 78aedf946b9a 01:17:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:17:17 ---> 3c58dbf0ad10 01:17:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:17:18 ---> 1cd60393c1bc 01:17:18 Step 17/22 : EXPOSE 59901 01:17:18 ---> Running in d60a7b7328df 01:17:18 Removing intermediate container d60a7b7328df 01:17:18 ---> 446238632a6d 01:17:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:17:18 ---> Running in 572e87cc1f5f 01:17:19 Removing intermediate container 572e87cc1f5f 01:17:19 ---> 67482b743011 01:17:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:17:19 ---> Running in 31a7a577f711 01:17:19 Removing intermediate container 31a7a577f711 01:17:19 ---> 8e036c42651e 01:17:19 Step 20/22 : LABEL arch=arm64 01:17:19 ---> Running in 6266ed976615 01:17:20 Removing intermediate container 6266ed976615 01:17:20 ---> 81f0d113c636 01:17:20 Step 21/22 : LABEL git_sha=134ea97e9de4ceea43639929958c6703127f10e1 01:17:20 ---> Running in 256ab85e330b 01:17:20 Removing intermediate container 256ab85e330b 01:17:20 ---> 7edd1b5576dd 01:17:20 Step 22/22 : LABEL version=2.1.0 01:17:21 ---> Running in 792bf9a6ddbb 01:17:21 Removing intermediate container 792bf9a6ddbb 01:17:21 ---> 4269ee1d25c1 01:17:21 [Warning] One or more build-args [ARCH] were not consumed 01:17:21 Successfully built 4269ee1d25c1 01:17:21 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:22 provisioning config files... 01:17:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5079713892810262567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:23 ---> docker-login.sh 01:17:23 nexus3.edgexfoundry.org:10001 01:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:23 Configure a credential helper to remove this warning. See 01:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:23 01:17:23 Login Succeeded 01:17:23 nexus3.edgexfoundry.org:10002 01:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:24 Configure a credential helper to remove this warning. See 01:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:24 01:17:24 Login Succeeded 01:17:24 nexus3.edgexfoundry.org:10003 01:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:24 Configure a credential helper to remove this warning. See 01:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:24 01:17:24 Login Succeeded 01:17:24 nexus3.edgexfoundry.org:10004 01:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:25 Configure a credential helper to remove this warning. See 01:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:25 01:17:25 Login Succeeded 01:17:25 docker.io 01:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:26 Configure a credential helper to remove this warning. See 01:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:26 01:17:26 Login Succeeded 01:17:26 ---> docker-login.sh ends [Pipeline] } 01:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:26 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:17:26 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 01:17:26 134ea97e9de4ceea43639929958c6703127f10e1 01:17:26 2.1.0 01:17:26 134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:17:26 jakarta 01:17:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:17:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] isUnix [Pipeline] sh 01:17:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1 01:17:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:17:28 e3dcfcac0d39: Preparing 01:17:28 f176cde195c2: Preparing 01:17:28 ef9bc3219b47: Preparing 01:17:28 13f397af2ea9: Preparing 01:17:28 4e36e1067d02: Preparing 01:17:28 62170e181a92: Preparing 01:17:28 62170e181a92: Waiting 01:17:28 f176cde195c2: Pushed 01:17:28 4e36e1067d02: Pushed 01:17:28 e3dcfcac0d39: Pushed 01:17:28 62170e181a92: Layer already exists 01:17:28 13f397af2ea9: Pushed 01:17:31 ef9bc3219b47: Pushed 01:17:31 134ea97e9de4ceea43639929958c6703127f10e1: digest: sha256:e7b82df1be3107c9f5089bf6877d8456896b0ddfc1d0e07eecb1e9e798fe4184 size: 1572 [Pipeline] isUnix [Pipeline] sh 01:17:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.0 [Pipeline] isUnix [Pipeline] sh 01:17:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.0 01:17:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:17:32 e3dcfcac0d39: Preparing 01:17:32 f176cde195c2: Preparing 01:17:32 ef9bc3219b47: Preparing 01:17:32 13f397af2ea9: Preparing 01:17:32 4e36e1067d02: Preparing 01:17:32 62170e181a92: Preparing 01:17:32 62170e181a92: Waiting 01:17:32 13f397af2ea9: Layer already exists 01:17:32 4e36e1067d02: Layer already exists 01:17:32 e3dcfcac0d39: Layer already exists 01:17:32 ef9bc3219b47: Layer already exists 01:17:32 f176cde195c2: Layer already exists 01:17:33 62170e181a92: Layer already exists 01:17:33 2.1.0: digest: sha256:e7b82df1be3107c9f5089bf6877d8456896b0ddfc1d0e07eecb1e9e798fe4184 size: 1572 [Pipeline] isUnix [Pipeline] sh 01:17:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 [Pipeline] isUnix [Pipeline] sh 01:17:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:17:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:17:33 e3dcfcac0d39: Preparing 01:17:33 f176cde195c2: Preparing 01:17:33 ef9bc3219b47: Preparing 01:17:33 13f397af2ea9: Preparing 01:17:33 4e36e1067d02: Preparing 01:17:33 62170e181a92: Preparing 01:17:33 62170e181a92: Waiting 01:17:34 f176cde195c2: Layer already exists 01:17:34 ef9bc3219b47: Layer already exists 01:17:34 4e36e1067d02: Layer already exists 01:17:34 13f397af2ea9: Layer already exists 01:17:34 e3dcfcac0d39: Layer already exists 01:17:34 62170e181a92: Layer already exists 01:17:34 134ea97e9de4ceea43639929958c6703127f10e1-2.1.0: digest: sha256:e7b82df1be3107c9f5089bf6877d8456896b0ddfc1d0e07eecb1e9e798fe4184 size: 1572 [Pipeline] isUnix [Pipeline] sh 01:17:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] isUnix [Pipeline] sh 01:17:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta 01:17:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:17:34 e3dcfcac0d39: Preparing 01:17:34 f176cde195c2: Preparing 01:17:34 ef9bc3219b47: Preparing 01:17:34 13f397af2ea9: Preparing 01:17:34 4e36e1067d02: Preparing 01:17:34 62170e181a92: Preparing 01:17:34 62170e181a92: Waiting 01:17:35 e3dcfcac0d39: Layer already exists 01:17:35 f176cde195c2: Layer already exists 01:17:35 4e36e1067d02: Layer already exists 01:17:35 13f397af2ea9: Layer already exists 01:17:35 ef9bc3219b47: Layer already exists 01:17:35 62170e181a92: Layer already exists 01:17:35 jakarta: digest: sha256:e7b82df1be3107c9f5089bf6877d8456896b0ddfc1d0e07eecb1e9e798fe4184 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:35 ===================================================== [Pipeline] echo 01:17:35 taggedImages: 01:17:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1 01:17:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.0 01:17:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:134ea97e9de4ceea43639929958c6703127f10e1-2.1.0 01:17:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:35 01:17:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:17:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:37 arm64: Pulling from edgex-lftools-log-publisher 01:17:37 448f6bf000e3: Pulling fs layer 01:17:37 f757da607395: Pulling fs layer 01:17:37 05883995daec: Pulling fs layer 01:17:37 8603b9c90790: Pulling fs layer 01:17:37 1560dd03e051: Pulling fs layer 01:17:37 27f5ce0e4adf: Pulling fs layer 01:17:37 c2d8d7efcc4b: Pulling fs layer 01:17:37 1560dd03e051: Waiting 01:17:37 27f5ce0e4adf: Waiting 01:17:37 c2d8d7efcc4b: Waiting 01:17:37 8603b9c90790: Waiting 01:17:37 f757da607395: Verifying Checksum 01:17:37 f757da607395: Download complete 01:17:37 8603b9c90790: Verifying Checksum 01:17:37 8603b9c90790: Download complete 01:17:37 1560dd03e051: Download complete 01:17:37 27f5ce0e4adf: Verifying Checksum 01:17:37 27f5ce0e4adf: Download complete 01:17:37 05883995daec: Verifying Checksum 01:17:37 05883995daec: Download complete 01:17:37 448f6bf000e3: Download complete 01:17:40 c2d8d7efcc4b: Verifying Checksum 01:17:40 c2d8d7efcc4b: Download complete 01:17:41 448f6bf000e3: Pull complete 01:17:41 f757da607395: Pull complete 01:17:43 05883995daec: Pull complete 01:17:43 8603b9c90790: Pull complete 01:17:44 1560dd03e051: Pull complete 01:17:44 27f5ce0e4adf: Pull complete 01:18:00 c2d8d7efcc4b: Pull complete 01:18:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:18:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:18:00 prd-ubuntu18.04-docker-arm64-4c-16g-1181 does not seem to be running inside a container 01:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:18:05 $ docker top 39043852e95da9c53bb18edef0850a5fc3b881a27acea160869741c1cf202945 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:06 ---> job-cost.sh 01:18:06 lf-activate-venv: SKIPPING 01:18:06 INFO: No Stack... 01:18:06 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:07 INFO: Archiving Costs [Pipeline] sh 01:18:07 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 01:18:07 + cut -d, -f6 [Pipeline] lock 01:18:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] 01:18:08 Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] did not exist. Created. 01:18:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:08 /w/workspace/device-modbus-go/3@tmp/durable-0103a9bf/script.sh: 1: /w/workspace/device-modbus-go/3@tmp/durable-0103a9bf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:09 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:09 Warning: overwriting stash ‘stack-cost’ 01:18:09 Stashed 1 file(s) [Pipeline] } 01:18:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:09 $ docker stop --time=1 39043852e95da9c53bb18edef0850a5fc3b881a27acea160869741c1cf202945 01:18:11 $ docker rm -f 39043852e95da9c53bb18edef0850a5fc3b881a27acea160869741c1cf202945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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) [Pipeline] unstash [Pipeline] configFileProvider 01:18:13 provisioning config files... 01:18:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config4483178159585936868tmp [Pipeline] { [Pipeline] sh 01:18:13 + set +x 01:18:13 + curl -s https://codecov.io/bash 01:18:13 + bash -s -- 01:18:13 01:18:13 _____ _ 01:18:13 / ____| | | 01:18:13 | | ___ __| | ___ ___ _____ __ 01:18:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:13 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:13 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:13 Bash-1.0.6 01:18:13 01:18:13 01:18:13 ==> git version 2.24.4 found 01:18:13 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:18:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:18:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:18:13 ==> Jenkins CI detected. 01:18:13 current dir:  /w/workspace/foundry_device-modbus-go_jakarta 01:18:13 project root: . 01:18:13 --> token set from env 01:18:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:13 ==> Running gcov in . (disable via -X gcov) 01:18:13 ==> Python coveragepy not found 01:18:13 ==> Searching for coverage reports in: 01:18:13 + . 01:18:13 -> Found 1 reports 01:18:13 ==> Detecting git/mercurial file structure 01:18:13 ==> Reading reports 01:18:13 + ./coverage.out bytes=23727 01:18:13 ==> Appending adjustments 01:18:13 https://docs.codecov.io/docs/fixing-reports 01:18:13 + Found adjustments 01:18:13 ==> Gzipping contents 01:18:13 12K /tmp/codecov.PnAQgi.gz 01:18:13 ==> Uploading reports 01:18:13 url: https://codecov.io 01:18:13 query: branch=jakarta&commit=134ea97e9de4ceea43639929958c6703127f10e1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:18:13 -> Pinging Codecov 01:18:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=jakarta&commit=134ea97e9de4ceea43639929958c6703127f10e1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:18:13 -> Uploading to 01:18:13 https://storage.googleapis.com/codecov/v4/raw/2021-11-18/55DBCA73C666E3227836607328DD7E49/134ea97e9de4ceea43639929958c6703127f10e1/524ce37c-66d3-4b99-8eac-4ffb384c33bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211118T011813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=927c919ef82045f11a5b207601c00cf2e1749e8f7ae2b5c236a5259a64f4b849 01:18:13 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:13 Dload Upload Total Spent Left Speed 01:18:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10781 0 0 100 10781 0 34003 --:--:-- --:--:-- --:--:-- 34117 01:18:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] } 01:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:18:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:18:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:18:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:16 01:18:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:18:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:18:18 188c0c94c7c5: Pulling fs layer 01:18:18 0ef7d3d256c8: Pulling fs layer 01:18:18 de9db76c5a1d: Pulling fs layer 01:18:18 0eba1c9be4d2: Pulling fs layer 01:18:18 0d57e429df01: Pulling fs layer 01:18:18 4e4be7b47b0d: Pulling fs layer 01:18:18 e1f770b5df2f: Pulling fs layer 01:18:18 85a0685a4137: Pulling fs layer 01:18:18 0eba1c9be4d2: Waiting 01:18:18 0d57e429df01: Waiting 01:18:18 4e4be7b47b0d: Waiting 01:18:18 e1f770b5df2f: Waiting 01:18:18 85a0685a4137: Waiting 01:18:18 de9db76c5a1d: Verifying Checksum 01:18:18 de9db76c5a1d: Download complete 01:18:18 0ef7d3d256c8: Verifying Checksum 01:18:18 0ef7d3d256c8: Download complete 01:18:18 0d57e429df01: Verifying Checksum 01:18:18 0d57e429df01: Download complete 01:18:18 4e4be7b47b0d: Verifying Checksum 01:18:18 4e4be7b47b0d: Download complete 01:18:18 188c0c94c7c5: Verifying Checksum 01:18:18 188c0c94c7c5: Download complete 01:18:18 e1f770b5df2f: Verifying Checksum 01:18:18 e1f770b5df2f: Download complete 01:18:18 188c0c94c7c5: Pull complete 01:18:18 0ef7d3d256c8: Pull complete 01:18:18 0eba1c9be4d2: Verifying Checksum 01:18:18 0eba1c9be4d2: Download complete 01:18:19 de9db76c5a1d: Pull complete 01:18:19 85a0685a4137: Verifying Checksum 01:18:19 85a0685a4137: Download complete 01:18:23 0eba1c9be4d2: Pull complete 01:18:23 0d57e429df01: Pull complete 01:18:23 4e4be7b47b0d: Pull complete 01:18:23 e1f770b5df2f: Pull complete 01:18:29 85a0685a4137: Pull complete 01:18:29 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:18:29 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:18:29 $ docker top ed1bca28c156ce1069cb4d5d4fcbb80e05dcb0124002fe6da3048bead36de6ca -eo pid,comm [Pipeline] { [Pipeline] echo 01:18:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:18:30 + set -o pipefail 01:18:30 + snyk monitor '--org=edgex-jenkins' 01:18:32 01:18:32 Monitoring /w/workspace/foundry_device-modbus-go_jakarta (github.com/edgexfoundry/device-modbus-go)... 01:18:32 01:18:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/e6e1007d-bb53-4cf3-8f63-bb7a72d79b34 01:18:32 01:18:32 Tip: Detected multiple supported manifests (3), use --all-projects to scan all of them at once. 01:18:32 01:18:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:18:32 01:18:32 [Pipeline] } 01:18:32 $ docker stop --time=1 ed1bca28c156ce1069cb4d5d4fcbb80e05dcb0124002fe6da3048bead36de6ca 01:18:33 $ docker rm -f ed1bca28c156ce1069cb4d5d4fcbb80e05dcb0124002fe6da3048bead36de6ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:34 + git log --format=format:%s -1 134ea97e9de4ceea43639929958c6703127f10e1 [Pipeline] sh 01:18:35 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:18:35 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:18:35 + sudo tee -a /etc/ssh/ssh_known_hosts 01:18:35 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:18:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:18:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:18:36 . [Pipeline] withDockerContainer 01:18:36 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:18:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 01:18:36 $ docker top 5da4a8ecfef72e2ae877e86c650fc102111c2b0d6bf011892e605e8ee776ff30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:18:36 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:38 + git semver [Pipeline] } 01:18:38 $ docker stop --time=1 5da4a8ecfef72e2ae877e86c650fc102111c2b0d6bf011892e605e8ee776ff30 01:18:39 $ docker rm -f 5da4a8ecfef72e2ae877e86c650fc102111c2b0d6bf011892e605e8ee776ff30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:39 01:18:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:40 0.23.1-centos7: Pulling from edgex-lftools 01:18:40 ab5ef0e58194: Pulling fs layer 01:18:40 9712f1f96733: Pulling fs layer 01:18:40 63f879dbbcfc: Pulling fs layer 01:18:40 0d9ebad4ef96: Pulling fs layer 01:18:40 e9a5061849ea: Pulling fs layer 01:18:40 d747dcd14b5f: Pulling fs layer 01:18:40 2de7ff778b66: Pulling fs layer 01:18:40 0d9ebad4ef96: Waiting 01:18:40 e9a5061849ea: Waiting 01:18:40 d747dcd14b5f: Waiting 01:18:40 2de7ff778b66: Waiting 01:18:40 9712f1f96733: Verifying Checksum 01:18:40 9712f1f96733: Download complete 01:18:41 63f879dbbcfc: Verifying Checksum 01:18:41 63f879dbbcfc: Download complete 01:18:41 0d9ebad4ef96: Verifying Checksum 01:18:41 0d9ebad4ef96: Download complete 01:18:41 d747dcd14b5f: Verifying Checksum 01:18:41 d747dcd14b5f: Download complete 01:18:41 e9a5061849ea: Verifying Checksum 01:18:41 e9a5061849ea: Download complete 01:18:41 2de7ff778b66: Verifying Checksum 01:18:41 2de7ff778b66: Download complete 01:18:41 ab5ef0e58194: Verifying Checksum 01:18:41 ab5ef0e58194: Download complete 01:18:43 ab5ef0e58194: Pull complete 01:18:43 9712f1f96733: Pull complete 01:18:44 63f879dbbcfc: Pull complete 01:18:49 0d9ebad4ef96: Pull complete 01:18:49 e9a5061849ea: Pull complete 01:18:49 d747dcd14b5f: Pull complete 01:18:50 2de7ff778b66: Pull complete 01:18:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:18:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:18:50 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:18:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:18:54 $ docker top 9f62256445203c9344cc7ade0b776ff6766f52b02f2615c0a6b7800342fb4d4c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:18:54 provisioning config files... 01:18:54 copy managed file [sigul-config] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config2530964709953128910tmp 01:18:54 copy managed file [sigul-password] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config7035517308351639213tmp 01:18:54 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config7863537667268753083tmp [Pipeline] { [Pipeline] echo 01:18:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:18:54 ---> sigul-configuration.sh 01:18:54 gpg: directory `/root/.gnupg' created 01:18:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:18:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:18:54 gpg: keyring `/root/.gnupg/secring.gpg' created 01:18:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:18:54 gpg: CAST5 encrypted data 01:18:54 gpg: encrypted with 1 passphrase 01:18:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:18:55 + mkdir /home/jenkins 01:18:55 + mkdir /home/jenkins/sigul [Pipeline] sh 01:18:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:18:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:18:55 ---> sigul-install.sh 01:18:55 Sigul already installed; skipping installation. [Pipeline] sh 01:18:56 + git tag --list 01:18:56 0.7.1 01:18:56 v1.0.0 01:18:56 v1.1.0 01:18:56 v1.1.1 01:18:56 v1.2.2 01:18:56 v1.3.0 01:18:56 v1.3.1 01:18:56 v2.0.0 01:18:56 v2.0.1-dev.1 01:18:56 v2.0.1-dev.10 01:18:56 v2.0.1-dev.11 01:18:56 v2.0.1-dev.12 01:18:56 v2.0.1-dev.2 01:18:56 v2.0.1-dev.3 01:18:56 v2.0.1-dev.4 01:18:56 v2.0.1-dev.5 01:18:56 v2.0.1-dev.6 01:18:56 v2.0.1-dev.7 01:18:56 v2.0.1-dev.8 01:18:56 v2.0.1-dev.9 01:18:56 v2.1.0 [Pipeline] sh 01:18:56 + lftools sign git-tag v2.1.0 01:18:56 Signing Git tag with Sigul... 01:18:56 Signing v2.1.0 [Pipeline] echo 01:18:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:18:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:18:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:18:58 $ docker stop --time=1 9f62256445203c9344cc7ade0b776ff6766f52b02f2615c0a6b7800342fb4d4c 01:19:00 $ docker rm -f 9f62256445203c9344cc7ade0b776ff6766f52b02f2615c0a6b7800342fb4d4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:19:00 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:19:01 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:19:01 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:19:01 + sudo tee -a /etc/ssh/ssh_known_hosts 01:19:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:19:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:19:01 . [Pipeline] withDockerContainer 01:19:01 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 01:19:03 $ docker top 74c47152be584277dcf1d924ab7229318eacc12704cb59112f42dca4fbc57375 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:19:03 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:19:03 + git semver [Pipeline] } 01:19:03 $ docker stop --time=1 74c47152be584277dcf1d924ab7229318eacc12704cb59112f42dca4fbc57375 01:19:05 $ docker rm -f 74c47152be584277dcf1d924ab7229318eacc12704cb59112f42dca4fbc57375 [Pipeline] // withDockerContainer [Pipeline] sh 01:19:05 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:19:05 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:19:05 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:19:05 + sudo tee -a /etc/ssh/ssh_known_hosts 01:19:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:19:06 . [Pipeline] withDockerContainer 01:19:06 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 01:19:06 $ docker top e2695e9a1a42840407255a55e24b885cd2cf483ead7dc78d7b16036b6380b9d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:19:06 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:19:07 + git semver [Pipeline] } 01:19:07 $ docker stop --time=1 e2695e9a1a42840407255a55e24b885cd2cf483ead7dc78d7b16036b6380b9d5 01:19:09 $ docker rm -f e2695e9a1a42840407255a55e24b885cd2cf483ead7dc78d7b16036b6380b9d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:19:12 + '[' -d /w/workspace/foundry_device-modbus-go_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:19:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:19:13 ---> package-listing.sh 01:19:13 ++ tr '[:upper:]' '[:lower:]' 01:19:13 ++ facter osfamily 01:19:13 + OS_FAMILY=redhat 01:19:13 + workspace=/w/workspace/foundry_device-modbus-go_jakarta 01:19:13 + START_PACKAGES=/tmp/packages_start.txt 01:19:13 + END_PACKAGES=/tmp/packages_end.txt 01:19:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:19:13 + PACKAGES=/tmp/packages_start.txt 01:19:13 + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' 01:19:13 + PACKAGES=/tmp/packages_end.txt 01:19:13 + case "${OS_FAMILY}" in 01:19:13 + sort 01:19:13 + rpm -qa 01:19:14 + '[' -f /tmp/packages_start.txt ']' 01:19:14 + '[' -f /tmp/packages_end.txt ']' 01:19:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:19:14 + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' 01:19:14 + mkdir -p /w/workspace/foundry_device-modbus-go_jakarta/archives/ 01:19:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-modbus-go_jakarta/archives/ [Pipeline] echo 01:19:14 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:19:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:15 01:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:16 latest: Pulling from edgex-lftools-log-publisher 01:19:16 b4d181a07f80: Pulling fs layer 01:19:16 a1111a8f2ec3: Pulling fs layer 01:19:16 ed53099fbce6: Pulling fs layer 01:19:16 dc539afda2c1: Pulling fs layer 01:19:16 77bc0d833cb6: Pulling fs layer 01:19:16 9065ff56babe: Pulling fs layer 01:19:16 d287ab97295c: Pulling fs layer 01:19:16 dc539afda2c1: Waiting 01:19:16 77bc0d833cb6: Waiting 01:19:16 9065ff56babe: Waiting 01:19:16 d287ab97295c: Waiting 01:19:16 a1111a8f2ec3: Verifying Checksum 01:19:16 a1111a8f2ec3: Download complete 01:19:16 dc539afda2c1: Verifying Checksum 01:19:16 dc539afda2c1: Download complete 01:19:16 ed53099fbce6: Verifying Checksum 01:19:16 ed53099fbce6: Download complete 01:19:16 9065ff56babe: Verifying Checksum 01:19:16 9065ff56babe: Download complete 01:19:16 77bc0d833cb6: Verifying Checksum 01:19:16 77bc0d833cb6: Download complete 01:19:16 b4d181a07f80: Verifying Checksum 01:19:16 b4d181a07f80: Download complete 01:19:16 d287ab97295c: Verifying Checksum 01:19:16 d287ab97295c: Download complete 01:19:18 b4d181a07f80: Pull complete 01:19:18 a1111a8f2ec3: Pull complete 01:19:18 ed53099fbce6: Pull complete 01:19:18 dc539afda2c1: Pull complete 01:19:19 77bc0d833cb6: Pull complete 01:19:19 9065ff56babe: Pull complete 01:19:24 d287ab97295c: Pull complete 01:19:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:19:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:19:24 prd-centos7-docker-4c-2g-1175 does not seem to be running inside a container 01:19:24 $ 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:19:26 $ docker top 16f25e4b72294f45095335884a85ccfc7353b63ea77cf25e776520496afba6c0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:19:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:19:27 + ls /var/log/sa-host 01:19:27 + sadf -c /var/log/sa-host/sa05 01:19:27 file_magic: OK 01:19:27 HZ: Using current value: 100 01:19:27 file_header: OK 01:19:27 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 01:19:27 Statistics: 01:19:27 Hnuu...uuuununununu... 01:19:27 File successfully converted to sysstat format version 12.0.3 01:19:27 + sadf -c /var/log/sa-host/sa18 01:19:27 file_magic: OK 01:19:27 HZ: Using current value: 100 01:19:27 file_header: OK 01:19:27 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 01:19:27 Statistics: 01:19:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:19:27 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:27 provisioning config files... 01:19:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config5886011457887144453tmp [Pipeline] { [Pipeline] echo 01:19:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:19:28 ---> create-netrc.sh [Pipeline] } 01:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:19:29 ---> python-tools-install.sh [Pipeline] echo 01:19:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:19:29 ---> sudo-logs.sh 01:19:29 Archiving 'sudo' log.. 01:19:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-1175.novalocal: Name or service not known 01:19:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-1175.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:19:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:19:30 ---> job-cost.sh 01:19:30 lf-activate-venv: SKIPPING 01:19:30 DEBUG: total: 0.10999999940395355 01:19:30 INFO: Retrieving Stack Cost... 01:19:30 INFO: Retrieving Pricing Info for: v3-standard-2 01:19:30 INFO: Archiving Costs [Pipeline] echo 01:19:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:19:30 ---> logs-deploy.sh 01:19:30 lf-activate-venv: SKIPPING 01:19:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/jakarta/3 01:19:30 INFO: archiving workspace using pattern(s): 01:19:31 Archives upload complete. 01:19:31 INFO: archiving logs to Nexus 01:19:33 ---> uname -a: 01:19:33 Linux prd-centos7-docker-4c-2g-1175.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 01:19:33 01:19:33 01:19:33 ---> lscpu: 01:19:33 Architecture: x86_64 01:19:33 CPU op-mode(s): 32-bit, 64-bit 01:19:33 Byte Order: Little Endian 01:19:33 Address sizes: 40 bits physical, 48 bits virtual 01:19:33 CPU(s): 2 01:19:33 On-line CPU(s) list: 0,1 01:19:33 Thread(s) per core: 1 01:19:33 Core(s) per socket: 1 01:19:33 Socket(s): 2 01:19:33 NUMA node(s): 1 01:19:33 Vendor ID: AuthenticAMD 01:19:33 CPU family: 23 01:19:33 Model: 49 01:19:33 Model name: AMD EPYC-Rome Processor 01:19:33 Stepping: 0 01:19:33 CPU MHz: 2799.998 01:19:33 BogoMIPS: 5599.99 01:19:33 Virtualization: AMD-V 01:19:33 Hypervisor vendor: KVM 01:19:33 Virtualization type: full 01:19:33 L1d cache: 32K 01:19:33 L1i cache: 32K 01:19:33 L2 cache: 512K 01:19:33 L3 cache: 16384K 01:19:33 NUMA node0 CPU(s): 0,1 01:19:33 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:19:33 01:19:33 01:19:33 ---> nproc: 01:19:33 2 01:19:33 01:19:33 01:19:33 ---> df -h: 01:19:33 Filesystem Size Used Avail Use% Mounted on 01:19:33 overlay 40G 9.0G 32G 23% / 01:19:33 tmpfs 64M 0 64M 0% /dev 01:19:33 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:19:33 shm 64M 0 64M 0% /dev/shm 01:19:33 /dev/vda1 40G 9.0G 32G 23% /facter-os 01:19:33 01:19:33 01:19:33 ---> sar -b -r -n DEV: 01:19:33 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-6184fc6f-eac4-18bc-9bd7-7f41a3ca8dfb.novalocal) 11/18/21 _x86_64_ (2 CPU) 01:19:33 01:19:33 01:08:12 LINUX RESTART (2 CPU) 01:19:33 01:19:33 01:09:01 tps rtps wtps bread/s bwrtn/s 01:19:33 01:10:01 20.35 3.25 17.10 2328.99 3104.48 01:19:33 01:11:02 0.52 0.02 0.50 0.53 11.51 01:19:33 01:12:01 0.24 0.00 0.24 0.00 3.10 01:19:33 01:13:01 0.28 0.00 0.28 0.00 4.55 01:19:33 01:14:01 0.25 0.00 0.25 0.00 3.93 01:19:33 01:15:01 0.32 0.00 0.32 0.00 3.91 01:19:33 01:16:01 0.15 0.00 0.15 0.00 1.88 01:19:33 01:17:01 0.27 0.00 0.27 0.00 3.35 01:19:33 01:18:01 0.25 0.00 0.25 0.00 2.43 01:19:33 01:19:01 154.29 0.03 154.25 3.73 49268.21 01:19:33 Average: 17.72 0.33 17.39 233.77 5250.79 01:19:33 01:19:33 01:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:19:33 01:10:01 5739152 0 557480 6.96 2620 1709688 1128232 12.46 497500 1533420 132 01:19:33 01:11:02 5751544 0 545080 6.81 2620 1709696 1014288 11.20 487484 1533384 20 01:19:33 01:12:01 5749880 0 546744 6.83 2620 1709696 1014540 11.20 489032 1533384 20 01:19:33 01:13:01 5749908 0 546708 6.83 2620 1709704 1014552 11.20 489224 1533388 20 01:19:33 01:14:01 5755252 0 541356 6.76 2620 1709712 1014588 11.20 484280 1533384 12 01:19:33 01:15:01 5748512 0 548096 6.84 2620 1709712 1014288 11.20 491508 1533384 20 01:19:33 01:16:01 5747740 0 548860 6.85 2620 1709720 1014288 11.20 491848 1533384 16 01:19:33 01:17:01 5745844 0 550752 6.88 2620 1709724 1014288 11.20 493928 1533384 8 01:19:33 01:18:01 5741820 0 554772 6.93 2620 1709728 1014288 11.20 498124 1533384 8 01:19:33 01:19:01 4182952 0 791772 9.89 2620 3031596 1120636 12.37 723548 2645656 48 01:19:33 Average: 5591260 0 573162 7.16 2620 1841898 1036399 11.44 514648 1644615 30 01:19:33 01:19:33 01:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:19:33 01:10:01 eth0 77.52 59.15 380.48 33.16 0.00 0.00 0.00 0.00 01:19:33 01:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:10:01 docker0 7.31 4.73 0.94 42.87 0.00 0.00 0.00 0.00 01:19:33 01:11:02 eth0 0.70 0.07 0.06 0.01 0.00 0.00 0.00 0.00 01:19:33 01:11:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:11:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:12:01 eth0 1.83 0.29 0.39 0.20 0.00 0.00 0.00 0.00 01:19:33 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:13:01 eth0 1.88 0.53 0.63 0.36 0.00 0.00 0.00 0.00 01:19:33 01:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:14:01 eth0 1.10 0.63 0.67 0.49 0.00 0.00 0.00 0.00 01:19:33 01:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:15:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:19:33 01:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:16:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:19:33 01:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:17:01 eth0 0.22 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:19:33 01:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:18:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:19:33 01:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:19:01 eth0 300.78 175.67 7276.97 75.68 0.00 0.00 0.00 0.00 01:19:33 01:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 01:19:01 docker0 0.68 0.75 0.22 0.26 0.00 0.00 0.00 0.00 01:19:33 Average: eth0 38.52 23.72 767.39 11.01 0.00 0.00 0.00 0.00 01:19:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:19:33 Average: docker0 0.80 0.55 0.12 4.32 0.00 0.00 0.00 0.00 01:19:33 01:19:33 01:19:33 ---> sar -P ALL: 01:19:33 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-6184fc6f-eac4-18bc-9bd7-7f41a3ca8dfb.novalocal) 11/18/21 _x86_64_ (2 CPU) 01:19:33 01:19:33 01:08:12 LINUX RESTART (2 CPU) 01:19:33 01:19:33 01:09:01 CPU %user %nice %system %iowait %steal %idle 01:19:33 01:10:01 all 4.34 0.00 1.66 0.45 0.04 93.51 01:19:33 01:10:01 0 4.33 0.00 1.98 0.25 0.03 93.40 01:19:33 01:10:01 1 4.36 0.00 1.33 0.64 0.05 93.62 01:19:33 01:11:02 all 0.16 0.00 0.08 0.00 0.02 99.75 01:19:33 01:11:02 0 0.25 0.00 0.10 0.00 0.02 99.63 01:19:33 01:11:02 1 0.07 0.00 0.05 0.00 0.02 99.87 01:19:33 01:12:01 all 0.24 0.00 0.06 0.00 0.02 99.69 01:19:33 01:12:01 0 0.37 0.00 0.07 0.00 0.02 99.54 01:19:33 01:12:01 1 0.10 0.00 0.05 0.00 0.02 99.83 01:19:33 01:13:01 all 0.22 0.00 0.04 0.00 0.02 99.72 01:19:33 01:13:01 0 0.37 0.00 0.03 0.00 0.00 99.60 01:19:33 01:13:01 1 0.07 0.00 0.05 0.00 0.03 99.85 01:19:33 01:14:01 all 0.25 0.00 0.04 0.00 0.02 99.69 01:19:33 01:14:01 0 0.37 0.00 0.03 0.00 0.00 99.60 01:19:33 01:14:01 1 0.13 0.00 0.05 0.00 0.03 99.78 01:19:33 01:15:01 all 0.20 0.00 0.05 0.00 0.02 99.73 01:19:33 01:15:01 0 0.33 0.00 0.05 0.00 0.02 99.60 01:19:33 01:15:01 1 0.07 0.00 0.05 0.00 0.02 99.87 01:19:33 01:16:01 all 0.19 0.00 0.06 0.00 0.01 99.74 01:19:33 01:16:01 0 0.28 0.00 0.05 0.00 0.00 99.67 01:19:33 01:16:01 1 0.10 0.00 0.07 0.00 0.02 99.82 01:19:33 01:17:01 all 0.23 0.00 0.03 0.00 0.02 99.72 01:19:33 01:17:01 0 0.43 0.00 0.03 0.00 0.02 99.52 01:19:33 01:17:01 1 0.03 0.00 0.03 0.00 0.02 99.92 01:19:33 01:18:01 all 0.26 0.00 0.04 0.00 0.02 99.68 01:19:33 01:18:01 0 0.45 0.00 0.05 0.00 0.02 99.48 01:19:33 01:18:01 1 0.07 0.00 0.03 0.00 0.02 99.88 01:19:33 01:19:01 all 22.66 0.00 9.69 1.28 0.09 66.29 01:19:33 01:19:01 0 22.71 0.00 9.81 1.12 0.09 66.27 01:19:33 01:19:01 1 22.61 0.00 9.56 1.44 0.09 66.30 01:19:33 Average: all 2.78 0.00 1.13 0.17 0.03 95.89 01:19:33 Average: 0 2.90 0.00 1.18 0.13 0.02 95.77 01:19:33 Average: 1 2.67 0.00 1.09 0.20 0.03 96.01 01:19:33 01:19:33 01:19:33